LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-27-2007, 03:33 AM   #1
aeby
Member
 
Registered: Mar 2007
Posts: 109

Rep: Reputation: 15
comman line tool analysing network traffic on an interface


Hi,

i need to analyse traffic running on the interfaces on a particular server, i want to know what packets are going thru an interface and how to analyse them,
i need a command line tool for this. i know about ethereal, i also need to acces what percentage of the traffic is going thru these interfaces.

thanks in advance
 
Old 06-27-2007, 04:44 AM   #2
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
Try "iptraf". It's ncurses based and cool to use.

Wireshark (earlier called Ethereal) also has a command line tool called "tshark"

Last edited by SkyEye; 06-27-2007 at 06:37 AM.
 
Old 06-27-2007, 05:29 AM   #3
aeby
Member
 
Registered: Mar 2007
Posts: 109

Original Poster
Rep: Reputation: 15
Hi,
The tool is very helpful thanks.
i am on Fedora 6 and i can use the tool , but i cant find the command on a gentoo box, please can you give me a tool that works on gentoo,
i also need a tool to analyse the bandwidth used on and how do you check what sites the clients visited in a network .


Regards
 
Old 06-27-2007, 06:23 AM   #4
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
Both iptraf and Wireshark are available for Gentoo.

And to keep track of bandwidth and sites visited, you need to have a proxy or a similar mechanism. If you are already using Squid proxy there are quite a lot of things to help you with it. There are simple programs like squidview, SARG or more advanced things. If you don't have Squid and don't want to have you might want to try one of the tools like Nagios or ntop.

Last edited by SkyEye; 06-27-2007 at 06:26 AM.
 
  


Reply

Tags
ethereal, logs, nagios, ncurses, ntop, proxy, sarg, squid, tshark, wireshark



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
network traffic monitoring tool suggestions noir911 Linux - General 2 01-13-2007 02:55 PM
Which tool to Analysing Web traffic? xpucto Linux - Software 9 09-03-2006 08:23 AM
Analysing network traffic jayeola Linux - Networking 2 06-28-2006 01:30 PM
LXer: Analysing Web traffic with phpMyVisites LXer Syndicated Linux News 0 01-10-2006 05:31 PM
Good Log analysing Tool lub0 Linux - Security 4 09-10-2003 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:07 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