Skip to content

Instantly share code, notes, and snippets.

@pmalek
Created March 8, 2016 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmalek/5a4815e4b60afd767965 to your computer and use it in GitHub Desktop.
Save pmalek/5a4815e4b60afd767965 to your computer and use it in GitHub Desktop.
How to launch wireshark getting data from tcpdump on another machine
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