Unix shell command to Detect DDoS attack
Posted by Jeevan on 18 July, 2009
1 comment so far
This item was filled under [ Linux, Networking ]
Have a server? Doubt it’s under DDoS attack? There is a simple code for you to check it’s under DDoS attack or not!
Run this command:
netstat -alpn | grep :80 | awk ‘{print $5}’ |awk -F: ‘{print $(NF-1)}’ |sort | uniq -c | sort -n
This is not exactly going to say YES your under attack, this [...]