The HTTP mode configuration file (hereinafter, also configuration file) is an XML file that specifies general settings for Kaspersky Scan Engine.
HTTP mode configuration file (Linux)
The Kaspersky Scan Engine distribution kit for Linux contains a %distr_kit%/etc/kavhttpd.xml
configuration file.
After installing Kaspersky Scan Engine, you can copy kavhttpd.xml
to your preferred location:
kavhttpd.xml
to the /etc/
directory, Kaspersky Scan Engine automatically finds and parses this file.kavhttpd.xml
to a different location, you must set the path to this location when you start Kaspersky Scan Engine:HTTP mode configuration file (Windows)
The Kaspersky Scan Engine distribution kit for Windows contains a %distr_kit%\bin\kavhttpd.xml
configuration file.
Parameters of the HTTP mode configuration file
Most elements of the configuration file have default values that are used when the element is absent. Elements that are present in the configuration file must not be empty, unless stated otherwise.
KAV HTTPD configuration file contains the following parent elements:
Structure of the configuration file
Following is an example of the HTTP mode configuration file.
<Configuration>
<ServerSettings> <ConnectionString>/tmp/.kavhttpd</ConnectionString> <MaxIncomingConnectionsNum>100</MaxIncomingConnectionsNum> <MaxHTTPSessionsNum>50</MaxHTTPSessionsNum> <MaxTCPFileSize>100</MaxTCPFileSize> <SessionTimeout>1000</SessionTimeout> <Flags> < < <CORS> <AccessControlAllowOrigin>https://ya.ru</AccessControlAllowOrigin> <AccessControlAllowOrigin>https://fb.com</AccessControlAllowOrigin> </CORS> <KeepAliveSettings> <Enabled>1</Enabled> <TimeoutMs>5000</TimeoutMs> <MaxRequests>1000</MaxRequests> </KeepAliveSettings> </ServerSettings>
<KSNSettings> <UrlCheckTimeoutMs>20000</UrlCheckTimeoutMs> <ObjectCheckOnDemandTimeoutMs>10000</ObjectCheckOnDemandTimeoutMs> <CacheSizeKb>30720</CacheSizeKb> </KSNSettings>
<KAVScanningSettings> <ScannersCount>4</ScannersCount> <ThreadsCount>8</ThreadsCount> <QueueLen>1024</QueueLen> <Flags>KAV_O_M_PACKED | KAV_O_M_ARCHIVED | KAV_O_M_MAILBASES | KAV_O_M_MAILPLAIN | KAV_O_M_HEURISTIC_LEVEL_DETAIL</Flags> <Mode>KAV_SKIP</Mode> <MaxArchivesScanningDepth>0</MaxArchivesScanningDepth> </KAVScanningSettings>
<DirectorySettings> <BasesPath>/home/bases</BasesPath> <TempPath>/home/temp</TempPath> <LicensePath>/home/license</LicensePath> <LicensingMode>1</LicensingMode> <ScanningPaths> <ScanningPath></ScanningPath> </ScanningPaths> </DirectorySettings>
<UseHTTPProxy>1</UseHTTPProxy>
<HTTPProxy> <url>myproxy.mycompany.com</url> <port>3128</port> <user>proxyuser</user> <pass>proxypass</pass> </HTTPProxy>
<UpdateSettings> <DisableBackup>0</DisableBackup> <UpdatePeriodMinutes>0</UpdatePeriodMinutes> <UseOnlyCustomSources>0</UseOnlyCustomSources> <UpdateSources> <Source>[update source]</Source> </UpdateSources> <UpdatesCertFile></UpdatesCertFile> <CertificateConfirmationAction>0</CertificateConfirmationAction> <UseReducedBases>0</UseReducedBases> </UpdateSettings>
<FormatRecognizerSettings> <FormatsToSkipScanning> <KAV_FF_GENERAL_TXT/> <KAV_FF_GENERAL_CSV/> <KAV_FF_AUDIO_WMA/> </FormatsToSkipScanning> </FormatRecognizerSettings>
</Configuration> |