Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ddos atack
- netstat -an | grep :80 | sort
- etstat -ntu | grep ESTAB | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr
- //Bans IP's
- //iptables -A INPUT 1 -s IPHERE -j DROP/REJECT
- iptables -I INPUT -s 192.168.1.35 -j DROP
- iptables -D INPUT -s 192.168.1.35 -j DROP
- // Kill && Restart connection
- killall -KILL httpd
- service httpd start #For Red Hat systems
- /etc/init/d/apache2 restart #For Debian systems
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement