Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 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/spool/amavisd
14
 
15
# Path to the log file (make sure it has proper permissions)
16
# Default: disabled
17
UpdateLogFile /var/log/clamav/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.
24
# Default: 1M
25
#LogFileMaxSize 2M
26
 
27
# Log time with each message.
28
# Default: no
29
#LogTime yes
30
 
31
# Enable verbose logging.
32
# Default: no
33
#LogVerbose yes
34
 
35
# Use system logger (can work together with UpdateLogFile).
36
# Default: no
37
LogSyslog yes
38
 
39
# Specify the type of syslog messages - please refer to 'man syslog'
40
# for facility names.
41
# Default: LOG_LOCAL6
42
LogFacility LOG_MAIL
43
 
44
# This option allows you to save the process identifier of the daemon
45
# Default: disabled
46
PidFile /var/run/freshclam.pid
47
 
48
# By default when started freshclam drops privileges and switches to the
49
# "clamav" user. This directive allows you to change the database owner.
50
# Default: clamav (may depend on installation options)
51
DatabaseOwner clamav
52
 
53
# Initialize supplementary group access (freshclam must be started by root).
54
# Default: no
55
#AllowSupplementaryGroups yes
56
 
57
# Use DNS to verify virus database version. Freshclam uses DNS TXT records
58
# to verify database and software versions. With this directive you can change
59
# the database verification domain.
60
# WARNING: Do not touch it unless you're configuring freshclam to use your
61
# own database verification domain.
62
# Default: current.cvd.clamav.net
63
#DNSDatabaseInfo current.cvd.clamav.net
64
 
65
# Uncomment the following line and replace XY with your country
66
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
67
# You can use db.XY.ipv6.clamav.net for IPv6 connections.
68
#DatabaseMirror db.XY.clamav.net
69
 
70
# database.clamav.net is a round-robin record which points to our most
71
# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
72
# not working. DO NOT TOUCH the following line unless you know what you
73
# are doing.
74
DatabaseMirror db.us.clamav.net
75
DatabaseMirror db.local.clamav.net
76
DatabaseMirror db.us.clamav.net
77
DatabaseMirror db.local.clamav.net
78
 
79
# How many attempts to make before giving up.
80
# Default: 3 (per mirror)
81
#MaxAttempts 5
82
 
83
# With this option you can control scripted updates. It's highly recommended
84
# to keep it enabled.
85
# Default: yes
86
#ScriptedUpdates yes
87
 
88
# By default freshclam will keep the local databases (.cld) uncompressed to
89
# make their handling faster. With this option you can enable the compression;
90
# the change will take effect with the next database update.
91
# Default: no
92
#CompressLocalDatabase no
93
 
94
# With this option you can provide custom sources (http:// or file://) for
95
# database files. This option can be used multiple times.
96
# Default: no custom URLs
97
#DatabaseCustomURL http://myserver.com/mysigs.ndb
98
#DatabaseCustomURL file:///mnt/nfs/local.hdb
99
 
100
# Number of database checks per day.
101
# Default: 12 (every two hours)
102
#Checks 24
103
 
104
# Proxy settings
105
# Default: disabled
106
#HTTPProxyServer myproxy.com
107
#HTTPProxyPort 1234
108
#HTTPProxyUsername myusername
109
#HTTPProxyPassword mypass
110
 
111
# If your servers are behind a firewall/proxy which applies User-Agent
112
# filtering you can use this option to force the use of a different
113
# User-Agent header.
114
# Default: clamav/version_number
115
#HTTPUserAgent SomeUserAgentIdString
116
 
117
# Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
118
# multi-homed systems.
119
# Default: Use OS'es default outgoing IP address.
120
#LocalIPAddress aaa.bbb.ccc.ddd
121
 
122
# Send the RELOAD command to clamd.
123
# Default: no
124
NotifyClamd /etc/clamd.conf
125
 
