Proxy and copy-acct-to-home-server

Etienne Pretorius etiennep at kingsley.co.za
Fri Mar 12 14:04:00 CET 2010


Alan DeKok wrote:
> 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.
>   
FreeRadius 2.0.4             Distro: Debian Stable (lenny)
>   
>> 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.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>   




More information about the Freeradius-Users mailing list