Basic commands to check DOS attack

Post Reply
a24uall
Site Admin
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Basic commands to check DOS attack

Post by a24uall »

Number of httpd connections from EXTERNAL IP ADDRESS
netstat -alpn | grep :80 | awk '{print $5}' | cut -d: -f1 |sort |uniq -c
Number of httpd connections associated with SERVER IP ADDRESS
netstat -alpn | grep :80 | awk '{print $4}' | cut -d: -f1 |sort |uniq -c
netstat -n -p|grep SYN_REC | wc -l
Arun
WebhostingDevelopment.com
Post Reply

Return to “DOS”