wiki:voip:asterisk:tcpdump
This is an old revision of the document!
TCPdump
- tcpdump.sh
#!/bin/bash iface=eth0 d="$(date +'%Y%m%d')" ip=213.168.186.130 tcpdump -i $iface -s 0 -C 100 -W 99 -U -w /var/log/sledovani-$d.$iface
root@pbx:~# nohup ./tcpdump.sh &>/dev/null & root@pbx:~# tcpdump -r /var/log/sledovani-20121213.eth000 -n -v -tttt |less -p 739634909 root@pbx:~# tcpdump -r /var/log/sledovani-20121213.eth000 -n -v -tttt |less
wiki/voip/asterisk/tcpdump.1357913913.txt.gz · Last modified: (external edit)
