The component uses configuration parameters which are specified in [NetCheck] section of the integrated configuration file of Dr.Web for UNIX File Servers.
The section contains the following parameters:
LogLevel = {logging level}
|
Logging level for the distributed scanning agent Dr.Web Network Checker.
If the parameter is not specified, the DefaultLogLevel parameter value from [Root]section is used.
|
Default value:
LogLevel = Notice
|
Log = {log type}
|
Logging method for the distributed scanning agent Dr.Web Network Checker.
|
Default value:
Log = Auto
|
ExePath = {path to file}
|
Path to the executable of Dr.Web Network Checker.
|
Default value:
ExePath = <opt_dir>/bin/drweb-netcheck
For Linux:
ExePath = /opt/drweb.com/bin/drweb-netcheck
For FreeBSD:
ExePath = /usr/local/libexec/drweb.com/bin/drweb-netcheck
For Solaris:
ExePath = /opt/drweb.com/bin/drweb-netcheck
|
LoadBalanceUseSsl = {boolean}
|
The indicator which determines whether a secure SSL connection is used for connection to other hosts.
Allowed values:
•Yes—instructs to use SSL •No—instructs not to use SSL |
Default value:
LoadBalanceUseSsl = No
|
LoadBalanceSslCertificate = {path to file}
|
Path to the file with the server certificate used by the distributed scanning agent for communication with other hosts via a secure SSL connection.
|
Default value:
LoadBalanceSslCertificate =
|
LoadBalanceSslKey = {path to file}
|
Path to the private key file used by the distributed scanning agent for communication with other hosts via a secure SSL connection.
|
Default value:
LoadBalanceSslKey =
|
LoadBalanceSslCa = {path to file}
|
Path to the file with the root certificate which authenticates certificates used by the "scanning cluster" agents when exchanging data via SSL.
|
Default value:
LoadBalanceSslCa =
|
LoadBalanceServerSocket = {address}
|
Socket (IP address and port) which is listened on the station by the distributed scanning agent for receiving files to check sent by remote stations (if the station can operate as a scanning server).
|
Default value:
LoadBalanceServerSocket =
|
LoadBalanceAllowFrom = {IP address}
|
IP address of a remote station from which the distributed scanning agent can receive files to check (as a scanning server).
If the parameter is empty, removed files cannot be received for scanning (the station does not operate as a scanning server).
You can specify a list as the parameter value. The values in the list must be separated with commas and enclosed in quotation marks. The parameter can be specified more than once in the section (in this case, all its values are combined into one list).
|
Default value:
LoadBalanceAllowFrom =
|
LoadBalanceSourceAddress = {IP address}
|
IP address of an interface used on the station by the distributed scanning agent for transferring files for their remote check (if the station operates as a scanning server and has several network interfaces).
If an empty value is specified, the network interface automatically selected by the OS kernel is used.
|
Default value:
LoadBalanceSourceAddress =
|
LoadBalanceTo = {address}
|
Socket (IP address or port) of a remote station to which the distributed scanning agent can send files to check (as a network scanning client).
If the parameter value is empty, local files cannot be transferred for a remote check (the station does not operate as a network scanning client).
You can specify a list as the parameter value. The values in the list must be separated with commas and enclosed in quotation marks. The parameter can be specified more than once in the section (in this case, all its values are combined into one list).
|
Default value:
LoadBalanceTo =
|
LoadBalanceStatusInterval = {time interval}
|
Time interval between when the station sends information about its workload to all scanning clients (specified in LoadBalanceAllowFrom parameter).
|
Default value:
LoadBalanceStatusInterval = 1s
|
SpoolDir = {path to directory}
|
File system directory used to store files sent over the network for scanning and received by the distributed scanning agent.
|
Default value:
SpoolDir = /tmp/netcheck
|
LocalScanPreference = {fractional number}
|
Relative weight (priority) of the station used when a station for a file check is selected (a local file or a file received over the network).
If the relative weight of the local station is greater than the weights of all stations available as scanning servers, files are scanned locally.
|
Default value:
LocalScanPreference = 1
|
IdleTimeLimit = {time interval}
|
Maximum time that the component can remain idle. If the specified value is exceeded, the component shuts down.
Minimum value — 10s.
If the LoadBalanceAllowFrom parameter is running, this setting is ignored (the component does not finish its operation after the time interval expires).
|
Default value:
IdleTimeLimit = 30s
|
RunAsUser = {UID | user name}
|
Name of the user whose privileged are used for running the component for distributed scanning service. The user name can be specified as the user's UID or as the user's login. If the user name consists of numbers, it is specified with the name: prefix, for example:
RunAsUser = name:123456
If a user name is not specified, the component terminates with an error after the startup.
|
Default value:
RunAsUser = drweb
|
|