全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 7258|回复: 39
打印 上一主题 下一主题

[疑问] 谁给翻译下这个配置文件

[复制链接]
跳转到指定楼层
1#
发表于 2009-10-9 19:04:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
##### Paths of the script and other files
PROGDIR="/usr/local/ddos"
PROG="/usr/local/ddos/ddos.sh"
IGNORE_IP_LIST="/usr/local/ddos/ignore.ip.list"
CRON="/etc/cron.d/ddos.cron"
APF="/etc/apf/apf"
IPT="/sbin/iptables"

##### frequency in minutes for running the script
##### Caution: Every time this setting is changed, run the script with --cron
#####          option so that the new frequency takes effect
FREQ=1

##### How many connections define a bad IP? Indicate that below.
NO_OF_CONNECTIONS=200

##### APF_BAN=1 (Make sure your APF version is atleast 0.96)
##### APF_BAN=0 (Uses iptables for banning ips instead of APF)
APF_BAN=0

##### KILL=0 (Bad IPs are'nt banned, good for interactive execution of script)
##### KILL=1 (Recommended setting)
KILL=1

##### An email is sent to the following address when an IP is banned.
##### Blank would suppress sending of mails
EMAIL_TO="root"

##### Number of seconds the banned ip should remain in blacklist.
BAN_PERIOD=600
2#
发表于 2009-10-9 19:21:17 | 只看该作者
我昨天装了 没感觉到什么效果 呵呵
3#
发表于 2009-10-9 19:23:22 | 只看该作者

回复 2# 的帖子

有测试攻击流量?
4#
发表于 2009-10-9 19:25:37 | 只看该作者

回复 3# 的帖子

就是 记录下 每个IP的访问次数
5#
发表于 2009-10-9 19:27:32 | 只看该作者

回复 4# 的帖子

楼主也安装测试下。
6#
 楼主| 发表于 2009-10-9 19:39:11 | 只看该作者
谁给详细解释一下各个参数的意义.
7#
发表于 2009-10-9 19:47:51 | 只看该作者

回复 1# 的帖子

frequency in minutes for running the script

运行这个脚本的频率,分钟
FREQ=1 就是每分钟运行一次。
8#
发表于 2009-10-9 19:50:39 | 只看该作者
##### How many connections define a bad IP? Indicate that below.
NO_OF_CONNECTIONS=200

怎么定义一个IP为进行攻击的IP,如上 200个连接数就定义了。
9#
发表于 2009-10-9 19:52:10 | 只看该作者
APF_BAN=0 (Uses iptables for banning ips instead of APF)
APF_BAN=0

使用防火墙来封IP。
10#
发表于 2009-10-9 19:52:53 | 只看该作者
##### KILL=0 (Bad IPs are'nt banned, good for interactive execution of script)
##### KILL=1 (Recommended setting)
KILL=1

KILL=1 (Recommended setting) 封掉IP。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-14 17:45 , Processed in 0.059587 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表