Re: Define New Attribute

2012-12-05 Thread Alexandre J. Correa (Onda)
'sql.authorize' into accouting { }, but same 'problem' . My radgroupreply: GroupName Attribute Valueopprio ondaXCheck-Quota1:=0 any suggestion ? On 04/12/2012 19:36, Arran Cudbard-Bell wrote: On 4 Dec 2012, at 20:50, Alexandre J

Define New Attribute

2012-12-04 Thread Alexandre J. Correa (Onda)
Hello, I need to track some type of 'user group'. i´m doing this to not overload my database servers. into the radgroupreply table i need to 'create' one attribute like: Check-Bandwidth := [0,1] i added this attribute in groupreply, in my dictionary file and i can see this attribute in the

Transfer Limit

2012-11-30 Thread Alexandre J. Correa - Onda Internet
Hello !! How i can measure bandwidth quota monthly, when it exceeds, execute a program.. only for active users (online). My NASes doesn´t accept CoA packets (only PoD).. i will need to run external program to 'change' session info.. Regards, -- Sds. Alexandre Jeronimo Correa

Packet Type in modules

2012-11-29 Thread Alexandre J. Correa - Onda Internet
Hello, I have some scripts that do some sync tasks when freeradius start accouting: Like this: created module, named 'sysnotify' with this: exec sysnotify { wait = no program = /ondasys/system/sysnotify %{User-Name:-Nenhum} %{Framed-IP-Address:-Nenhum} %{Acct-Status-Type:-ERR}

stop old open session and star new..

2009-03-06 Thread Alexandre J. Correa - Onda Internet
Hello, How i can solve this problem: sometimes, some users connections stay locked on radius.. and with, Simutaneous-Use resulting = 1 ... Fri Mar 6 20:29:11 2009 : Auth: Multiple logins (max 1) [MPP attempt]: [alines] (from client Orbit port 256018 cli xxx) Fri Mar 6 20:29:11

Re: RES: exec program, but post-auth

2008-11-04 Thread Alexandre J. Correa - Onda Internet
Thanks for answers, i obtained ip, acctound-id, etc etc from preacct section, adding exec to section !! script filter with Acct-Status-Type = Start working fine now !! Ivan, in it´s first message i didn´t read to try with accouting packets !! thanks again !! Regards.. [EMAIL PROTECTED]

exec program, but post-auth

2008-11-03 Thread Alexandre J. Correa - Onda Internet
Hello !! Here i use Exec-Program-Wait to validade data AFTER auth OK, i need to execute other script AFTER auth OK to get IP address assigned to user. i´m trying to pass %f to my script but return ?.?.?.? because at this moment, radius not assigned ip for user... how i can do this ?

Re: exec program, but post-auth

2008-11-03 Thread Alexandre J. Correa - Onda Internet
auth are working fine... but i need execute one script after auth OK to get the IP that radius assigned to user, have any idea how i can do this ?! thanks !!! [EMAIL PROTECTED] wrote: Here i use Exec-Program-Wait to validade data AFTER auth OK, i need to execute other script AFTER auth OK to

mysql erros

2008-10-21 Thread Alexandre J. Correa - Onda Internet
Hello, what these erros means ? Tue Oct 21 23:45:56 2008 : Info: rlm_sql_mysql: Starting connect to MySQL server for #21 Tue Oct 21 23:45:58 2008 : Error: WARNING: Unresponsive child (id 2945448848) for request 27153 Tue Oct 21 23:45:58 2008 : Error: WARNING: Unresponsive child (id

Simultaneous-Use ..

2008-08-29 Thread Alexandre J. Correa - Onda Internet
Hello, how i can setup freeradius to disconnect previous session of user that has Simultaneous-Use = 1 ?! thanks -- Sds. Alexandre Jeronimo Correa Onda Internet - http://www.ondainternet.com.br OPinguim Hosting - http://www.opinguim.net Linux User ID #142329 UNOTEL S/A -

md5 passwords

2008-08-27 Thread Alexandre J. Correa - Onda Internet
Hello, How i can auth users via radius.. using passwords crypt with md5 stored on db ? thanks ? -- Sds. Alexandre Jeronimo Correa Onda Internet - http://www.ondainternet.com.br OPinguim Hosting - http://www.opinguim.net Linux User ID #142329 UNOTEL S/A - http://www.unotel.com.br - List

php radius client (mount packet data)

2008-08-08 Thread Alexandre J. Correa - Onda Internet
Hello !! Based on 'Pure PHP radius class' (http://developer.sysco.ch/php/) i´m trying to implement disconnect-packet like this command: echo User-Name := xx | radclient -x 111.222.333.444 disconnect secret freeradius recognizes that packet are disconnect-request but i think checksum

two types of auth on same freeradius

2008-08-08 Thread Alexandre J. Correa - Onda Internet
Hello again :P how i can configure radius to auth users from my pppoe concentrators but auth MAC from my access-point too ... (for each type, i need change sql queries) !? or i need to run other copy of freeradius (different port and config) ?! thanks !!! regards, -- Sds. Alexandre