NAS online/offline?

Joe Maimon jmaimon at ttec.com
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 Nabble.com) 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? 
> <http://www.nabble.com/NAS-online-offline--t1075858.html#a2800675>
> Sent from the FreeRadius - User 
> <http://www.nabble.com/FreeRadius---User-f1104.html> forum at Nabble.com.
> 
> 
> ------------------------------------------------------------------------
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list