hi! I'm using freeradius cvs(Nov 25 -2003) as a radius proxy. And as a remote radius server I got another copy of freeradius running. For my application enviorenment I need my radius-proxy server to pass all requests to the remote server. But under one condition. i.e. I need to remove the attribute Calling-Station-Id = xxx from the requests before passing it to the remote radius server. And while doing that I need to run some script and put those Calling-station-id to a DB. Can we achieve this.
Here's the log at radius-proxy ---------------------------------------- rad_recv: Access-Request packet from host 192.168.0.93:3551, id=15, length=75 User-Name = "[EMAIL PROTECTED]" User-Password = "testing" NAS-IP-Address = 192.168.0.93 Framed-Protocol = PPP Calling-Station-Id = "94733442946" Sending Access-Request of id 1 to 192.168.0.171:1812 User-Name = "steve" User-Password = "testing" NAS-IP-Address = 192.168.0.93 Framed-Protocol = PPP Calling-Station-Id = "94722442946" Service-Type = Framed-User Proxy-State = 0x3135 rad_recv: Access-Accept packet from host 192.168.0.171:1812, id=1, length=36 Service-Type = Framed-User Framed-Protocol = PPP Proxy-State = 0x3135 Sending Access-Accept of id 15 to 192.168.0.93:3551 Service-Type = Framed-User Framed-Protocol = PPP here's the log at remote radius ------------------------------------------ rad_recv: Access-Request packet from host 192.168.3.4:1814, id=1, length=80 User-Name = "steve" User-Password = "testing" NAS-IP-Address = 192.168.0.93 Framed-Protocol = PPP Calling-Station-Id = "94733442946" Service-Type = Framed-User Proxy-State = 0x3135 rlm_chap: Could not find proper Chap-Password attribute in request Sending Access-Accept of id 1 to 192.168.3.4:1814 Service-Type = Framed-User Framed-Protocol = PPP Proxy-State = 0x3135 rad_recv: Access-Request packet from host 192.168.3.4:1814, id=2, length=62 User-Name = "steve" User-Password = "testing" NAS-IP-Address = 255.255.255.255 NAS-Port = 10000 Proxy-State = 0x323131 rlm_chap: Could not find proper Chap-Password attribute in request Sending Access-Accept of id 2 to 192.168.3.4:1814 Service-Type = Framed-User Framed-Protocol = PPP Proxy-State = 0x323131 U can see that every attributes is passed as they are. It get authenticated alright but my requirement is not to pass the above mentioned Atrribute to the remote server. denz. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html