[ILUG] SSH bandwidth usage.

Liam Bedford lbedford at lbedford.org
Wed Mar 30 17:15:49 IST 2005


On Wed, Mar 30, 2005 at 04:58:26PM +0100, Mel Gorman wrote:
> On Wed, 30 Mar 2005, Colm MacCarthaigh wrote:
> 
> > On Wed, Mar 30, 2005 at 04:43:26PM +0100, Kieran.Tully AT acm.org wrote:
> > > A conscientious network user would install a sniffer to measure how much of the
> > > network traffic they were responsible for. Of course you'd need more than one
> > > to get a fully representative picture of the network usage.
> >
> > sniffers arn't terribly useful for gauging how much traffic you're
> > generating. Interface counters are a more reliable, and far easier tool
> > :)
> >
> 
> Without using sniffers like ntop, what's the best way to track bandwidth
> usage based on port on a simple Linux router? For bonus points, what's the
> best way to track bandwidth usage based on source IP?
> 
iptables?

John Looney did stuff with iptables logging before.. once you
have a chain, it counts the packets that traverse it.

L.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.linux.ie/pipermail/ilug/attachments/20050330/17c0da80/attachment.pgp


More information about the ILUG mailing list