On Tue, Jun 19, 2012 at 10:12:07PM +0200, Ton Muller wrote:
> normaly i dont write much.
> but this time i am stuck with nasty isue.
> i want to count send/received packets from each network device i have in
> my lan.

Try nfsen

> and put them in MRTG as nice graps.

It doesn't use MRTG but has its own interface for viewing, zooming and
querying data. Much the same.

> however, i cant find a program that is able to do what i want.
> the only program that comes close is darkstat, but darkstat doesnt have
> any option to output his data in a console.

Nfsen uses nfdump to capture Netflow data. You can query the same data
used for the graphs but in the console.

You can also use the pflow device in your pf.conf for particular rules
etc. I had to add it to all my pppoe rules and then used softflowd to
create 'channels' for each of my other interfaces. I can then use the
nfsen interface to filter on channels.

Just a suggestion.

-felix

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]

Reply via email to