NAS online/offline?

Joe Maimon jmaimon at
Tue Feb 7 16:01:59 CET 2006

Use sql radius accounting logging

modify the table to have a timestamp field

modify the server queries if neccessary

run an external script/process that checks for all acctstoptime=0 and 
timestamp < (current_time - (expected_update_interval*2))

updates them all with acctstoptime = timestamp.

or something like that

nikwan (sent by wrote:
> Hypothetically situation:
> You have users logged into a NAS. the NAS goes down without warning 
> (power failure...) Users who where logged in now have sessions which are 
> not complete (acctstoptime is set to NULL). In my case Simultaneous 
> logins is disabled and need to be so. Therefore once the NAS is brought 
> back up. the users cant log back in, as radius will not authorize the 
> users as they are apparently logged in.
> My question is... How do i set the accstoptime to the time when the NAS 
> goes down. Is there a way to see when a NAS dies....
> Any input will be greatly appreciated
> View this message in context: NAS online/offline? 
> <>
> Sent from the FreeRadius - User 
> <> forum at
> ------------------------------------------------------------------------
> - 
> List info/subscribe/unsubscribe? See

More information about the Freeradius-Users mailing list