Re: sqlcounter returning Gigawords?

2011-04-01 Thread Alan DeKok
YvesDM wrote:
 We 're about to upgrade our radius which is still running 1.1.7
 We use monthly datalimits so we patched the sqlcounter in order to
 make it reply max 4GB of left quota (to avoid wrapping), even if the
 user still has 10GB quota left.
 Of course this results in a logged out user when he reaches a session of 4GB.
 
 As general datatraffic increases we would like to avoid this in our
 new radius setup.
 In the newest version, is there a way to reply gigawords from sqlcounter?
 If not, is there another solution to this?

  The latest version has rlm_expr, which is 64-bit clean.  You can use
it to split the counters into 32-bit pieces.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: sqlcounter returning Gigawords?

2011-04-01 Thread YvesDM
On Fri, Apr 1, 2011 at 10:40 AM, Alan DeKok al...@deployingradius.com wrote:

  The latest version has rlm_expr, which is 64-bit clean.  You can use
 it to split the counters into 32-bit pieces.

  Alan DeKok.

Tnx Alan, will check it out.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


sqlcounter returning Gigawords?

2011-03-31 Thread YvesDM
Hi,

We 're about to upgrade our radius which is still running 1.1.7
We use monthly datalimits so we patched the sqlcounter in order to
make it reply max 4GB of left quota (to avoid wrapping), even if the
user still has 10GB quota left.
Of course this results in a logged out user when he reaches a session of 4GB.

As general datatraffic increases we would like to avoid this in our
new radius setup.
In the newest version, is there a way to reply gigawords from sqlcounter?
If not, is there another solution to this?

Many thx.
Yves
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html