Skip to main content

OnlineSupport4u

Command to check DDOS on Server

By Prasad Naik
September 7, 2026

Recently we had an issue on server where server load was minimal

However none of website were opening

While investigating we found the issue was due to DDOS on server

Commmand

netstat -plan| grep -E ‘:443|:80’ |awk {‘print $5’}|cut -d: -f 1|sort|uniq -c|sort -n | tail -15

Showed up excessecive causing IP address

We blocked those IP using firewall and IP tables and rebooted server to get resolved.

 

Leave a Reply

Your email address will not be published. Required fields are marked *