Open menu

How to tcpdump

This is a quick little page on some tcpdump completions

  • tcpdump -i ? - ? is the network interface to use
  • tcpdump host bob - print all packets arriving at or departing from bob
  • tcpdump net 10.0.0.0/24 - print all packets arriving at or departing from a subnet
  • tcpdump port 80 - print all packets arriving at or departing from port 80