Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 1997 09:48:11 -0500 (EST)
From:      Ron Bickers <rbickers@intercenter.net>
To:        Intuitive Design Archive <archive@in-design.com>
Cc:        David Ramahefason <rama@easynet.fr>, freebsd-ports@freefall.freebsd.org, freebsd-isp@freefall.freebsd.org
Subject:   Re: Is there a tool for IP traffic accounting ??
Message-ID:  <Pine.NEB.3.95.970306093718.25970G-100000@bigboy.intercenter.net>
In-Reply-To: <Pine.BSF.3.91.970306081409.8913D-100000@nero.in-design.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Mar 1997, Intuitive Design Archive wrote:

> > I'm looking for a tool to count the IP traffic from one IP to the rest of
> > the world....
> > Is ipfw the only way ?
> > 
> > Thanks for answering
> 
> 	How about a IP counter for aliases? 
> 
> 			How do people generally do megabyte accounting for
> 			virtual websites?

It may not be the best solution, but I've been running nnstat with a
simple config that sums up the bytes to/from the given IP address into
each customers "bucket".  A perl script gathers the info from it's log. 
It's been running unmodified without problems for 2 years now.

nnstat makes use of the fact that ethernet is broadcast (it's pretty much
a sniffer) so the machine must be located where all the traffic will pass.

---
Ron




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970306093718.25970G-100000>