git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1078 77e5149b-7576-45b1-b177-96237e5ba77b
Tomasz Kojm authored on 2004/11/09 16:59:01... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Tue Nov 9 08:53:24 CET 2004 (tk) |
|
2 |
+--------------------------------- |
|
3 |
+ * clamscan, clamd: increase value of maximal recursion limit (current: 8, |
|
4 |
+ was: 5) |
|
5 |
+ |
|
1 | 6 |
Mon Nov 8 20:37:41 GMT 2004 (njh) |
2 | 7 |
---------------------------------- |
3 | 8 |
* clamav-milter: Don't start the clamd watchdog when in localSocket mode |
... | ... |
@@ -276,7 +276,7 @@ int acceptloop_th(int socketd, struct cl_node *root, const struct cfgstruct *cop |
276 | 276 |
logg("^Archive: Recursion level limit protection disabled.\n"); |
277 | 277 |
} |
278 | 278 |
} else { |
279 |
- limits.maxreclevel = 5; |
|
279 |
+ limits.maxreclevel = 8; |
|
280 | 280 |
logg("Archive: Recursion level limit set to %d.\n", limits.maxreclevel); |
281 | 281 |
} |
282 | 282 |
|
... | ... |
@@ -153,7 +153,7 @@ int scanmanager(const struct optstruct *opt) |
153 | 153 |
if(optl(opt, "max-recursion")) |
154 | 154 |
limits->maxreclevel = atoi(getargl(opt, "max-recursion")); |
155 | 155 |
else |
156 |
- limits->maxreclevel = 5; |
|
156 |
+ limits->maxreclevel = 8; |
|
157 | 157 |
|
158 | 158 |
if(optl(opt, "max-ratio")) |
159 | 159 |
limits->maxratio = atoi(getargl(opt, "max-ratio")); |
... | ... |
@@ -217,7 +217,7 @@ Default: 10M |
217 | 217 |
\fBArchiveMaxRecursion NUMBER\fR |
218 | 218 |
Limit archive recursion level. Value of 0 disables the limit. |
219 | 219 |
.br |
220 |
-Default: 5 |
|
220 |
+Default: 8 |
|
221 | 221 |
.TP |
222 | 222 |
\fBArchiveMaxFiles NUMBER\fR |
223 | 223 |
Number of files to be scanned within archive. Value of 0 disables the limit. |
... | ... |
@@ -1,5 +1,5 @@ |
1 | 1 |
.\" Manual page created by Tomasz Kojm, 14/15 IV 2002 |
2 |
-.TH "clamscan" "1" "August 18, 2004" "Tomasz Kojm" "Clam AntiVirus" |
|
2 |
+.TH "clamscan" "1" "November 9, 2004" "Tomasz Kojm" "Clam AntiVirus" |
|
3 | 3 |
.SH "NAME" |
4 | 4 |
.LP |
5 | 5 |
clamscan \- scan files and directories against viruses |
... | ... |
@@ -100,7 +100,7 @@ Extract first #n files from each archive. This option protects your system again |
100 | 100 |
Extract first #n kilobytes from each archive. You may give the number in megabytes in format xM or xm, where x is a number. This option protects your system against DoS attacks (default: 10 MB) |
101 | 101 |
.TP |
102 | 102 |
\fB\-\-max\-recursion=#n\fR |
103 |
-Set archive recursion level limit. This option protects your system against DoS attacks (default: 5). |
|
103 |
+Set archive recursion level limit. This option protects your system against DoS attacks (default: 8). |
|
104 | 104 |
.TP |
105 | 105 |
\fB\-\-max\-ratio=#n\fR |
106 | 106 |
Set maximum archive compression ratio limit. This option protects your system against DoS attacks (default: 200). |
... | ... |
@@ -235,8 +235,8 @@ FixStaleSocket |
235 | 235 |
# file, all files within it will also be scanned. This options specifies how |
236 | 236 |
# deep the process should be continued. |
237 | 237 |
# Value of 0 disables the limit. |
238 |
-# Default: 5 |
|
239 |
-#ArchiveMaxRecursion 8 |
|
238 |
+# Default: 8 |
|
239 |
+#ArchiveMaxRecursion 9 |
|
240 | 240 |
|
241 | 241 |
# Number of files to be scanned within an archive. |
242 | 242 |
# Value of 0 disables the limit. |