Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2002 23:45:49 -0500
From:      Chip Norkus <wd@arpa.com>
To:        Patrick Thomas <root@utility.clubscholarship.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: am I reading ipfw show correctly ?
Message-ID:  <20020413044549.GQ775@arpa.com>
In-Reply-To: <20020412211745.V77505-100000@utility.clubscholarship.com>
References:  <20020412211745.V77505-100000@utility.clubscholarship.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020413044549.GQ775>