I'm having problems with rlm_counter on FreeRADIUS Version 1.1.7.
No, you have a problem with your users file entry.
My user
-----------------
Prueba3 User-Password == "a", Simultaneous-Use += 5, Max-Daily-Session := 300
And this overrides the counter:
Session-Timeout := 60
Here is it logging in fine
Erm, no it doesn't. ...
rlm_counter: Searching the database for key 'Prueba3' rlm_counter: Key Found. rlm_counter: Check item = 300, Count = 22 rlm_counter: res is greater than zero rlm_counter: (Check item - counter) is greater than zero rlm_counter: Authorized user Prueba3, check_item=300, counter=22 rlm_counter: Sent Reply-Item for user Prueba3, Type=Session-Timeout, value=278 modcall[authorize]: module "daily" returns ok for request 0 ... Sending Access-Accept of id 172 to 192.168.63.1 port 3422 Session-Timeout := 60
Value from users file (60) overrides the counter (278). Remove Session-Timeout from users file entry and counter will work. Ivan Kalik Kalik Informatika ISP