Re: Proxy and copy-acct-to-home-server

2010-03-12 Thread Alan DeKok
Etienne Pretorius wrote: Could you please tell me what attributes I should use in the Accounting section to achieve the following: if ((Packet-Src-IP-Address != A) (Packet-Src-IP-Address != B)) { copy-acct-to-home-server-A copy-acct-to-home-server-B } I had hoped

Re: Proxy and copy-acct-to-home-server

2010-03-12 Thread Etienne Pretorius
Alan DeKok wrote: Etienne Pretorius wrote: Could you please tell me what attributes I should use in the Accounting section to achieve the following: if ((Packet-Src-IP-Address != A) (Packet-Src-IP-Address != B)) { copy-acct-to-home-server-A copy-acct-to-home-server-B }

Re: Proxy and copy-acct-to-home-server

2010-03-12 Thread Alan DeKok
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 !=

Re: Proxy and copy-acct-to-home-server

2010-03-12 Thread Etienne Pretorius
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

Re: Proxy and copy-acct-to-home-server

2010-03-12 Thread Alan DeKok
Etienne Pretorius wrote: FreeRadius 2.0.4 Distro: Debian Stable (lenny) Upgrade. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Proxy and copy-acct-to-home-server

2010-03-12 Thread Etienne Pretorius
Alan DeKok wrote: Etienne Pretorius wrote: FreeRadius 2.0.4 Distro: Debian Stable (lenny) Upgrade. Alan, Thank you for your help. Will do... starting upgrade. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -

Re: Proxy and copy-acct-to-home-server

2010-03-12 Thread Etienne Pretorius
Etienne Pretorius wrote: Alan DeKok wrote: Etienne Pretorius wrote: FreeRadius 2.0.4 Distro: Debian Stable (lenny) Upgrade. Alan, Thank you for your help. Will do... starting upgrade. Upgraded to FreeRadius 2.1.8 Distro: Debian Testing (Sid) Same error: +-

Re: Proxy and copy-acct-to-home-server

2010-03-12 Thread Alan DeKok
Etienne Pretorius wrote: Same error: Make sure: a) you're running 2.1.8 b) it's using the dictionaries that come with 2.1.8 It *does* work for a new install. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Proxy and copy-acct-to-home-server

2010-03-11 Thread Etienne Pretorius
Alan, Could you please tell me what attributes I should use in the Accounting section to achieve the following: if ((Packet-Src-IP-Address != A) (Packet-Src-IP-Address != B)) { copy-acct-to-home-server-A copy-acct-to-home-server-B } I have tried

Re: Proxy and copy-acct-to-home-server

2010-03-07 Thread Alan DeKok
Etienne Pretorius wrote: Lets say I have 3 FreeRadius servers (A,B,C) and I would like to sync the accounting packet between them. On server A, I created copy-acct-to-home-server for B and C; On server B, I created copy-acct-to-home-server for A and C; On server C, I created

Re: Proxy and copy-acct-to-home-server

2010-03-07 Thread Etienne Pretorius
Alan DeKok wrote: What you need is a simple rule: if NOT from (other two servers) copy to other two servers e.g. if ((Packet-Src-IP-Address != A) (Packet-Src-IP-Address != B)) { copy-acct-to-home-server-A

Re: Proxy and copy-acct-to-home-server

2010-03-07 Thread Alan DeKok
Etienne Pretorius wrote: Thank you Alan, but would I place this in acct_users? No. In the pre-acct section. See man unlang for documentation. You see as I see how this approach works is that the detail (detail-B, detail-C) files are created and filled up with contents from server

Proxy and copy-acct-to-home-server

2010-03-05 Thread Etienne Pretorius
Hello List, I am redoing our radius setup into FreeRadius 2.0.4 and I need some advise. Lets say I have 3 FreeRadius servers (A,B,C) and I would like to sync the accounting packet between them. On server A, I created copy-acct-to-home-server for B and C; On server B, I created