Subversion Repositories configs

Rev

Rev 197 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
##
2
## Example config file for freshclam
3
## Please read the freshclam.conf(5) manual before editing this file.
4
##
5
 
6
 
7
# Comment or remove the line below.
8
#Example
9
 
10
# Path to the database directory.
11
# WARNING: It must match clamd.conf's directive!
12
# Default: hardcoded (depends on installation options)
13
#DatabaseDirectory /var/lib/clamav
14
 
15
# Path to the log file (make sure it has proper permissions)
16
# Default: disabled
17
#UpdateLogFile /var/log/freshclam.log
18
 
19
# Maximum size of the log file.
20
# Value of 0 disables the limit.
21
# You may use 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)
22
# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes).
23
# in bytes just don't use modifiers. If LogFileMaxSize is enabled,
24
# log rotation (the LogRotate option) will always be enabled.
25
# Default: 1M
26
#LogFileMaxSize 2M
27
 
28
# Log time with each message.
29
# Default: no
30
#LogTime yes
31
 
32
# Enable verbose logging.
33
# Default: no
34
#LogVerbose yes
35
 
36
# Use system logger (can work together with UpdateLogFile).
37
# Default: no
38
#LogSyslog yes
39
 
40
# Specify the type of syslog messages - please refer to 'man syslog'
41
# for facility names.
42
# Default: LOG_LOCAL6
43
#LogFacility LOG_MAIL
44
 
45
# Enable log rotation. Always enabled when LogFileMaxSize is enabled.
46
# Default: no
47
#LogRotate yes
48
 
49
# This option allows you to save the process identifier of the daemon
50
# Default: disabled
51
#PidFile /var/run/freshclam.pid
52
 
53
# By default when started freshclam drops privileges and switches to the
54
# "clamav" user. This directive allows you to change the database owner.
55
# Default: clamav (may depend on installation options)
56
#DatabaseOwner clamupdate
57
 
58
# Use DNS to verify virus database version. Freshclam uses DNS TXT records
59
# to verify database and software versions. With this directive you can change
60
# the database verification domain.
61
# WARNING: Do not touch it unless you're configuring freshclam to use your
62
# own database verification domain.
63
# Default: current.cvd.clamav.net
64
#DNSDatabaseInfo current.cvd.clamav.net
65
 
66
# database.clamav.net is now the primary domain name to be used world-wide.
67
# Now that CloudFlare is being used as our Content Delivery Network (CDN),
68
# this one domain name works world-wide to direct freshclam to the closest
69
# geographic endpoint.
70
# If the old db.XY.clamav.net domains are set, freshclam will automatically
71
# use database.clamav.net instead.
72
DatabaseMirror database.clamav.net
73
 
74
# How many attempts to make before giving up.
75
# Default: 3 (per mirror)
76
#MaxAttempts 5
77
 
78
# With this option you can control scripted updates. It's highly recommended
79
# to keep it enabled.
80
# Default: yes
81
#ScriptedUpdates yes
82
 
83
# By default freshclam will keep the local databases (.cld) uncompressed to
84
# make their handling faster. With this option you can enable the compression;
85
# the change will take effect with the next database update.
86
# Default: no
87
#CompressLocalDatabase no
88
 
89
# With this option you can provide custom sources for database files.
90
# This option can be used multiple times. Support for:
91
#   http(s)://, ftp(s)://, or file://
92
# Default: no custom URLs
93
#DatabaseCustomURL http://myserver.example.com/mysigs.ndb
94
#DatabaseCustomURL https://myserver.example.com/mysigs.ndb
95
#DatabaseCustomURL https://myserver.example.com:4567/whitelist.wdb
96
#DatabaseCustomURL ftp://myserver.example.com/example.ldb
97
#DatabaseCustomURL ftps://myserver.example.com:4567/example.ndb
98
#DatabaseCustomURL file:///mnt/nfs/local.hdb
99
 
