On Thu, Jun 28, 2012 at 7:34 PM, Andrei Petru Mura <mapand...@gmail.com> wrote: > id | username | attribute | op | value > > -----+------------------------+----------------------------+----+------------ > 167 | test1 | Password | := | test1 > 168 | test1 | Max-Daily-Session | := | 60 > > The problem is that every time when I authenticate for the first time per > hour (because the sqlcounter is resetted hourly), with username test1, I can > access the services given by freeradius an unlimited time.
That's not right. - Did you read the wiki? - Did you try to run FR in debug mode? Did it send Session-Timeout attribute? Was it calculated correctly? - Does your NAS honor Session-Timeout attribute? IIRC some NAS (e.g. chillispot) ignores some attributes (e.g. Acct-Interim-Interval) if it's too small (e.g <= 60 seconds). That might be the case in your setup (although the attribute here is different). -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html