[asterisk-users] OT: Capture Asterisk traffic

CSB cameron.beattie at appsteam.co.nz
Wed May 2 01:50:11 MST 2007


>I think you want:
>
> tcpdump -C 100 -W 10 -w /tmp/tcpdump -i eth1 -s 0 udp dst portrange
> 5060-65534
>
Thanks

tcpdump -C 100 -W 10 -w /tmp/tcpdump -i eth1 -s 0 udp and dst portrange 
5060-35000
tcpdump: unknown host 'portrange'

tcpdump version 3.8
libpcap version 0.8.3

man tcpdump indicates that I should be able to use >= syntax but it doesn't 
work as expected. Any further advice appreciated.

Cameron 



More information about the asterisk-users mailing list