Detect DDOS Attack in Linux

This is a simply command in Linux to check the no. of connection opened per IP.

/bin/netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -nr |more

Leave a Reply