Difference between revisions of "SIP Capture with TCPDump"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 5: Line 5:
=How to use it?=  
=How to use it?=  
<br>
<br>
Login to your server and put this command into terminal:
Login to your server aver [http://wiki.kolmisoft.com/index.php/What_is_SSH%3F ssh] and put this command into terminal:


  tcpdump -i eth0 -n -s 0 port 5060 -vvv -w /home/capture_file_name
  tcpdump -i eth0 -n -s 0 port 5060 -vvv -w /home/capture_file_name

Revision as of 17:11, 30 April 2012



About

Tcpdump, a powerful command-line packet analyzer already installed and working on your system by default.

How to use it?


Login to your server aver ssh and put this command into terminal:

tcpdump -i eth0 -n -s 0 port 5060 -vvv -w /home/capture_file_name

Packets will be saved to directory /home/capture_file_name

You can send captured file capture.pcap from your server and open with Wireshark GUI and analyse the packets.

Full command explaining


You can find full command explaining here:

http://www.jonathanmanning.com/2009/10/26/how-to-voip-sip-capture-with-tcpdump-on-linux/


See also: