Last active
September 19, 2018 10:18
-
-
Save bdss58/9998fe332d6495a688df598d7948efd0 to your computer and use it in GitHub Desktop.
tcpdump output to a file and view the out 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 the localhost port to a pcap file | |
tcpdump -i lo 'port 3000' -w result.pcap | |
# view the pcap file using tcpdump | |
tcpdump -qns 0 -A -r result.pcap | |
# tcpdump the to dest host package to a pcap file | |
tcpdump -i eth1 -vv -n dst host 9.78.206.6 -w result.pcap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment