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
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
}
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 !=
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
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
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
-
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:
+-
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
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
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
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
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
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
13 matches
Mail list logo