Created
May 12, 2022 01:14
-
-
Save mailinglists35/1956299fd2912b0866a8be49ac9bb445 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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