<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1250">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=234113213-07022006><FONT face=Arial
color=#0000ff size=2>if you cannot ping the NAS, probably it is
down.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=234113213-07022006><FONT face=Arial
color=#0000ff size=2>however, when your NAS updates its accounting, radius will
no be aware to remove its stale sessions,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=234113213-07022006><FONT face=Arial
color=#0000ff size=2>i believe, the time taken here depends on how your NAS
updates accounting packets to your RAS.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=234113213-07022006><FONT face=Arial
color=#0000ff size=2>with my case it is from 2 minutes to 10 minutes, the stale
sessions will be gone.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=234113213-07022006><FONT face=Arial
color=#0000ff size=2>it is not good and advisable to force and remove the stale
sessions completely using </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=234113213-07022006><FONT face=Arial
color=#0000ff size=2>zap commands, it is depreciated but it does the
job.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=234113213-07022006><FONT face=Arial
color=#0000ff size=2>hope it helps</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
freeradius-users-bounces+mnisay=aim-consultants.com@lists.freeradius.org
[mailto:freeradius-users-bounces+mnisay=aim-consultants.com@lists.freeradius.org]
<B>On Behalf Of </B>nikwan (sent by Nabble.com)<BR><B>Sent:</B> Tuesday,
February 07, 2006 2:06 PM<BR><B>To:</B>
freeradius-users@lists.freeradius.org<BR><B>Subject:</B> NAS
online/offline?<BR></FONT><BR></DIV>
<DIV></DIV>Hypothetically situation: <BR>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. <BR>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.... <BR>Any input will be greatly appreciated <BR>
<HR align=left width=300>
View this message in context: <A
href="http://www.nabble.com/NAS-online-offline--t1075858.html#a2800675">NAS
online/offline?</A><BR>Sent from the <A
href="http://www.nabble.com/FreeRadius---User-f1104.html">FreeRadius - User</A>
forum at Nabble.com. <BR>
<P><FONT size=2>--<BR>No virus found in this incoming message.<BR>Checked by AVG
Free Edition.<BR>Version: 7.1.375 / Virus Database: 267.15.2/252 - Release Date:
2/6/2006<BR></FONT></P>
<P><FONT face=Arial size=2></FONT></P></BODY></HTML>
<BR>
<P><FONT SIZE=2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Free Edition.<BR>
Version: 7.1.375 / Virus Database: 267.15.2/252 - Release Date: 2/6/2006<BR>
</FONT> </P>