From owner-freebsd-questions Fri Apr 12 21:45:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from arpa.com (arpa.com [199.245.173.5]) by hub.freebsd.org (Postfix) with ESMTP id 5677E37B404 for ; Fri, 12 Apr 2002 21:45:54 -0700 (PDT) Received: by arpa.com (Postfix, from userid 1004) id B3A0FBA3D; Sat, 13 Apr 2002 00:45:49 -0400 (EDT) Date: Fri, 12 Apr 2002 23:45:49 -0500 From: Chip Norkus To: Patrick Thomas Cc: freebsd-questions@freebsd.org Subject: Re: am I reading ipfw show correctly ? Message-ID: <20020413044549.GQ775@arpa.com> References: <20020412211745.V77505-100000@utility.clubscholarship.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020412211745.V77505-100000@utility.clubscholarship.com> User-Agent: Mutt/1.3.25i 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 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