Configuration Parameters

Top  Previous  Next

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

The section contains the following parameters:

LogLevel = {logging level}

Logging level.

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

Default value:

LogLevel = Notice

Log = {log type}

Logging method.

Default value:

Log = Auto

ExePath = {path to file}

Path to the executable file of the component.

Default value:

ExePath = <opt_dir>/bin/drweb-gated

For Linux:

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

For FreeBSD:

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

For Solaris:

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

RunAsUser = {UID | user name}

The parameter determines under which user name the component should be run. The user name can be specified either as the user’s number UID or as the user’s login. If the user name consists of numbers (i.e. similar to number UID), it is specified with the “name:” prefix, for example: RunAsUser = name:123456.

When a user name is not specified, the component operation terminates with an error after the startup.

Default value:

RunAsUser = drweb

IdleTimeLimit = {time interval}

Maximum time that the component can remain idle. If the specified value is exceeded, the component shuts down.

Minimum value—10s.

Default value:

IdleTimeLimit = 30s

TemplatesDir = {path to directory}

Path to the directory that contains the templates for HTML notifications sent upon blocking a web resource.

Default value:

TemplatesDir = <var_dir>/templates/gated

For Linux:

TemplatesDir = /var/opt/drweb.com/templates/gated

For FreeBSD:

TemplatesDir = /var/drweb.com/templates/gated

For Solaris:

TemplatesDir = /var/opt/drweb.com/templates/gated

CaPath = {path}

Path to the directory or file with system list of trusted root certificates.

Default value:

The path to the system list of trusted certificates. Depends on the GNU/Linux distribution:

For Astra Linux, Debian, Linux Mint, SUSE Linux and Ubuntu, the path is /etc/ssl/certs/

For CentOS and Fedora/etc/pki/tls/certs/ca-bundle.crt

For other distributions, the path can be determined by result of the openssl version -d command

If the command is unavailable or the distribution is not identified, the value /etc/ssl/certs/ is used.

Changes made to the settings of the connection scanning do not influence the scanning of connections that have already been established by the applications before making changes.

Specify more particular parameters of traffic monitoring in the settings of the auxiliary component Dr.Web Firewall for Linux.