95d401c4 |
##
## Example config file for freshclam |
c6dbfbcb |
## Please read the freshclam.conf(5) manual before editing this file. |
95d401c4 |
##
|
c6dbfbcb |
# Comment or remove the line below.
Example
# Path to the database directory.
# WARNING: It must match clamd.conf's directive!
# Default: hardcoded (depends on installation options) |
95d401c4 |
#DatabaseDirectory /var/lib/clamav
|
a774339c |
# Path to the log file (make sure it has proper permissions) |
c6dbfbcb |
# Default: disabled |
95d401c4 |
#UpdateLogFile /var/log/freshclam.log
|
1b38f50d |
# Maximum size of the log file.
# Value of 0 disables the limit.
# You may use 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)
# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes).
# in bytes just don't use modifiers.
# Default: 1M
#LogFileMaxSize 2M
# Log time with each message.
# Default: no
#LogTime yes
|
95d401c4 |
# Enable verbose logging. |
81837459 |
# Default: no
#LogVerbose yes |
95d401c4 |
|
8b8865d7 |
# Use system logger (can work together with UpdateLogFile). |
81837459 |
# Default: no
#LogSyslog yes |
8b8865d7 |
|
c695dab4 |
# Specify the type of syslog messages - please refer to 'man syslog' |
c6dbfbcb |
# for facility names.
# Default: LOG_LOCAL6 |
c695dab4 |
#LogFacility LOG_MAIL
|
78ca83b0 |
# This option allows you to save the process identifier of the daemon |
c6dbfbcb |
# Default: disabled |
015e31e1 |
#PidFile /var/run/freshclam.pid
|
c6dbfbcb |
# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.
# Default: clamav (may depend on installation options) |
95d401c4 |
#DatabaseOwner clamav
|
fdeade2a |
# Initialize supplementary group access (freshclam must be started by root). |
81837459 |
# Default: no
#AllowSupplementaryGroups yes |
fdeade2a |
|
c6dbfbcb |
# Use DNS to verify virus database version. Freshclam uses DNS TXT records |
efd68190 |
# to verify database and software versions. With this directive you can change
# the database verification domain. |
81837459 |
# WARNING: Do not touch it unless you're configuring freshclam to use your
# own database verification domain.
# Default: current.cvd.clamav.net |
efd68190 |
#DNSDatabaseInfo current.cvd.clamav.net |
3e92581e |
|
c6dbfbcb |
# Uncomment the following line and replace XY with your country
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list. |
f88c1788 |
# You can use db.XY.ipv6.clamav.net for IPv6 connections. |
c6dbfbcb |
#DatabaseMirror db.XY.clamav.net
# database.clamav.net is a round-robin record which points to our most
# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
# not working. DO NOT TOUCH the following line unless you know what you
# are doing. |
95d401c4 |
DatabaseMirror database.clamav.net |
3160b57a |
# How many attempts to make before giving up. |
c6dbfbcb |
# Default: 3 (per mirror)
#MaxAttempts 5 |
95d401c4 |
|
011b4f29 |
# With this option you can control scripted updates. It's highly recommended
# to keep it enabled. |
d8b95725 |
# Default: yes |
011b4f29 |
#ScriptedUpdates yes
|
d8b95725 |
# By default freshclam will keep the local databases (.cld) uncompressed to
# make their handling faster. With this option you can enable the compression;
# the change will take effect with the next database update.
# Default: no
#CompressLocalDatabase no
|
b9d1c339 |
# With this option you can provide custom sources (http:// or file://) for
# database files. This option can be used multiple times.
# Default: no custom URLs
#DatabaseCustomURL http://myserver.com/mysigs.ndb
#DatabaseCustomURL file:///mnt/nfs/local.hdb
|
c6dbfbcb |
# Number of database checks per day.
# Default: 12 (every two hours)
#Checks 24 |
95d401c4 |
|
3160b57a |
# Proxy settings |
c6dbfbcb |
# Default: disabled |
95d401c4 |
#HTTPProxyServer myproxy.com
#HTTPProxyPort 1234
#HTTPProxyUsername myusername
#HTTPProxyPassword mypass
|
8246f576 |
# If your servers are behind a firewall/proxy which applies User-Agent
# filtering you can use this option to force the use of a different
# User-Agent header.
# Default: clamav/version_number
#HTTPUserAgent SomeUserAgentIdString
|
ec159f15 |
# Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
# multi-homed systems. |
fc918fb5 |
# Default: Use OS'es default outgoing IP address.
#LocalIPAddress aaa.bbb.ccc.ddd
|
3160b57a |
# Send the RELOAD command to clamd. |
81837459 |
# Default: no
#NotifyClamd /path/to/clamd.conf |
95d401c4 |
|
c6dbfbcb |
# Run command after successful database update.
# Default: disabled |
95d401c4 |
#OnUpdateExecute command
|
c6dbfbcb |
# Run command when database update process fails.
# Default: disabled |
95d401c4 |
#OnErrorExecute command |
5951212c |
|
78675d75 |
# Run command when freshclam reports outdated version. |
9d1e45d4 |
# In the command string %v will be replaced by the new version number. |
78675d75 |
# Default: disabled
#OnOutdatedExecute command
|
5951212c |
# Don't fork into background. |
81837459 |
# Default: no
#Foreground yes |
5951212c |
# Enable debug messages in libclamav. |
81837459 |
# Default: no
#Debug yes |
7d1c492d |
# Timeout in seconds when connecting to database server. |
c27b1e2f |
# Default: 30
#ConnectTimeout 60 |
7d1c492d |
# Timeout in seconds when reading from database server.
# Default: 30
#ReceiveTimeout 60 |
64fd0bfc |
|
361b3285 |
# With this option enabled, freshclam will attempt to load new
# databases into memory to make sure they are properly handled
# by libclamav before replacing the old ones.
# Default: yes
#TestDatabases yes
|
64fd0bfc |
# When enabled freshclam will submit statistics to the ClamAV Project about
# the latest virus detections in your environment. The ClamAV maintainers
# will then use this data to determine what types of malware are the most
# detected in the field and in what geographic area they are. |
3507891f |
# Freshclam will connect to clamd in order to get recent statistics. |
64fd0bfc |
# Default: no
#SubmitDetectionStats /path/to/clamd.conf |
285d0b33 |
# Country of origin of malware/detection statistics (for statistical
# purposes only). The statistics collector at ClamAV.net will look up
# your IP address to determine the geographical origin of the malware
# reported by your installation. If this installation is mainly used to
# scan data which comes from a different location, please enable this
# option and enter a two-letter code (see http://www.iana.org/domains/root/db/)
# of the country of origin.
# Default: disabled
#DetectionStatsCountry country-code |
4b63a916 |
|
010d625d |
# This option enables support for our "Personal Statistics" service.
# When this option is enabled, the information on malware detected by
# your clamd installation is made available to you through our website.
# To get your HostID, log on http://www.stats.clamav.net and add a new
# host to your host list. Once you have the HostID, uncomment this option
# and paste the HostID here. As soon as your freshclam starts submitting
# information to our stats collecting service, you will be able to view
# the statistics of this clamd installation by logging into
# http://www.stats.clamav.net with the same credentials you used to
# generate the HostID. For more information refer to:
# http://www.clamav.net/support/faq/faq-cctts/
# This feature requires SubmitDetectionStats to be enabled.
# Default: disabled
#DetectionStatsHostID unique-id
|
4b63a916 |
# This option enables support for Google Safe Browsing. When activated for
# the first time, freshclam will download a new database file (safebrowsing.cvd)
# which will be automatically loaded by clamd and clamscan during the next
# reload, provided that the heuristic phishing detection is turned on. This |
00981f75 |
# database includes information about websites that may be phishing sites or
# possible sources of malware. When using this option, it's mandatory to run
# freshclam at least every 30 minutes. |
4b63a916 |
# Freshclam uses the ClamAV's mirror infrastructure to distribute the
# database and its updates but all the contents are provided under Google's |
00981f75 |
# terms of use. See http://code.google.com/support/bin/answer.py?answer=70015
# and http://safebrowsing.clamav.net for more information. |
4b63a916 |
# Default: disabled
#SafeBrowsing yes |
d32e0d94 |
# This option enables downloading of bytecode.cvd, which includes additional
# detection mechanisms and improvements to the ClamAV engine.
# Default: enabled
#Bytecode yes |
b4ef2964 |
# Download an additional 3rd party signature database distributed through
# the ClamAV mirrors. Here you can find a list of available databases:
# http://www.clamav.net/download/cvd/3rdparty
# This option can be used multiple times.
#ExtraDatabase dbname1
#ExtraDatabase dbname2 |