(Fwd) (Fwd) Re: Accounting Log

Breuer Nicolas Nicolas.Breuer at Belcenter.biz
Mon Nov 8 23:04:46 CET 2010



 Hello Alexandre,

 Just in that case, if you not send the STOP in case Sess time =0
 The Session will stay opened in the accounting table.
 and never be closed....

 

------- Forwarded message follows -------
From:	Breuer Nicolas <Nicolas.Breuer at Belcenter.biz>
To:	freeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject:	(Fwd) Re: Accounting Log 
Send reply to:	Nicolas.Breuer at BelCenter.biz
Date sent:	Mon, 08 Nov 2010 23:00:40 +0100

From: Alexandre Chapellon <alexandre.chapellon at mana.pf> 

I have the very same behaviour here on my FR2.1.6 setup with PGSQL accoutning. It 
produce noisy logs but nothing unacceptable.
You can change this by not doing accouting for Stop Accounting packet that show up 
null session-time:

in your acccouting section:

if (Acct-Status-Type == Stop && Session-Time != 0) {
sql_accounting_module_name
}

Maybe relying on Session-Time is not a good idea. Try finding out another relevant 
attribute.

Cdt



Nice idea, i will try :)

Attachments: C:\Users\Nico\AppData\Local\Temp\WPM$2D83.PM$ 
------- End of forwarded message -------

Breuer Nicolas
Network Supervisor
Sales Executive

BELCENTER sprl/bvba
Avenue Henri Consciencelaan, 94 
Bruxelles 1140 Brussel

T. : +32 (0)2 403 04 60
F. : +32 (0)2 403 04 63
M. :+32 (0)486 50 27 87
E. : Nicolas.Breuer at Belcenter.biz
W. : http://www.BelCenter.be | http://www.BelCenter.net


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20101108/06f14bf2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WPM$2BF5.PM$
Type: application/octet-stream
Size: 2108 bytes
Desc: Mail message body
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20101108/06f14bf2/attachment.obj>


More information about the Freeradius-Users mailing list