reset sql counter every 30 minute

Bishal Pun bishalpun at gmail.com
Thu Jan 27 09:47:25 CET 2011


You can use Session-Timeout attribute in your radreply sql table like:

+-----+-----------+-----------------+----+---------+-------+
| id  | UserName  | Attribute       | op | Value   |
+-----+-----------+-----------------+----+---------+-------+
|  | 257 | test  | Session-Timeout | := | 1800    |
+-----+-----------+-----------------+----+---------+-------+


Regards
Bishal

On Thu, Jan 27, 2011 at 1:34 PM, piston <pistonic at yahoo.com> wrote:

> Hi
>
> Is that possible to reset the sql counter every 30 minute?
>
> Basically, i need to get user free access of 20 minutes, after 20 minutes
> NAS will logout the user.
>
> And the user is allow to login again after 30 minute.
>
> Thanks
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110127/b7d26281/attachment.html>


More information about the Freeradius-Users mailing list