Last active
November 22, 2019 10:51
-
-
Save daniDLL/f45c268cd9c965c8443e4b410a4b5765 to your computer and use it in GitHub Desktop.
The number of connections to see if it is a DDoS attack
This file contains hidden or 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
netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c | |
netstat -a | grep tcp | egrep "http|https" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment