On Wed, 30 Mar 2005, Colm MacCarthaigh wrote:
> On Wed, Mar 30, 2005 at 04:58:26PM +0100, Mel Gorman wrote:
> > Without using sniffers like ntop, what's the best way to track bandwidth
> > usage based on port on a simple Linux router?
>> If port means a TCP/UDP port, then dummy firewall rules. If it means
> interfaces, then interface counters. But since Kieran said users should
> be installing sniffers on their machines, I didn't think we were talking
> about routers :)
>> > For bonus points, what's the best way to track bandwidth usage based
> > on source IP?
>> Again, dummy firewall rules.
There is a nice little client called bandwidthd that presents graphs of
traffic against each IP on a network. A bit more processor intensive than
iptables rules, but the graphs are nice.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!