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-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: +- enter

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 - Lis

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: 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 ++?

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

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-

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

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 ha

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

2010-03-07 Thread Alan DeKok
ontents from server > instance-A. Yes... > While the detail-reader-B and detail-reader-C are based from > copy-acct-to-home-server. Yes. > (So I see now how the packets enter back into > the server, but how to configure the server to send detail-B's contents > to server

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 copy-acct

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

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 copy-acct-to

Re: copy-acct-to-home-server

2009-03-25 Thread Alan DeKok
Emmanuel Rafaralahisoa wrote: > thanks! > I am now able to send the accounting packet to the trafic shaper. > But seems that it retries to send again packets even I put the > status-check to "none" because the TS can not handle this. I want to > send packet without retrying. > > Did I missed somet

Re: copy-acct-to-home-server

2009-03-25 Thread tnt
>I am now able to send the accounting packet to the trafic shaper. >But seems that it retries to send again packets even I put the status-check >to "none" because the TS can not handle this. I want to send packet without >retrying. Home server has to respond or it will be marked as dead (see proxy

Re: copy-acct-to-home-server

2009-03-25 Thread Emmanuel Rafaralahisoa
Yes As a Newbie, update control parameter was not clear for me! Thanks for your support. Emmanuel 2009/3/24 Alan DeKok > Emmanuel Rafaralahisoa wrote: > > I wish to configure 1 proxy radius server and 2 backend radius servers. > > One backend server is the real database for aauth and billing.

Re: copy-acct-to-home-server

2009-03-25 Thread Emmanuel Rafaralahisoa
with details of traffic shaper. > Make sure that raddb/modules/detail is set to write to same detail file > copy-acct-to-home-server is going to read it from (they are different by > default) and that detail is enabled in accounting (it is by default). > Add: > > update control

Re: copy-acct-to-home-server

2009-03-24 Thread Alan DeKok
Emmanuel Rafaralahisoa wrote: > I wish to configure 1 proxy radius server and 2 backend radius servers. > One backend server is the real database for aauth and billing. The other > one is inside a traffic shapper. I want to duplicate all accounting > packets to this trafic shapper. After reading

Re: copy-acct-to-home-server

2009-03-24 Thread tnt
to write to same detail file copy-acct-to-home-server is going to read it from (they are different by default) and that detail is enabled in accounting (it is by default). Add: update control { Proxy-To-Realm := ts } to copy-to-acct-server preacct section. Ivan Kalik Kalik Informatika IS

copy-acct-to-home-server

2009-03-24 Thread Emmanuel Rafaralahisoa
Hi all, I wish to configure 1 proxy radius server and 2 backend radius servers. One backend server is the real database for aauth and billing. The other one is inside a traffic shapper. I want to duplicate all accounting packets to this trafic shapper. After reading many times the proxy.conf an

Re: copy-acct-to-home-server example. need help

2008-04-03 Thread Alan DeKok
Mikhail Novikov wrote: ... > +- entering group accounting > expand: > /usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d It's still sending the request to the default virtual server, and not to the proper one. Since it seems to work for me, my suggestion is to STOP d

Re: copy-acct-to-home-server example. need help

2008-04-03 Thread Alan DeKok
Mikhail Novikov wrote: >> Uh... no. That is an authentication request, not an accounting >> request. The server does NOT read authentication requests from the >> "detail" file. > > I tried to send test requests by following command: > $echo "User-Name=test,Password=pass,Framed-Protocol=PPP,N

Re: copy-acct-to-home-server example. need help

2008-04-03 Thread Mikhail Novikov
> > Polling for detail file /usr/local/var/log/radius/radacct/detail > > Waking up in 0.9 seconds. > > User-Name = "test" > > User-Password = "pass" > > Uh... no. That is an authentication request, not an accounting > request. The server does NOT read authentication requests

Re: copy-acct-to-home-server example. need help

2008-04-03 Thread Mikhail Novikov
> Which version are you using? 2.0.3 has some fixes over 2.0.2... > I'm using FreeRadius 2.0.3. > > User-Name = "test" > > User-Password = "pass" > > Uh... no. That is an authentication request, not an accounting > request. The server does NOT read authentication request

Re: copy-acct-to-home-server example. need help

2008-04-03 Thread Alan DeKok
Mikhail Novikov wrote: > I use copy-acct-to-home-server example but the virtual server doesn't > sends requests to the home server. Which version are you using? 2.0.3 has some fixes over 2.0.2... > I tried to proxy requests by Proxy-To-Realm attribute but it doesn't wo

copy-acct-to-home-server example. need help

2008-04-03 Thread Mikhail Novikov
Hi, I use copy-acct-to-home-server example but the virtual server doesn't sends requests to the home server. I tried to proxy requests by Proxy-To-Realm attribute but it doesn't works. my configuration files: sites-available/copy-acct-to-home-server: server copy-acct-to-h

Re: copy acct to home server

2008-02-14 Thread Alexandre Chapellon
I upgraded to 2.0.2 but still have a problem with reading detail (to do copy-acct-to-home-server ): It only processes the first request of the detail file and stops after receiving the accouting response. Alexandre Chapellon a écrit : Hello, I want to use freeradius 2.0.1 to do accouting for

copy acct to home server

2008-02-14 Thread Alexandre Chapellon
Hello, I want to use freeradius 2.0.1 to do accouting for my DSL users. I would like to acheive the following setup: NASes send request to the first radius (SunOS radius) which only handles authentication request and proxies accouting request to Freeradius (v2.0.1). I'd like freeradius to do sev