DDOS Deflate installation on linux

DDOS deflate is simple shell script used to block a denial of service attack on Linux Host. It uses netstat command to identify the number of connection from IP addresses and block the IP address if an IP address exceeds a threshold value.

Prerequisites:

  1. Linux Host with Root access
  2. Webserver (nginx or apache)

Implementation:

Download the installer to the server.

cd /usr/local/src

wget http://www.inetbase.com/scripts/ddos/install.sh

Change the permission of downloaded file

chmod 700 install.sh

Install the script

sh install.sh

The above command will install the DDOS deflate script.

We can open the configuration and edit the number of connection from IP address.

vi /usr/local/ddos/ddos.conf

Default value will be 150. We can change this value as per our wish.

 

 

Leave a Reply

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny