Dr.Web CloudD

In this section

Operating Principles

Using the Dr.Web Cloud Service

Command-Line Arguments

Configuration Parameters

Operating Principles

The Dr.Web CloudD component is designed to communicate with the Dr.Web Cloud service of the Doctor Web company. The Dr.Web Cloud service collects up-to-date information from all Dr.Web anti-virus products, which makes it possible to:

neutralize latest threats that are not yet covered by virus databases;

prevent users from visiting unwanted websites that are not yet covered by databases of web resource categories;

reduce a number of false positives of Dr.Web Scanning Engine.

If the component is enabled, it will periodically send statistics on detection of infected files to the Dr.Web Cloud service.

All data sent by the component to Doctor Web servers is anonymized and cannot be used to identify the user.

 

In case of installing Dr.Web Security Space in graphical mode using a .run universal package, the check box I want to connect to Dr.Web Cloud is selected by default. If the user does not unselect it, the Dr.Web CloudD component will be enabled. In case of installing Dr.Web Security Space from the repository, the Dr.Web CloudD component is disabled by default.

The Dr.Web Cloud service is used as an additional security layer while scanning file systems, network traffic and URLs. When enabled, the Dr.Web CloudD component is used in all file-system scanning operations.

Using the Dr.Web Cloud Service

Dr.Web Security Space is connected to the Dr.Web Cloud service automatically when the Dr.Web CloudD component is enabled.

You can enable or disable the Dr.Web CloudD component using:

graphical interface of Dr.Web Security Space;

Dr.Web Ctl tool;

or edit the configuration file manually.

Enable or disable the component with the graphical interface of Dr.Web Security Space

1.Open the Dr.Web for Linux window and click to go to settings.

2.Go to the Dr.Web Cloud tab.

3.Switch Dr.Web Security Space to the administrator mode.

4.To enable the Dr.Web CloudD component and connect to the Dr.Web Cloud service, select Connect to Dr.Web Cloud (recommended); otherwise, clear this check box.

Details on configuring the Dr.Web Cloud service in graphical mode.

Enable or disable the component with the Dr.Web Ctl tool

To enable Dr.Web CloudD, run the command:

# drweb-ctl cfset Root.UseCloud Yes

To disable this component, run the command:

# drweb-ctl cfset Root.UseCloud No

Enable or disable by editing the configuration file manually

You must be sure that the changes introduced to the configuration file are correct.

1.Open the configuration file /etc/opt/drweb.com/drweb.ini for GNU/Linux in a preferred text editor with administrative privileges. To gain administrative privileges, use the su command to change the user or the sudo command to run the command as another user.

2.If the configuration file does not contain the [Root] section, go to the end of the file and add the following in the new line:

To enable the component and connect to the service:

[Root]

UseCloud = Yes

To disable the component and disconnect from the service:

[Root]

UseCloud = No

If the configuration file already contains the [Root] section:

If the UseCloud parameter is absent, add it by indicating UseCloud = Yes to connect to the service or UseCloud = No to disconnect from it.

If the [Root] section already contains the UseCloud parameter, change its value to Yes to connect to the service or to No to disconnect from it.

3.Reload the Dr.Web Security Space configuration using the command:

# drweb-ctl reload

to apply changes.

The Dr.Web CloudD component is started automatically by the Dr.Web ConfigD configuration management daemon when necessary. To manage the operation parameters of the component, use the Dr.Web Ctl tool designed to manage Dr.Web Security Space from the command line.

To get documentation on this component from the command line, run the man 1 drweb-cloudd command.

Command-Line Arguments

To show help for the Dr.Web CloudD component, use the command:

$ /opt/drweb.com/bin/drweb-cloudd [<parameters>]

drweb-cloudd accepts the following parameters:

Parameter

Description

--help

Function: Output short help information about command-line parameters to the console or the terminal emulator and shut down the component.

Short form: -h

Arguments: None

--version

Function: Output information about the component version to the console or the terminal emulator and shut down the component.

Short form: -v

Arguments: None

Example:

$ /opt/drweb.com/bin/drweb-cloudd --help

This command outputs short help information about the Dr.Web CloudD component.

Configuration Parameters

The Dr.Web CloudD component uses configuration parameters specified in the [CloudD] section of the unified configuration file of Dr.Web Security Space.

To change the value of a parameter of Dr.Web CloudD, use the command:

# drweb-ctl cfset CloudD.<parameter> <value>

The [CloudD] section contains the following parameters:

Parameter

Allowed values

Description

LogLevel

Debug, Info, Notice, Warning or Error

Logging level of the component.

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

Default value: Notice

Log

Auto, Syslog[:<Daemon, User, Mail or Local0..7>] or <path to file>

Logging method of the component.

Default value: Auto

ExePath

path to file

Component executable path.

Default value: /opt/drweb.com/bin/drweb-cloudd

RunAsUser

<UID> or <username>

User on behalf of whom the component is started. You can specify either a numerical user identifier (UID) or a user name (login). If the user name consists of numbers (that is, the name is similar to a numerical UID), specify it with the name: prefix, for example, RunAsUser = name:123456.

If the user name is invalid, the component shuts down with an error upon startup.

Default value: drweb

IdleTimeLimit

time interval

Maximum idle time for the component. When the specified period of time expires, the component shuts down.

Allowed values: from 10 seconds (10s) to 30 days (30d).
If the None value is set, the component will operate indefinitely; the SIGTERM signal will not be sent if the component goes idle.

Default value: 1h

FixedSocketPath

path to file

Path to the Unix socket file of the component fixed instance.

If this parameter is specified, the Dr.Web ConfigD configuration management daemon ensures that there is always a running component instance available to clients via this socket.

Default value: (not specified)

PersistentCache

On, Yes, True, Off, No or False

Enable or disable saving of the cache of Dr.Web Cloud responses to the disk.

Default value: Off

DebugSdk

On, Yes, True, Off, No or False

Log or do not log detailed messages from Dr.Web Cloud at the debug level (with LogLevel = DEBUG).

Default value: No