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). |
e1c3ee76 |
# in bytes just don't use modifiers. If LogFileMaxSize is enabled,
# log rotation (the LogRotate option) will always be enabled. |
1b38f50d |
# 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
|
e1c3ee76 |
# Enable log rotation. Always enabled when LogFileMaxSize is enabled. |
d3b0b428 |
# Default: no
#LogRotate yes
|
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
|
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 |
|
dd8a6b10 |
# database.clamav.net is now the primary domain name to be used world-wide.
# Now that CloudFlare is being used as our Content Delivery Network (CDN),
# this one domain name works world-wide to direct freshclam to the closest
# geographic endpoint. |
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
|
cc590e07 |
# This option allows you to easily point freshclam to private mirrors.
# If PrivateMirror is set, freshclam does not attempt to use DNS
# to determine whether its databases are out-of-date, instead it will
# use the If-Modified-Since request or directly check the headers of the
# remote database files. For each database, freshclam first attempts
# to download the CLD file. If that fails, it tries to download the
# CVD file. This option overrides DatabaseMirror, DNSDatabaseInfo |
c7c90890 |
# and ScriptedUpdates. It can be used multiple times to provide |
cc590e07 |
# fall-back mirrors.
# Default: disabled
#PrivateMirror mirror1.mynetwork.com
#PrivateMirror mirror2.mynetwork.com
|
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
|
4b63a916 |
# This option enables support for Google Safe Browsing. When activated for |
73ed335c |
# 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 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 |
964a1e73 |
# terms of use. See https://www.google.com/transparencyreport/safebrowsing
# and https://www.clamav.net/documents/safebrowsing |
b56bce5f |
# 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 |
bcf97971 |
# Download an additional 3rd party signature database distributed through |
00fb0d91 |
# the ClamAV mirrors. |
bcf97971 |
# This option can be used multiple times.
#ExtraDatabase dbname1
#ExtraDatabase dbname2 |