On May 12,  4:41am, Dialup USA Sales Dept wrote:
> Subject: (RADIATOR) Handler Problem
>
> I can't seem to get this handler to work correctly.  Here is the output of
> my log file.  You will see that even though a user isn't dialing into one of
> the numbers that is specified in the "Called-Station-Id" attribute he is
> being authenticated by this Handler.... any ideas?

Its the leading and trailing | in the regexp. The | separates optinal straings,
and your regexp says thqat the empty string is a permitted option. And that
will match every possible string. So you need:

<Handler Called-Station-Id
=/2020|8859810|9759810|9499810|8739810|9449810|9259810|9209810|2378018|2368018|2252255|2502255|3252255|3082255|9268063|9268064|9268018|9498019|3429810|4919810|2959810|4782255|9680468|7550755|3640364|7780778|2960296|3480348/>

(Note its been wrapped by my mailer.)
There is no | at the beginning or the end, only _between_ the options.

Hope that helps.

Cheers.

>
> Help
> Brandon
>
> Attached is my current radius.cfg file.
>
> *** Received from 206.15.168.72 port 47149 ....
> Code:       Access-Request
> Identifier: 11
> Authentic:  <3>1<243>"<252>.<249>s<8><163>Hk<21>{<227>v
> Attributes:
>         User-Name = "usa1001@usa"
>         User-Password = "J]<196>0<31>oXz"<232>ERt<139><8"
>         NAS-IP-Address = 209.206.34.54
>         NAS-Port = 39
>         Service-Type = Framed-User
>         Framed-Protocol = PPP
>         Framed-IP-Address = 209.206.33.16
>         Called-Station-Id = "2068128787"
>         Calling-Station-Id = "2063671148"
>         NAS-Port-Type = Async
>         Annex-Transmit-Speed = 46666
>         Connect-Info = "46666  24000 V.90"
>         Signature = "<21>n<233>u<21><15><137>$<188>3<145>e<170><217><238>V"
>         Annex-Receive-Speed = 24000
>
> Wed May 12 07:22:18 1999: DEBUG: Check if Handler
> User-Name=/\@dual/,Framed-IP-A
> ddress=/^206\.15\.|^208\.196\.|^209\.206\./ should be used to handle this
> reques
> t
> Wed May 12 07:22:18 1999: DEBUG: Check if Handler
> User-Name=/\@safeusa|\@kidscon
> nect/,Framed-IP-Address=/^206\.15\.|^208\.196\.|^209\.206\./ should be used
> to h
> andle this request
> Wed May 12 07:22:18 1999: DEBUG: Check if Handler Called-Station-Id =
> /|2020|885
> 9810|9759810|9499810|8739810|9449810|9259810|9209810|2378018|2368018|2252255
> |250
> 2255|3252255|3082255|9268063|9268064|9268018|9498019|3429810|4919810|2959810
> |478
> 2255|9680468|7550755|3640364|7780778|2960296|3480348|/ should be used to
> handle
> this request
> Wed May 12 07:22:18 1999: DEBUG: Handling request with Handler
> 'Called-Station-I
> d =
> /|2020|8859810|9759810|9499810|8739810|9449810|9259810|9209810|2378018|23680
> 18|2252255|2502255|3252255|3082255|9268063|9268064|9268018|9498019|3429810|4
> 9198
> 10|2959810|4782255|9680468|7550755|3640364|7780778|2960296|3480348|/'
> Wed May 12 07:22:18 1999: DEBUG: Handling with Radius::AuthUNIX
> Wed May 12 07:22:18 1999: DEBUG: Radius::AuthUNIX looks for match with
> usa1001@u
> sa
> Wed May 12 07:22:18 1999: DEBUG: Radius::AuthUNIX ACCEPT:
> Wed May 12 07:22:18 1999: DEBUG: Access accepted for usa1001@usa
> Wed May 12 07:22:18 1999: DEBUG: Packet dump:
> *** Sending to 206.15.168.72 port 47149 ....
> Code:       Access-Accept
> Identifier: 11
> Authentic:  <3>1<243>"<252>.<249>s<8><163>Hk<21>{<227>v
> Attributes:
>         Service-Type = Framed-User
>         Framed-Protocol = PPP
>         Framed-IP-Address = 255.255.255.254
>         Framed-IP-Netmask = 255.255.255.255
>         Idle-Timeout = 900
>         Session-Timeout = 28800
>
> [ Attachment (application/octet-stream): "radius.cfg" 4313 bytes
>   Encoded with "quoted-printable" ]
>-- End of excerpt from Dialup USA Sales Dept



-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, 
NT, Rhapsody
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to