Re: How to tag attributes ?
On Thu, 25 Sep 2003 14:28:33 +0200 Thomas MARCHESSEAU <[EMAIL PROTECTED]> wrote: > Hi All, > > Specs: > - Freeradius 0.9.1, on debian woody > - 2 Radius servers , 2 radius proxys (sharing a virtual IP) > > Everything is working fine except that i would like to add (or > increment) tags to freeradius attributes ie: > > [EMAIL PROTECTED]:~$ ./radtest [EMAIL PROTECTED] ipdyn 172.16.129.4 1812 > testing123 Sending Access-Request of id 186 to 172.16.129.4:1812 > User-Name = "[EMAIL PROTECTED]" > User-Password = "ipdyn" > NAS-IP-Address = 172.16.69.1 > NAS-Port = 1812 > rad_recv: Access-Accept packet from host 172.16.129.4:1812, id=186, > length=188 > Session-Timeout = 86400 > Idle-Timeout = 180 > Tunnel-Medium-Type:0 = IP > <= > Here > Tunnel-Server-Endpoint:0 = "172.18.21.3" <= > here > etc ... > Tunnel-Assignment-Id:0 = "tunnel-172.16.21.3" > Tunnel-Client-Auth-Id:0 = "LNS-NET7-1" > Tunnel_Local_Name = "LNS-NET7-1" > Tunnel-Type:0 = L2TP > Tunnel-Server-Auth-Id:0 = "srv44-2.idf1.realm.net" > Tunnel_Remote_Name = "srv44-2.idf1.realm.net" > Proxy-State = 0x31 > Service-Type = Framed-User > [EMAIL PROTECTED]:~$ > > The tag is 0 , but i would like to obtain something like that > > Tunnel-Server-Endpoint:1 = "172.18.21.3" > > Any idea ? > Is there anything that prevents you from saying [EMAIL PROTECTED] Password == "ipdyn" Tunnel-Server-Endpoint:0 = "172.18.21.3", Tunnel-Server-Endpoint:1 += "172.18.21.3", etc. ? Or did you want the tag to change somewhere? Or did I completely miss your question? Actually, the RFC (2868) says that tag-numbering is 0x01 thru 0x1F, which means you should start on 1, although 0 is valid, meaning "no tag". I'm not sure if there are radius clients, that are very particular about this. -- best regards Nils Ronhovde Telenor - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: How to tag attributes ?
Thomas MARCHESSEAU <[EMAIL PROTECTED]> wrote: > no idea ? The server isn't set up to do that. It's something that no one else has had the need for. I suggest writing a small module to do it. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: How to tag attributes ?
Hi all, no idea ? regards Thomas Thomas MARCHESSEAU wrote: Hi All, Specs: - Freeradius 0.9.1, on debian woody - 2 Radius servers , 2 radius proxys (sharing a virtual IP) Everything is working fine except that i would like to add (or increment) tags to freeradius attributes ie: [EMAIL PROTECTED]:~$ ./radtest [EMAIL PROTECTED] ipdyn 172.16.129.4 1812 testing123 Sending Access-Request of id 186 to 172.16.129.4:1812 User-Name = "[EMAIL PROTECTED]" User-Password = "ipdyn" NAS-IP-Address = 172.16.69.1 NAS-Port = 1812 rad_recv: Access-Accept packet from host 172.16.129.4:1812, id=186, length=188 Session-Timeout = 86400 Idle-Timeout = 180 Tunnel-Medium-Type:0 = IP<= Here Tunnel-Server-Endpoint:0 = "172.18.21.3" <= here etc ... Tunnel-Assignment-Id:0 = "tunnel-172.16.21.3" Tunnel-Client-Auth-Id:0 = "LNS-NET7-1" Tunnel_Local_Name = "LNS-NET7-1" Tunnel-Type:0 = L2TP Tunnel-Server-Auth-Id:0 = "srv44-2.idf1.realm.net" Tunnel_Remote_Name = "srv44-2.idf1.realm.net" Proxy-State = 0x31 Service-Type = Framed-User [EMAIL PROTECTED]:~$ The tag is 0 , but i would like to obtain something like that Tunnel-Server-Endpoint:1 = "172.18.21.3" Any idea ? regards Thomas MARCHESSEAU - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
How to tag attributes ?
Hi All, Specs: - Freeradius 0.9.1, on debian woody - 2 Radius servers , 2 radius proxys (sharing a virtual IP) Everything is working fine except that i would like to add (or increment) tags to freeradius attributes ie: [EMAIL PROTECTED]:~$ ./radtest [EMAIL PROTECTED] ipdyn 172.16.129.4 1812 testing123 Sending Access-Request of id 186 to 172.16.129.4:1812 User-Name = "[EMAIL PROTECTED]" User-Password = "ipdyn" NAS-IP-Address = 172.16.69.1 NAS-Port = 1812 rad_recv: Access-Accept packet from host 172.16.129.4:1812, id=186, length=188 Session-Timeout = 86400 Idle-Timeout = 180 Tunnel-Medium-Type:0 = IP<= Here Tunnel-Server-Endpoint:0 = "172.18.21.3" <= here etc ... Tunnel-Assignment-Id:0 = "tunnel-172.16.21.3" Tunnel-Client-Auth-Id:0 = "LNS-NET7-1" Tunnel_Local_Name = "LNS-NET7-1" Tunnel-Type:0 = L2TP Tunnel-Server-Auth-Id:0 = "srv44-2.idf1.realm.net" Tunnel_Remote_Name = "srv44-2.idf1.realm.net" Proxy-State = 0x31 Service-Type = Framed-User [EMAIL PROTECTED]:~$ The tag is 0 , but i would like to obtain something like that Tunnel-Server-Endpoint:1 = "172.18.21.3" Any idea ? regards Thomas MARCHESSEAU - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html