Subversion Repositories configs

Rev

Rev 200 | Details | Compare with Previous | 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.
200 - 8
#Example
192 - 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
197 - 50
# This file will be owned by root, as long as freshclam was started by root.
51
# It is recommended that the directory where this file is stored is
52
# also owned by root to keep other users from tampering with it.
192 - 53
# Default: disabled
54
#PidFile /var/run/freshclam.pid
55
 
56
# By default when started freshclam drops privileges and switches to the
57
# "clamav" user. This directive allows you to change the database owner.
58
# Default: clamav (may depend on installation options)
200 - 59
#DatabaseOwner clamupdate
192 - 60
 
203 - 61
# Use DNS to verify virus database version. FreshClam uses DNS TXT records
192 - 62
# to verify database and software versions. With this directive you can change
63
# the database verification domain.
64
# WARNING: Do not touch it unless you're configuring freshclam to use your
65
# own database verification domain.
66
# Default: current.cvd.clamav.net
67
#DNSDatabaseInfo current.cvd.clamav.net
68
 
69
# database.clamav.net is now the primary domain name to be used world-wide.
70
# Now that CloudFlare is being used as our Content Delivery Network (CDN),
71
# this one domain name works world-wide to direct freshclam to the closest
72
# geographic endpoint.
73
# If the old db.XY.clamav.net domains are set, freshclam will automatically
74
# use database.clamav.net instead.
200 - 75
DatabaseMirror database.clamav.net
192 - 76
 
77
# How many attempts to make before giving up.
78
# Default: 3 (per mirror)
79
#MaxAttempts 5
80
 
81
# With this option you can control scripted updates. It's highly recommended
82
# to keep it enabled.
83
# Default: yes
84
#ScriptedUpdates yes
85
 
86
# By default freshclam will keep the local databases (.cld) uncompressed to
87
# make their handling faster. With this option you can enable the compression;
88
# the change will take effect with the next database update.
89
# Default: no
90
#CompressLocalDatabase no
91
 
92
# With this option you can provide custom sources for database files.
93
# This option can be used multiple times. Support for:
94
#   http(s)://, ftp(s)://, or file://
95
# Default: no custom URLs
96
#DatabaseCustomURL http://myserver.example.com/mysigs.ndb
97
#DatabaseCustomURL https://myserver.example.com/mysigs.ndb
98
#DatabaseCustomURL https://myserver.example.com:4567/whitelist.wdb
99
#DatabaseCustomURL ftp://myserver.example.com/example.ldb
100
#DatabaseCustomURL ftps://myserver.example.com:4567/example.ndb
101
#DatabaseCustomURL file:///mnt/nfs/local.hdb
102
 
103
# This option allows you to easily point freshclam to private mirrors.
104
# If PrivateMirror is set, freshclam does not attempt to use DNS
105
# to determine whether its databases are out-of-date, instead it will
106
# use the If-Modified-Since request or directly check the headers of the
107
# remote database files. For each database, freshclam first attempts
108
# to download the CLD file. If that fails, it tries to download the
109
# CVD file. This option overrides DatabaseMirror, DNSDatabaseInfo
110
# and ScriptedUpdates. It can be used multiple times to provide
111
# fall-back mirrors.
112
# Default: disabled
113
#PrivateMirror mirror1.example.com
114
#PrivateMirror mirror2.example.com
115
 
116
# Number of database checks per day.
117
# Default: 12 (every two hours)
118
#Checks 24
119
 
120
# Proxy settings
121
# The HTTPProxyServer may be prefixed with [scheme]:// to specify which kind
122
# of proxy is used.
123
#   http://     HTTP Proxy. Default when no scheme or proxy type is specified.
124
#   https://    HTTPS Proxy. (Added in 7.52.0 for OpenSSL, GnuTLS and NSS)
125
#   socks4://   SOCKS4 Proxy.
126
#   socks4a://  SOCKS4a Proxy. Proxy resolves URL hostname.
127
#   socks5://   SOCKS5 Proxy.
128
#   socks5h://  SOCKS5 Proxy. Proxy resolves URL hostname.
129
# Default: disabled
130
#HTTPProxyServer https://proxy.example.com
131
#HTTPProxyPort 1234
132
#HTTPProxyUsername myusername
133
#HTTPProxyPassword mypass
134
 
135
# If your servers are behind a firewall/proxy which applies User-Agent
136
# filtering you can use this option to force the use of a different
137
# User-Agent header.
203 - 138
# As of ClamAV 0.103.3, this setting may not be used when updating from the
139
# clamav.net CDN and can only be used when updating from a private mirror.
140
# Default: clamav/version_number (OS: ..., ARCH: ..., CPU: ..., UUID: ...)
192 - 141
#HTTPUserAgent SomeUserAgentIdString
142
 
143
# Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
144
# multi-homed systems.
145
# Default: Use OS'es default outgoing IP address.
146
#LocalIPAddress aaa.bbb.ccc.ddd
147
 
148
# Send the RELOAD command to clamd.
149
# Default: no
150
#NotifyClamd /path/to/clamd.conf
151
 
152
# Run command after successful database update.
200 - 153
# Use EXIT_1 to return 1 after successful database update.
192 - 154
# Default: disabled
155
#OnUpdateExecute command
156
 
157
# Run command when database update process fails.
158
# Default: disabled
159
#OnErrorExecute command
160
 
161
# Run command when freshclam reports outdated version.
162
# In the command string %v will be replaced by the new version number.
163
# Default: disabled
164
#OnOutdatedExecute command
165
 
166
# Don't fork into background.
167
# Default: no
168
#Foreground yes
169
 
170
# Enable debug messages in libclamav.
171
# Default: no
172
#Debug yes
173
 
174
# Timeout in seconds when connecting to database server.
175
# Default: 30
176
#ConnectTimeout 60
177
 
197 - 178
# Maximum time in seconds for each download operation. 0 means no timeout.
192 - 179
# Default: 0
180
#ReceiveTimeout 1800
181
 
203 - 182
# With this option enabled, freshclam will attempt to load new databases into
183
# memory to make sure they are properly handled by libclamav before replacing
184
# the old ones.
185
# Tip: This feature uses a lot of RAM. If your system has limited RAM and you
186
# are actively running ClamD or ClamScan during the update, then you may need
187
# to set `TestDatabases no`.
192 - 188
# Default: yes
203 - 189
#TestDatabases no
192 - 190
 
191
# This option enables downloading of bytecode.cvd, which includes additional
192
# detection mechanisms and improvements to the ClamAV engine.
193
# Default: yes
194
#Bytecode no
195
 
196
# Include an optional signature databases (opt-in).
197
# This option can be used multiple times.
198
#ExtraDatabase dbname1
199
#ExtraDatabase dbname2
200
 
201
# Exclude a standard signature database (opt-out).
202
# This option can be used multiple times.
203
#ExcludeDatabase dbname1
204
#ExcludeDatabase dbname2