User disconnect
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Thu Jun 20 09:40:31 CEST 2013
On 20 Jun 2013, at 08:15, Olivier Beytrison <olivier at heliosnet.org> wrote:
> On 20.06.2013 08:21, Dagia Dorjsuren wrote:
>> Hello,
>>
>> Does anyone know how to solve following issue?
>>
>> In this case :
>>
>> 1. NAS (Chillispot based access point)
>> 2. Freeradius
>>
>> If NAS is shutdowned, the freeradius keeps all user logins of that NAS.
>> In this case, the users session is alive. In fact, freeradius doesn't
>> know if NAS's status is shutdowned or running. Is there any
>> configuration that freeradius disconnects the users automatically when
>> NAS is shutdowned?
>
> Freeradius can't disconnect a user, except by sending CoA Packets to the
> NAS. But in your case, the NAS is down.
>
> I guess you're keeping the accounting information in a database or
> something. You need to run an expiration query so the session is marked
> closed when freeradius doesn't hear from the NAS for a certain amount of
> time.
The schema/scripts in 3.0 have been modified to record this. You should
be able to run multiple update statements on receiving a stop, so the
database is self maintaining without an external script.
Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team
More information about the Freeradius-Users
mailing list