From owner-freebsd-questions@FreeBSD.ORG Mon Jun 23 14:05:20 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B487537B401 for ; Mon, 23 Jun 2003 14:05:20 -0700 (PDT) Received: from sccrmhc12.attbi.com (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4D3B43FF2 for ; Mon, 23 Jun 2003 14:05:19 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[24.147.188.198]) by attbi.com (sccrmhc12) with ESMTP id <2003062321051701200gpk6ke>; Mon, 23 Jun 2003 21:05:17 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h5NL5H1V026006; Mon, 23 Jun 2003 17:05:17 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h5NL5GgZ026003; Mon, 23 Jun 2003 17:05:16 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Andrew Thomson References: <20030622225115.GC4006@athomson.prv.au.itouchnet.net> From: Lowell Gilbert Date: 23 Jun 2003 17:05:16 -0400 In-Reply-To: <20030622225115.GC4006@athomson.prv.au.itouchnet.net> Message-ID: <44n0g8bj3n.fsf@be-well.ilk.org> Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: data contained in ipfw show X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 21:05:21 -0000 Andrew Thomson writes: > what's the max bytes ipfw show will record? > > 00010 422 44684 count ip from any to any out xmit tun0 > 00020 509 42556 count ip from any to any in recv tun0 > > i dump and zero them on the hour atm but just curious. A quick look at the source shows that they're 64-bit unsigned counters, so (according to an equally quick back-of-the-envelope calculation) each packet counter should be able to handle a few dozen centuries' worth of the largest possible throughput of a gigabit Ethernet. The byte counters, obviously, are good for a lot less; around half a century is the limit. > also, /(1024*1024.0) would give me my mb yeah?? Right.