From owner-freebsd-current@FreeBSD.ORG Tue Nov 18 23:55:46 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03E1D16A4CE for ; Tue, 18 Nov 2003 23:55:46 -0800 (PST) Received: from mail.a-quadrat.at (mail.a-quadrat.at [81.223.141.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0AC543FA3 for ; Tue, 18 Nov 2003 23:55:44 -0800 (PST) (envelope-from mbretter@a-quadrat.at) Received: from BRUTUS.a-quadrat.at (brutus.a-quadrat.at [192.168.90.60]) by files.a-quadrat.at (Postfix) with ESMTP id E76DE5C080; Wed, 19 Nov 2003 08:55:00 +0100 (CET) Date: Wed, 19 Nov 2003 08:55:39 +0100 (=?ISO-8859-15?Q?Westeurop=E4ische_Normalzeit?=) From: Michael Bretterklieber To: Boris Kovalenko In-Reply-To: <3FBB1DF3.1050706@ntmk.ru> Message-ID: References: <3FBAEAC1.7090709@tagnet.ru> <20031119071703.GA38863@pit.databus.com> <3FBB1DF3.1050706@ntmk.ru> X-X-Sender: mbretter@files.a-quadrat.at MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Barney Wolff cc: freebsd-current Subject: Re: ppp RADIUS accounting bug X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 07:55:46 -0000 Hi, On Wed, 19 Nov 2003, Boris Kovalenko wrote: > Hello! > > Yes, unsigned, so we have 4G limit, which may simple be overflowed > by (for example) PPPoE connection. Yes, RADIUS standard defines new > attributes for big words, but current PPP does not supports it (it, so > our knowledge about RFC is useless :) Again, rad_put_int defined > u_int32_t parameter, so if a have dowloaded 4.5G (for example) what > number will send to radius? > How about sending periodic RADIUS accounting updates? After each accounting update the counters could be reset, but I'm not sure whether this is RFC compliant, i.e. whether allways the complete value has to be send or whether the counters could be reset, after each update. For Mpd we implemented it without resetting the counters, but maybe that's not 100% right. 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