Subject: Re: ip accounting
To: Herb Peyerl <hpeyerl@beer.org>
From: Wouter Schoot <wouter@schoot.org>
List: netbsd-help
Date: 10/07/2005 23:34:18
Herb Peyerl wrote:
> 
> On 30-Sep-05, at 4:09 AM, Zafer Aydogan wrote:
> 
>> I'm looking for a very simple way to sum up monthly traffic,  without 
>> doing
>> much of voodoo (compiling).
>>
>> Any suggestions ?
> 
> 
> See: ipf.conf(5)
> 
> action = count
> 
And combine that with ipa:

[ascent@ascent /home/ascent]$ cat /usr/pkgsrc/net/ipa/DESCR
ipa(8) allows to make IP accounting (network accounting) based on FreeBSD
IPv4/v6 Firewall (including IPFW2), OpenBSD Packet Filter and IP Filter
accounting rules on FreeBSD, NetBSD and OpenBSD.

It supports limits for accounting rules and limits events as "limit is
reached", "reached limit is expired", etc.  It understands time intervals
like "end of day", "end of week", "end of month", etc.

Wouter