Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mailinglists35/1956299fd2912b0866a8be49ac9bb445 to your computer and use it in GitHub Desktop.
Save mailinglists35/1956299fd2912b0866a8be49ac9bb445 to your computer and use it in GitHub Desktop.
sudo tcpdump -ni any "(icmp and (icmp[0] != 8) and (icmp[0] != 0) or (tcp and not ((tcp[tcpflags] & (tcp-push|tcp-ack|tcp-syn|tcp-fin) != 0) or (tcp[13]=18) or ((tcp[tcpflags] == tcp-fin) and (tcp[tcpflags] == tcp-ack)) ))) and not host (17.17.17.17 or 192.168.1.2) and not tcp port (852 or 442) and not ip6"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment