annotate common/freshclam.conf @ 136:765e72629b3e puppet-3.6

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