Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/smanonr..../opt/imh-clam.../etc
File: freshclam.conf
##
[0] Fix | Delete
## Example config file for freshclam
[1] Fix | Delete
## Please read the freshclam.conf(5) manual before editing this file.
[2] Fix | Delete
##
[3] Fix | Delete
[4] Fix | Delete
[5] Fix | Delete
# Comment or remove the line below.
[6] Fix | Delete
#Example
[7] Fix | Delete
[8] Fix | Delete
# Path to the database directory.
[9] Fix | Delete
# WARNING: It must match clamd.conf's directive!
[10] Fix | Delete
# Default: hardcoded (depends on installation options)
[11] Fix | Delete
DatabaseDirectory /opt/imh-clamav/var/clamav
[12] Fix | Delete
[13] Fix | Delete
# Path to the log file (make sure it has proper permissions)
[14] Fix | Delete
# Default: disabled
[15] Fix | Delete
UpdateLogFile /opt/imh-clamav/var/log/clamav/freshclam.log
[16] Fix | Delete
[17] Fix | Delete
# Maximum size of the log file.
[18] Fix | Delete
# Value of 0 disables the limit.
[19] Fix | Delete
# You may use 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)
[20] Fix | Delete
# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes).
[21] Fix | Delete
# in bytes just don't use modifiers. If LogFileMaxSize is enabled,
[22] Fix | Delete
# log rotation (the LogRotate option) will always be enabled.
[23] Fix | Delete
# Default: 1M
[24] Fix | Delete
#LogFileMaxSize 2M
[25] Fix | Delete
[26] Fix | Delete
# Log time with each message.
[27] Fix | Delete
# Default: no
[28] Fix | Delete
#LogTime yes
[29] Fix | Delete
[30] Fix | Delete
# Enable verbose logging.
[31] Fix | Delete
# Default: no
[32] Fix | Delete
#LogVerbose yes
[33] Fix | Delete
[34] Fix | Delete
# Use system logger (can work together with UpdateLogFile).
[35] Fix | Delete
# Default: no
[36] Fix | Delete
LogSyslog yes
[37] Fix | Delete
[38] Fix | Delete
# Specify the type of syslog messages - please refer to 'man syslog'
[39] Fix | Delete
# for facility names.
[40] Fix | Delete
# Default: LOG_LOCAL6
[41] Fix | Delete
#LogFacility LOG_MAIL
[42] Fix | Delete
[43] Fix | Delete
# Enable log rotation. Always enabled when LogFileMaxSize is enabled.
[44] Fix | Delete
# Default: no
[45] Fix | Delete
#LogRotate yes
[46] Fix | Delete
[47] Fix | Delete
# This option allows you to save the process identifier of the daemon
[48] Fix | Delete
# This file will be owned by root, as long as freshclam was started by root.
[49] Fix | Delete
# It is recommended that the directory where this file is stored is
[50] Fix | Delete
# also owned by root to keep other users from tampering with it.
[51] Fix | Delete
# Default: disabled
[52] Fix | Delete
#PidFile /var/run/freshclam.pid
[53] Fix | Delete
[54] Fix | Delete
# By default when started freshclam drops privileges and switches to the
[55] Fix | Delete
# "clamav" user. This directive allows you to change the database owner.
[56] Fix | Delete
# Default: clamav (may depend on installation options)
[57] Fix | Delete
DatabaseOwner clamav
[58] Fix | Delete
[59] Fix | Delete
# Use DNS to verify virus database version. FreshClam uses DNS TXT records
[60] Fix | Delete
# to verify database and software versions. With this directive you can change
[61] Fix | Delete
# the database verification domain.
[62] Fix | Delete
# WARNING: Do not touch it unless you're configuring freshclam to use your
[63] Fix | Delete
# own database verification domain.
[64] Fix | Delete
# Default: current.cvd.clamav.net
[65] Fix | Delete
#DNSDatabaseInfo current.cvd.clamav.net
[66] Fix | Delete
[67] Fix | Delete
# database.clamav.net is now the primary domain name to be used world-wide.
[68] Fix | Delete
# Now that CloudFlare is being used as our Content Delivery Network (CDN),
[69] Fix | Delete
# this one domain name works world-wide to direct freshclam to the closest
[70] Fix | Delete
# geographic endpoint.
[71] Fix | Delete
# If the old db.XY.clamav.net domains are set, freshclam will automatically
[72] Fix | Delete
# use database.clamav.net instead.
[73] Fix | Delete
DatabaseMirror db.local.clamav.net
[74] Fix | Delete
DatabaseMirror database.clamav.net
[75] Fix | Delete
[76] Fix | Delete
# How many attempts to make before giving up.
[77] Fix | Delete
# Default: 3 (per mirror)
[78] Fix | Delete
#MaxAttempts 5
[79] Fix | Delete
[80] Fix | Delete
# With this option you can control scripted updates. It's highly recommended
[81] Fix | Delete
# to keep it enabled.
[82] Fix | Delete
# Default: yes
[83] Fix | Delete
#ScriptedUpdates yes
[84] Fix | Delete
[85] Fix | Delete
# By default freshclam will keep the local databases (.cld) uncompressed to
[86] Fix | Delete
# make their handling faster. With this option you can enable the compression;
[87] Fix | Delete
# the change will take effect with the next database update.
[88] Fix | Delete
# Default: no
[89] Fix | Delete
#CompressLocalDatabase no
[90] Fix | Delete
[91] Fix | Delete
# With this option you can provide custom sources for database files.
[92] Fix | Delete
# This option can be used multiple times. Support for:
[93] Fix | Delete
# http(s)://, ftp(s)://, or file://
[94] Fix | Delete
# Default: no custom URLs
[95] Fix | Delete
#DatabaseCustomURL http://myserver.example.com/mysigs.ndb
[96] Fix | Delete
#DatabaseCustomURL https://myserver.example.com/mysigs.ndb
[97] Fix | Delete
#DatabaseCustomURL https://myserver.example.com:4567/whitelist.wdb
[98] Fix | Delete
#DatabaseCustomURL ftp://myserver.example.com/example.ldb
[99] Fix | Delete
#DatabaseCustomURL ftps://myserver.example.com:4567/example.ndb
[100] Fix | Delete
#DatabaseCustomURL file:///mnt/nfs/local.hdb
[101] Fix | Delete
[102] Fix | Delete
# This option allows you to easily point freshclam to private mirrors.
[103] Fix | Delete
# If PrivateMirror is set, freshclam does not attempt to use DNS
[104] Fix | Delete
# to determine whether its databases are out-of-date, instead it will
[105] Fix | Delete
# use the If-Modified-Since request or directly check the headers of the
[106] Fix | Delete
# remote database files. For each database, freshclam first attempts
[107] Fix | Delete
# to download the CLD file. If that fails, it tries to download the
[108] Fix | Delete
# CVD file. This option overrides DatabaseMirror, DNSDatabaseInfo
[109] Fix | Delete
# and ScriptedUpdates. It can be used multiple times to provide
[110] Fix | Delete
# fall-back mirrors.
[111] Fix | Delete
# Default: disabled
[112] Fix | Delete
#PrivateMirror mirror1.example.com
[113] Fix | Delete
#PrivateMirror mirror2.example.com
[114] Fix | Delete
[115] Fix | Delete
# Number of database checks per day.
[116] Fix | Delete
# Default: 12 (every two hours)
[117] Fix | Delete
#Checks 24
[118] Fix | Delete
[119] Fix | Delete
# Proxy settings
[120] Fix | Delete
# The HTTPProxyServer may be prefixed with [scheme]:// to specify which kind
[121] Fix | Delete
# of proxy is used.
[122] Fix | Delete
# http:// HTTP Proxy. Default when no scheme or proxy type is specified.
[123] Fix | Delete
# https:// HTTPS Proxy. (Added in 7.52.0 for OpenSSL, GnuTLS and NSS)
[124] Fix | Delete
# socks4:// SOCKS4 Proxy.
[125] Fix | Delete
# socks4a:// SOCKS4a Proxy. Proxy resolves URL hostname.
[126] Fix | Delete
# socks5:// SOCKS5 Proxy.
[127] Fix | Delete
# socks5h:// SOCKS5 Proxy. Proxy resolves URL hostname.
[128] Fix | Delete
# Default: disabled
[129] Fix | Delete
#HTTPProxyServer https://proxy.example.com
[130] Fix | Delete
#HTTPProxyPort 1234
[131] Fix | Delete
#HTTPProxyUsername myusername
[132] Fix | Delete
#HTTPProxyPassword mypass
[133] Fix | Delete
[134] Fix | Delete
# If your servers are behind a firewall/proxy which applies User-Agent
[135] Fix | Delete
# filtering you can use this option to force the use of a different
[136] Fix | Delete
# User-Agent header.
[137] Fix | Delete
# As of ClamAV 0.103.3, this setting may not be used when updating from the
[138] Fix | Delete
# clamav.net CDN and can only be used when updating from a private mirror.
[139] Fix | Delete
# Default: clamav/version_number (OS: ..., ARCH: ..., CPU: ..., UUID: ...)
[140] Fix | Delete
#HTTPUserAgent SomeUserAgentIdString
[141] Fix | Delete
[142] Fix | Delete
# Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
[143] Fix | Delete
# multi-homed systems.
[144] Fix | Delete
# Default: Use OS'es default outgoing IP address.
[145] Fix | Delete
#LocalIPAddress aaa.bbb.ccc.ddd
[146] Fix | Delete
[147] Fix | Delete
# Send the RELOAD command to clamd.
[148] Fix | Delete
# Default: no
[149] Fix | Delete
NotifyClamd /etc/clamd.conf
[150] Fix | Delete
[151] Fix | Delete
# Run command after successful database update.
[152] Fix | Delete
# Use EXIT_1 to return 1 after successful database update.
[153] Fix | Delete
# Default: disabled
[154] Fix | Delete
#OnUpdateExecute command
[155] Fix | Delete
[156] Fix | Delete
# Run command when database update process fails.
[157] Fix | Delete
# Default: disabled
[158] Fix | Delete
#OnErrorExecute command
[159] Fix | Delete
[160] Fix | Delete
# Run command when freshclam reports outdated version.
[161] Fix | Delete
# In the command string %v will be replaced by the new version number.
[162] Fix | Delete
# Default: disabled
[163] Fix | Delete
#OnOutdatedExecute command
[164] Fix | Delete
[165] Fix | Delete
# Don't fork into background.
[166] Fix | Delete
# Default: no
[167] Fix | Delete
#Foreground yes
[168] Fix | Delete
[169] Fix | Delete
# Enable debug messages in libclamav.
[170] Fix | Delete
# Default: no
[171] Fix | Delete
#Debug yes
[172] Fix | Delete
[173] Fix | Delete
# Timeout in seconds when connecting to database server.
[174] Fix | Delete
# Default: 30
[175] Fix | Delete
#ConnectTimeout 60
[176] Fix | Delete
[177] Fix | Delete
# Maximum time in seconds for each download operation. 0 means no timeout.
[178] Fix | Delete
# Default: 0
[179] Fix | Delete
#ReceiveTimeout 1800
[180] Fix | Delete
[181] Fix | Delete
# With this option enabled, freshclam will attempt to load new databases into
[182] Fix | Delete
# memory to make sure they are properly handled by libclamav before replacing
[183] Fix | Delete
# the old ones.
[184] Fix | Delete
# Tip: This feature uses a lot of RAM. If your system has limited RAM and you
[185] Fix | Delete
# are actively running ClamD or ClamScan during the update, then you may need
[186] Fix | Delete
# to set `TestDatabases no`.
[187] Fix | Delete
# Default: yes
[188] Fix | Delete
#TestDatabases no
[189] Fix | Delete
[190] Fix | Delete
# This option enables downloading of bytecode.cvd, which includes additional
[191] Fix | Delete
# detection mechanisms and improvements to the ClamAV engine.
[192] Fix | Delete
# Default: yes
[193] Fix | Delete
#Bytecode no
[194] Fix | Delete
[195] Fix | Delete
# Include an optional signature databases (opt-in).
[196] Fix | Delete
# This option can be used multiple times.
[197] Fix | Delete
#ExtraDatabase dbname1
[198] Fix | Delete
#ExtraDatabase dbname2
[199] Fix | Delete
[200] Fix | Delete
# Exclude a standard signature database (opt-out).
[201] Fix | Delete
# This option can be used multiple times.
[202] Fix | Delete
#ExcludeDatabase dbname1
[203] Fix | Delete
#ExcludeDatabase dbname2
[204] Fix | Delete
[205] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function