How to create a network packet capture file by tcpdump, which can be available for Wireshark

Example: File name (blue characters) should be changed properly.
# tcpdump -n -s 0 -i eth0 -w dump.dat
-n: Shows the raw IP address (doesn't resolve the name with DNS).
-s 0: Makes the maximum packet size unlimited.
-i: Network device used for the capture.
-w: File name captured packets will be stored in.


Japanese version is here

0 件のコメント: