Fall-through and different NAS IP Settings

Joe Maimon jmaimon at ttec.com
Mon Dec 5 14:00:32 CET 2005



Jonathan De Graeve wrote:

> 
> How do you explain this then?
> 
> I have a NAS that DOESN'T sent NAS-IP-Address attribute to the radius
> server (only nas-identifier) but all my huntgroups based on
> NAS-IP-Address work without any problem...
> 
> Is this then somewhere in the code?
> 
> If (!NAS-IP-Address && Client-IP-Address)
> NAS-IP-Address = Client-IP-Address
> 
> J.
> 

Yes.

rlm_preprocess adds the nas-ip-address to the request if one wasnt there.

I have patched my local freeradius to add Client-Ip-Address if it is 
missing and Client-Short-Name (local creation) as well.

Joe



More information about the Freeradius-Users mailing list