Created
December 24, 2023 14:27
-
-
Save well-it-wasnt-me/a0810c2ce172b0b540fb3b8d5bfbad00 to your computer and use it in GitHub Desktop.
Check current active connections on your server, useful during DoS attack
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
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment