This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# packages from localhost to localhost | |
sudo tcpdump -vvv -A -i lo port 8080 | |
# packages from localhost to somewhere else | |
sudo tcpdump -vvv -A host 192.168.1.101 | |
# packages coming and going on a specific port, specific interface | |
sudo tcpdump -vvv -A -i eth0 'port 8080' | |
# packages coming and going on a specific port, any interface |