1 |
hollow 08/01/31 18:48:37 |
2 |
|
3 |
Modified: 10_mod_evasive.conf |
4 |
Log: |
5 |
update metadata; cleanup |
6 |
(Portage version: 2.1.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 www-apache/mod_evasive/files/10_mod_evasive.conf |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_evasive/files/10_mod_evasive.conf?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_evasive/files/10_mod_evasive.conf?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_evasive/files/10_mod_evasive.conf?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: 10_mod_evasive.conf |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_evasive/files/10_mod_evasive.conf,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- 10_mod_evasive.conf 9 Sep 2007 10:44:22 -0000 1.1 |
22 |
+++ 10_mod_evasive.conf 31 Jan 2008 18:48:36 -0000 1.2 |
23 |
@@ -1,31 +1,31 @@ |
24 |
<IfDefine EVASIVE> |
25 |
- <IfModule !mod_evasive.c> |
26 |
- LoadModule evasive_module modules/mod_evasive.so |
27 |
- </IfModule> |
28 |
- |
29 |
- DOSHashTableSize 3097 |
30 |
- DOSPageCount 5 |
31 |
- DOSSiteCount 100 |
32 |
- DOSPageInterval 2 |
33 |
- DOSSiteInterval 2 |
34 |
- DOSBlockingPeriod 10 |
35 |
- |
36 |
- # Set here an email to notify the DoS to someone |
37 |
- # (here is better to set the server administrator email) |
38 |
- DOSEmailNotify root |
39 |
- |
40 |
- # Uncomment this line if you want to execute a specific command |
41 |
- # after the DoS detection |
42 |
- #DOSSystemCommand "su - someuser -c '/sbin/... %s ...'" |
43 |
- |
44 |
- # Specify the desired mod_evasive log location |
45 |
- DOSLogDir /var/log/apache2/evasive |
46 |
- |
47 |
- # WHITELISTING IP ADDRESSES |
48 |
- # IP addresses of trusted clients can be whitelisted to insure they are never |
49 |
- # denied. The purpose of whitelisting is to protect software, scripts, local |
50 |
- # searchbots, or other automated tools from being denied for requesting large |
51 |
- # amounts of data from the server. |
52 |
- #DOSWhitelist 127.0.0.* |
53 |
- #DOSWhitelist 172.16.1.* |
54 |
+LoadModule evasive_module modules/mod_evasive.so |
55 |
+ |
56 |
+DOSHashTableSize 3097 |
57 |
+DOSPageCount 5 |
58 |
+DOSSiteCount 100 |
59 |
+DOSPageInterval 2 |
60 |
+DOSSiteInterval 2 |
61 |
+DOSBlockingPeriod 10 |
62 |
+ |
63 |
+# Set here an email to notify the DoS to someone |
64 |
+# (here is better to set the server administrator email) |
65 |
+DOSEmailNotify root |
66 |
+ |
67 |
+# Uncomment this line if you want to execute a specific command |
68 |
+# after the DoS detection |
69 |
+#DOSSystemCommand "su - someuser -c '/sbin/... %s ...'" |
70 |
+ |
71 |
+# Specify the desired mod_evasive log location |
72 |
+DOSLogDir /var/log/apache2/evasive |
73 |
+ |
74 |
+# WHITELISTING IP ADDRESSES |
75 |
+# IP addresses of trusted clients can be whitelisted to insure they are never |
76 |
+# denied. The purpose of whitelisting is to protect software, scripts, local |
77 |
+# searchbots, or other automated tools from being denied for requesting large |
78 |
+# amounts of data from the server. |
79 |
+#DOSWhitelist 127.0.0.* |
80 |
+#DOSWhitelist 172.16.1.* |
81 |
</IfDefine> |
82 |
+ |
83 |
+# vim: ts=4 filetype=apache |
84 |
|
85 |
|
86 |
|
87 |
-- |
88 |
gentoo-commits@l.g.o mailing list |