Browse code

Last changes to clamd...

git-svn: trunk@2264

aCaB authored on 2006/09/15 03:55:36
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Thu Sep 14 20:53:28 CEST 2006 (acab)
2
+------------------------------------
3
+  * clmad: phishing merge complete!
4
+
1 5
 Thu Sep 14 19:36:25 CEST 2006 (acab)
2 6
 ------------------------------------
3 7
   * clamscan: added phishing module command line options
... ...
@@ -303,6 +303,13 @@ int acceptloop_th(int *socketds, int nsockets, struct cl_node *root, const struc
303 303
     logg("*Listening daemon: PID: %d\n", getpid());
304 304
     max_threads = cfgopt(copt, "MaxThreads")->numarg;
305 305
 
306
+#ifdef CL_EXPERIMENTAL
307
+    if(!cfgopt(copt,"PhishingScanURLs")->enabled)
308
+	options |= CL_SCAN_NOPHISHING;
309
+    if(cfgopt(copt,"PhishingScanAllDomains")->enabled)
310
+	options |= CL_PHISH_NO_DOMAINLIST;
311
+#endif
312
+
306 313
     if(cfgopt(copt, "ScanArchive")->enabled || cfgopt(copt, "ClamukoScanArchive")->enabled) {
307 314
 
308 315
 	/* set up limits */