(Fwd) (Fwd) Re: Accounting Log
Alexandre Chapellon
alexandre.chapellon at mana.pf
Tue Nov 9 00:33:44 CET 2010
Le lundi 08 novembre 2010 à 23:04 +0100, Breuer Nicolas a écrit :
>
>
>
>
> 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....
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.
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.
Regards.
>
>
>
>
>
> ------- 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
>
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
Follow us on: twitter https://www.twitter.com/manainternet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20101108/61cc0a85/attachment.html>
More information about the Freeradius-Users
mailing list