Configuration Parameters

Top  Previous  Next

The daemon Dr.Web ConfigD uses configuration parameters which are specified in the [Root] section of the integrated configuration file of Dr.Web for UNIX.

The section contains the following parameters:

DefaultLogLevel =
{logging level}

Defines default verbosity level of event logging for all Dr.Web for UNIX components.

The value of this parameter is used for all the components in the product which do not have their own different logging levels set up in their configuration.

Default value:

DefaultLogLevel = Notice

LogLevel =
{logging level}

Logging level for configuration daemon Dr.Web ConfigD.

Default value:

LogLevel = Notice

Log =
{log type}

Logging method of the configuration daemon and logging method of those components for which another value of this parameter is not specified.

Note that upon its initial startup, before the configuration file is read, the configuration daemon uses the following values of the parameter:

As a daemon (if run with the -d option)—SYSLOG:Daemon

Otherwise — Stderr

If a component is working in a background mode (was launched with the -d option from the command line), then the Stderr value cannot be used for this parameter.

Default value:

Log = Syslog:Daemon

PublicSocketPath =
{path to file}

Path to the socket used for interaction between all Dr.Web for UNIX components.

Default value:

PublicSocketPath = /var/run/.com.drweb.public

AdminSocketPath =
{path to file}

Path to the socket used for interaction between Dr.Web for UNIX components with elevated (administrative) privileges.

Default value:

AdminSocketPath = /var/run/.com.drweb.admin

CoreEnginePath =
{path to file}

Path to the dynamic library of the anti-virus engine <%COREENGINE%>.

Default value:

CoreEnginePath = <var_dir>/lib/drweb32.dll

For Linux:

CoreEnginePath = /var/opt/drweb.com/lib/drweb32.dll

For FreeBSD:

CoreEnginePath = /var/drweb.com/lib/drweb32.dll

For Solaris:

CoreEnginePath = /var/opt/drweb.com/lib/drweb32.dll

VirusBaseDir =
{path to directory}

Path to the directory with virus database files.

Default value:

VirusBaseDir = <var_dir>/bases

For Linux:

VirusBaseDir = /var/opt/drweb.com/bases

For FreeBSD:

VirusBaseDir = /var/drweb.com/bases

For Solaris:

VirusBaseDir = /var/opt/drweb.com/bases

KeyPath =
{path to file}

Path to the product key file (license or demo).

Default value:

KeyPath = <etc_dir>/drweb32.key

For Linux:

KeyPath = /etc/opt/drweb.com/drweb32.key

For FreeBSD:

KeyPath = /usr/local/etc/drweb.com/drweb32.key

For Solaris:

KeyPath = /etc/opt/drweb.com/drweb32.key

CacheDir =
{path to directory}

Path to the cache directory (used to hold cache for updates as well as cache for information about checked files).

Default value:

CacheDir = <var_dir>/cache

For Linux:

CacheDir = /var/opt/drweb.com/cache

For FreeBSD:

CacheDir = /var/drweb.com/cache

For Solaris:

CacheDir = /var/opt/drweb.com/cache

TempDir =
{path to directory}

Path to the directory with temporary files.

Default value:

Path copied from the system’s environment variable TMPDIR, TMP, TEMP or TEMPDIR (the environment variables are searched in this particular order).
If none of these environment variables is found, then the following value is used: TempDir = /tmp.

RunDir =
{path to directory}

Path to the directory with all PID files of running components and sockets used for interaction between the product’s components.

Default value:

RunDir = /var/run

VarLibDir =
{path to directory}

Path to the directory with libraries used by product components.

Default value:

VarLibDir = <var_dir>/lib

For Linux:

VarLibDir = /var/opt/drweb.com/lib

For FreeBSD:

VarLibDir = /var/drweb.com/lib

For Solaris:

VarLibDir = /var/opt/drweb.com/lib

VersionDir =
{path to directory}

The parameter is not used.

Default value:

VersionDir =

DwsDir =
{path to directory}

Path to the directory that contains files of an automatically updated database of Internet resource categories  (if the network traffic monitor components are included in the product).

Default value:

DwsDir = <var_dir>/dws

For Linux:

DwsDir = /var/opt/drweb.com/dws

For FreeBSD:

DwsDir = /var/drweb.com/dws

For Solaris:

DwsDir = /var/opt/drweb.com/dws

AdminGroup =
{group name | GID}

Group of users with administrative privileges for Dr.Web for UNIX management. These users, in addition to the root superuser, are allowed to elevate privileges of Dr.Web for UNIX components to superuser privileges.

Default value:

Is determined during the installation of the product.

TrustedGroup =
{group name | GID}

Group of trusted users. The parameter is used in the work of the network traffic monitor component—SpIDer Gate—if it is included in the product. Network traffic of these users is skipped by SpIDer Gate without being scanned.

Note that you cannot specify a non-existent group here, as in this case SpIDer Gate will fail to start.

If the parameter value is missing, you cannot specify the Auto value for the OutputDivert parameter in SpIDer Gate settings.

Default value:

TrustedGroup = drweb

DebugIpc =
{boolean}

Indicates whether detailed IPC messages are included into the log file on the debug level (i.e. when LogLevel = DEBUG) (IPC messages show the interaction between the configuration daemon and other components).

Default value:

DebugIpc = No

UseCloud =
{boolean}

Indicates whether to refer to Dr.Web Cloud service to receive information about malicious files and URLs (if the Dr.Web CloudD component is included in the product).

Default value:

UseCloud = No

AntispamCorePath =
{path to file}

Path to the file of the VadeRetro library that is used to check emails for spam (if the corresponding function is supported by the product).

Default value:

AntispamCorePath = <var_dir>/lib/vaderetro.so

For Linux:

AntispamCorePath = /var/opt/drweb.com/lib/vaderetro.so

For FreeBSD:

AntispamCorePath = /var/drweb.com/lib/vaderetro.so

For Solaris:

AntispamCorePath = /var/opt/drweb.com/lib/vaderetro.so

AntispamEngineExePath =
{path to file}

Path to the executable file of the component that checks emails for spam (if the corresponding function is supported by the product).

Default value:

AntispamEngineExePath = <opt_dir>/bin/drweb-ase

For Linux:

AntispamEngineExePath = /opt/drweb.com/bin/drweb-ase

For FreeBSD:

AntispamEngineExePath = /usr/local/libexec/drweb.com/bin/drweb-ase

For Solaris:

AntispamEngineExePath = /opt/drweb.com/bin/drweb-ase