Mitigating (D)DOS

Posted on Sunday March 13, 2016 / by Eric Potvin

Mitigating (D)DOS

If you're being DDOS'd or DOS'd you can use this command:

netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

That will help you see how many connections each IP address has in total to your server.