126
# Run command after successful database update.
127
# Default: disabled
128
#OnUpdateExecute command
129
 
130
# Run command when database update process fails.
131
# Default: disabled
132
#OnErrorExecute command
133
 
134
# Run command when freshclam reports outdated version.
135
# In the command string %v will be replaced by the new version number.
136
# Default: disabled
137
#OnOutdatedExecute command
138
 
139
# Don't fork into background.
140
# Default: no
141
#Foreground yes
142
 
143
# Enable debug messages in libclamav.
144
# Default: no
145
#Debug yes
146
 
147
# Timeout in seconds when connecting to database server.
148
# Default: 30
149
#ConnectTimeout 60
150
 
151
# Timeout in seconds when reading from database server.
152
# Default: 30
153
#ReceiveTimeout 60
154
 
155
# With this option enabled, freshclam will attempt to load new
156
# databases into memory to make sure they are properly handled
157
# by libclamav before replacing the old ones.
158
# Default: yes
159
#TestDatabases yes
160
 
161
# When enabled freshclam will submit statistics to the ClamAV Project about
162
# the latest virus detections in your environment. The ClamAV maintainers
163
# will then use this data to determine what types of malware are the most
164
# detected in the field and in what geographic area they are.
165
# Freshclam will connect to clamd in order to get recent statistics.
166
# Default: no
167
#SubmitDetectionStats /path/to/clamd.conf
168
 
169
# Country of origin of malware/detection statistics (for statistical
170
# purposes only). The statistics collector at ClamAV.net will look up
171
# your IP address to determine the geographical origin of the malware
172
# reported by your installation. If this installation is mainly used to
173
# scan data which comes from a different location, please enable this
174
# option and enter a two-letter code (see http://www.iana.org/domains/root/db/)
175
# of the country of origin.
176
# Default: disabled
177
#DetectionStatsCountry country-code
178
 
179
# This option enables support for our "Personal Statistics" service.
180
# When this option is enabled, the information on malware detected by
181
# your clamd installation is made available to you through our website.
182
# To get your HostID, log on http://www.stats.clamav.net and add a new
183
# host to your host list. Once you have the HostID, uncomment this option
184
# and paste the HostID here. As soon as your freshclam starts submitting
185
# information to our stats collecting service, you will be able to view
186
# the statistics of this clamd installation by logging into
187
# http://www.stats.clamav.net with the same credentials you used to
188
# generate the HostID. For more information refer to:
189
# http://www.clamav.net/support/faq/faq-cctts/
190
# This feature requires SubmitDetectionStats to be enabled.
191
# Default: disabled
192
#DetectionStatsHostID unique-id
193
 
194
# This option enables support for Google Safe Browsing. When activated for
195
# the first time, freshclam will download a new database file (safebrowsing.cvd)
196
# which will be automatically loaded by clamd and clamscan during the next
197
# reload, provided that the heuristic phishing detection is turned on. This
198
# database includes information about websites that may be phishing sites or
199
# possible sources of malware. When using this option, it's mandatory to run
200
# freshclam at least every 30 minutes.
201
# Freshclam uses the ClamAV's mirror infrastructure to distribute the
202
# database and its updates but all the contents are provided under Google's
203
# terms of use. See http://code.google.com/support/bin/answer.py?answer=70015
204
# and http://safebrowsing.clamav.net for more information.
205
# Default: disabled
206
#SafeBrowsing yes
207
 
208
# This option enables downloading of bytecode.cvd, which includes additional
209
# detection mechanisms and improvements to the ClamAV engine.
210
# Default: enabled
211
#Bytecode yes
212
 
213
# Download an additional 3rd party signature database distributed through
214
# the ClamAV mirrors. Here you can find a list of available databases:
215
# http://www.clamav.net/download/cvd/3rdparty
216
# This option can be used multiple times.
217
#ExtraDatabase dbname1
218
#ExtraDatabase dbname2