John Eckert wrote:

Hi List,

is there a way to log out zombie users. I mean users that
did a login (auth. + acct.) but no logout because of a
problem with the NAS. This happens when the NAS gets rebooted
due to a power fault with logged in users. No volitional
reboot.

I have simultaneous sessions = 1 so the user cannot login
after reboot of the NAS, because the RADIUS server says he
is still logged in.

The NAS send every 2 Minutes a "Alive" Message, so perhaps
there is a way to log out every user for whom there was no
"Alive" message is the last 5 Minutes??


Thanks for any hints...

I wrote a daemon which queries a postgresql database and finalizes sessions after 2 missed alive packets. (now - acctsessiontime - acctstarttime) > (2 x alive interval)


This, of course, leaves utmp out of whack.

- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to