LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 12-28-2004, 08:24 AM   #1
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Rep: Reputation: 15
Packet sniffer


I've got a home network consisting of three machines connected through a wireless router which is connected to a DSL modem.

My Linux (FC3) system is a desktop connected directly to the wireless router (i.e., it's not wireless).

Is there an application on the Linux system that will allow me to monitor all of the traffic going through that DSL modem in both directions - a "packet sniffer" or something similar? If not, is there something I can download that will enable me to do what I want?

I mainly want to capture the text coming and going. For example, if somebody was using an instant messenger application on one of the Windows laptops I'd like to see the text messages going through my modem.

I did a search before posting this but didn't find anything useful.

Thanks.
 
Old 12-28-2004, 09:08 AM   #2
PBSchmidt
Member
 
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
ethereal will do the trick.

Hi lyonsd,

ethereal should be in RH9, it does the trick. If you merely want to monitor where your darlings are surfing the net, etherape gives a good overview.

Keep in mind that your NIC must support "promiscuous mode", means, forward packages to the OS that are not meant to be for its MAC address - most cards do so on Linux, but don't tell me I have not told you

Keep in mind, monitoring a Person's network usage breaks their privacy, so be sure to announce to your users that you are monitoring and check if your local laws allow you to.

HTH, Peter
P.S.: Of course, you cannot monitor traffic that is kept away from you by a switch - for true monitoring, use a hub instead, because switches redirect the traffic to a specific NIC's MAC only to the switch port the NIC is connected to, and not to the other Switch ports!
P.P.S: Glossary: NIC = Network Interface Connector, the Ethernet card; MAC = Media Access Code, the hardware-given Ethernet Address identifying the NIC.

Last edited by PBSchmidt; 12-28-2004 at 09:15 AM.
 
Old 12-28-2004, 09:45 AM   #3
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Original Poster
Rep: Reputation: 15
Danke, Herr Schmidt

I have Fedora 3, so I'll check and see if etheral/etherape is there and if it works or not.

I hope either of these can capture instant messenger messages.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the best for Packet Sniffer alexr186 Linux - Software 5 02-07-2004 08:34 AM
what is a good/popular packet sniffer? Pete Dogg Linux - Software 2 09-30-2003 06:50 PM
Packet Sniffer gauge73 Linux - Networking 3 07-20-2003 10:32 PM
Requesting Packet Sniffer source code Volcom Programming 3 07-05-2003 11:48 AM
Suggestions for packet sniffer w/ packet viewing? TruckStuff Linux - Networking 5 05-31-2002 09:50 AM


All times are GMT -5. The time now is 02:18 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration