Linux Netfilter discussions
 help / color / mirror / Atom feed
* RE: Someone is using too much bandwidth???
@ 2006-11-21 17:22 lubasi
  2006-11-21 18:13 ` Pablo Sanchez
  2006-11-21 18:25 ` Taylor, Grant
  0 siblings, 2 replies; 10+ messages in thread
From: lubasi @ 2006-11-21 17:22 UTC (permalink / raw)
  To: netfilter

Hello,

Indeed its true, and i dont know what machine it is. I have MRTG
installed and my bandwidth looks green all the the time as much as
138Kbps, and my ISP gives me 128Kbps.

How can i interprate the #tail -f /var/logs/messages to determin
which machine is doing kazaa or any other P2P???consuming the
bandwidth.

And how do i block these popular P2P???

Kind regards

Teddy L.
------------------------------------------------------
Teddy L. Nyambe
Open Source Zambia
www.opensource.org.zm

+260 97 760473

* Know that today is yesterday's future Be the change you want to see
in the world
* To Err is Human, but to really mess things up, you need a PC



^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: Someone is using too much bandwidth???
@ 2006-11-22  5:57 lubasi
  2006-11-22 15:15 ` Taylor, Grant
  0 siblings, 1 reply; 10+ messages in thread
From: lubasi @ 2006-11-22  5:57 UTC (permalink / raw)
  To: pablo, netfilter

Okey thanks for tcpdump.

But got a problem. I cant seem to realy figure out what those lines
mean? say these four (4) lines:

08:01:42.131982 IP 192.168.0.71.1054 > mail.parliament.gov.zm.squid:
. ack 6755 win 65535
08:01:42.225114 IP 213.155.151.150.http > 192.168.0.183.3011: P
1:334(333) ack 170 win 5840
08:01:42.229863 IP 192.168.0.183.3011 > 213.155.151.150.http: F
170:170(0) ack 334 win 63907
08:01:42.229968 IP 213.155.151.150.http > 192.168.0.183.3011: F
334:334(0) ack 171 win 5840


Okey seen the date part, the IP address then looks like the port on
which the connection is listening on is appended to the requesting IP
address then the greater than???? confused from that point.

Anything i can use to graph this information????

Teddy L.
>
>
>
>---- Original Message ----
>From: pablo@blueoakdb.com
>To: netfilter@lists.netfilter.org
>Subject: RE: Someone is using too much bandwidth???
>Date: Tue, 21 Nov 2006 13:13:12 -0500
>
>> 
>>
>>> -----Original Message-----
>>> From: netfilter-bounces@lists.netfilter.org 
>>> [mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of lubasi
>>> Sent: Tuesday, November 21, 2006 12:22 PM
>>> To: netfilter@lists.netfilter.org
>>> Subject: RE: Someone is using too much bandwidth???
>>> 
>>> Hello,
>>> 
>>> Indeed its true, and i dont know what machine it is. 
>>
>>You could setup an iptables rule to log all traffic or do what I
>believe may
>>be simpler:  use tcpdump
>>
>>Let's say you have two NIC's on your machine:
>>
>>
>>	// Internet // - [eth0] - [gateway] - [eth1] - // Internal Network
>>//
>>
>>You can run tcpdump on your Internet Network:
>>
>>	tcpdump -i eth1
>>
>>If you've ssh'd to your gateway machine from your Internal Network,
>your
>>host and ssh information will also be spewed.  Probably not what you
>want.
>>
>>A simple tweak will handle it:
>>
>>	tcpdump -i eth1 not host your.IP.address.here
>>
>>The above should give you some quick answers.
>>
>>Cheers,
>>---
>>Pablo Sanchez - Blueoak Database Engineering, Inc
>>Ph:    819.459.1926          Toll free:  888.459.1926
>>Cell:  819.918.9731                Pgr:  pablo_p@blueoakdb.com
>>Fax:   603.720.7723 (US)

------------------------------------------------------
Teddy L. Nyambe
Open Source Zambia
www.opensource.org.zm

+260 97 760473

* Know that today is yesterday's future Be the change you want to see
in the world
* To Err is Human, but to really mess things up, you need a PC



^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Someone is using too much bandwidth???
@ 2006-11-22 14:44 lubasi
  2006-11-22 15:08 ` Gavin White
  0 siblings, 1 reply; 10+ messages in thread
From: lubasi @ 2006-11-22 14:44 UTC (permalink / raw)
  To: dineshg, netfilter

Hello,

Ntop! wow looks interestig but for the past few 5 hours or so i have
been struggling compiling it. I can seem to resolve the configure
error...

checking sctp... no
checking for xmldump... configure: WARNING: error

*******************************************************************
*
* WARNING:  One or more items required for the xmldump plugin are
*           missing:
*
*                  libxml2.so or libxml2.a...yes
*                  gdome.h...no
*                  libgdome.so or libgdome.a...no
*                  glib.h...no
*                  libglib.so or libglib.a...no
*                  glibconfig.h...no
*
*           (yes means it was found, no means it was not found)
*
*       ntop will run just fine without this plugin.
*
*>>>    If you want to use the xmldump plugin,
*
*???     1. Install the necessary headers and libraries.
*???    and rerun ./configure

>>ntop is a good solution too.  It gives you current thoroughput and
>total 
>>bandwidth consumption.
>>It gives you info about the transmission type as well - TCP/UDP.


Am terribly stack!

Teddy L.

------------------------------------------------------
Teddy L. Nyambe
Open Source Zambia
www.opensource.org.zm

+260 97 760473

* Know that today is yesterday's future Be the change you want to see
in the world
* To Err is Human, but to really mess things up, you need a PC



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-11-25 18:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-21 17:22 Someone is using too much bandwidth??? lubasi
2006-11-21 18:13 ` Pablo Sanchez
2006-11-21 18:25 ` Taylor, Grant
2006-11-21 18:28   ` tom
2006-11-22  5:48     ` Danny
2006-11-25 18:54     ` R. DuFresne
  -- strict thread matches above, loose matches on Subject: below --
2006-11-22  5:57 lubasi
2006-11-22 15:15 ` Taylor, Grant
2006-11-22 14:44 lubasi
2006-11-22 15:08 ` Gavin White

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox