sqlcounter and session-timeout
Martin Potgieter
martin at systemadmin.co.za
Sat Nov 12 17:53:09 CET 2005
Markus Krause wrote:
>but when using an ironpoint 200 ap i run into the following problem: the reply
>message contains "Session-Timeout := 1" which is (as it seems) sent by
>sqlcounter, which means the client (a windows xp sp2 with intel pro 2200bg)
>reconnects every second!!
>
>
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 :-)
martin
More information about the Freeradius-Users
mailing list