From owner-freebsd-current@FreeBSD.ORG Wed Nov 19 00:21:04 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 7575A16A4CE for ; Wed, 19 Nov 2003 00:21:04 -0800 (PST) Received: from ntmk.tagil.ru (ntmk.tagil.ru [195.151.0.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 653B343FBF for ; Wed, 19 Nov 2003 00:21:00 -0800 (PST) (envelope-from boris@ntmk.ru) Received: from ntmk.ru (boris.nikom.ru [10.1.16.195]) by ntmk.tagil.ru (8.9.3/8.9.1) with ESMTP id NAA60059; Wed, 19 Nov 2003 13:18:27 +0500 (YEKT) Message-ID: <3FBB2743.8040508@ntmk.ru> Date: Wed, 19 Nov 2003 13:18:11 +0500 From: Boris Kovalenko User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Michael Bretterklieber , freebsd-current References: <3FBAEAC1.7090709@tagnet.ru> <20031119071703.GA38863@pit.databus.com> <3FBB1DF3.1050706@ntmk.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 08:21:04 -0000 Hello! Standard PPP does not support UPDATE packets, and of course (as my RADIUS knowledge) the counters should not be resetted, because RADIUS updates the same record. Regards, Boris Michael Bretterklieber wrote: >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 > > > >