Hi all,

In brief, I'm looking for a way to assume users are logged out if their NAS missed x accounting updates (or alternatively, no update for y seconds).

The use case is as follows:

We have a number of wireless hotspots at the end of unreliable links. We use RADIUS accounting to bill users per minute. We have a problem that occasionally a link to a hotspot will go down for 10 mins, at which point users tend to give up and wander off. That's OK, except that we're left with a zombie RADIUS session that never gets a STOP packet.

The only way we can think to fix it is to assume the hotspot is dead if it misses, say, 3 UPDATEs, and then generate STOP events internally. This will leave some users on when we think they're not, but that's better than the present situation.

I've seen this done before in a German ISP, but using a heavily hacked radius server. Can anyone suggest a neat way to achieve it?

Thanks,

Alex


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

Reply via email to