Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2003 10:35:42 +0100 (=?ISO-8859-15?Q?Westeurop=E4ische_Normalzeit?=)
From:      Michael Bretterklieber <mbretter@a-quadrat.at>
To:        Boris Kovalenko <boris@ntmk.ru>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: ppp RADIUS accounting bug
Message-ID:  <Pine.WNT.4.58.0311191029510.1928@BRUTUS>
In-Reply-To: <3FBB3317.4090001@ntmk.ru>
References:  <3FBAEAC1.7090709@tagnet.ru> <20031119071703.GA38863@pit.databus.com> <3FBB1DF3.1050706@ntmk.ru> <Pine.WNT.4.58.0311190851470.1928@BRUTUS> <3FBB2743.8040508@ntmk.ru> <Pine.WNT.4.58.0311190932020.1928@BRUTUS> <3FBB3317.4090001@ntmk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Wed, 19 Nov 2003, Boris Kovalenko wrote:
>
> >The RFC says:
> >
> >5.4.  Acct-Output-Octets
> >
> >blabla
> >
> >can only be
> >      present in Accounting-Request records where the Acct-Status-Type
> >      is set to Stop.
> >
> >It looks like, that these counters must not present in accounting updates.
> >
> You are right, but your words - "but a patch could be written :-)".
> Again, I'm talking not about UPDATE packets and presence of any
> attributes in RADIUS requests. I'm talking about wrong handling of
> Acct-Input-Octets & Acct-Output-Octets with current PPP RADIUS
> implementation. How this will be done, by implementing RFC2869 support
IMHO this would be the right way, because RFC 2869 definitely says:

"Note that all information in an interim message is cumulative (i.e.
number of packets sent is the total since the beginning of the
session, not since the last interim message)."

So sending interim update packets won't help.

> looking for someone who supervises my patch and commit it if no problems
> will be founded.
this can be a problem :-)


bye,
--
------------------------------- ----------------------------------
Michael Bretterklieber          - http://www.bretterklieber.com
A-Quadrat Automation GmbH       - http://www.a-quadrat.at
Tel: ++43-(0)3172-41679         - GSM: ++43-(0)699 12861847
------------------------------- ----------------------------------
"...the number of UNIX installations has grown to 10, with more
expected..." - Dennis Ritchie and Ken Thompson, June 1972



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.WNT.4.58.0311191029510.1928>