From owner-freebsd-net@FreeBSD.ORG Tue Mar 16 01:20:29 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B82716A4CF for ; Tue, 16 Mar 2004 01:20:29 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id B056743D39 for ; Tue, 16 Mar 2004 01:20:28 -0800 (PST) (envelope-from andre@freebsd.org) Received: (qmail 31290 invoked from network); 16 Mar 2004 09:20:27 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.47]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 16 Mar 2004 09:20:27 -0000 Message-ID: <4056C6DA.4070707@freebsd.org> Date: Tue, 16 Mar 2004 10:20:26 +0100 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040219 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Max Laier References: <2650.192.168.0.200.1079393908.squirrel@192.168.0.1> <20040316000153.GA73860@router.laiers.local> In-Reply-To: <20040316000153.GA73860@router.laiers.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Mike Jakubik cc: current@freebsd.org cc: net@freebsd.org Subject: Re: Byte counters reset at ~4GB X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 09:20:29 -0000 Max Laier wrote: > On Mon, Mar 15, 2004 at 06:38:28PM -0500, Mike Jakubik wrote: > >>Hello, >> >>It seems that the byte counters (derived from netstat -nbi) reset at >>around 4 GB. Is there no way around this? It would be nice to be able to >>see an accurate display of totals. It just seems pointless to even have >>this, as 4 GB is just not that much anymore. I know this is a 32bit >>limitation of the variable, but that's just bad coding in my opinion (no >>offence intended), I mean there must be some way around this. >> >>Thank You. > > > There is now: pf comes with 64bit statistic counters. For now you can put > them on one interface only, but in future version there will be more > flexible statistics. Additionally there are many accounting programs out > there which utilize various existing (32bit) counters or the [i]pf[w] > interfaces: sysutils/ipa or net-mgmt/ipacctd to name just two off the top of > my head. ipfw has 64bit counters since a long time ago (4.0 IIRC): 65000 177297231221 62940387223290 allow ip from any to any -- Andre