$ sudo tcpdump \
-nn \
-vvv \
-A \
-G 3600 \
-w /home/ec2-user/dump_%Y%m%d-%H%M%S.pcap \
-Z ec2-user \
host {target_host} and port {target_port}
# -nn Don't convert addresses (i.e., host addresses, port numbers, etc.) to names.
# -A Print each packet (minus its link level header) in ASCII. Handy for capturing web pages.
# -G rotate_seconds
# -w file
# -Z user
# host/port expression (map pcap-filter for detail)
Last active
July 9, 2018 06:37
-
-
Save appkr/61a8aecc3255467a9d22597af249a1de to your computer and use it in GitHub Desktop.
Tcpdump
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment