Browse code

docs: clarify behavior of --scan-*/Scan* options (bb#3134)

Tomasz Kojm authored on 2011/08/03 00:05:20
Showing 4 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue Aug  2 17:03:33 CEST 2011 (tk)
2
+----------------------------------
3
+ * docs: clarify behavior of --scan-*/Scan* options (bb#3134)
4
+
1 5
 Mon Jul 25 16:09:19 EEST 2011 (edwin)
2 6
 -------------------------------------
3 7
  * libclamav/bytecode_vm.c: fix opcode 20 error (bb #3100)
... ...
@@ -115,7 +115,7 @@ This option sets the lowest number of Social Security Numbers found in a file to
115 115
 This option sets the lowest number of Credit Card numbers found in a file to generate a detect (default: 3).
116 116
 .TP 
117 117
 \fB\-\-scan\-mail[=yes(*)/no]\fR
118
-Scan mail files.
118
+Scan mail files. If you turn off this option, the original files will still be scanned, but without parsing individual messages/attachments.
119 119
 .TP 
120 120
 \fB\-\-phishing\-sigs[=yes(*)/no]\fR
121 121
 Use the signature-based phishing detection.
... ...
@@ -136,22 +136,22 @@ Block cloaked URLs (might lead to some false positives).
136 136
 In some cases (eg. complex malware, exploits in graphic files, and others), ClamAV uses special algorithms to provide accurate detection. This option can be used to control the algorithmic detection.
137 137
 .TP 
138 138
 \fB\-\-scan\-pe[=yes(*)/no]\fR
139
-PE stands for Portable Executable \- it's an executable file format used in all 32\-bit versions of Windows operating systems. By default ClamAV performs deeper analysis of executable files and attempts to decompress popular executable packers such as UPX, Petite, and FSG.
139
+PE stands for Portable Executable \- it's an executable file format used in all 32\-bit versions of Windows operating systems. By default ClamAV performs deeper analysis of executable files and attempts to decompress popular executable packers such as UPX, Petite, and FSG. If you turn off this option, the original files will still be scanned but without additional processing.
140 140
 .TP 
141 141
 \fB\-\-scan\-elf[=yes(*)/no]\fR
142
-Executable and Linking Format is a standard format for UN*X executables. This option controls the ELF support.
142
+Executable and Linking Format is a standard format for UN*X executables. This option controls the ELF support. If you turn it off, the original files will still be scanned but without additional processing.
143 143
 .TP 
144 144
 \fB\-\-scan\-ole2[=yes(*)/no]\fR
145
-Scan Microsoft Office documents and .msi files.
145
+Scan Microsoft Office documents and .msi files. If you turn off this option, the original files will still be scanned but without additional processing.
146 146
 .TP 
147 147
 \fB\-\-scan\-pdf[=yes(*)/no]\fR
148
-Scan within PDF files.
148
+Scan within PDF files. If you turn off this option, the original files will still be scanned, but without decoding and additional processing.
149 149
 .TP 
150 150
 \fB\-\-scan\-html[=yes(*)/no]\fR
151
-Detect, normalize/decrypt and scan HTML files and embedded scripts.
151
+Detect, normalize/decrypt and scan HTML files and embedded scripts. If you turn off this option, the original files will still be scanned, but without additional processing.
152 152
 .TP 
153 153
 \fB\-\-scan\-archive[=yes(*)/no]\fR
154
-Scan archives supported by libclamav.
154
+Scan archives supported by libclamav. If you turn off this option, the original files will still be scanned, but without unpacking and additional processing.
155 155
 .TP 
156 156
 \fB\-\-detect\-broken[=yes/no(*)]\fR
157 157
 Mark broken executables as viruses (Broken.Executable).
... ...
@@ -240,12 +240,15 @@ Example
240 240
 # in all 32 and 64-bit versions of Windows operating systems. This option allows
241 241
 # ClamAV to perform a deeper analysis of executable files and it's also
242 242
 # required for decompression of popular executable packers such as UPX, FSG,
243
-# and Petite.
243
+# and Petite. If you turn off this option, the original files will still be
244
+# scanned, but without additional processing.
244 245
 # Default: yes
245 246
 #ScanPE yes
246 247
 
247 248
 # Executable and Linking Format is a standard format for UN*X executables.
248 249
 # This option allows you to control the scanning of ELF files.
250
+# If you turn off this option, the original files will still be scanned, but
251
+# without additional processing.
249 252
 # Default: yes
250 253
 #ScanELF yes
251 254
 
... ...
@@ -261,6 +264,8 @@ Example
261 261
 
262 262
 # This option enables scanning of OLE2 files, such as Microsoft Office
263 263
 # documents and .msi files.
264
+# If you turn off this option, the original files will still be scanned, but
265
+# without additional processing.
264 266
 # Default: yes
265 267
 #ScanOLE2 yes
266 268
 
... ...
@@ -271,6 +276,8 @@ Example
271 271
 #OLE2BlockMacros no
272 272
 
273 273
 # This option enables scanning within PDF files.
274
+# If you turn off this option, the original files will still be scanned, but
275
+# without decoding and additional processing.
274 276
 # Default: yes
275 277
 #ScanPDF yes
276 278
 
... ...
@@ -280,6 +287,8 @@ Example
280 280
 ##
281 281
 
282 282
 # Enable internal e-mail scanner.
283
+# If you turn off this option, the original files will still be scanned, but
284
+# without parsing individual messages/attachments.
283 285
 # Default: yes
284 286
 #ScanMail yes
285 287
 
... ...
@@ -363,6 +372,8 @@ Example
363 363
 
364 364
 # Perform HTML normalisation and decryption of MS Script Encoder code.
365 365
 # Default: yes
366
+# If you turn off this option, the original files will still be scanned, but
367
+# without additional processing.
366 368
 #ScanHTML yes
367 369
 
368 370
 
... ...
@@ -371,6 +382,8 @@ Example
371 371
 ##
372 372
 
373 373
 # ClamAV can scan within archives and compressed files.
374
+# If you turn off this option, the original files will still be scanned, but
375
+# without unpacking and additional processing.
374 376
 # Default: yes
375 377
 #ScanArchive yes
376 378
 
... ...
@@ -276,13 +276,13 @@ const struct clam_option __clam_options[] = {
276 276
 
277 277
     { "AlgorithmicDetection", "algorithmic-detection", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "In some cases (eg. complex malware, exploits in graphic files, and others),\nClamAV uses special algorithms to provide accurate detection. This option\ncontrols the algorithmic detection.", "yes" },
278 278
 
279
-    { "ScanPE", "scan-pe", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "PE stands for Portable Executable - it's an executable file format used\nin all 32- and 64-bit versions of Windows operating systems. This option\nallows ClamAV to perform a deeper analysis of executable files and it's also\nrequired for decompression of popular executable packers such as UPX or FSG.", "yes" },
279
+    { "ScanPE", "scan-pe", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "PE stands for Portable Executable - it's an executable file format used\nin all 32- and 64-bit versions of Windows operating systems. This option\nallows ClamAV to perform a deeper analysis of executable files and it's also\nrequired for decompression of popular executable packers such as UPX or FSG.\nIf you turn off this option, the original files will still be scanned, but\nwithout additional processing.", "yes" },
280 280
 
281
-    { "ScanELF", "scan-elf", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "Executable and Linking Format is a standard format for UN*X executables.\nThis option allows you to control the scanning of ELF files.", "yes" },
281
+    { "ScanELF", "scan-elf", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "Executable and Linking Format is a standard format for UN*X executables.\nThis option allows you to control the scanning of ELF files.\nIf you turn off this option, the original files will still be scanned, but\nwithout additional processing.", "yes" },
282 282
 
283 283
     { "DetectBrokenExecutables", "detect-broken", 0, TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "With this option enabled clamav will try to detect broken executables\n(both PE and ELF) and mark them as Broken.Executable.", "yes" },
284 284
 
285
-    { "ScanMail", "scan-mail", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "Enable the built in email scanner.", "yes" },
285
+    { "ScanMail", "scan-mail", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "Enable the built in email scanner.\nIf you turn off this option, the original files will still be scanned, but\nwithout parsing individual messages/attachments.", "yes" },
286 286
 
287 287
     { "ScanPartialMessages", NULL, 0, TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD, "Scan RFC1341 messages split over many emails. You will need to\nperiodically clean up $TemporaryDirectory/clamav-partial directory.\nWARNING: This option may open your system to a DoS attack. Please don't use\nthis feature on highly loaded servers.", "no" },
288 288
 
... ...
@@ -306,15 +306,15 @@ const struct clam_option __clam_options[] = {
306 306
 
307 307
     { "StructuredSSNFormatStripped", NULL, 0, TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD, "With this option enabled the DLP module will search for valid\nSSNs formatted as xxxyyzzzz", "no" },
308 308
 
309
-    { "ScanHTML", "scan-html", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "Perform HTML/JavaScript/ScriptEncoder normalisation and decryption.", "yes" },
309
+    { "ScanHTML", "scan-html", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "Perform HTML/JavaScript/ScriptEncoder normalisation and decryption.\nIf you turn off this option, the original files will still be scanned, but\nwithout additional processing.", "yes" },
310 310
 
311
-    { "ScanOLE2", "scan-ole2", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "This option enables scanning of OLE2 files, such as Microsoft Office\ndocuments and .msi files.", "yes" },
311
+    { "ScanOLE2", "scan-ole2", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "This option enables scanning of OLE2 files, such as Microsoft Office\ndocuments and .msi files.\nIf you turn off this option, the original files will still be scanned, but\nwithout additional processing.", "yes" },
312 312
 
313 313
     { "OLE2BlockMacros", NULL, 0, TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD, "With this option enabled OLE2 files with VBA macros, which were not\ndetected by signatures will be marked as \"Heuristics.OLE2.ContainsMacros\".", "no" },
314 314
 
315
-    { "ScanPDF", "scan-pdf", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "This option enables scanning within PDF files.", "yes" },
315
+    { "ScanPDF", "scan-pdf", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "This option enables scanning within PDF files.\nIf you turn off this option, the original files will still be scanned, but\nwithout decoding and additional processing.", "yes" },
316 316
 
317
-    { "ScanArchive", "scan-archive", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "Scan within archives and compressed files.", "yes" },
317
+    { "ScanArchive", "scan-archive", 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "Scan within archives and compressed files.\nIf you turn off this option, the original files will still be scanned, but\nwithout unpacking and additional processing.", "yes" },
318 318
 
319 319
     { "ArchiveBlockEncrypted", "block-encrypted", 0, TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN, "Mark encrypted archives as viruses (Encrypted.Zip, Encrypted.RAR).", "no" },
320 320