Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 1997 19:14:14 +1000 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Hugh Blandford <hugh@island.net.au>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: How can I measure Mb downloaded?
Message-ID:  <Pine.BSF.3.91.970403191245.10264C-100000@panda.hilink.com.au>
In-Reply-To: <3.0.1.32.19970403173015.006f5aec@mail.island.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 3 Apr 1997, Hugh Blandford wrote:

> I am trying to find a piece of software/utility that will tell me how many
> Mbytes have been sent to and from an IP address or device.  I would like to
> log the traffic.  I have a P50 for my router and it is not really upto the
> task.  I am aware of the end of day routine that gives how many packets
> have come in and out of the interface, but I have no idea how you can get
> from the number of packets to the number of bits or megabytes etc.

you want to build a kernel with 
options IPFIREWALL

Then configure counting rules into your firewall and read them every 
hour/day/whatever using ipfw show (ipfw -a list in 2.1.5+)

Danny



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970403191245.10264C-100000>