Stale sessions problem

Georgi Alexandrov georgi.alexandrov at gmail.com
Sat Feb 25 09:40:30 CET 2006


Alan DeKok wrote:
> 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.
> 
> - 
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060225/6e62b261/attachment.pgp>


More information about the Freeradius-Users mailing list