source: trunk/server/fedora/config/etc/freshclam.conf @ 1939

Last change on this file since 1939 was 1321, checked in by quentin, 15 years ago
Add freshclam configuration
File size: 5.8 KB
Line 
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)
13DatabaseDirectory /var/lib/clamav
14
15# Path to the log file (make sure it has proper permissions)
16# Default: disabled
17UpdateLogFile /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.
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#DatabaseMirror db.XY.clamav.net
68
69# database.clamav.net is a round-robin record which points to our most
70# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
71# not working. DO NOT TOUCH the following line unless you know what you
72# are doing.
73DatabaseMirror database.clamav.net
74
75# How many attempts to make before giving up.
76# Default: 3 (per mirror)
77#MaxAttempts 5
78
79# With this option you can control scripted updates. It's highly recommended
80# to keep it enabled.
81# Default: yes
82#ScriptedUpdates yes
83
84# By default freshclam will keep the local databases (.cld) uncompressed to
85# make their handling faster. With this option you can enable the compression;
86# the change will take effect with the next database update.
87# Default: no
88#CompressLocalDatabase no
89
90# Number of database checks per day.
91# Default: 12 (every two hours)
92#Checks 24
93
94# Proxy settings
95# Default: disabled
96#HTTPProxyServer myproxy.com
97#HTTPProxyPort 1234
98#HTTPProxyUsername myusername
99#HTTPProxyPassword mypass
100
101# If your servers are behind a firewall/proxy which applies User-Agent
102# filtering you can use this option to force the use of a different
103# User-Agent header.
104# Default: clamav/version_number
105#HTTPUserAgent SomeUserAgentIdString
106
107# Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
108# multi-homed systems.
109# Default: Use OS'es default outgoing IP address.
110#LocalIPAddress aaa.bbb.ccc.ddd
111
112# Send the RELOAD command to clamd.
113# Default: no
114#NotifyClamd /path/to/clamd.conf
115
116# Run command after successful database update.
117# Default: disabled
118#OnUpdateExecute command
119
120# Run command when database update process fails.
121# Default: disabled
122#OnErrorExecute command
123
124# Run command when freshclam reports outdated version.
125# In the command string %v will be replaced by the new version number.
126# Default: disabled
127#OnOutdatedExecute command
128
129# Don't fork into background.
130# Default: no
131#Foreground yes
132
133# Enable debug messages in libclamav.
134# Default: no
135#Debug yes
136
137# Timeout in seconds when connecting to database server.
138# Default: 30
139#ConnectTimeout 60
140
141# Timeout in seconds when reading from database server.
142# Default: 30
143#ReceiveTimeout 60
144
145# When enabled freshclam will submit statistics to the ClamAV Project about
146# the latest virus detections in your environment. The ClamAV maintainers
147# will then use this data to determine what types of malware are the most
148# detected in the field and in what geographic area they are.
149# This feature requires LogTime and LogFile to be enabled in clamd.conf.
150# Default: no
151#SubmitDetectionStats /path/to/clamd.conf
152
153# Country of origin of malware/detection statistics (for statistical
154# purposes only). The statistics collector at ClamAV.net will look up
155# your IP address to determine the geographical origin of the malware
156# reported by your installation. If this installation is mainly used to
157# scan data which comes from a different location, please enable this
158# option and enter a two-letter code (see http://www.iana.org/domains/root/db/)
159# of the country of origin.
160# Default: disabled
161#DetectionStatsCountry country-code
162
163# This option enables support for Google Safe Browsing. When activated for
164# the first time, freshclam will download a new database file (safebrowsing.cvd)
165# which will be automatically loaded by clamd and clamscan during the next
166# reload, provided that the heuristic phishing detection is turned on. This
167# database includes information about websites that may be phishing sites or
168# possible sources of malware. When using this option, it's mandatory to run
169# freshclam at least every 30 minutes.
170# Freshclam uses the ClamAV's mirror infrastructure to distribute the
171# database and its updates but all the contents are provided under Google's
172# terms of use. See http://code.google.com/support/bin/answer.py?answer=70015
173# and http://safebrowsing.clamav.net for more information.
174# Default: disabled
175#SafeBrowsing yes
Note: See TracBrowser for help on using the repository browser.