tcpdump

General

tcpdump -D

... shows the list of all available interfaces



tcpdump -n -e -tttt -i pflog0 dst port ! (22 or 23)

... do NOT include destination ports 22 and 23



Argument description

  • -e Print the link-level header on each dump line
  • -F Use file as input for the filter expression.
  • -n Don't convert addresses (i.e., host addresses, port numbers, etc.) to names
  • -r Read packets from file
  • -tttt Prints a timestamp in default format proceeded by date on each dump line

2026-04-11 13:11:01

minicms - © 2020-2026 Simeon Simeonov