Limit guest/anonymous users for 15 minutes

Fajar A. Nugraha list at fajar.net
Tue Sep 27 14:22:28 CEST 2011


On Tue, Sep 27, 2011 at 7:08 PM, CyAndrew <pohoda at seznam.cz> wrote:
> Example:
> 1. First user log in as guest/guest.
> 2. Access is granted for FIRST user and his device for let say 15 minutes
> only.
> 3. Second use log in as guest/guest.
> 4. Access is granted for SECOND user and his device for 15 minutes only.
> 5. Access for FIRST user expires.
> 6. Access for SECOND user expires.
>
> Is it possible to configurate such a behaviour with SQL user storage?
>
> Thank you very much for any hint or configuration example.
> CyAndrew

If your requirements are complex it might be better for your to use
rlm_perl and write your own rule there.

There's Session-timeout attribute which should be honored by many NAS,
which should restrict a session for only a specified amount of time,
but it does not prevent the user from simply re-login from the same
device later.

-- 
Fajar



More information about the Freeradius-Users mailing list