LWN.net Logo

Advertisement

E-Commerce & credit card processing - the Open Source way!

Advertise here

Rackspace.com

CLI Magic: Linux troubleshooting tools 101 (Linux.com)

CLI Magic: Linux troubleshooting tools 101 (Linux.com)

Posted Feb 20, 2007 21:46 UTC (Tue) by robert_s (guest, #42402)
Parent article: CLI Magic: Linux troubleshooting tools 101 (Linux.com)

I'll just add tcpdump and the tools that come with dsniff to that list. Great for sorting out bizarre network problems.


(Log in to post comments)

CLI Magic: Linux troubleshooting tools 101 (Linux.com)

Posted Feb 21, 2007 6:22 UTC (Wed) by speedster1 (subscriber, #8143) [Link]

Not to mention wireshark (formerly ethereal)! When I've got a tricky networking problem, I usually use tcpdump to do captures (on both sides of the connection when possible) then analyze them on my laptop using wireshark.

Use tcpdump to store full packets to file instead of displaying just the headers:

tcpdump -s0 -w <file> -i [ethN | any] [optional filter expression]

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.