ICAPSettings
05 марта 2024
ID 201129
Указывает параметры ICAP для Kaspersky Scan Engine.
Путь
ICAPSettings
Атрибуты
Этот элемент не имеет атрибутов.
Вложенные элементы
Этот элемент является контейнером для следующих вложенных элементов:
- Port
- ReqModeAddress
- RespModeAddress
- MaxIcapSessionsCount
- RAMUsageLimit
- ScanMaxFileSize
- Allow204
- KeepAliveSettings
- RequestingICAPHeaders
- HTTPClientIpICAPHeader
- HTTPUserNameICAPHeader
- VirusNameICAPHeader
- DatabaseVersionICAPHeader
- SendInfectionFoundICAPHeader
- SendResponseDescICAPHeader
- SendResponseInfoICAPHeader
- SendViolationsFoundICAPHeader
- ScanInReqMode
- ScanInRespMode
- RulesFilePath
- CmdPath
- ResponsesPath
- TransferBeforeScanEnding
- Exclusions
- USR1SignalAction
- USR2SignalAction
- LoggingConfigFilePath
Пример
Ниже приведен пример элемента ICAPSettings.
<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> |