Problem with rlm_counter (FR3)

Alan DeKok aland at deployingradius.com
Thu Feb 27 17:06:11 CET 2014


Arran Cudbard-Bell wrote:
> On 27 Feb 2014, at 15:07, Marco Marino <marino.mrc at gmail.com> wrote:
> 
>> My radgroupreply has this row:
>>
>> Users	 Session-Timeout	 =	 120

  Which might now work.  Setting timeouts to less than 5 minutes is
probably a bad idea.

>> Operator is "=", so i think it is correct. Where i'm wrong?
>> Thanks
> 
> *sigh* why are you setting in the SQL module? I guess rlm_counter
> can trash the current value if you want, but it doesn't seem very 
> friendly.

  The order of modules helps here.  I didn't read the debug output, but
you could do something like:

	sql 		set timeout to 600
	...
	counter		re-set timer to something else


  Alan DeKok.


More information about the Freeradius-Users mailing list