Command-Line Arguments

To start the Dr.Web Network Checker component from the command line, run the command:

$ <opt_dir>/bin/drweb-netcheck [<parameters>]

Dr.Web Network Checker 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-netcheck --help

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

Startup Notes

The component cannot be started directly from the command line in standalone mode. The component is started automatically by the Dr.Web ConfigD configuration management daemon when necessary (usually, at the startup of the operating system). At the same time, if a FixedSocket parameter value is specified in the component settings and the InternalOnly parameter is set to No, the component will be started by the configuration management daemon and always available to clients via a UNIX socket. To manage component operation parameters and to start network scanning (if there is a configured connection to other network hosts), use the Dr.Web Ctl tool designed to manage Dr.Web Mail Security Suite from the command line. If there is no configured connection to other network hosts, normal scanning will be started using the local scanning engine instead of network scanning.

To start the Dr.Web Ctl tool, run the drweb-ctl command.

 

To scan an arbitrary file or directory with Dr.Web Network Checker, use the netscan command of the Dr.Web Ctl tool:

$ drweb-ctl netscan <path to file or directory>

 

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