Nas-Ip-Address attribute and source IP address of UDP datagram.
aland at deployingradius.com
Thu Jan 22 17:48:47 CET 2009
Dmitry V. Krivenok wrote:
> It looks cool.
> Where can I use this code?
> In authorize section?
> request->client->ipaddr seems to be what I need.
It may *not* be the same as request->packet->src_ipaddr. The client
IP address may be a netmask, and not a /32.
> I tested via the following command:
> DEBUG("rlm_osb: Source IP address %s.",
> Is it correct to use request->client->ipaddr instead of
There's a *reason* I said use request->packet->src_ipaddr. I'm
curious why you went looking for something else, rather than just use
what I told you.
More information about the Freeradius-Users