Configuring Format Recognizer

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:
    • On Linux:

      /etc/init.d/kavhttpd restart

    • On Windows:

      net stop "Kaspersky ScanEngine"

      net start "Kaspersky ScanEngine"

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:
    • On Linux:

      /etc/init.d/kavhttpd restart

    • On Windows:

      net stop "Kaspersky ScanEngine"

      net start "Kaspersky ScanEngine"

Page top