Session-Timeout

Jorge Pereira jpereira at freeradius.org
Tue May 28 16:15:29 CEST 2019


It is impossible to read your radius debug output. please, send again.

On Tue, May 28, 2019 at 8:27 AM myxmail1919--- via Freeradius-Users <
freeradius-users at lists.freeradius.org> wrote:

> hi there,
>
> is there anyone can tell me why session will not end after session-timeout
> ?
>
> i configured sql counter its working fine ! the only problem is session
> will not end ! and user stays logged in !  but when user end the session
> cant login again !i tried on diffrent  Accesspoints ,  its same everywhere
> ...
>
>
> thanks
>
> authorize {
>         sql
>         update control {                Max-Daily-Session = 4752
> }}
>
>
>
>
> dailycounter: EXPAND %{sql:SELECT SUM(acctsessiontime -
> GREATEST((1558994400 - UNIX_TIMESTAMP(acctstarttime)), 0)) FROM radacct
> WHERE username = '%{User-Name}' AND UNIX_TIMESTAMP(acctstarttime) +
> acctsessiontime > '1558994400'}dailycounter:    --> 4729dailycounter:
> Allowing user, &control:Max-Daily-Session value (4752) is greater than
> counter value (4729)dailycounter: Setting &reply:Session-Timeout value to
> 23     [dailycounter] = ok
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list