Freitag, 26. November 2010

Doing debugging - Part II

Okay - in my last debugging post, the main subject was Wireshark.

Although Wireshark is open source and nearly ported to any platform, there may be some guys like me, that prefer Linux without GUI or have any appliances which doesn't have one.

To make it short - your (and my) choice is tcpdump.

To capture the packets, you just need to enter in the console:

tcpdump -w /tmp/capture_any.cap -s 0 -i any

this will log anything from any interface to /tmp/capture_any.cap - the file is also open-able with Wireshark, for reviewing, comparing the log file etc.

If you need further information about the command syntax check the man page on your system or online.

Keine Kommentare:

Kommentar veröffentlichen