Linux(Centos如何防DDOS攻击软件DDoS呢?(苹果手机防黑客攻击软件)

  DoS-Deflate是一款免费的用来防御和减轻DDoS攻击。它通过netstat监测跟踪创建大量网络连接的IP地址,在检测到某个结点超过预设的限制时,该程序会通过APF或IPTABLES禁止或阻挡这些IP。

Linux(Centos如何防DDOS攻击软件DDoS呢?(苹果手机防黑客攻击软件)插图

DDoS-Deflate安装及配置

1、安装

wget }

chmod 0700 install。sh

。/install。sh

2、配置

配置文件是 /usr/local/ddos/ddos。conf ,默认有如下配置

FREQ=1

NO_OF_CONNECTIONS=150

APF_BAN=1

KILL=1

EMAIL_TO=”root”

BAN_PERIOD=600

IP地址白名单:/usr/local/ddos/ignore。

  ip。list


卸载

wget }

chmod 0700 uninstall。ddos

。/uninstall。ddos

MediaLayer was in need of a script to automatically mitigate (D)DoS attacks。

   The necessity started when MediaLayer was the target of a rather large, consistent attack originating from multiple IP addresses。

   Each IP would have a large amount of connections to the server, as shown as by:


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

未经允许不得转载:搜热门主机 » Linux(Centos如何防DDOS攻击软件DDoS呢?(苹果手机防黑客攻击软件)

赞 (0)

Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/srmzj.com/wp-includes/class-wp-comment-query.php on line 405