rlm_postgresql , accounting and Framed-IP-Address

Francisco Gimeno kikov79 at gmail.com
Tue Feb 13 20:36:13 CET 2007


hello.. Thanks for your answer!...

then, how could I put the IP there?
Is the post-auth hook the right place?

2007/2/12, Phil Mayers <p.mayers at imperial.ac.uk>:
>
> Francisco Gimeno wrote:
> >
> > The %{reply:Framed-IP-Address} or %{Framed-IP-Address} isn't xlated at
> > all... SQL module is executed after sqlippool, so, that variable should
> > be available.
>
> Nop. Accounting replies contain NO attributes, therefore reply:Anything
> is invalid/empty.
>
> For accounting queries to log the IP address, your NAS must send the
> Framed-IP-Address attribute in the accounting request. If it doesn't (as
> it must not be) you can't log it.
>
> Consult the documentation for your NAS.
>
> You've undoubtedly taken that reply:Framed-IP-Address from the
> "post-auth" query where it is valid.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070213/b7a1c9d6/attachment.html>


More information about the Freeradius-Users mailing list