What's new

Install DDOS Deflate to your server

DavidEspinosa

Administrator
Staff member
Administrator
V.I.P Member
Forum Keeper
Established
Technician
Awards
2
  • SikatPInoy Staff
  • admin medal
Install DDOS Deflate to your server

(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. It is one of the simplest and easiest to install solutions at the software level. You can use the below command on your server to see what IPs are currently connected to your server and how many connections each IP has. Users who are experiencing slow page speeds or who are experiencing DDoS issues should follow this guide to get at least some basic protection. We recommend everyone deploys this software to their servers together with CSF. Remember our network can handle 2000GBs of bad traffic so this guide will most likely not be needed now.

Code:
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
Install DDOS Deflate
You can install the software by copying the line below into your ssh console. You must be logged in as root to perform this

Code:
wget http://www.inetbase.com/scripts/ddos/install.sh ; chmod 0700 install.sh ; ./install.sh
IP addresses with over a pre-configured number of connections are automatically blocked in the server’s firewall, which can be direct iptables or CSF. (We highly recommend that you use CSF on your server in general, but deflate will work without it.)
IP Whitelist
It is possible to whitelist IP addresses, via /usr/local/ddos/ignore.ip.list. You can edit this file and place IPs in the white list with the following command

Code:
nano  /usr/local/ddos/ignore.ip.list
Configuration
The configuration file has all the options you need to tweak the software to your own needs. You shouldn’t need to touch this file but you can lower the connections each IP can have to the server inside this file. We advise placing this at 50. Anything lower and people uploading using FTP might get blacklisted. IP addresses are automatically unblocked after a pre-configured time limit (default: 600 seconds) To edit the file;

Code:
nano /usr/local/ddos/ddos.conf
Removing DDOS Deflate
To remove the software copy the line below into the console like you did to install.

Code:
wget http://www.inetbase.com/scripts/ddos/uninstall.ddos ; chmod 0700 uninstall.ddos ; ./uninstall.ddos
 

Boyapper

Moderator
Moderator
Established
Awards
0
Install DDOS Deflate to your server

(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. It is one of the simplest and easiest to install solutions at the software level. You can use the below command on your server to see what IPs are currently connected to your server and how many connections each IP has. Users who are experiencing slow page speeds or who are experiencing DDoS issues should follow this guide to get at least some basic protection. We recommend everyone deploys this software to their servers together with CSF. Remember our network can handle 2000GBs of bad traffic so this guide will most likely not be needed now.

Code:
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
Install DDOS Deflate
You can install the software by copying the line below into your ssh console. You must be logged in as root to perform this

Code:
wget http://www.inetbase.com/scripts/ddos/install.sh ; chmod 0700 install.sh ; ./install.sh
IP addresses with over a pre-configured number of connections are automatically blocked in the server’s firewall, which can be direct iptables or CSF. (We highly recommend that you use CSF on your server in general, but deflate will work without it.)
IP Whitelist
It is possible to whitelist IP addresses, via /usr/local/ddos/ignore.ip.list. You can edit this file and place IPs in the white list with the following command

Code:
nano  /usr/local/ddos/ignore.ip.list
Configuration
The configuration file has all the options you need to tweak the software to your own needs. You shouldn’t need to touch this file but you can lower the connections each IP can have to the server inside this file. We advise placing this at 50. Anything lower and people uploading using FTP might get blacklisted. IP addresses are automatically unblocked after a pre-configured time limit (default: 600 seconds) To edit the file;

Code:
nano /usr/local/ddos/ddos.conf
Removing DDOS Deflate
To remove the software copy the line below into the console like you did to install.

Code:
wget http://www.inetbase.com/scripts/ddos/uninstall.ddos ; chmod 0700 uninstall.ddos ; ./uninstall.ddos
Salamat po malaking tulong ito.
 
Top