Friday, March 28, 2014

tcpdump:: how to







tcpdump -i tap24 -lnXXvs0 udp port 15001
tcpdump -r /tmp/cpub -lnXXvs0 udp port 6003|less
tcpdump -i eth1 -lnXXvs0 vlan 1169 -w /tmp/12345
tcpdump -lnvs0 vlan 1169 -r /tmp/12345|less
tcpdump -lnvXvs0 vlan 1169 -r /tmp/12345|less
tcpdump  -r /tmp/1234 -lnXXvs0|strings
/550 to search 550

/usr/sbin/tcpdump -r /tmp/zzzz -ln
/usr/sbin/tcpdump -r /tmp/zzzz -ln|grep -v 20002
/usr/sbin/tcpdump -r /tmp/zzzz -ln|less
/usr/sbin/tcpdump -r /tmp/zzzz -ln tcp|less

/usr/sbin/tcpdump -r /tmp/zzzz -ln tcp|tail
tcpdump -s 0 -w /tmp/zzzz -i br13 -ln
tcpdump -i eth4 -w /tmp/abc tcp port 12345





No comments:

Post a Comment

Labels