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@Belcenter.biz>
To: freeRadius users mailing list <freeradius-users@lists.freeradius.org>
Subject: (Fwd) Re: Accounting Log
Send reply to: Nicolas.Breuer@BelCenter.biz
Date sent: Mon, 08 Nov 2010 23:00:40 +0100
From: Alexandre Chapellon <alexandre.chapellon@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@Belcenter.biz
W. : http://www.BelCenter.be | http://www.BelCenter.net
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
|
-- Follow us on: twitter https://www.twitter.com/manainternet |