Configuring updating in HTTP mode

This section explains how to configure updating in Kaspersky Scan Engine.

Specifying the update settings

Kaspersky Scan Engine uses update settings stored in the HTTP mode configuration file. Set the necessary update settings in kavhttpd.xml before starting Kaspersky Scan Engine. For descriptions of all configuration file elements, see section "HTTP mode configuration file".

Specifying custom database update sources

Kaspersky Scan Engine updates the anti-virus database from database update sources. A database update source used by Kaspersky Scan Engine can be either default or custom. The default update sources are Kaspersky Lab update servers.

You can use the default update sources, custom update sources, or both.

To specify custom update sources:

  1. Specify custom update sources in the UpdateSources element of the kavhttpd.xml configuration file. Use a separate Source element for each source.

    To use a local directory, specify an absolute path. To use a network location, specify a URL, including the protocol. The supported protocols are HTTP and FTP.

    The following example shows two update sources:

    <UpdateSources>

    <Source>http://example1.com/updates/</Source>

    <Source>http://example2.com/updates/</Source>

    </UpdateSources>

  2. If you want to use only custom sources, set the UseOnlyCustomSources parameter of kavhttpd.xml to 1.

    If UseOnlyCustomSources is 0, Kaspersky Scan Engine uses default sources together with custom sources. In this case, Kaspersky Scan Engine first looks for updates in custom update sources.

The settings that you specified will be used after the kavhttpd service is started or restarted.

Configuring database backup

Database backup is a mechanism that protects Kaspersky Scan Engine from possible faults caused by the database update process.

By default, database backup is enabled. Kaspersky Scan Engine creates database backup copies automatically during updates. Make sure that your hard disk has enough free space for a full copy of the database.

To disable database backup,

Set the DisableBackup parameter in kavhttpd.xml to 1.

The setting that you specified will be used after the kavhttpd service is started or restarted.

Establishing connections to update sources

Kaspersky Scan Engine uses the connection settings defined in kavhttpd.xml to connect to update sources. For more information about how to configure connection settings, see section "HTTP mode configuration file".

Scheduling automatic database updates

If you want to update the database at regular intervals, use automatic updates.

By default, automatic updates are disabled.

To set up automatic updates:

  1. Set the UpdatePeriodMinutes parameter in kavhttpd.xml to the required update interval (in minutes).
  2. Restart the kavhttpd service.

Kaspersky Scan Engine will perform updates automatically.

For information on how to manually update the database, see section "Updating the anti-virus database in HTTP mode".

Page top