100
# This option allows you to easily point freshclam to private mirrors.
101
# If PrivateMirror is set, freshclam does not attempt to use DNS
102
# to determine whether its databases are out-of-date, instead it will
103
# use the If-Modified-Since request or directly check the headers of the
104
# remote database files. For each database, freshclam first attempts
105
# to download the CLD file. If that fails, it tries to download the
106
# CVD file. This option overrides DatabaseMirror, DNSDatabaseInfo
107
# and ScriptedUpdates. It can be used multiple times to provide
108
# fall-back mirrors.
109
# Default: disabled
110
#PrivateMirror mirror1.example.com
111
#PrivateMirror mirror2.example.com
112
 
113
# Number of database checks per day.
114
# Default: 12 (every two hours)
115
#Checks 24
116
 
117
# Proxy settings
118
# The HTTPProxyServer may be prefixed with [scheme]:// to specify which kind
119
# of proxy is used.
120
#   http://     HTTP Proxy. Default when no scheme or proxy type is specified.
121
#   https://    HTTPS Proxy. (Added in 7.52.0 for OpenSSL, GnuTLS and NSS)
122
#   socks4://   SOCKS4 Proxy.
123
#   socks4a://  SOCKS4a Proxy. Proxy resolves URL hostname.
124
#   socks5://   SOCKS5 Proxy.
125
#   socks5h://  SOCKS5 Proxy. Proxy resolves URL hostname.
126
# Default: disabled
127
#HTTPProxyServer https://proxy.example.com
128
#HTTPProxyPort 1234
129
#HTTPProxyUsername myusername
130
#HTTPProxyPassword mypass
131
 
132
# If your servers are behind a firewall/proxy which applies User-Agent
133
# filtering you can use this option to force the use of a different
134
# User-Agent header.
135
# Default: clamav/version_number
136
#HTTPUserAgent SomeUserAgentIdString
137
 
138
# Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
139
# multi-homed systems.
140
# Default: Use OS'es default outgoing IP address.
141
#LocalIPAddress aaa.bbb.ccc.ddd
142
 
143
# Send the RELOAD command to clamd.
144
# Default: no
145
#NotifyClamd /path/to/clamd.conf
146
 
147
# Run command after successful database update.
148
# Default: disabled
149
#OnUpdateExecute command
150
 
151
# Run command when database update process fails.
152
# Default: disabled
153
#OnErrorExecute command
154
 
155
# Run command when freshclam reports outdated version.
156
# In the command string %v will be replaced by the new version number.
157
# Default: disabled
158
#OnOutdatedExecute command
159
 
160
# Don't fork into background.
161
# Default: no
162
#Foreground yes
163
 
164
# Enable debug messages in libclamav.
165
# Default: no
166
#Debug yes
167
 
168
# Timeout in seconds when connecting to database server.
169
# Default: 30
170
#ConnectTimeout 60
171
 
172
# Timeout in seconds when reading from database server.
173
# Default: 0
174
#ReceiveTimeout 1800
175
 
176
# With this option enabled, freshclam will attempt to load new
177
# databases into memory to make sure they are properly handled
178
# by libclamav before replacing the old ones.
179
# Default: yes
180
#TestDatabases yes
181
 
182
# This option enables support for Google Safe Browsing. When activated for
183
# the first time, freshclam will download a new database file
184
# (safebrowsing.cvd) which will be automatically loaded by clamd and
185
# clamscan during the next reload, provided that the heuristic phishing
186
# detection is turned on. This database includes information about websites
187
# that may be phishing sites or possible sources of malware. When using this
188
# option, it's mandatory to run freshclam at least every 30 minutes.
189
# Freshclam uses the ClamAV's mirror infrastructure to distribute the
190
# database and its updates but all the contents are provided under Google's
191
# terms of use.
192
# See https://transparencyreport.google.com/safe-browsing/overview
193
# and https://www.clamav.net/documents/safebrowsing for more information.
194
# Default: no
195
#SafeBrowsing yes
196
 
197
# This option enables downloading of bytecode.cvd, which includes additional
198
# detection mechanisms and improvements to the ClamAV engine.
199
# Default: yes
200
#Bytecode no
201
 
202
# Include an optional signature databases (opt-in).
203
# This option can be used multiple times.
204
#ExtraDatabase dbname1
205
#ExtraDatabase dbname2
206
 
207
# Exclude a standard signature database (opt-out).
208
# This option can be used multiple times.
209
#ExcludeDatabase dbname1
210
#ExcludeDatabase dbname2