60 users online | 60 Guests and 0 Registered

How to get tcpdump on port 5060 or any other port


tcpdump -n "dst host 192.168.10.1 and dst port 5060" -vw /var/log/asterisk/capture.cap

 

Another way

 

tcpdump -n "port 5060" -vw sip.dump

Tags: capture, dump, logs, ports, sip, tcp, tcpdump
Last update:
2013-07-12 02:18
Author:
Eric
Revision:
1.3
Average rating:0 (0 Votes)

You can comment this FAQ

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags

Sticky FAQs