Probmels with sqlcounter module in FreeRADIUS 2.1.12

Fajar A. Nugraha list at fajar.net
Thu Jun 28 14:50:39 CEST 2012


On Thu, Jun 28, 2012 at 7:34 PM, Andrei Petru Mura <mapandrei at 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


More information about the Freeradius-Users mailing list