It All Makes Sense Now

The blog of Mats Gefvert.

Common TcpDump Parameters

Posted 9/4/2019 in Reference

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

Add a comment

Please log in to post a comment. (It's quick and painless!)

Comments