Installing (D)DoS Deflate To Mitigate DDoS Attack

(D)DoS Deflate is a lightweight bash shell script designed to assist in the process of blocking a denial of service attack. It utilizes the command below to create a list of IP addresses connected to the server, along with their total number of connections.

netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

How To Install (D)DoS Deflate :-

chmod 0700

How To UnInstall (D)DoS Deflate :-

chmod 0700 uninstall.ddos



How To Edit Configuration File:-

vi /usr/local/ddos/ddos.conf



How To Check The Number Of Connected Ips:-

sh /usr/local/ddos/

How To Restart DDos Deflate:-

sh /usr/local/ddos/ -c



  • 142 Users Found This Useful
Was this answer helpful?

Related Articles

Disallowing php.ini override in suPHP

Its very simple to enable this function in server using suPHP. Just by enabling phprc_paths in...

Mitigating Layer7 HTTP Flood with Nginx+Fail2ban

This tutorial is regarding mitigation of layer 7 http flood using nginx and fail2ban. In this...

Installing ConfigServer Security & Firewall (CSF)

Well Installing ConfigServer Security & Firewall is very easy. Just Follow the Setps Below...

Changing SSH Port (CentOS)

It is always dangerous to run SSH on port 22. So better not to be late one should always change...

Install RkHunter for Rootkit/Trojan Scanning

How to Install: First: Run the command to get the RKHunter Rootkit files on server $ wget...