Stale sessions problem

Alan DeKok aland at ox.org
Tue Feb 21 23:55:29 CET 2006


Georgi Alexandrov <georgi.alexandrov at gmail.com> wrote:
> If a user that somehow failed network connectivity and failed to tell
> the server "account stop" tries to reconnect back it won't let him
> because his previous session is stalled. I need a mechanism that will do
> a check upon connection if the session is stalled, delete it and let the
> user in or if there is already a real user logged in deny the connecting
> one.
> I read from the mailing lists that radzap should do the job but i can't
> seem to figure out how to integrate it in that setup (the man page
> explains only the syntax).

  radzap calls radwho to query radutmp and generates an accounting
stop message.

  You can query your SQL database and generate accounting stop
messages, too.

  Alan DeKok.




More information about the Freeradius-Users mailing list