Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What programs under Linux can capture ethernet traffic? And which ones from them are maintained and most comfortable?

share|improve this question
    
There's tcpdump available, it captures traffic on specified network interface. As for other programs, someone with more experience will probably post it as an answer :) –  Michael J.V. Apr 20 '11 at 11:08
add comment

migrated from stackoverflow.com Apr 20 '11 at 11:18

This question came from our site for professional and enthusiast programmers.

4 Answers

If you want a console-based graphics dump of the ethernet traffic you can use iptraf as well.

share|improve this answer
add comment

tcpdump is awesome for capturing traffic coming into or out of your machine. Ettercap is awesome if you want to MITM traffic. If you prefer a GUI then Wireshark is a good alternative.

Example usage:

tcpdump src 10.0.0.1 port 80

ettercap -T -Q -M arp:remote -i eth0 /10.0.0.1/ // -P remote_browser
share|improve this answer
add comment

Wireshark is great. Runs on Linux and Windows

share|improve this answer
add comment

wireshark

share|improve this answer
    
Don't forget the command line version tshark. –  ultrasawblade Apr 26 '12 at 13:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.