Common TcpDump Parameters

Wednesday, 04 September 2019 - 1 minute to read

Argument Description
-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
-- -
-c count Capture count packets
-i interface Listen on interface
-n Don't resolve addresses
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

  to leave a comment. It's quick and painless.