There was an error in this gadget

Wednesday, April 14, 2010

How to check DDOS Attack on Server

How to check DDOS Attack on Server:

To list the IPs taking the most amounts of connections to a server:

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

To check active connections that are open to your server:

# netstat -n | grep :80 |wc -l



.

No comments:

Post a Comment