Service configuration file ./bin/kavhttpd.conf specifies general settings for KAV HTTPD and KAV SDK which is a part of KAV HTTPD. This file is in XML format and has several groups of parameters.
Note that proxy credentials are kept in plain text in this configuration file. You must allow access to this file only for the user that runs KAV HTTPD.
ServerSettings
Following parameters specify settings for KAV HTTPD:
PidPath specifies the name and the location of the .pid file.By default, this value is kavhttpd.pid.
MaxHTTPSessionsNum specifies the maximum number of active HTTP sessions that are handled by KAV HTTPD simultaneously. Extra connections are dropped by KAV HTTPD.By default, this value is 10.
MaxTCPFileSize specifies the maximum size of the file contents which can be passed to KAV HTTPD, in bytes.By default, this value is 102400000.
ConnectionString specifies the IP address and the port for KAV HTTPD, or a path to the unix socket used by KAV HTTPD.By default, this value is /tmp/.kavhttpd and a unix socket connection is used. You can specify an IP address and a port for TCP connection in the following format: ip_addr:port.
SessionTimeout specifies the timeout for processing the request and sending the response, in milliseconds.By default, this value is 10000. To use an infinite timeout, set this value to 0.
KAVScanningSettings
Following parameters specify scanning settings for KAV SDK, which is a part of KAV HTTPD:
ScannersCount specifies the number of scanning processes.By default, this value is 16.
ThreadsCount specifies the maximum number of simultaneously running scanning threads.By default, this value is 16.
QueueLen specifies the maximum length of the queue for scan tasks.By default, this value is 1024.
DirectorySettings
Following parameters specify directory settings for KAV SDK, which is a part of KAV HTTPD:
BasesPath specifies a directory where the databases are located.By default, this value is bases.
TempPath specifies a directory where temporary files are stored.By default, this value is /tmp.
LicensePath specifies a directory where the license key files are stored.By default, this value is empty, KAV HTTPD looks for the license key files in the current directory.
UseHTTPProxy and HTTPProxy
Following parameters specify proxy settings for KAV SDK, which is a part of KAV HTTPD:
UseHTTPProxy specifies whether KAV HTTPD uses proxy when making requests to the Kaspersky Lab cloud services.By default, this value is 0 and using proxy is disabled. To enable using a proxy, set this value to 1.
HTTPProxy contains proxy settings.url is the address of the proxy.port is the port of the proxy.user is the username for the proxy authentication.pass is the password for the proxy authentication.