TCP dump command (1)
TCP dump command (1)
oot@dcwasussd2:/home/wassvc> sudo su -
root@dcwasussd2:/# tcpdump -i 1 -s0 -A -tttt -nn port 9080 | grep 913271656
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on en0, link-type EN10MB (Ethernet), capture size 262144 bytes
tcpdump -i 1 -s0 -A -tttt -nn port 9080 -w /home/wassvc/tcpdump192.pcap
tcpdump -i 1 -s0 -A -tttt -nn port 9080 -w /home/wassvc/tcpdump193.pcap
en1
tcpdump -i 1 -s0 -A -tttt -nn port 9081 -w /home/wassvc/tcpdump140.pcap
i interface
C number of packet
nn disable port resolution
w save packet capturing files
en1
tcpdump -i en1 -C2 -nn host 10.3.6.140 and port 81 -w /home/wassvc/tcpdump140.pcap