--- etc/clamd.conf.orig 2007-12-06 10:59:09.000000000 -0200 +++ etc/clamd.conf 2008-04-04 11:21:10.000000000 -0300 @@ -5,7 +5,7 @@ # Comment or remove the line below. -Example +#Example # Uncomment this option to enable logging. # LogFile must be writable for the user running daemon. @@ -31,7 +31,7 @@ # Log time with each message. # Default: no -#LogTime yes +LogTime yes # Also log clean files. Useful in debugging but drastically increases the # log size. @@ -62,7 +62,7 @@ # Path to the database directory. # Default: hardcoded (depends on installation options) -#DatabaseDirectory /var/lib/clamav +DatabaseDirectory /usr/local/share/clamav # The daemon works in a local OR a network mode. Due to security reasons we # recommend the local mode. @@ -73,7 +73,7 @@ # Remove stale socket after unclean shutdown. # Default: yes -#FixStaleSocket yes +FixStaleSocket yes # TCP port address. # Default: no @@ -107,7 +107,7 @@ # Maximum number of threads running at the same time. # Default: 10 -#MaxThreads 20 +MaxThreads 50 # Waiting for data from a client socket will timeout after this time (seconds). # Value of 0 disables the timeout. @@ -132,7 +132,7 @@ # Perform a database check. # Default: 1800 (30 min) -#SelfCheck 600 +SelfCheck 3600 # Execute a command when virus is found. In the command string %v will # be replaced with the virus name. @@ -141,18 +141,18 @@ # Run as another user (clamd must be started by root for this option to work) # Default: don't drop privileges -#User clamav +User simscan # Initialize supplementary group access (clamd must be started by root). # Default: no #AllowSupplementaryGroups no # Stop daemon when libclamav reports out of memory condition. -#ExitOnOOM yes +ExitOnOOM yes # Don't fork into background. # Default: no -#Foreground yes +Foreground yes # Enable debug messages in libclamav. # Default: no @@ -183,7 +183,7 @@ # required for decompression of popular executable packers such as UPX, FSG, # and Petite. # Default: yes -#ScanPE yes +ScanPE yes # Executable and Linking Format is a standard format for UN*X executables. # This option allows you to control the scanning of ELF files. @@ -193,7 +193,7 @@ # With this option clamav will try to detect broken executables (both PE and # ELF) and mark them as Broken.Executable. # Default: no -#DetectBrokenExecutables yes +DetectBrokenExecutables yes ## @@ -203,7 +203,7 @@ # This option enables scanning of OLE2 files, such as Microsoft Office # documents and .msi files. # Default: yes -#ScanOLE2 yes +ScanOLE2 yes # This option enables scanning within PDF files. # Default: no @@ -216,7 +216,7 @@ # Enable internal e-mail scanner. # Default: yes -#ScanMail yes +ScanMail yes # If an email contains URLs ClamAV can download and scan them. # WARNING: This option may open your system to a DoS attack. @@ -231,11 +231,11 @@ # With this option enabled ClamAV will try to detect phishing attempts by using # signatures. # Default: yes -#PhishingSignatures yes +PhishingSignatures yes # Scan URLs found in mails for phishing attempts using heuristics. # Default: yes -#PhishingScanURLs yes +PhishingScanURLs yes # Use phishing detection only for domains listed in the .pdb database. It is # not recommended to have this option turned off, because scanning of all @@ -262,7 +262,7 @@ # Perform HTML normalisation and decryption of MS Script Encoder code. # Default: yes -#ScanHTML yes +ScanHTML yes ## @@ -271,7 +271,7 @@ # ClamAV can scan within archives and compressed files. # Default: yes -#ScanArchive yes +ScanArchive yes # The options below protect your system against Denial of Service attacks # using archive bombs. @@ -279,25 +279,25 @@ # Files in archives larger than this limit won't be scanned. # Value of 0 disables the limit. # Default: 10M -#ArchiveMaxFileSize 15M +ArchiveMaxFileSize 15M # Nested archives are scanned recursively, e.g. if a Zip archive contains a RAR # file, all files within it will also be scanned. This options specifies how # deeply the process should be continued. # Value of 0 disables the limit. # Default: 8 -#ArchiveMaxRecursion 10 +ArchiveMaxRecursion 10 # Number of files to be scanned within an archive. # Value of 0 disables the limit. # Default: 1000 -#ArchiveMaxFiles 1500 +ArchiveMaxFiles 1500 # If a file in an archive is compressed more than ArchiveMaxCompressionRatio # times it will be marked as a virus (Oversized.ArchiveType, e.g. Oversized.Zip) # Value of 0 disables the limit. # Default: 250 -#ArchiveMaxCompressionRatio 300 +ArchiveMaxCompressionRatio 300 # Use slower but memory efficient decompression algorithm. # only affects the bzip2 decompressor. @@ -312,7 +312,7 @@ # if ArchiveMaxFiles, ArchiveMaxFileSize, or ArchiveMaxRecursion limit is # reached. # Default: no -#ArchiveBlockMax no +ArchiveBlockMax yes ## --- etc/freshclam.conf.orig 2007-12-06 10:59:09.000000000 -0200 +++ etc/freshclam.conf 2008-04-04 11:21:18.000000000 -0300 @@ -5,7 +5,7 @@ # Comment or remove the line below. -Example +#Example # Path to the database directory. # WARNING: It must match clamd.conf's directive! @@ -14,7 +14,7 @@ # Path to the log file (make sure it has proper permissions) # Default: disabled -#UpdateLogFile /var/log/freshclam.log +UpdateLogFile /var/log/clamav/freshclam.log # Maximum size of the log file. # Value of 0 disables the limit. @@ -48,7 +48,7 @@ # By default when started freshclam drops privileges and switches to the # "clamav" user. This directive allows you to change the database owner. # Default: clamav (may depend on installation options) -#DatabaseOwner clamav +DatabaseOwner simscan # Initialize supplementary group access (freshclam must be started by root). # Default: no