How to use tcpdump as a host filter?
How to use tcpdump as a host filter? Using the host filter will capture traffic going to (destination) and from (source) the IP address. :~$ sudo tcpdump -i eth0 host 10.10.1.1 Alternatively capture only packets going one way using src or dst. :~$ sudo tcpdump -i eth0 dst 10.10.1.20 What is the value of the tcpdump command? The tcpdump utility provides an option that allows you to specify the amount of each packet to capture. You can use the -s (snarf/snaplen) option to specify the amount of each packet to capture. To capture the entire packet, use a value of...