<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Le lundi 08 novembre 2010 à 23:04 +0100, Breuer Nicolas a écrit :
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2"> Hello Alexandre,</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2"> Just in that case, if you not send the STOP in case Sess time =0</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2"> The Session will stay opened in the accounting table.</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2"> and never be closed....</FONT><BR>
</BLOCKQUOTE>
<BR>
In my case such tickets (acct-stop with session-time=0) are generated by the nas when auth failure occurs... so the session is never started. Consequently, there is no pb not stoping it.<BR>
But this is exactly why I said relying on session-time=0 may be a bad idea. Depending on your nas behaviour find another revelant attribute.<BR>
<BR>
Regards.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2"> </FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">------- Forwarded message follows -------</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">From: </FONT><B><FONT SIZE="2">Breuer Nicolas <Nicolas.Breuer@Belcenter.biz></FONT></B>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">To: </FONT><B><FONT SIZE="2">freeRadius users mailing list <freeradius-users@lists.freeradius.org></FONT></B>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">Subject: </FONT><B><FONT SIZE="2">(Fwd) Re: Accounting Log </FONT></B>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">Send reply to: </FONT><B><FONT SIZE="2">Nicolas.Breuer@BelCenter.biz</FONT></B>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">Date sent: </FONT><B><FONT SIZE="2">Mon, 08 Nov 2010 23:00:40 +0100</FONT></B>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<I>From</I>: Alexandre Chapellon <<U><FONT COLOR="#0000ff"><A HREF="mailto:alexandre.chapellon%40mana.pf">alexandre.chapellon@mana.pf</A></FONT></U>> <BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
I have the very same behaviour here on my FR2.1.6 setup with PGSQL accoutning. It produce noisy logs but nothing unacceptable.<BR>
You can change this by not doing accouting for Stop Accounting packet that show up null session-time:<BR>
<BR>
in your acccouting section:<BR>
<BR>
if (Acct-Status-Type == Stop && Session-Time != 0) {<BR>
sql_accounting_module_name<BR>
}<BR>
<BR>
Maybe relying on Session-Time is not a good idea. Try finding out another relevant attribute.<BR>
<BR>
Cdt<BR>
<BR>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2"> Nice idea, i will try :)</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2"> </FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">Attachments: C:\Users\Nico\AppData\Local\Temp\WPM$2D83.PM$ </FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">------- End of forwarded message -------</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">Breuer Nicolas</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="1">Network Supervisor</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="1">Sales Executive</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">BELCENTER sprl/bvba</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="1">Avenue Henri Consciencelaan, 94 </FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="1">Bruxelles 1140 Brussel</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">T. : +32 (0)2 403 04 60</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">F. : +32 (0)2 403 04 63</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">M. :+32 (0)486 50 27 87</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">E. : Nicolas.Breuer@Belcenter.biz</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<FONT SIZE="2">W. : http://www.BelCenter.be | http://www.BelCenter.net</FONT>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
-
List info/subscribe/unsubscribe? See <A HREF="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<A HREF="https://www.twitter.com/manainternet">Follow us on: twitter https://www.twitter.com/manainternet</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>