Thursday 30 April 2015

How to sniff interface on remote machine with Wireshark from Mac OS?

Execute following commands on Mac OSX console.

Create fifo:
mkfifo /tmp/remote
Run wireshark:
wireshark -k -i /tmp/remote
And run tcpdump to this fifo over ssh:
ssh  "tcpdump -s 0 -U -n -w - -i eth1 -S" > /tmp/remote
Works nice!


No comments :

Post a Comment

Note: only a member of this blog may post a comment.