1
|
# Log additional information about the infected file, such as its
|
2
|
# size and hash, together with the virus name.
|
3
|
#ExtendedDetectionInfo yes
|
4
|
|
5
|
# Only load the official signatures published by the ClamAV project.
|
6
|
# Default: no
|
7
|
#OfficialDatabaseOnly no
|
8
|
|
9
|
# Sets the group ownership on the unix socket.
|
10
|
# Default: disabled (the primary group of the user running clamd)
|
11
|
#LocalSocketGroup virusgroup
|
12
|
|
13
|
# Sets the permissions on the unix socket to the specified mode.
|
14
|
# Default: disabled (socket is world accessible)
|
15
|
#LocalSocketMode 660
|
16
|
|
17
|
# Maximum length the queue of pending connections may grow to.
|
18
|
# Default 0.93: 15
|
19
|
# Default 0.97: 200
|
20
|
#MaxConnectionQueueLength 30
|
21
|
|
22
|
# Close the connection when the data size limit is exceeded.
|
23
|
# The value should match your MTA's limit for a maximum attachment size.
|
24
|
# Default 0.97 : 25M
|
25
|
#StreamMaxLength 0.97 10M
|
26
|
# Default 0.93: 10M
|
27
|
#StreamMaxLength 0.93 20M
|
28
|
|
29
|
# This option specifies the time (in seconds) after which clamd should
|
30
|
# timeout if a client doesn't provide any initial command after connecting.
|
31
|
# Default: 5
|
32
|
#CommandReadTimeout 5
|
33
|
|
34
|
# This option specifies how long to wait (in miliseconds) if the send buffer is full.
|
35
|
# Keep this value low to prevent clamd hanging
|
36
|
#
|
37
|
# Default: 500
|
38
|
#SendBufTimeout 200
|
39
|
|
40
|
# Maximum number of queued items (including those being processed by MaxThreads threads)
|
41
|
# It is recommended to have this value at least twice MaxThreads if possible.
|
42
|
# WARNING: you shouldn't increase this too much to avoid running out of file descriptors,
|
43
|
# the following condition should hold:
|
44
|
# MaxThreads*MaxRecursion + (MaxQueue - MaxThreads) + 6< RLIMIT_NOFILE (usual max is 1024)
|
45
|
#
|
46
|
# Default: 100
|
47
|
#MaxQueue 200
|
48
|
|
49
|
# Don't scan files and directories matching regex
|
50
|
# This directive can be used multiple times
|
51
|
# Default: scan all
|
52
|
#ExcludePath ^/proc/
|
53
|
#ExcludePath ^/sys/
|
54
|
|
55
|
# Scan files and directories on other filesystems.
|
56
|
# Default: yes
|
57
|
#CrossFilesystems yes
|
58
|
|
59
|
# Perform a database check.
|
60
|
# Default 0.97: 600 (10 min)
|
61
|
#SelfCheck 600
|
62
|
# Default 0.93: 1800 (30 min)
|
63
|
|
64
|
# Exclude a specific PUA (Possibly Unwanted Applications) category.
|
65
|
This directive can be used multiple times.
|
66
|
# See http://www.clamav.net/support/pua for the complete list of PUA
|
67
|
# categories.
|
68
|
# Default: Load all categories (if DetectPUA is activated)
|
69
|
#ExcludePUA NetTool
|
70
|
#ExcludePUA PWTool
|
71
|
# Only include a specific PUA category. This directive can be used multiple
|
72
|
# times.
|
73
|
# Default: Load all categories (if DetectPUA is activated)
|
74
|
#IncludePUA Spy
|
75
|
#IncludePUA Scanner
|
76
|
#IncludePUA RAT
|
77
|
|
78
|
# This option enables scanning within PDF files.
|
79
|
# If you turn off this option, the original files will still be scanned, but
|
80
|
# without decoding and additional processing.
|
81
|
# Default 0.97: yes
|
82
|
# Default 0.93: no
|
83
|
#ScanPDF yes
|
84
|
|
85
|
# With this option enabled OLE2 files with VBA macros, which were not
|
86
|
# detected by signatures will be marked as "Heuristics.OLE2.ContainsMacros".
|
87
|
# Default: no
|
88
|
#OLE2BlockMacros no
|
89
|
|
90
|
# Default: no
|
91
|
#MailFollowURLs 0.93 no
|
92
|
#ScanPartialMessages 0.97 yes
|
93
|
|
94
|
# Allow heuristic match to take precedence.
|
95
|
# When enabled, if a heuristic scan (such as phishingScan) detects
|
96
|
# a possible virus/phish it will stop scan immediately. Recommended, saves CPU
|
97
|
# scan-time.
|
98
|
# When disabled, virus/phish detected by heuristic scans will be reported only at
|
99
|
# the end of a scan. If an archive contains both a heuristically detected
|
100
|
# virus/phish, and a real malware, the real malware will be reported
|
101
|
|
102
|
# Default: no
|
103
|
#HeuristicScanPrecedence yes
|
104
|
##
|
105
|
## Data Loss Prevention (DLP)
|
106
|
##
|
107
|
# Enable the DLP module
|
108
|
# Default: No
|
109
|
#StructuredDataDetection yes
|
110
|
|
111
|
# This option sets the lowest number of Credit Card numbers found in a file
|
112
|
# to generate a detect.
|
113
|
# Default: 3
|
114
|
#StructuredMinCreditCardCount 5
|
115
|
# This option sets the lowest number of Social Security Numbers found
|
116
|
# in a file to generate a detect.
|
117
|
# Default: 3
|
118
|
#StructuredMinSSNCount 5
|
119
|
# With this option enabled the DLP module will search for valid
|
120
|
# SSNs formatted as xxx-yy-zzzz
|
121
|
# Default: yes
|
122
|
#StructuredSSNFormatNormal yes
|
123
|
# With this option enabled the DLP module will search for valid
|
124
|
# SSNs formatted as xxxyyzzzz
|
125
|
# Default: no
|
126
|
#StructuredSSNFormatStripped yes
|
127
|
|
128
|
sur 0.93
|
129
|
# Use slower but memory efficient decompression algorithm.
|
130
|
# only affects the bzip2 decompressor.
|
131
|
# Default: no
|
132
|
#ArchiveLimitMemoryUsage yes
|
133
|
|