Subject: Re: The Count's Traffic
To: Zafer Aydogan <zafer@gmx.org>
From: Harry Waddell <waddell@caravan.com>
List: netbsd-help
Date: 07/11/2005 22:55:28
On Tue, 12 Jul 2005 00:23:48 +0200
Zafer Aydogan <zafer@gmx.org> wrote:

> Hello List,
> 
> I have a NetBSD Server running a Webserver.
> What is the easiest way to count Traffic on this machine.
> By easiest I mean, without compiling anything.
> I would like to know, how much traffic the machine
> makes a day, a month, etc.
> 
> Thanks, Zafer.
> 

If the system is primarily a webserver, get a binary package for 
analogue or webalizer and parse the logs. Otherwise, use ipfilter
with a "count" rule and a shell script to capture and reset the counter
each day.

Your no-compiling objective may limit your options. Compiling from pkgsrc 
is pretty easy, so you may want to rethink your position on it.


-- 
Harry Waddell
Caravan Electronic Publishing
-----------