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:
- In the HTTP mode configuration file, locate the
FormatRecognizerSettings
section.If this section is missing, add it manually as follows:
<FormatRecognizerSettings>
...
</FormatRecognizerSettings>
- 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>
- 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"
- On Linux:
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:
- In the HTTP mode configuration file, remove the
FormatRecognizerSettings
section or leave theFormatsToSkipScanning
list empty. - 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"
- On Linux: