Created
March 8, 2016 12:10
-
-
Save pmalek/5a4815e4b60afd767965 to your computer and use it in GitHub Desktop.
How to launch wireshark getting data from tcpdump on another machine
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
mkfifo fifo | |
wireshark -k -i fifo & | |
while true; do ssh MACHINE_IP 'tcpdump -s 0 -U -n -w - "! arp && host 10.0.0.1"' > fifo; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment