Configuring Format Recognizer for use in HTTP mode

March 5, 2024

ID 179868

Format Recognizer is a component that can be used in Kaspersky Scan Engine to recognize and skip files of certain formats during the scanning process. Skipping files increases the processing speed of Kaspersky Scan Engine in HTTP mode.

Enabling Format Recognizer

To enable Format Recognizer:

  1. In the HTTP mode configuration file, locate the FormatRecognizerSettings section.

    If this section is missing, add it manually as follows:

    <FormatRecognizerSettings>

    ...

    </FormatRecognizerSettings>

  2. Within this section, in the FormatsToSkipScanning list, specify which file formats must not be scanned by Kaspersky Scan Engine, as follows:

    <FormatRecognizerSettings>

    <FormatsToSkipScanning>

    <KAV_FF_GENERAL_TXT/>

    ...

    <KAV_FF_AUDIO_WMA/>

    </FormatsToSkipScanning>

    </FormatRecognizerSettings>

  3. For the changes to take effect, restart the kavhttpd service with the following command:

    service kavhttpd restart

Format Recognizer will start recognizing and skipping files of the formats specified in the FormatsToSkipScanning list. Kaspersky Scan Engine will not scan the skipped files, which will increase its processing speed.

Disabling Format Recognizer

To disable Format Recognizer:

  1. In the HTTP mode configuration file, remove the FormatRecognizerSettings section or leave the FormatsToSkipScanning list empty.
  2. For the changes to take effect, restart the kavhttpd service with the following command:

    service kavhttpd restart

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.