[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bandwith sniffer
- To: Ronen Engler <tazman(at-nospam)odigo.com>
- Subject: Re: Bandwith sniffer
- From: Ilya Konstantinov <linux-il(at-nospam)future.galanet.net>
- Date: Wed, 9 May 2001 14:41:16 +0300
- Cc: linux-il(at-nospam)cs.huji.ac.il
- In-Reply-To: <002701c0d880$89fd8280$a000000a@engler>; from tazman@odigo.com on Wed, May 09, 2001 at 02:06:54PM +0200
- Mail-Followup-To: Ilya Konstantinov <linux-il@future.galanet.net>,Ronen Engler <tazman@odigo.com>, linux-il@cs.huji.ac.il
- References: <002701c0d880$89fd8280$a000000a@engler>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.2.4i
On Wed, May 09, 2001 at 02:06:54PM +0200, Ronen Engler wrote:
> Hi, I'm interesting in a tool so i would be able to
> put on the linux firewall internal ethernet segment, machine, which will be able
> to show me how much bandwith is taken by each ip address, to where and the
> protocol type, so i would be able to know who's killing my
> bandwith.
> know any? using any?
> thanks.
Each rule in ipchains counts the packets and bytes it caught (that is,
from packets which matched the rule). Thus, you can set up accounting
rules as complicated as the rules language allows you.
You can view those with:
ipchains -L -v
In MRTG (http://www.mrtg.org), you've got many external querying
scripts, one of them being a script to read statistics from the local
ipchains. See the ipchains script in it's contrib/ directory for
instructions on doing just that.
For example, here are the statistics I generate on IGLU in a similar
fashion: http://www.iglu.org.il/stats/mrtg/
--
Best regards,
Ilya Konstantinov
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il