freshclam: Configuration file for Clam AntiVirus database update tool
Command to display freshclam
manual in Linux: $ man 5 freshclam
NAME

freshclam.conf - Configuration file for Clam AntiVirus database update tool
DESCRIPTION

# Clamd uses FTP-like protocol to receive data from remote clients. # If you are using clamav -milter to balance load between remote clamd daemons # on firewall servers you may need to tune the options below. ClamXav for Mac scans your computer or selected files and folders for viruses to help keep it running smoothly. With clear controls and instructions, this program makes it easy to keep your data safe.
The file freshclam.conf configures the Clam AntiVirus Database Updater, freshclam(1).
FILE FORMAT
The file consists of comments and options with arguments. Each line which starts with a hash (#) symbol is ignored by the parser. Options and arguments are case sensitive and of the form Option Argument. The arguments are of the following types:- NUMBER
- Unsigned integer.
DIRECTIVES
When an option is not used (hashed or doesn't exist in the configuration file) freshclam takes a default action.
- Default: LOG_LOCAL6
- PidFile STRING
- This option allows you to save the process identifier of the daemon to a file specified in the argument.
Default: disabled - LogVerbose BOOL
- Enable verbose logging.
Default: disabled - DNSDatabaseInfo STRING
- This directive enables database and software version checks through DNS TXT records.
Default: enabled, pointing to current.cvd.clamav.net - DatabaseMirror STRING
- Server name where database updates are downloaded from. In order to download the database from the closest mirror you should configure freshclam to use db.xy.clamav.net where xy represents your country code. If this option is given multiple times, freshclam(1) tries them in the order given. It's strongly recommended that you use db.xy.clamav.net as the first mirror and database.clamav.net as the second.
Default: database.clamav.net - MaxAttempts NUMBER
- How many attempts (per mirror) to make before giving up.
Default: 3 (per mirror) - ScriptedUpdates BOOL
- With this option you can control scripted updates. It's highly recommended to keep it enabled.
Default: enabled - CompressLocalDatabase BOOL
- 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 - HTTPProxyServer STR, HTTPProxyPort NUMBER
- Use given proxy server and TCP port for database downloads.
- HTTPProxyUsername STR,HTTPProxyPassword STRING
- Proxy usage is authenticated through given username and password.
Default: no proxy authentication - HTTPUserAgent STRING
- 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 - LocalIPAddress IP
- Use IP as client address for downloading databases. Useful for multi homed systems.
Default: Use OS'es default outgoing IP address. - NotifyClamd STRING
- Notify a running clamd(8) to reload its database after a download has occurred. The path for clamd.conf file must be provided.
Default: The default is to not notify clamd. See clamd.conf(5)'s option SelfCheck for how clamd(8) handles database updates in this case. - OnUpdateExecute STRING
- Execute this command after the database has been successfully updated.
Default: disabled - OnOutdatedExecute STRING
- Execute this command when freshclam reports outdated version. In the command string %v will be replaced by the new version number.
Default: disabled - OnErrorExecute STRING
- Execute this command after a database update has failed.
Default: disabled - ConnectTimeout NUMBER
- Timeout in seconds when connecting to database server.
Default: 10 - ReceiveTimeout NUMBER
- Timeout in seconds when reading from database server.
Default: 30 - SubmitDetectionStats STRING
- 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. This feature requires LogTime and LogFile to be enabled in clamd.conf. The path for clamd.conf file must be provided.
Default: disabled - DetectionStatsCountry STRING
- 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
FILES

/etc/freshclam.conf
AUTHOR
Thomas Lamy <thomas.lamy [at] netwake.de>, Tomasz Kojm <tkojm [at] clamav.net>
SEE ALSO
freshclam(1), clamd.conf(5), clamd(8), clamav-milter(8), clamscan(1)
Clamav Mac Download
Pages related to freshclam
- freshclam (1) - update virus databases
- freshclam.conf (5) - Configuration file for Clam AntiVirus database update tool
- freeipmi.conf (5) - specify default values to FreeIPMI
- freeipmi (5) - specify default values to FreeIPMI
- freeipmi_interpret_sel.conf (5) - specify system event log (SEL) interpretation rules
- freeipmi_interpret_sensor.conf (5) - specify sensor interpretation rules
- freetds.conf (5) - configuration file for FreeTDS
Clamav For Linux
