Setting Client-IP-Address in rlm_preprocess

Alan DeKok aland at deployingradius.com
Thu Oct 22 08:14:06 CEST 2009


John Morrissey wrote:
>> rlm_preprocess sets NAS-IP-Address if it's not set. Alan, would you accept a
>> patch to add similar behavior for Client-IP-Address?
> 
> I forked the github FreeRADIUS tree a while ago and made this change.
> I sent a pull request for this commit, but haven't seen it pulled into
> the canonical git tree, so maybe it's preferable to post it to -devel?

  I'd like to replace Client-IP-Address with Packet-Src-IP-Address, as
it's a better name.  There's also matching Packet-Dst-IP-Address, IPv6
equivalents, and equivalents for src/dst port.

  I'd be more comfortable adding *all* of them, rather than just one.

  Alan DeKok.



More information about the Freeradius-Devel mailing list