Subject: Re: ipf counting and rrdtool
To: None <netbsd-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 07/11/2001 09:06:47
On Wed, 11 Jul 2001, Gwilym Evans wrote:

> I'm using simple rules such as:
> count in on ppp0 from any to any
> count out on ppp0 from any to any
> 
> and also some extended rules:
> count in on le0 from 10.0.0.1 to !10.0.0.10
> count out on le0 from !10.0.0.10 to 10.0.0.1
> 
> for each pc to show the amount of real traffic being sent through ipnat.

Sorry to be a little off-topic here, but what are the differences between
using ipf/ipfstat and using netstat to report bytes in and out?

What are the benefits (or disadvantages) of using netstat versus ipf to
keep tabs on the usage?

   Jeremy C. Reed
   http://www.reedmedia.net/