How to Check for DDoS in Linux

  • grep processor /proc/cpuinfo | wc -l uptime
  • IP CHK:
  • netstat -ntu|awk '{print $5}'|cut -d: -f1 -s|sort|uniq -c|sort -nk1 -r
  • netstat -ntu|awk '{print $5}'|cut -d: -f1 -s |cut -f1,2 -d'.'|sed 's/$/.0.0/'|sort|uniq -c|sort -nk1 -r
  • netstat -ntu|awk '{print $5}'|cut -d: -f1 -s |cut -f1,2,3 -d'.'|sed 's/$/.0/'|sort|uniq -c|sort -nk1 -r

Discussion (0)

There are no comments for this doc yet.

Comment posting has been disabled on this doc.

0

Log in with your credentials

or    

Forgot your details?

Create Account