Wednesday, 15 May 2013

Taking TCP Dump on Linux

Problem: Some times we need to monitor data that is flowing between systems. We can use tcpdump utility to take dump of the data and analyze the data (trace) with tools like wireshark.

tcpdump -i <interface> -s 65535 -w <some-file> 

Example:  tcpdump -i eth0 -s 65535 -w trace.txt

No comments:

Post a Comment