help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] NAS-IP-Address vs. Client-IP-Address


From: Charles Sprickman
Subject: Re: [Help-gnu-radius] NAS-IP-Address vs. Client-IP-Address
Date: Thu, 29 Apr 2004 03:57:48 -0400 (EDT)

Hi Sergey,

[...]
> > Quick question (I hope)...  Under FreeRadius, I see an attribute in the
> > standard dictionary called "Client-IP-Address".
> [...]
> > Grepping dict/* shows no such attribute in the Gnu-Radius dictionaries.
> > If I simply add it (in FreeRadius it's id 1052), will that likely work?
> > Or is that an attribute that FreeRadius is generating internally?
[...]
> With this version, you can use Client-IP-Address attribute as follows:
>
> 1) Define it in your dictionary.
>
> 2) Add the following line to the beginning of your raddb/hints:
>
> DEFAULT          NULL
>            Client-IP-Address = "=request_source_ip()",
>                Fall-Through = Yes

I juust finished a quick test and this certainly looks like it works.  I
see the Client-IP-Address the same as the NAS IP (which in my test case is
correct), and if I remove the line from the hints file that sets
Client-IP-Address, there's just a null value.

One quick note on the 1.2.90 snapshot...  If I run it in test mode (-mt),
it dumps core if I hit enter within the test menu.  If I issue a command
and hit enter, it's fine, but enter alone reliably dumps core.  Let me
know if you need more details...

Thanks very much!

Charles

>
> Regards,
> Sergey
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]