HOW TO : Capture all traffic to and from a host using tcpdump

Quick one liner for capturing traffic destined to and arriving from a host (IP address) using tcpdump and writing it to a file for analyzing later on

[code]tcpdump -s0 host x.x.x.x -w destination.pcap [/code]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.