Skip site navigation (1)Skip section navigation (2)
Date:      24 Oct 1997 00:36:45 +0300
From:      Vladimir Litovka <doka@vl.net.ua>
To:        freebsd-isp@freebsd.org
Subject:   Re: Traffic calculation
Message-ID:  <62og1d$290$1@grunt.vl.net.ua>

next in thread | raw e-mail | index | archive | help
Hello!

Daniel Podolsky <nil@Novavox.Ru> wrote:

> Is it possible to get my router (FreeBSD box) traffic statistic using
> tcpdump and tcptrace?

Try using ipfw. Setup allow rules such as
  ipfw add 100 allow all from any to any via desired_interface
and then
  ipfw show

Third column will contain bytes count from setting rule or last
 ipfw zero 100

-- 
      Vladimir Litovka <doka@vl.net.ua>, hostmaster of vl.net.ua
      ========  Don't trouble trouble until trouble troubles you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62og1d$290$1>