gefvert.org

Common TcpDump Parameters

2019-09-04

Argument Description
 
Output
-A Print packet in ASCII
-e Print MAC address (link-level info)
-x Print packet in hex
--print Print parsed output even if saving packets to file
-w file Write raw packets to file
 
Options
-- -
-c count Capture count packets
-i interface Listen on interface
-n Don't resolve addresses
 
Filters
port nnn Filter traffic on port nnn
host name Filter on host name
ip host name Filter IP traffic on host name
tcp port 80 Filter TCP traffic on port 80