ICAPSettings

March 5, 2024

ID 201129

Specifies ICAP settings for Kaspersky Scan Engine.

Path

ICAPSettings

Attributes

This element has no attributes.

Nested elements

This element is a container for the following nested elements:

Example

The following is an example of an ICAPSettings element.

<ICAPSettings>

<Port>1344</Port>

<ReqModeAddress>req</ReqModeAddress>

<RespModeAddress>resp</RespModeAddress>

<MaxIcapSessionsCount>100</MaxIcapSessionsCount>

<ScanMaxFileSize>0</ScanMaxFileSize> <!-- 0 = unlimited -->

<RAMUsageLimit>0</RAMUsageLimit> <!-- 0 = unlimited -->

<Allow204>0</Allow204>

<KeepAliveSettings><!-- Support for processing multiple requests during one connection -->

<Enabled>1</Enabled>

<TimeoutMs>5000</TimeoutMs>

<MaxRequests>1000</MaxRequests>

</KeepAliveSettings>

<RequestingICAPHeaders>

<ICAPHeader>HTTPUserNameICAPHeader</ICAPHeader>

<ICAPHeader>HTTPClientIpICAPHeader</ICAPHeader>

</RequestingICAPHeaders>

<HTTPClientIpICAPHeader>X-Client-IP</HTTPClientIpICAPHeader>

<HTTPUserNameICAPHeader>X-Client-Username</HTTPUserNameICAPHeader>

<VirusNameICAPHeader></VirusNameICAPHeader>

<DatabaseVersionICAPHeader>X-AV-Database-time</DatabaseVersionICAPHeader>

<SendInfectionFoundICAPHeader>0</SendInfectionFoundICAPHeader>

<SendResponseDescICAPHeader>0</SendResponseDescICAPHeader>

<SendResponseInfoICAPHeader>0</SendResponseInfoICAPHeader>

<SendViolationsFoundICAPHeader>0</SendViolationsFoundICAPHeader>

<ScanInReqMode>All</ScanInReqMode>

<ScanInRespMode>Content</ScanInRespMode>

<RulesFilePath>/opt/kaspersky/ScanEngine/icap_data/kavicapd_gui_rules.conf</RulesFilePath>

<CmdPath>/opt/kaspersky/ScanEngine/icap_data/scripts</CmdPath>

<ResponsesPath>/opt/kaspersky/ScanEngine/icap_data/templates</ResponsesPath>

<TransferBeforeScanEnding Delay="10" ChunkSize="4" BlockedUrlCacheEnabled="1" BlockedUrlCacheKb="5000" BlockedUrlCacheTtlSec="1800">0</TransferBeforeScanEnding>

<Exclusions>

<!-- Signs of highly likely uninfected resources. -->

<!-- Note: ContentSize - more or equal (use only once), ContentType - as is, RequestURL - masks can be used -->

<!--

<ContentSize>102400</ContentSize>

<ContentType>audio/mpeg</ContentType>

<ContentType>image/jpeg</ContentType>

<RequestURL>*.kaspersky.com/.*</RequestURL>

-->

</Exclusions>

<!-- Possible values: update, reload, reopen-log (reopens syslog format log files) -->

<USR1SignalAction>update</USR1SignalAction>

<USR2SignalAction>reopen-log</USR2SignalAction>

<!-- The path to the logging configuration file. Only this file will be used as the ICAP logging configuration file. If the LoggingConfigFilePath element has the empty value, the icapdkavlog.conf file located in the kavicapd binary file directory is used. -->

<LoggingConfigFilePath></LoggingConfigFilePath>

</ICAPSettings>

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.