Tuesday, January 21, 2014

Basic tcpdump Commands

Basic TCP tcpdump Commands
This page contains some basic tcpdump commands and how to use them.

How to perform tcpdump and create a pcap file. 
  •  tcpdump -nei cxgb1 -s0 -w /ifs/data/Isilon_Support/case197769_node.pcap host <IP_of_client> 
  • tcpdump -nei eth3 -s0 -w /myNFS/testNFS/i-caset3.pcap host 10.10.10.17 
How to read a tcpdump .pcap file 
  • # tcpdump -qns 0 -A -r /myNFS/mytcp.pcap  


Or download TCPICK instead and use 
  • tcpick -C -yP -r  tcpdump.pcap file 
  • tcpick -C -yP -r tcp_dump.pcap 

No comments:

Post a Comment