hint based proxying

Chris Conn cconn at abacom.com
Tue Jan 31 18:53:14 CET 2006


I am using Cistron 1.6.7, and I came across this:

http://lists.cistron.nl/pipermail/cistron-radius/2003-April/005213.html

We are forwarding all users with prefix ABCD to a remote server.

Which allows to forward a radius request to a remote radius server based on 
the prefix of a username.  The authentiction works as expected with this 
patch, however the accounting does not.  I notice that the local accounting 
file has a duplicate line for Realm (see the Realm = lines):

Tue Jan 31 12:41:28 2006
         Acct-Session-Id = "0006C379"
         Framed-Protocol = PPP
         Framed-IP-Address = 192.168.144.85
         User-Name = "ABCD0001"
         Acct-Authentic = RADIUS
         Acct-Session-Time = 31
         Acct-Input-Octets = 10818
         Acct-Output-Octets = 56495
         Acct-Input-Packets = 120
         Acct-Output-Packets = 118
         Acct-Terminate-Cause = User-Request
         Acct-Status-Type = Stop
         Calling-Station-Id = "5556668684"
         Called-Station-Id = "5556662301"
         NAS-Port-Type = Async
         NAS-Port = 9
         Connect-Info = "46666/24000 V90/V44/LAPM"
         Service-Type = Framed-User
         NAS-IP-Address = 192.168.130.59
         Acct-Delay-Time = 0
         Client-IP-Address = 192.168.130.59
         Realm = "NULL"
         Realm = "otherrealm.com"
         Timestamp = 1138729288
         Request-Authenticator = Verified


Is there another way to forward users based on the prefix for both 
accounting and authentication?  I read that the "wildcard" could do this, 
however I don't seem to be able to get it to work.

Thanks in advance,

Chris



More information about the Cistron-radius mailing list