
This article has not been completed yet. However, it may already contain helpful Information and therefore it has been published at this stage.
# Prints the network interfaces that tcpdump can sniff
sudo tcpdump -D
# Captures all UDP packets which have 10.231.11.7 as destination
sudo tcpdump -i <interface> udp and dst 10.231.11.7
# Records the HTTP/S traffic to a file
sudo tcpdump -i <interface> -w output.dump '(tcp port 80) or (tcp port 443)'
# Displays the output.dump file created in the previous example on the screen in a formatted form.
sudo tcpdump -r output.dump