DOS attack

This will also help you

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

Above command will show the list of IP addresses with their connections on our server

route add xxx.xx.xx.xxx reject

netstat -n | grep :80 | wc -l;uptime ; netstat -n | wc -l

Above command will show total number of connections

* Also do this to lower down the server load


steps to lower the load. If you want stats to continue to run even with a high load; Edit
/var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run
/usr/local/cpanel/startup afterwards to pickup the changes).

I'll update it if I get more info on it

Enjoy:)

    0 comments: