Configuration Parameters

The component uses configuration parameters which are specified in [Update] 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 Dr.Web Updater.

If the parameter value is not specified, the value of DefaultLogLevel from [Root] section is used.

Default value:

LogLevel = Notice

Log = {log type}

Logging method for Dr.Web Updater.

Default value:

Log = Auto

ExePath = {path to file}

Executable path of Dr.Web Updater.

Default value:

ExePath = <opt_dir>/bin/drweb-update

For Linux:

ExePath = /opt/drweb.com/bin/drweb-update

For FreeBSD:

ExePath = /usr/local/libexec/drweb.com/bin/drweb-update

For Solaris:

ExePath = /opt/drweb.com/bin/drweb-update

UpdateInterval = {time interval}

The frequency to check for updates available for virus databases and anti-virus engine. This is a time period between a previous successful update (initiated automatically or manually) and the next attempt to perform an update.

Default value:

UpdateInterval = 30m

RetryInterval = {time interval}

Frequency of repeated update attempts if the previous update failed.

The parameter can have a value of 1m to 30m.

Default value:

RetryInterval = 3m

MaxRetries = {integer}

Number of repeated attempts to perform an update (at the rate specified in RetryInterval) if the previous attempt failed.

If the value is set to 0, repeated attempts are not made (the next update will be performed after the time period specified in UpdateInterval).

Default value:

MaxRetries = 3

Proxy = {connection string}

Parameters that configure connection to the proxy server used by Dr.Web Updater to connect to Doctor Web update servers (for example, if direct connections to external servers is prohibited by the security policies of your network).

If the parameter value is not specified, the proxy server is not used.

Allowed values:

<connection string> — Proxy server connection string. The string has the following format (URL):

[<protocol>://][<user>:<password>@]<proxyhost>:<port>

where

<protocol> — Type of the used protocol (in the current version, only http is available).

<user> — Name of the user for connection to proxy.

<password> — Password for connection to proxy.

<proxyhost> — Address of the host where the proxy operates (IP address or domain name).

<port> — Used port.

The <protocol> and <user>:<password> parameters can be absent. The address of proxy <proxyhost>:<port> is obligatory.

If the user name (<user>) or password (<password>) contains the following characters: '@', '%' or ':', these characters must be changed to the following codes: "%40", "%25", and "%3A" respectively.

Examples:

1.In the configuration file:

Connection to proxy on host proxyhost.company.org using port 123:

Proxy = proxyhost.company.org:123

Connection to proxy on host 10.26.127.0 using port 3336 over http: protocol as user "legaluser" with password "passw":

Proxy = http://legaluser:passw@10.26.127.0:3336

Connection to proxy on host 10.26.127.0 using port 3336 "user@company.com" with password ''passw%123:":

Proxy = user%40company.com:passw%25123%3A@10.26.127.0:3336

2.Using command drweb-ctl cfset for specifying the same parameters:

drweb-ctl cfset Update.Proxy proxyhost.company.org:123

drweb-ctl cfset Update.Proxy http://legaluser:passw@10.26.127.0:3336

drweb-ctl cfset Update.Proxy user%40company.com:passw%25123%3A@10.26.127.0:3336

Default value:

Proxy =

ExcludedFiles = {file name}

Name of the file that is not updated by Dr.Web Updater.

You can specify a comma-separated list as the parameter value. The parameter can be specified more than once in the section.

In this case, values in the list must be separated with commas and enclosed in quotation marks:

ExcludedFiles = "file1", "file2"

It is recommended to specify one value per line: in this case, quotation marks can be omitted:

ExcludedFiles = file1

ExcludedFiles = file2

Default value:

ExcludedFiles = drweb32.lst

NetworkTimeout = {time interval}

Network operation timeout for updating.

This parameter is useful when a connection is temporarily lost: if the connection is established again before the time-out expires, the interrupted updating process will be continued.

Specifying the time out value larger than 75s has no effect as the connection is closed by TCP timeout. The minimum allowed value is 5s.

Default value:

NetworkTimeout = 60s

BaseDrlPath = {path to file}

Path to the used signed file that contains the list of update servers and is used by the updating component

Default value:

BaseDrlPath = <var_dir>/bases/update.drl

For Linux:

BaseDrlPath = /var/opt/drweb.com/bases/update.drl

For FreeBSD:

BaseDrlPath = /var/drweb.com/bases/update.drl

For Solaris:

BaseDrlPath = /var/opt/drweb.com/bases/update.drl

BaseCustomDrlPath = {path to file}

Path to the used signed file that contains an additional list of update servers and is used by the updating component

Default value:

BaseCustomDrlPath = <var_dir>/drl/custom.drl

For Linux:

BaseCustomDrlPath = /var/opt/drweb.com/drl/custom.drl

For FreeBSD:

BaseCustomDrlPath = /var/drweb.com/drl/custom.drl

For Solaris:

BaseCustomDrlPath = /var/opt/drweb.com/drl/custom.drl

BaseUpdateEnabled = {boolean}

Indicator that shows whether or not updating of virus databases is allowed.

Allowed values:

Yes — updating is allowed and will be performed.

No — updating is not allowed and will not be performed.

Default value:

BaseUpdateEnabled = Yes

VersionDrlPath = {path to file}

Path to the used signed file that contains the list of update servers and is used by the updating components of Dr.Web for UNIX File Servers.

Default value:

VersionDrlPath =

VersionUpdateEnabled = {boolean}

Indicator that shows whether or not updating of Dr.Web for UNIX File Servers components is allowed.

Allowed values:

Yes — updating is allowed and will be performed.

No — updating is not allowed and will not be performed.

Default value:

VersionUpdateEnabled = No

DwsDrlPath = {path to file}

The parameter is not used.

Default value:

DwsDrlPath = <var_dir>/dws/update.drl

For Linux:

DwsDrlPath = /var/opt/drweb.com/dws/update.drl

For FreeBSD:

DwsDrlPath = /var/drweb.com/dws/update.drl

For Solaris:

DwsDrlPath = /var/opt/drweb.com/dws/update.drl

DwsCustomDrlPath = {path to file}

The parameter is not used.

Default value:

DwsCustomDrlPath = <var_dir>/dws/custom.drl

For Linux:

DwsCustomDrlPath = /var/opt/drweb.com/dws/custom.drl

For FreeBSD:

DwsCustomDrlPath = /var/drweb.com/dws/custom.drl

For Solaris:

DwsCustomDrlPath = /var/opt/drweb.com/dws/custom.drl

DwsUpdateEnabled = {boolean}

The parameter is not used.

Default value:

DwsUpdateEnabled = Yes

RunAsUser = {UID | user name}

Name of the user whose privileged are used for running the updating component. 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