stale session
Sergio Diaz
sdiazf at logitel.com.mx
Wed Sep 2 17:59:05 CEST 2015
How can i manually clear the old sessions from the DB.
Saludos Cordiales,
Sergio Diaz
Infraestructura TI
01(55) 5265.0145
(044) 55.28.99.95.71
sdiazf at logitel.com.mx
www.logitel.com.mx
-----Mensaje original-----
De: Freeradius-Users [mailto:freeradius-users-bounces+sdiazf=logitel.com.mx at lists.freeradius.org] En nombre de Alan DeKok
Enviado el: martes, 26 de mayo de 2015 07:21 a. m.
Para: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Asunto: Re: stale session
On May 25, 2015, at 8:22 PM, Sergio Diaz <sdiazf at logitel.com.mx> wrote:
> I am simulating the problem on what if the AP goes down (due to various reasons). I observed that user is not properly disconnected and result is stale session. When the AP is up and when the previous user tries to log in he/she gets login failed message because "Simultaneous-Use" is in effect while previous session is still ticking.
>
> How can prevent and fix this?
Get the AP to send accounting packets with Acct-Status-Type = Accounting-On. That tells the server that the AP has rebooted, and the server will clear the old sessions from the DB.
Otherwise, FreeRADIUS has no idea that the AP rebooted, and can only assume that the sessions are still active.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list