ABHIONLINUX
Site useful for linux administration and web hosting

Showing posts with label cpanel. WHM. Show all posts
Showing posts with label cpanel. WHM. Show all posts

2009/07/31

DDOS attack checking

netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n


netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n


netstat -tn 2>/dev/null | grep :80 | awk '{print $5}' | cut -f1 -d: | sort | uniq -c | sort -rn | head



dd if=/dev/zero of=/dev/tmpFS bs=1024 count=100000