Re: low overhead packet capturing on linux

From: Alexander Clouter
Date: Wed Dec 01 2010 - 05:08:32 EST


Thomas Fjellstrom <thomas@xxxxxxxxxxxxx> wrote:
>
> I'm working on a little tool to monitor and measure bandwidth use on a vm
> host, down to keeping track of all guest and host bandwidth, including,
> eventually per layer7 protocol use.
>
...iptables? You get packet and byte counters there for free and you
can have a 'web, smtp, $service[0], $service[1], ... , other' easily
enough.

Five to eight years ago we (an ISP) used this at a previous workplace of
mine to do xDSL traffic accounting for our users.

Cheers

--
Alexander Clouter
.sigmonster says: problem drinker, n.:
A man who never buys.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/