sqlcounter and session-timeout

Jonathan De Graeve Jonathan.De.Graeve at imelda.be
Sat Nov 12 18:06:22 CET 2005


> >
>  I am trying to use sqlcounter to count octets and am having the same
> problem.  It seems that sqlcounter module was designed to handle the
> amount of time a user is allowed online and as such is hardcoded to
> return the Session-Timeout value according to the sql query.
> 
> >how can i override the value of session-timeout, lets say for 10
minutes
> (i dont
> >care if a user can stay connected until 0:10) ??
> >
> I put a seperate entry in the radcheckgroup table with the
> session-timeout value but freeradius seems to always return the lower
of
> the two values... again presumably to limit online usage.
> 
> Anyway let me know if you find a way... I am going to see if I can
make
> sense of "rlm_sqlcounter.c" with my limited c knowledge :-)
> 
I have the same problem and this by configured my nas to discard the
session timeout.

It would be nice if you could have a config parameter if the system
should return session-timeout for the specific sqlcounter or return it
as another 'defined by admin' radius attribute (for octets in the case
of Nomadix lets say: Nomadix-MaxBytesDown/Nomadix-MaxBytesUp)

J.





More information about the Freeradius-Users mailing list