server:~# tcpdump -s 0 -i tun0 -w capture.cap
tcpdump: WARNING: arptype 65534 not supported by libpcap - falling back to cooked socket
tcpdump: listening on tun0, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
4 packets captured
5 packets received by filter
0 packets dropped by kernel
csfun:~# tcpdump port 5060 -i tun0
tcpdump: WARNING: arptype 65534 not supported by libpcap - falling back to cooked socket
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tun0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes
14:53:20.263579 IP client.sip > 192.168.0.1.sip: SIP, length: 532
14:53:20.270740 IP 192.168.0.1.sip > client.sip: SIP, length: 383
14:53:20.270761 IP 192.168.0.1.sip > client.sip: SIP, length: 447
14:53:20.278891 IP client.sip > 192.168.0.1.sip: SIP, length: 532
14:53:20.279017 IP 192.168.0.1.sip > client.sip: SIP, length: 383
14:53:20.279036 IP 192.168.0.1.sip > client.sip: SIP, length: 447
14:53:20.303676 IP client.sip > 192.168.0.1.sip: SIP, length: 532
14:53:20.303754 IP 192.168.0.1.sip > client.sip: SIP, length: 383
14:53:20.304085 IP 192.168.0.1.sip > client.sip: SIP, length: 464
14:53:20.318669 IP client.sip > 192.168.0.1.sip: SIP, length: 532
14:53:20.318769 IP 192.168.0.1.sip > client.sip: SIP, length: 383
14:53:20.319014 IP 192.168.0.1.sip > client.sip: SIP, length: 464
15:01:33.979782 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:34.483196 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:34.982837 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:35.482876 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:35.982844 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:36.482763 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:36.982706 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:37.482657 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:37.982602 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:38.482546 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:38.982488 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:39.482433 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:39.982406 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:40.483533 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:40.982886 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:41.482993 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:41.983142 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:42.483274 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:42.983337 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:01:43.482975 IP client.sip > 192.168.0.1.sip: SIP, length: 818
15:02:25.015537 IP 192.168.0.1.sip > client.sip: SIP, length: 773
15:02:25.052556 IP client.sip > 192.168.0.1.sip: SIP, length: 325
15:02:25.060027 IP client.sip > 192.168.0.1.sip: SIP, length: 325
15:02:27.060225 IP client.sip > 192.168.0.1.sip: SIP, length: 325
15:02:29.060412 IP client.sip > 192.168.0.1.sip: SIP, length: 325
15:02:31.059401 IP client.sip > 192.168.0.1.sip: SIP, length: 325
15:02:33.061181 IP client.sip > 192.168.0.1.sip: SIP, length: 325
15:02:35.060987 IP client.sip > 192.168.0.1.sip: SIP, length: 325
15:02:37.059951 IP client.sip > 192.168.0.1.sip: SIP, length: 325
15:02:38.088003 IP 192.168.0.1.sip > client.sip: SIP, length: 374
15:02:38.125573 IP client.sip > 192.168.0.1.sip: SIP, length: 320
15:02:38.132810 IP client.sip > 192.168.0.1.sip: SIP, length: 336
15:02:38.132885 IP 192.168.0.1.sip > client.sip: SIP, length: 377
15:02:49.623253 IP 192.168.0.1.sip > client.sip: SIP, length: 773
15:02:49.661872 IP client.sip > 192.168.0.1.sip: SIP, length: 325
15:02:49.668214 IP client.sip > 192.168.0.1.sip: SIP, length: 325
15:02:51.665599 IP client.sip > 192.168.0.1.sip: SIP, length: 325
15:02:52.900302 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:53.258866 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:53.615331 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:53.979491 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:54.338801 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:54.696317 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:55.053353 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:55.417460 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:55.774395 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:56.132104 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:56.490307 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:56.854294 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:57.212147 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:57.569822 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:57.927577 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:58.292012 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:58.649790 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:59.007500 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:59.365013 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:02:59.729699 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:03:00.087477 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:03:00.444675 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:03:00.802228 IP client.sip > 192.168.0.1.sip: SIP, length: 768
15:03:01.160893 IP client.sip > 192.168.0.1.sip: SIP, length: 352
15:03:01.160980 IP 192.168.0.1.sip > client.sip: SIP, length: 466