Last active
August 3, 2016 17:02
-
-
Save pgwillia/9a4d9022377404febeff13129ba89aba to your computer and use it in GitHub Desktop.
tcpdump basic usage
This file contains 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
tcpdump -nS |
This file contains 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
tcpdump -nnvvS |
This file contains 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
tcpdump -nnvvXS |
This file contains 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
# tcpdump -s 1514 port 80 -w capture_file | |
# tcpdump -r capture_file |
This file contains 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
# tcpdump host 1.2.3.4 | |
# tcpdump src 2.3.4.5 | |
# tcpdump dst 3.4.5.6 | |
# tcpdump net 1.2.3.0/24 | |
# tcpdump icmp | |
# tcpdump port 3389 | |
# tcpdump src port 1025 | |
# tcpdump dst port 389 | |
# tcpdump src port 1025 and tcp | |
# tcpdump udp and src port 53 | |
# tcpdump portrange 21-23 | |
# tcpdump less 32 | |
# tcpdump greater 128 | |
# tcpdump > 32 | |
# tcpdump <= 128 |
This file contains 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
tcpdump -nnvvXSs 1514 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment