Tuesday, May 15, 2012

tcpdump - capturing output to a file

Command to capture tcpdump output to pcap format for analysis with Wireshark or other tools

tcpdump -i <interface> -w <output file>
tcpdump -i eth1 -w output.pcap

Have a good day!


No comments:

Post a Comment