CapturingPacketsRemotely

From Oh Mad Lab
Jump to navigation Jump to search

Problem: I need to capture packets to analyze issues with an Asterisk server.
Solution:
On the remote server - In this case a VOIP/Asterisk server:

   tshark -i eth2 -w - | nc -l -p 7734

On my local box

  mkfifo /tmp/flc
  nc voip 7734 > /tmp/flc
  wireshark -k -i /tmp/flc