# tcpdump -i eth0 -s0 port 5060 -w /var/ramdisk/eth0.pcap & tcpdump -i eth1 -s0 port 5060 -w /var/ramdisk/eth1.pcap &Įth0, is the LAN interface (if you are using VLANS, substitute eth0 with the vlan that the ALG is listening to - example eth0.100) ![]() (A) To capture SIP signaling (only) on both interfaces simultaneously to two separate files (from one SSH window), as an example, type: # tcpdump -ni eth0 -s0 port 5060 -w /var/ramdisk/eth0.pcap & To run the same command in the background, type: # tcpdump -ni eth0 -s0 port 5060 -w /var/ramdisk/eth0.pcap To end the capture, press ctrl-c To capture (only) SIP signaling on a single interface (assuming that the SIP signaling is on port 5060), without closing the CLI (ssh) session, as an example, type: Running tcpdump commands and capturing to a file See: Using the tcpdump command for details on using the tcpdump command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |