Proxy and copy-acct-to-home-server

Alan DeKok aland at deployingradius.com
Fri Mar 12 13:50:20 CET 2010


Etienne Pretorius wrote:
> expand: %{control:Packet-Src-IP-Address} ->
> ?? Evaluating ("%{control:Packet-Src-IP-Address}" != "XXX.XXX.XXX.XXX")

  That isn't what I suggested.

> -> TRUE
> 
> OR when I took the condition verbatim from you:
> 
> +- entering group accounting
> ++? if ((Packet-Src-IP-Address != "XXX.XXX.XXX.XXX") &&
> (Packet-Src-IP-Address != "XXX.XXX.XXX.XXX") && (Packet-Src-IP-Address
> != "XXX.XXX.XXX.XXX"))
>    (Attribute Packet-Src-IP-Address was not found)

  Which version are you running?  That *should* work in recent versions.

> And well I was trying to find out where an accounting loop was
> occurring... and all my radrelayed data was entering this section that I
> wanted to exclude

  Yes... key off of the source IP, and write the packets to the "detail"
file for proxying ONLY when they come from the local NASes.

  Alan DeKok.



More information about the Freeradius-Users mailing list