<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Hugh.<div><br class="webkit-block-placeholder"></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Regards,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Matthew Watson.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br class="webkit-block-placeholder"></div><div><div>On 20/11/2008, at 4:59 PM, Hugh Irvine wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>Hello Matthew -<br><br>Radiator will only look at the first cisco-avpair.<br><br>If you want to do something different, see "goodies/hooks.txt" in the Radiator 4.3.1 distribution.<br><br>regards<br><br>Hugh<br><br><br><br>On 20 Nov 2008, at 17:25, Matthew Watson wrote:<br><br><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> I'm having an issue where a handler isn't being selected when as far as I can see it should be,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The handler is<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">&lt;Handler Realm=adsl, cisco-avpair = /client-mac-address=/&gt;<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RejectHasReason<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RewriteUsername s/\@adsl//<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AcctLogFileName %L/telstra/%c/%v%f-%i-%H<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SessionDatabase SDBTelstra-ADSL<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Identifier L2TPADSL<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AuthLog AuthLogSysLog<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AuthBy TelstraADSLFileGroup<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PostAuthHook file:"%D/rejectplaypen.pl"<br></blockquote><blockquote type="cite">&lt;/Handler&gt;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">There is a Client handler which changes the incoming username to username@adsl,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">A accounting packet is coming through with<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Attributes:<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Acct-Session-Id = "0/0/1/20_00007DCE"<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Framed-Protocol = PPP<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Framed-Address = 114.198.51.2<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;User-Name = "<a href="mailto:ksd@netspace.net.au">ksd@netspace.net.au</a>"<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cisco-avpair = "connect-progress=LAN Ses Up"<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Acct-Authentic = RADIUS<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Acct-Status-Type = Start<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAS-Port-Type = Ethernet<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAS-Port = 16777236<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAS-Port-Id = "0/0/1/20"<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cisco-avpair = "client-mac-address=faff.0008.4804"<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Service-Type = Framed-User<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAS-Identifier = 203.17.101.93<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ascend-Session-svr-Key = "CFAA1E6A"<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Acct-Delay-Time = 0<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thu Nov 20 17:08:02 2008: DEBUG: Rewrote user name to ksd<br></blockquote><blockquote type="cite">Thu Nov 20 17:08:02 2008: DEBUG: Rewrote user name to ksd<br></blockquote><blockquote type="cite">Thu Nov 20 17:08:02 2008: DEBUG: Rewrote user name to ksd<br></blockquote><blockquote type="cite">Thu Nov 20 17:08:02 2008: DEBUG: Rewrote user name to ksd@adsl<br></blockquote><blockquote type="cite">Thu Nov 20 17:08:02 2008: DEBUG: Handling request with Handler 'Realm=adsl'<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">For some reason though, radiator is skipping over this handler and falling into a catchall, is this because of the duplicate cisco-avpair attributes? Anyone know if this is the case, or is there some other reason it is skipping over the "Realm=adsl, cisco-avpair = /client-mac-address=/" handler?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Regards,<br></blockquote><blockquote type="cite">Matthew Watson.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the organisation. Finally, the recipient should check this email and any attachments for the presence of viruses. The organisation accepts no liability for any damage caused by any virus transmitted by this email.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">radiator mailing list<br></blockquote><blockquote type="cite"><a href="mailto:radiator@open.com.au">radiator@open.com.au</a><br></blockquote><blockquote type="cite"><a href="http://www.open.com.au/mailman/listinfo/radiator">http://www.opencom.au/mailman/listinfo/radiator</a><br></blockquote><br><br><br>NB:<br><br>Have you read the reference manual ("doc/ref.html")?<br>Have you searched the mailing list archive (<a href="http://www.open.com.au/archives/radiator)?">www.open.com.au/archives/radiator)?</a><br>Have you had a quick look on Google (<a href="http://www.google.com">www.google.com</a>)?<br>Have you included a copy of your configuration file (no secrets),<br>together with a trace 4 debug showing what is happening?<br>Have you checked the RadiusExpert wiki:<br><a href="http://www.open.com.au/wiki/index.php/Main_Page">http://www.open.com.au/wiki/index.php/Main_Page</a><br><br>-- <br>Radiator: the most portable, flexible and configurable RADIUS server<br>anywhere. Available on *NIX, *BSD, Windows, MacOS X.<br>Includes support for reliable RADIUS transport (RadSec),<br>and DIAMETER translation agent.<br>-<br>Nets: internetwork inventory and management - graphical, extensible,<br>flexible with hardware, software, platform and database independence.<br>-<br>CATool: Private Certificate Authority for Unix and Unix-like systems.<br><br><br><br>______________________________________________________________________<br>This email has been scanned by the MessageLabs Email Security System.<br>For more information please visit http://www.messagelabs.com/email______________________________________________________________________<br></blockquote></div><br></div></body><!--[object_id=#staff.netspace.net.au#]--><P align=left><FONT face=Arial size=1>This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the organisation. Finally, the recipient should check this email and any attachments for the presence of viruses. The organisation accepts no liability for any damage caused by any virus transmitted by this email.</FONT></P></html>