23 Mar
2012
23 Mar
'12
3:14 p.m.
Steven Staples wrote:
I have been trying to figure out why our radius.log file shows the 'from client:' IP correctly on accepted logins, but when I'm storing them into my database, I get a different IP?
In my query, I'm using %{NAS-IP-Address}, which is giving me an IP, but not the one I'm expecting to see.
The NAS-IP-Address is something invented by the NAS. It is NOT the source IP address of the RADIUS packet. The NAS-IP-Address can be *anything*, including 127.0.0.1.
Which attribute should I be using to store the same 'from client' that the radius.log is storing?
Usually %{Packet-Src-IP-Address} Alan DeKok.