Capture Packets

From SambaWiki
Revision as of 19:31, 8 February 2007 by Jpeach (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

When diagnosing a problem, Samba developers are likely to request a packet capture (or trace).

The best way to do this depends on the tools available on your system. If you are using a GUI-based system, you will need to run a capture tool from the command-line.

In the table below, replace FILENAME with the descriptive file name.

Tool Commandline
tshark -p -w FILENAME port 445 or port 139
tethereal -p -w FILENAME port 445 or port 139
tcpdump -p -s 512 -w FILENAME port 445 or port 139