Skip to content

Instantly share code, notes, and snippets.

@JingwenTian
Last active January 4, 2016 05:59
Show Gist options
  • Save JingwenTian/8578816 to your computer and use it in GitHub Desktop.
Save JingwenTian/8578816 to your computer and use it in GitHub Desktop.
DDoS deflate的配置
FREQ=1 #检测的频率为1分钟
NO_OF_CONNECTIONS=100 #当单个IP超过100个连接请求时判定为DDOS
APF_BAN=0
#如果打算使用APF阻止IP,则设置为1(需要预先安装APF);如果使用iptables,则设置为0;
KILL=1 #是否阻止
EMAIL_TO="[email protected]" #接收邮件
BAN_PERIOD=600 #阻止时长,10分钟
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment