Browse code

rename some phishing options

git-svn: trunk@2592

Tomasz Kojm authored on 2007/01/07 01:48:12
Showing 9 changed files
... ...
@@ -1,3 +1,8 @@
1
+Sat Jan  6 17:45:49 CET 2007 (tk)
2
+---------------------------------
3
+  * clamd: s/DetectPhishing/PhishingSignatures
4
+  * clamscan: s/--no-phishing/--no-phishing-sigs
5
+
1 6
 Sat Jan  6 17:22:30 CET 2007 (tk)
2 7
 ---------------------------------
3 8
   * libclamav: fix stack corruption on win32 (bb#201), patch from NJH
... ...
@@ -82,7 +82,7 @@ Detailed list of changes (to be finished):
82 82
       configured individually)
83 83
   + TCP and local sockets can be operated simultaneously
84 84
   + New command: MULTISCAN (scan directory with multiple threads)
85
-  + New option DetectPhishing
85
+  + New option PhishingSignatures
86 86
   + New option AlgorithmicDetection
87 87
   + New option NodalCore
88 88
   + New option PhishingStrictURLCheck
... ...
@@ -98,7 +98,7 @@ Detailed list of changes (to be finished):
98 98
   + Improved load balancing for scanning with clusters
99 99
 
100 100
 -) clamscan:
101
-  + New options: --no-phishing, --no-algorithmic (disable phishing and
101
+  + New options: --no-phishing-sigs, --no-algorithmic (disable phishing and
102 102
     algorithmic detection respectively)
103 103
   + New option: --ncore
104 104
   + New option: --no-elf
... ...
@@ -308,7 +308,7 @@ int main(int argc, char **argv)
308 308
     dbdir = cfgopt(copt, "DatabaseDirectory")->strarg;
309 309
     logg("#Reading databases from %s\n", dbdir);
310 310
 
311
-    if(cfgopt(copt, "DetectPhishing")->enabled)
311
+    if(cfgopt(copt, "PhishingSignatures")->enabled)
312 312
 	dboptions |= CL_DB_PHISHING;
313 313
     else
314 314
 	logg("Not loading phishing signatures.\n");
... ...
@@ -260,7 +260,7 @@ void help(void)
260 260
 #endif
261 261
     mprintf("\n");
262 262
     mprintf("    --no-mail                            Disable mail file support\n");
263
-    mprintf("    --no-phishing                        Disable signature-based phishing detection\n");
263
+    mprintf("    --no-phishing-sigs                   Disable signature-based phishing detection\n");
264 264
 #ifdef CL_EXPERIMENTAL
265 265
     mprintf("    --no-phishing-scan-urls              Disable url-based phishing detection\n");
266 266
     mprintf("    --phishing-strict-url-check          Enable phishing detection for all domains (might lead to false positives!)\n");
... ...
@@ -78,7 +78,7 @@ static struct option clamscan_longopt[] = {
78 78
     {"mbox", 0, 0, 'm'},	    /* not used */
79 79
     {"no-mail", 0, 0, 0},
80 80
     {"mail-follow-urls", 0, 0, 0},
81
-    {"no-phishing", 0, 0, 0},
81
+    {"no-phishing-sigs", 0, 0, 0},
82 82
 #ifdef CL_EXPERIMENTAL
83 83
     {"no-phishing-scan-urls",0,0,0},
84 84
     {"phishing-strict-url-check",0,0,0},
... ...
@@ -89,7 +89,7 @@ int scanmanager(const struct optstruct *opt)
89 89
     if(opt_check(opt, "ncore"))
90 90
 	dboptions |= CL_DB_NCORE;
91 91
 
92
-    if(!opt_check(opt, "no-phishing"))
92
+    if(!opt_check(opt, "no-phishing-sigs"))
93 93
 	dboptions |= CL_DB_PHISHING;
94 94
 
95 95
 #ifdef CL_EXPERIMENTAL
... ...
@@ -234,8 +234,8 @@ Recursion level limit for the mail scanner.
234 234
 .br
235 235
 Default: 64
236 236
 .TP 
237
-\fBDetectPhishing\fR
238
-With this option enabled ClamAV will try to detect phishing attempts.
237
+\fBPhishingSignatures\fR
238
+With this option enabled ClamAV will try to detect phishing attempts by using signatures.
239 239
 .br 
240 240
 Default: enabled
241 241
 .TP 
... ...
@@ -217,9 +217,10 @@ LocalSocket /tmp/clamd
217 217
 # Default: 64
218 218
 #MailMaxRecursion 128
219 219
 
220
-# With this option enabled ClamAV will try to detect phishing attempts (using signatures).
220
+# With this option enabled ClamAV will try to detect phishing attempts by using
221
+# signatures.
221 222
 # Default: yes
222
-#DetectPhishing yes
223
+#PhishingSignatures yes
223 224
 
224 225
 # Use phishing detection for all domains (not just those listed in the .pdb database).
225 226
 # It is not recommended to turn this option on, it is mean for internal use.
... ...
@@ -49,7 +49,7 @@ struct cfgoption cfg_options[] = {
49 49
     {"ScanMail", OPT_BOOL, 1, NULL, 0, OPT_CLAMD},
50 50
     {"MailFollowURLs", OPT_BOOL, 0, NULL, 0, OPT_CLAMD},
51 51
     {"MailMaxRecursion", OPT_NUM, 64, NULL, 0, OPT_CLAMD},
52
-    {"DetectPhishing", OPT_BOOL, 1, NULL, 0, OPT_CLAMD},
52
+    {"PhishingSignatures", OPT_BOOL, 1, NULL, 0, OPT_CLAMD},
53 53
 #ifdef CL_EXPERIMENTAL
54 54
     {"PhishingScanURLs",OPT_BOOL, 1, NULL, 0, OPT_CLAMD},
55 55
     {"PhishingStrictURLCheck", OPT_BOOL, 0, NULL, 0, OPT_CLAMD},