Alexandros Ioannides 4 лет назад
Родитель
Сommit
2f2d25d39a
1 измененных файлов с 35 добавлено и 7 удалено
  1. 35 7
      install/deb/clamav/clamd.conf

+ 35 - 7
install/deb/clamav/clamd.conf

@@ -1,6 +1,6 @@
-#Automatically Generated by clamav-base postinst
-#To reconfigure clamd run #dpkg-reconfigure clamav-base
-#Please read /usr/share/doc/clamav-base/README.Debian.gz for details
+#Automatically Generated by clamav-daemon postinst
+#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
+#Please read /usr/share/doc/clamav-daemon/README.Debian.gz for details
 LocalSocket /var/run/clamav/clamd.ctl
 LocalSocket /var/run/clamav/clamd.ctl
 FixStaleSocket true
 FixStaleSocket true
 LocalSocketGroup clamav
 LocalSocketGroup clamav
@@ -8,7 +8,6 @@ LocalSocketMode 666
 # TemporaryDirectory is not set to its default /tmp here to make overriding
 # TemporaryDirectory is not set to its default /tmp here to make overriding
 # the default with environment variables TMPDIR/TMP/TEMP possible
 # the default with environment variables TMPDIR/TMP/TEMP possible
 User clamav
 User clamav
-# AllowSupplementaryGroups true
 ScanMail true
 ScanMail true
 ScanArchive true
 ScanArchive true
 ArchiveBlockEncrypted false
 ArchiveBlockEncrypted false
@@ -19,26 +18,38 @@ ReadTimeout 180
 MaxThreads 12
 MaxThreads 12
 MaxConnectionQueueLength 15
 MaxConnectionQueueLength 15
 LogSyslog false
 LogSyslog false
+LogRotate true
 LogFacility LOG_LOCAL6
 LogFacility LOG_LOCAL6
 LogClean false
 LogClean false
 LogVerbose true
 LogVerbose true
-PidFile /var/run/clamav/clamd.pid
+PreludeEnable no
+PreludeAnalyzerName ClamAV
 DatabaseDirectory /var/lib/clamav
 DatabaseDirectory /var/lib/clamav
+OfficialDatabaseOnly false
 SelfCheck 3600
 SelfCheck 3600
 Foreground false
 Foreground false
 Debug false
 Debug false
 ScanPE true
 ScanPE true
+MaxEmbeddedPE 10M
 ScanOLE2 true
 ScanOLE2 true
+ScanPDF true
 ScanHTML true
 ScanHTML true
+MaxHTMLNormalize 10M
+MaxHTMLNoTags 2M
+MaxScriptNormalize 5M
+MaxZipTypeRcg 1M
+ScanSWF true
 ExitOnOOM false
 ExitOnOOM false
 LeaveTemporaryFiles false
 LeaveTemporaryFiles false
 AlgorithmicDetection true
 AlgorithmicDetection true
 ScanELF true
 ScanELF true
 IdleTimeout 30
 IdleTimeout 30
+CrossFilesystems true
 PhishingSignatures true
 PhishingSignatures true
 PhishingScanURLs true
 PhishingScanURLs true
 PhishingAlwaysBlockSSLMismatch false
 PhishingAlwaysBlockSSLMismatch false
 PhishingAlwaysBlockCloak false
 PhishingAlwaysBlockCloak false
+PartitionIntersection false
 DetectPUA false
 DetectPUA false
 ScanPartialMessages false
 ScanPartialMessages false
 HeuristicScanPrecedence false
 HeuristicScanPrecedence false
@@ -48,6 +59,23 @@ SendBufTimeout 200
 MaxQueue 100
 MaxQueue 100
 ExtendedDetectionInfo true
 ExtendedDetectionInfo true
 OLE2BlockMacros false
 OLE2BlockMacros false
+AllowAllMatchScan true
+ForceToDisk false
+DisableCertCheck false
+DisableCache false
+MaxScanTime 120000
+MaxScanSize 100M
+MaxFileSize 25M
+MaxRecursion 16
+MaxFiles 10000
+MaxPartitions 50
+MaxIconsPE 100
+PCREMatchLimit 10000
+PCRERecMatchLimit 5000
+PCREMaxFileSize 25M
+ScanXMLDOCS true
+ScanHWP3 true
+MaxRecHWP3 16
 StreamMaxLength 25M
 StreamMaxLength 25M
 LogFile /var/log/clamav/clamav.log
 LogFile /var/log/clamav/clamav.log
 LogTime true
 LogTime true
@@ -56,5 +84,5 @@ LogFileMaxSize 0
 Bytecode true
 Bytecode true
 BytecodeSecurity TrustSigned
 BytecodeSecurity TrustSigned
 BytecodeTimeout 60000
 BytecodeTimeout 60000
-OfficialDatabaseOnly false
-CrossFilesystems true
+PidFile /var/run/clamav/clamd.pid
+OnAccessMaxFileSize 5M