LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-25-2007, 12:52 PM   #1
Lzolcsi
LQ Newbie
 
Registered: Apr 2005
Posts: 12

Rep: Reputation: 0
Network traffic monitor


Hi,

I got a debian box with shorewall sharing an ADSL connection on my LAN.
Sometimes internet gets really slow, and I think it is beacuse one of the users is using bitorrent without limiting the upload speed.
Do you know a tool for monitoring network traffic, so I can see the number of packets received from each pc on the lan, and the used bandwith, also per pc.

Thank you.
 
Old 04-25-2007, 01:23 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'd suggest using tcptrack there, as that little widget, which took me ages to find, gives you live details of active tcp sessions and their bandwidths, so you can instantly see who's actually hainv gwhat effect, albeit at a basic level.
 
Old 04-26-2007, 01:43 AM   #3
lhrt
Member
 
Registered: Mar 2006
Posts: 82

Rep: Reputation: 15
Ntop or bandwidthd will also work.
 
Old 04-26-2007, 02:04 AM   #4
Lzolcsi
LQ Newbie
 
Registered: Apr 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the help, I'll try these programs.
 
Old 04-27-2007, 12:19 PM   #5
Lzolcsi
LQ Newbie
 
Registered: Apr 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Thumbs up

tcptrack was really useful. There were about 5 entries for all the machines toghether, except one, that has 20+. Now I'm sure it is torrent.

Thanks a lot
 
Old 04-27-2007, 03:37 PM   #6
systemnotes
LQ Newbie
 
Registered: Apr 2007
Distribution: RHEL
Posts: 29

Rep: Reputation: 15
I really like MRTG (Multi Router Traffic Grapher)
http://freshmeat.net/projects/mrtg/

http://oss.oetiker.ch/mrtg/

Once you set it up, it produces some nice HTML output. It uses SNMP to talk to your routers. It's the kind of tool you leave running, and then check on the output every once in a while. When you see unusual spikes, you can investigate further.
 
Old 04-27-2007, 04:19 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yes but snmp isn't going to show you who's connected to what at any given time, jsut a total throughput of a single node. assuming that the router even supports snmp, it'll only single one reasonably useless result in this instance.
 
Old 04-28-2007, 12:43 AM   #8
systemnotes
LQ Newbie
 
Registered: Apr 2007
Distribution: RHEL
Posts: 29

Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
yes but snmp isn't going to show you who's connected to what at any given time, jsut a total throughput of a single node. assuming that the router even supports snmp, it'll only single one reasonably useless result in this instance.
Yes, I realize I didn't answer the question. This is just another good tool to keep running, and then when you see a spike, you can use other tools, such as tcptrack, tcpdump, or snort to analyze the traffic. They are all different tools for different purposes.
 
Old 05-04-2007, 04:39 AM   #9
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Rep: Reputation: 39
Hi all,
I have a similar situation here. Some users giving heavy downloads thourgh my proxy server and I want to track them down.
Is it possible thorugh tcptrack as a good amount of users are using that proxy.
 
Old 05-07-2007, 08:23 AM   #10
libyalinux
LQ Newbie
 
Registered: Jan 2005
Location: libya
Distribution: Fedora core2
Posts: 6

Rep: Reputation: 0
as lhrt say Ntop i use this tools 2 monitor about 200 node and it's working great

M.Ayad
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet Another Request for a Network Traffic Monitor -YARNTM smec Linux - Networking 1 08-25-2006 07:37 PM
LXer: Darkstat - Network Traffic Analyzer or Network Monitor LXer Syndicated Linux News 0 07-04-2006 08:33 AM
Monitor Network Traffic from bash. bullium Linux - Networking 5 04-12-2005 12:45 PM
monitor network traffic use kbandwidth raynet Linux - Software 0 02-19-2005 07:09 AM
Network traffic monitor teeno Linux - Software 2 09-29-2003 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration