Re: Max-Monthly-Traffic

2010-02-23 Thread Alan DeKok
Neville wrote: Anyone please, as this is driving me mad... 2^31 issues? Check the code for unsigned int... Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Max-Monthly-Traffic

2010-02-23 Thread Fajar A. Nugraha
On Wed, Feb 24, 2010 at 1:32 AM, Alan DeKok al...@deployingradius.com wrote: Neville wrote: Anyone please, as this is driving me mad...  2^31 issues?  Check the code for unsigned int... So you're suggesting to change the source code for rlm_sqlcounter and recompile? - List

Re: Max-Monthly-Traffic

2010-02-09 Thread Neville
Anyone please, as this is driving me mad... Thx Nev - Original Message - From: Neville To: freeradius-users@lists.freeradius.org Sent: Sunday, February 07, 2010 1:28 PM Subject: Max-Monthly-Traffic Sorry for troubling everyone on this, but I cannot work out why Session

Max-Monthly-Traffic

2010-02-07 Thread Neville
: ++[monthlytraffic] returns ok sqlcounter monthlytraffic { counter-name = Monthly-Traffic check-name = Max-Monthly-Traffic reply-name = Session-Octets-Limit sqlmod-inst = sql key = User-Name reset = monthly

Re: MAX-Monthly-Traffic V2 Post.

2009-08-20 Thread goksie
users mailing listfreeradius-users@lists.freeradius.org Subject: Re: MAX-Monthly-Traffic V2 Post. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: MAX-Monthly-Traffic V2 Post

2009-08-20 Thread Alexandre Chapellon
on time (session-timout)... a bit tricky isn't it? So VERY True, Too many late nights and I really do appreciate your input as this gave me food for thought and I now have EVERYTHING Working. Both for Traffic Session USAGE. For Usage, I still had to use Max-Monthly-Traffic as a Check

MAX-Monthly-Traffic V2 Post.

2009-08-19 Thread Neville
-Sessions. This is what I've done so far... I've added to ./raddb/sql/mysql/counter.conf sqlcounter monthlytraffic { counter-name = Monthly-Traffic check-name = Max-Monthly-Traffic sqlmod-inst = sql key = User-Name reset

Re: MAX-Monthly-Traffic V2 Post.

2009-08-19 Thread Alexandre Chapellon
-Traffic check-name = Max-Monthly-Traffic sqlmod-inst = sql key = User-Name reset = monthly query = SELECT (sum(acctinputoctets)+sum(acctoutputoctets)) \ FROM radacct WHERE username='%{%k

Re: MAX-Monthly-Traffic V2 Post.

2009-08-19 Thread Sajeewa Warnakulasuriya
())) AND \ Year(acctstoptime) = Year(NOW()) } authorize { . monthlytraffic . } instantiate { . monthlytraffic . } created a dictionary entry in daloradius database of:- id 9433 Type integer Attribute Max-Monthly-Traffic Value NULL Format NULL Vendor dictionary.freeradius.internal

Re: MAX-Monthly-Traffic V2 Post

2009-08-19 Thread Neville
many late nights and I really do appreciate your input as this gave me food for thought and I now have EVERYTHING Working. Both for Traffic Session USAGE. For Usage, I still had to use Max-Monthly-Traffic as a Check := and based on sqlcounter calc, do a Reply = Sessions-Octets-Limit = XX

Re: MAX-Monthly-Traffic V2 Post

2009-08-19 Thread Neville
many late nights and I really do appreciate your input as this gave me food for thought and I now have EVERYTHING Working. Both for Traffic Session USAGE. For Usage, I still had to use Max-Monthly-Traffic as a Check := and based on sqlcounter calc, do a Reply = Sessions-Octets-Limit = XX

Re: Max Monthly Traffic

2009-08-19 Thread Goke Aruna
{ counter-name = Monthly-Traffic check-name = Max-Monthly-Traffic sqlmod-inst = sql key = User-Name reset = monthly/ // /query = SELECT (sum(acctinputoctets)+sum(acctoutputoctets

Re: MAX-Monthly-Traffic V2 Post

2009-08-19 Thread Alexandre Chapellon
on time (session-timout)... a bit tricky isn't it? So VERY True, Too many late nights and I really do appreciate your input as this gave me food for thought and I now have EVERYTHING Working. Both for Traffic Session USAGE. For Usage, I still had to use Max-Monthly-Traffic as a Check

Max Monthly Traffic

2009-08-18 Thread Neville
{ counter-name = Monthly-Traffic check-name = Max-Monthly-Traffic sqlmod-inst = sql key = User-Name reset = monthly query = SELECT (sum(acctinputoctets)+sum(acctoutputoctets)) \ FROM radacct WHERE username