Common TcpDump Parameters

Output
-A Print packet in ASCII
-ePrint MAC address (link-level info)
-xPrint packet in hex
–printPrint parsed output even if saving packets to file
-w file Write raw packets to file
 
Options
-c countCapture count packets
-i interfaceListen on interface
-nDon’t resolve addresses
 
Filters
port nnnFilter traffic on port nnn
host nameFilter on host name
ip host nameFilter IP traffic on host name
tcp port 80Filter TCP traffic on port 80
Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *