From owner-freebsd-questions Fri Apr 12 22:58:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id E3B4E37B400 for ; Fri, 12 Apr 2002 22:58:31 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g3D5vrO56560; Fri, 12 Apr 2002 22:57:53 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Fri, 12 Apr 2002 22:57:53 -0700 (PDT) From: Patrick Thomas To: Chip Norkus Cc: Subject: Re: am I reading ipfw show correctly ? In-Reply-To: <20020413044549.GQ775@arpa.com> Message-ID: <20020412225639.Y77505-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok, so roughly 79 Gigs in both direction have been passed by this rule since last time I booted ? And this number (and the number of characters the line has in it) just keeps getting longer and longer as the machine is up for a longer and longer time ? thanks, PT On Fri, 12 Apr 2002, Chip Norkus wrote: > On Fri Apr 12, 2002; 09:20PM -0700 Patrick Thomas propagated the following: > > > > when I run `ipfw show`, among other things, I see: > > > > 00100 269386387 79460331626 allow ip from any to any > > > > > > I think this means that 269 megabytes have been received inbound, and 79 > > gigabytes have been sent outbound. > > > > > > 1. Am I correct ? > > > > No. The first column is the rule number, the second number is the number > of packets passed through that rule, and the third is the number of bytes > passed through that rule. If you want to count only inbound or outbound > traffic in a rule, you'll want to use the 'in' or 'out' ruleset suffixes. > > > 2. how often, if ever, do these counters reset ? > > > > At reboot, or when you issue an 'ipfw zero' > > > --PT > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > -wd > -- > chip norkus; c programmer of the apocalypse wd@arpa.com > "question = (to) ? be : !be;" --Shakespeare http://telekinesis.org > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message