Skip to content

Commit 2f2d25d

Browse files
author
Alexandros Ioannides
authored
Update clamd.conf
1 parent c07369d commit 2f2d25d

File tree

1 file changed

+35
-7
lines changed

1 file changed

+35
-7
lines changed

install/deb/clamav/clamd.conf

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
#Automatically Generated by clamav-base postinst
2-
#To reconfigure clamd run #dpkg-reconfigure clamav-base
3-
#Please read /usr/share/doc/clamav-base/README.Debian.gz for details
1+
#Automatically Generated by clamav-daemon postinst
2+
#To reconfigure clamd run #dpkg-reconfigure clamav-daemon
3+
#Please read /usr/share/doc/clamav-daemon/README.Debian.gz for details
44
LocalSocket /var/run/clamav/clamd.ctl
55
FixStaleSocket true
66
LocalSocketGroup clamav
77
LocalSocketMode 666
88
# TemporaryDirectory is not set to its default /tmp here to make overriding
99
# the default with environment variables TMPDIR/TMP/TEMP possible
1010
User clamav
11-
# AllowSupplementaryGroups true
1211
ScanMail true
1312
ScanArchive true
1413
ArchiveBlockEncrypted false
@@ -19,26 +18,38 @@ ReadTimeout 180
1918
MaxThreads 12
2019
MaxConnectionQueueLength 15
2120
LogSyslog false
21+
LogRotate true
2222
LogFacility LOG_LOCAL6
2323
LogClean false
2424
LogVerbose true
25-
PidFile /var/run/clamav/clamd.pid
25+
PreludeEnable no
26+
PreludeAnalyzerName ClamAV
2627
DatabaseDirectory /var/lib/clamav
28+
OfficialDatabaseOnly false
2729
SelfCheck 3600
2830
Foreground false
2931
Debug false
3032
ScanPE true
33+
MaxEmbeddedPE 10M
3134
ScanOLE2 true
35+
ScanPDF true
3236
ScanHTML true
37+
MaxHTMLNormalize 10M
38+
MaxHTMLNoTags 2M
39+
MaxScriptNormalize 5M
40+
MaxZipTypeRcg 1M
41+
ScanSWF true
3342
ExitOnOOM false
3443
LeaveTemporaryFiles false
3544
AlgorithmicDetection true
3645
ScanELF true
3746
IdleTimeout 30
47+
CrossFilesystems true
3848
PhishingSignatures true
3949
PhishingScanURLs true
4050
PhishingAlwaysBlockSSLMismatch false
4151
PhishingAlwaysBlockCloak false
52+
PartitionIntersection false
4253
DetectPUA false
4354
ScanPartialMessages false
4455
HeuristicScanPrecedence false
@@ -48,6 +59,23 @@ SendBufTimeout 200
4859
MaxQueue 100
4960
ExtendedDetectionInfo true
5061
OLE2BlockMacros false
62+
AllowAllMatchScan true
63+
ForceToDisk false
64+
DisableCertCheck false
65+
DisableCache false
66+
MaxScanTime 120000
67+
MaxScanSize 100M
68+
MaxFileSize 25M
69+
MaxRecursion 16
70+
MaxFiles 10000
71+
MaxPartitions 50
72+
MaxIconsPE 100
73+
PCREMatchLimit 10000
74+
PCRERecMatchLimit 5000
75+
PCREMaxFileSize 25M
76+
ScanXMLDOCS true
77+
ScanHWP3 true
78+
MaxRecHWP3 16
5179
StreamMaxLength 25M
5280
LogFile /var/log/clamav/clamav.log
5381
LogTime true
@@ -56,5 +84,5 @@ LogFileMaxSize 0
5684
Bytecode true
5785
BytecodeSecurity TrustSigned
5886
BytecodeTimeout 60000
59-
OfficialDatabaseOnly false
60-
CrossFilesystems true
87+
PidFile /var/run/clamav/clamd.pid
88+
OnAccessMaxFileSize 5M

0 commit comments

Comments
 (0)