Configuring updating in HTTP mode

March 5, 2024

ID 179873

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.

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 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>httpd://example.com/update/source1</Source>

    <Source>httpd://example.com/update/source2</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

To connect to update sources, Kaspersky Scan Engine uses the connection settings defined in kavhttpd.xml.

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.

You can also update the database manually.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.