tools for network traffic accounting

Niek niek at bigfoot.com
Mon Nov 6 14:52:12 UTC 2006


Thanks, also to all others who answered this question.
I found out that setting 'set loginterface <if>' in pf.conf makes it 
possible to get transfer statistics from pfctl -si. Maybe it is of 
interest for other beginners like me.

regds,
Niek



Philip Hallstrom wrote:
>> I would like to configure a monthly report of the incoming and
>> outgoing amount of traffic on the network interface of my server, for
>> instance in the monthly run output.
>>
>> Can I do this with a built in program of FreeBSD 6.0 or do I need a 
>> port?
>
> If you just wanted a total count and run ipfw (or any firewall i 
> imagine) you could simply add a rule to count all inbound and outbound 
> packets then at the end of the month look at them, then zero them.
>
> It could be automated...
>
> Otherwise, there's mrtg, cacti, and tons of others :)
>


More information about the freebsd-questions mailing list