| 论坛注册| 加入收藏 | 设为首页| RSS
您当前的位置:首页 > Linux频道 > linux网络与应用 > 网络安全

Linux(Centos)防DDOS攻击软件 DDoS-Deflate

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

  DDoS-Deflate安装及配置

  1、安装

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

  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 http://www.inetbase.com/scripts/ddos/uninstall.ddos

  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

来顶一下
返回首页
返回首页
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表
相关文章
栏目更新
栏目热门