谁能给我讲一讲mod_dosevasive模块的这几个参数

谁能给我讲一讲mod_dosevasive模块的这几个参数

DOSHashTableSize 3097
#同一个页面在同一时间内可以被统一个用户访问的次数,超过该数字就会被列为攻击,同一时间的数值可以在DosPageInterval参数中设置。
DOSPageCount 3
#同一个用户在同一个网站内可以同时打开的访问数,同一个时间的数值在DOSSiteInterval中设置。
DOSSiteCount 40
#设置DOSPageCount中时间长度标准,默认值为1。
DOSPageInterval 2
#DOSSiteInterval 2 设置DOSSiteCount中时间长度标准,默认值为1。
DOSSiteInterval 2
#被封时间间隔秒,这中间会收到 403 (Forbidden) 的返回。
DOSBlockingPeriod 10

上面说的比较糊涂,谁能给我讲清楚呢/thx
他的英文的文档呢?

中文的根本无法理解啊。
[quote]原帖由 chenyan1206 于 2007-4-2 16:55 发表

DOSHashTableSize //Hash表设置大小!
DOSPageCount 3 //DOSPageInterval时间段内同一访问IP同一页面的允许次数
DOSSiteCount 40 //DOSSiteInterval 时间内,同一IP打开此网站的可允许的次数
DOSBlockingPeriod 10 //超过了上面的允许范围,禁止访问多少秒

/////////他的英文的文档呢?

/////////中文的根本无法理解啊。
http://www.theserverpages.com/ar ... _Module_How-To.html

The following is a description of all the settings/variables:

Variable/Option:        Description:

DOSHashTableSize               
// Size of the hash table. The greater this setting, the more memory is required for the look up table, but also the faster the look ups are processed. This option will automatically round up to the nearest prime number.

DOSPageCount
//Number of requests for the same page within the 'DOSPageInterval' interval that will get an IP address added to the blocking list.

DOSSiteCount
//Same as 'DOSPageCount', but corresponds to the number of requests for a given site, and uses the 'DOSSiteInterval' interval.

DOSPageInterval
//interval for the 'DOSPageCount' threshold in second intervals.

DOSSiteInterval        
//Interval for the 'DOSSiteCount' threshold in second intervals.

DOSBlockingPeriod        
//Blocking period in seconds if any of the thresholds are met. The user will recieve a 403 (Forbidden) when blocked, and the timer will be reset each time the site gets hit when the user is still blocked.
DOSHashTableSize               
// Size of the hash table. The greater this setting, the more memory is required for the look up table, but also the faster the look ups are processed. This option will automatically round up to the nearest prime number.
  这个表示所维护的链接状态表;他需要判断一个访问是不是在搞DOS,则需要记录这个访问的状态,看它在一定的采样周期的时间之内,是不是不停的访问。
  而维护这个状态表,是需要一定地内存空间的,所以其大小是有限制的;一半依据你的内存大小和网站的访问量来设定;

DOSPageCount
//Number of requests for the same page within the 'DOSPageInterval' interval that will get an IP address added to the blocking list.
  这个表示,在规定的一个采样周期内,某个IP访问同一个页面的次数;如果大都哀乐这个次数,将被判定作弊,关入黑屋;这个规定的采样周期,就由'DOSPageInterval' 来定义。

DOSSiteCount
//Same as 'DOSPageCount', but corresponds to the number of requests for a given site, and uses the 'DOSSiteInterval' interval.
与DOSPageCount类似,单是规定的是对站点的访问请求,而不仅仅是同一个页面;其采样周期,由DOSSiteInterval来定义的

DOSPageInterval
//interval for the 'DOSPageCount' threshold in second intervals.

DOSSiteInterval         
//Interval for the 'DOSSiteCount' threshold in second intervals.

DOSBlockingPeriod         
//Blocking period in seconds if any of the thresholds are met. The user will recieve a 403 (Forbidden) when blocked, and the timer will be reset each time the site gets hit when the user is still blocked.
关黑屋的时间,有期徒刑;如果要判无期徒刑,需要使用Access来控制,或者其他的手段如防火墙等
多谢各位啦
请问这个模块如何架设到WINDOWS系统的APACHE中去呢?