2016年2月24日 星期三

安裝DoS Deflate 減輕 DDoS攻擊

(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 :-
wget http://www.inetbase.com/scripts/ddos/install.sh
chmod 0700 install.sh
./install.sh


How To UnInstall (D)DoS Deflate :-
wget http://www.inetbase.com/scripts/ddos/uninstall.ddos
chmod 0700 uninstall.ddos
./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/ddos.sh



How To Restart DDos Deflate:-
sh /usr/local/ddos/ddos.sh -c

沒有留言: