Re: Freeradius load balancing.

2009-11-20 Thread Michael da Silva Pereira
On Fri, 2009-11-20 at 15:52 +0100, Nick Warr wrote: I may have misphrased the question, if the ip pool is a single one, containing say 192.168.1.1 - 192.168.1.50, is there a way that the second Radius server can know the IPs distributed by the first Radius server to avoid duplicate IP

Re: radius 3 records on radacct

2009-11-10 Thread Michael da Silva Pereira
Run in debug mode and ensure the NAS isn't sending it 2 times. Otherwise mail the output of debug (radiusd -Xxxx) On Tue, 2009-11-10 at 09:01 -0200, Alisson wrote: hi, I'm using freebsd with radius, and when radius inserts the records on radacct, its registering 3 equal records

Re: radius 3 records on radacct

2009-11-10 Thread Michael da Silva Pereira
radiusd -Xxxx ? On Tue, 2009-11-10 at 09:07 -0200, Alisson wrote: i'm not using NAS 2009/11/10 Michael da Silva Pereira mich...@tradepage.co.za Run in debug mode and ensure the NAS isn't sending it 2 times. Otherwise mail the output of debug (radiusd -Xxxx

Re: FreeRadius crashed on accounting load tests with 1000 concurrent clients

2009-11-10 Thread Michael da Silva Pereira
Hi Dinh, I'm very interested to see your results, I have a freeradius + freebsd setup running and hit around 800 queries/per sec. As of yet rock solid :) (64Bit as well). Following the thread you also sent the Discarding duplicate request from client tester1 port error. I'm interested to see the

Re: FreeRadius crashed on accounting load tests with 1000 concurrent clients

2009-11-10 Thread Michael da Silva Pereira
). Thanks, Dinh On Wed, Nov 11, 2009 at 12:22 AM, Michael da Silva Pereira mich...@tradepage.co.za wrote: Hi Dinh, max_request_time is 10 seconds, have you switched on mysql slow query / non-index lookups logging ? (in my.cnf '#log_slow_queries

ubuntu / debian rlm_python issues using mysqldb module

2009-07-08 Thread Michael da Silva Pereira
Hi All, I am sure i'm not the only person experiencing this problem. It seems when using the python module to handle auth/acct. If you include the MySQLdb module in the python script freeradius then dies and is unable to load the pythong module. I am using the latest stable freeradius

Re: ubuntu / debian rlm_python issues using mysqldb module

2009-07-08 Thread Michael da Silva Pereira
Yeah sure does, If I remove the line import MySQLdb it works fine. It seems to definanetly have a issue with this module. I've also tried sqlobject as a module and I get the same problem. Thanks, Mike Ivan Kalik wrote: I am sure i'm not the only person experiencing this problem. It seems

Python Module with IPPOOL module

2008-09-11 Thread Michael da Silva Pereira
this from Python or is just not possible? The python handles my Auth, Acct, etc.. However I'm trying to drop different users into different IP-Pools depending on criteria in a database. So I'm unable to do this from users files and such... Any ideas? Thanks, Michael da Silva Pereira - List info

python module log back to radius.log

2008-07-16 Thread Michael da Silva Pereira
Hi All, I previously used a perl module and wrote content back to the radius.log file by using: radiusd::radlog(0,rlm_perl::Detaching. Reloading. Done.); Has anybody got something doing this in python, I don't really want to open up the file and write data into it as radiusd has the file

Re: python module log back to radius.log

2008-07-16 Thread Michael da Silva Pereira
sorry my mistake found the example of using radlog(level,msg) Michael da Silva Pereira wrote: Hi All, I previously used a perl module and wrote content back to the radius.log file by using: radiusd::radlog(0,rlm_perl::Detaching. Reloading. Done.); Has anybody got something doing

preproxy_users doesn't filter attributes

2008-07-07 Thread Michael da Silva Pereira
Framed-Protocol User-Name User-Password Service-Type NAS-IP-Address NAS-Identifier Proxy-State User-Password Client-IP-Address Kind regards, Michael da silva Pereira - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: preproxy_users doesn't filter attributes

2008-07-07 Thread Michael da Silva Pereira
://wiki.freeradius.org/Attrs Ivan Kalik Kalik Informatika ISP Dana 7/7/2008, Michael da Silva Pereira [EMAIL PROTECTED] piše: Hi All, I am wondering if anybody has done this, I'm sure it's actually very easy to do, But I'm just not able to get it done :( I need to filter requests coming from my NAS

Re: preproxy_users doesn't filter attributes

2008-07-07 Thread Michael da Silva Pereira
-Password =* ANY, Calling-Station-Id =* ANY Thanks, Mike Ivan Kalik wrote: Because the example is for one in post-proxy section. Try reading again: http://freeradius.org/radiusd/man/rlm_attr_filter.html Ivan Kalik Kalik Informatika ISP Dana 7/7/2008, Michael da Silva Pereira [EMAIL PROTECTED

Re: preproxy_users doesn't filter attributes

2008-07-07 Thread Michael da Silva Pereira
the docs on non-ubuntu packages I see the sample files, erf. Alan DeKok wrote: Michael da Silva Pereira wrote: There is no clear way to separate between which requests (from or to home servers/post-proxy or pre-proxy). Huh? What do you mean by that? The pre-proxy section

Re: preproxy_users doesn't filter attributes

2008-07-07 Thread Michael da Silva Pereira
Yes it does :( Looks like the new Hardy is still coming out with 1.1.7 :( Upgrade time :/ Thanks for the help Mike Alan DeKok wrote: Michael da Silva Pereira wrote: It is interesting you say that this stuff is already included, I do not see it in the prepackage version which comes

Dynamic Realm

2007-11-27 Thread Michael da Silva Pereira
I wonder if somebody else has managed to get this kind of thing right, I want to eliminate the need for usernames in my authentication process, I want to work with the callerid instead. Now thats not very hard, except now I want to be able to classify a user/callerid into a specific realm, a

Re: Class attribute in accounting record.

2007-10-29 Thread Michael da Silva Pereira
-User NAS-IP-Address = 196.43.27.23 Check you /share/freeradius/dictionary file and check what you have for the Class Attribute. I have the following: dictionary:ATTRIBUTEClass 25 string Kind Regards, Michael da Silva Pereira Tradepage ;) -Original Message

Accounting Update packets

2006-08-15 Thread Michael da Silva Pereira
to the realm servers? Thanks, Michael da Silva Pereira - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: acct_users Exec-Program causing defuct programs

2006-08-10 Thread Michael da Silva Pereira
: 09 August 2006 11:23 PM To: FreeRadius users mailing list Subject: Re: acct_users Exec-Program causing defuct programs Michael da Silva Pereira [EMAIL PROTECTED] wrote: I am trying to use Exec-Program to notify me of users logging in and out of my systems. For some reason I keep getting defuct

acct_users Exec-Program causing defuct programs

2006-08-09 Thread Michael da Silva Pereira
am running: radiusd: FreeRADIUS Version 1.1.1, for host , built on Jul 25 2006 at 22:12:32 Copyright (C) 2000-2006 The FreeRADIUS server project. Any assistance would be greatly appreciated. Kind Regards, Michael da Silva Pereira - List info/subscribe/unsubscribe? See http

Freeradius on connection / disconnect run commands

2006-08-07 Thread Michael da Silva Pereira
Hi, I have currently got freeradius setup using a SQL database for authentication and accouting. Is there any way I can get freeradius to run a system command every time a new client connects and disconnects, also bearing in mind to pass information like username and clients ip address as

Prepaid Bandwidth disconnections

2006-08-03 Thread Michael da Silva Pereira
at session-timeouts, but my clients would be annoyed being disconnected all the time. Thanks, Michael da silva pereira - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

IP Pools

2006-07-27 Thread Michael da Silva Pereira
Regards, Michael da Silva Pereira -- Office: 0861 74 73 72 Mobile: +27 84 245 2376 Fax:086 657 5004 Email: [EMAIL PROTECTED] Skype: michael_da_silva_pereira