Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Nov 2006 15:51:59 +0100
From:      Niek <niek@bigfoot.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: tools for network traffic accounting
Message-ID:  <454F4C0F.607@bigfoot.com>
In-Reply-To: <20061005103759.L57215@bravo.pjkh.com>
References:  <e02150200610050317t5d46552fk2bc329c5b45d12f5@mail.gmail.com> <20061005103759.L57215@bravo.pjkh.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 :)
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?454F4C0F.607>