Alan DeKok wrote:
Georgi Alexandrov <georgi.alexandrov@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.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Ehlo Alan, how could one know from the database (radacct i suppose) if a user session i stalled or he's actually online? -- regards, Georgi Alexandrov Key Server = http://pgp.mit.edu/ :: KeyID = 37B4B3EE Key Fingerprint = E429 BF93 FA67 44E9 B7D4 F89E F990 01C1 37B4 B3EE