Scroll to navigation

OSPD-OpenVAS(8) User Manuals OSPD-OpenVAS(8)

NAME

ospd-openvas - The OpenVAS Wrapper of the Greenbone Vulnerability Management

SYNOPSIS

ospd-openvas [-v] [-h] [-c config-file] [--log-file log-file]

DESCRIPTION

Greenbone Vulnerability Management (GVM) is a vulnerability auditing and management framework made up of several modules. The OSPD OpenVAS Wrapper, ospd-openvas is in charge of the communication between the scanner OpenVAS and the clients (GVMd and gvm-tools).

ospd-openvas inspects the remote hosts to list all the vulnerabilities and common misconfigurations that affects them.

It is a command line tool with parameters to start a daemon which keeps waiting for instructions to update the feed of vulnerability tests and
to start a scan. The second part of the interface is the redis store where the parameters about a scan task need to be placed and from where the results can be retrieved, being the unique communication channel between OSPD-OpenVAS and OpenVAS.

OPTIONS

Use the alternate configuration file instead of ~/.config/ospd.conf

Log configuration file path. Default: ~/.config/ospd-logging.conf

Print the version number and exit

Show a summary of the commands

TCP Port to listen on. Default: 0

Address to listen on. Default: 0.0.0.0

Unix file socket to listen on. Default: /var/run/ospd/ospd.sock

Unix file socket mode. Default: 0o770

Location of the file for the process ID. Default: /var/run/ospd.pid

Directory where the feed lock file is placed. Default: /var/run/ospd

Server key file. Default: /usr/var/lib/gvm/private/CA/serverkey.pem

Server cert file. Default: /usr/var/lib/gvm/CA/servercert.pem

CA cert file. Default: /usr/var/lib/gvm/CA/cacert.pem

Desired level of logging. Default: WARNING

Run in foreground and log all messages to console.

Path to the logging file.

Set a timeout on socket operations. Default 10 seconds

--niceness NICENESS
Start the scan with the given niceness. Default 10

Broker address to connect to for MQTT communication. Neccessary to get results from Notus-Scanner. Default: localhost

Broker port to connect to for MQTT communication. Neccessary to get results from Notus-Scanner. Default: 1883

Username to connect to MQTT broker for MQTT communication.

Password to connect to MQTT broker for MQTT communication.

Time in hours a scan is stored before being considered forgotten and being delete from the scan table. Default 0, disabled.

Max. amount of parallel task that can be started. Default 0, disabled.

Minimum free memory in MB required to run the scan. If no enough free memory is available, the scan is queued. Default 0, disabled.

Maximum number allowed of queued scans before starting to reject new scans. Default 0, disabled.

Sets the method of updating the feed. Can either be openvas or nasl-cli. Default: openvas

Enable feed signature check.

Directory where notus feed is placed. Default: /var/lib/notus/advisories

Disable hashsum verification for notus advisories. Default: false

Display all protocol commands.

THE CONFIGURATION FILE

The default ospd-openvas configuration file, ~/.config/ospd.conf contains these options under the section [OSPD - openvas]:

Log configuration file path.

TCP port to listen on.

Address to listen on (this corresponds to --bind-address).

This option specifies the socket path.

This option defines the permissions on a socket. It must be set in octal format. E.g. socket_mode = 0o770

Location of the file for the process ID.

Directory where the feed lock file is placed.

Server key file.

Server cert file.

CA cert file.

Desired level of logging.

Set to true to run in foreground and log all messages to console.

Path to the log file. If no log file is given, the system log facility is used by default.

Set a timeout on socket operations. Default 10 seconds

Start the scan with the given niceness. Default 10

Time in hours a scan is stored before being considered forgotten and being delete from the scan table. Default 0, disabled.

Maximum amount of parallel task that can be started. Default 0, disabled.

Maximum number allowed of queued scans before starting to reject new scans. Default 0, disabled.

Minimum free memory in MB required to run the scan. If insufficient free memory is available, the scan is queued. Default 0, disabled.

Broker address to connect to for MQTT communication.

Broker port to connect to for MQTT communication.

Username to connect to MQTT broker for MQTT communication.

Password to connect to MQTT broker for MQTT communication.

Sets the method of updating the feed.

Set to true to enable feed signature check.

Directory where notus feed is placed.

Set to true to disable hashsum verification for notus advisories.

SEE ALSO

openvas(8), gsad(8), gvmd(8), greenbone-nvt-sync(8),

MORE INFORMATION

The canonical places where you will find more information about OSPD-OpenVAS are:

AUTHORS

ospd-openvas code is developed by Greenbone AG.

August 2019 Greenbone Vulnerability Management