Command to check DDoS attacks


How to check is there any DDoS attacks to your server?

use the command

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

This will check number of  ip connections to the server.

No comments: