OSPD-OpenVAS(8)

πŸ“¦
version 22.10.1 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

✨ OSPD-OpenVAS πŸ’…

okay bestie, welcome to the ospd-openvas(8) page β€” section 8 of the User Manuals, iykyk. this is the glow-up doc for the OpenVAS Wrapper of the Greenbone Vulnerability Management. grab a strawberry drink πŸ“ and let's go.


🌸 NAME 🌸

ospd-openvas β€” the OpenVAS Wrapper of the Greenbone Vulnerability Management. that's it, that's the whole name, and honestly? iconic.


πŸ¦‹ SYNOPSIS πŸ¦‹

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

πŸ‘‘ DESCRIPTION πŸ‘‘

Greenbone Vulnerability Management (GVM) is a vulnerability auditing and management framework that's made up of several modules β€” think of it like a friend group, everybody has a job. and the OSPD OpenVAS Wrapper, ospd-openvas, is the one in charge of the communication between the scanner OpenVAS and the clients (GVMd and gvm-tools). she's the group chat admin, fr fr. πŸ’–

ospd-openvas inspects the remote hosts to list all the vulnerabilities and common misconfigurations that affect them. not to be dramatic but she will literally find out everything. 😭

it's 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 β€” that's where the parameters about a scan task need to be placed and from where the results can be retrieved, and it's the unique communication channel between OSPD-OpenVAS and OpenVAS. one channel, no side quests. periodt.


✨ OPTIONS ✨

  • -s <config-file>, --config-file <config-file> β€” use the alternate configuration file instead of ~/.config/ospd.conf. main character config energy.
  • --log-config <log-config-path> β€” log configuration file path. default: ~/.config/ospd-logging.conf
  • --version β€” print the version number and exit. short and sweet, we love a quick exit. πŸŽ€
  • -h, --help β€” show a summary of the commands. when in doubt, ask for help bestie.
  • -p PORT, --port PORT β€” TCP port to listen on. default: 0
  • -b ADDRESS, --bind-address ADDRESS β€” address to listen on. default: 0.0.0.0
  • -u UNIX_SOCKET, --unix-socket UNIX_SOCKET β€” Unix file socket to listen on. default: /var/run/ospd/ospd.sock
  • -m SOCKET_MODE, --socket-mode SOCKET_MODE β€” Unix file socket mode. default: 0o770
  • --pid-file PID_FILE β€” location of the file for the process ID. default: /var/run/ospd.pid
  • --lock-file-dir LOCK_FILE_DIR β€” directory where the feed lock file is placed. default: /var/run/ospd
  • -k KEY_FILE, --key-file KEY_FILE β€” server key file. default: /usr/var/lib/gvm/private/CA/serverkey.pem
  • -c CERT_FILE, --cert-file CERT_FILE β€” server cert file. default: /usr/var/lib/gvm/CA/servercert.pem
  • --ca-file CA_FILE β€” CA cert file. default: /usr/var/lib/gvm/CA/cacert.pem
  • -L LOG_LEVEL, --log-level LOG_LEVEL β€” desired level of logging. default: WARNING
  • -f, --foreground β€” run in foreground and log all messages to console. no disappearing acts.
  • -l LOG_FILE, --log-file LOG_FILE β€” path to the logging file.
  • -t TIMEOUT, --stream-timeout TIMEOUT β€” set a timeout on socket operations. default 10 seconds
  • --niceness NICENESS β€” start the scan with the given niceness. default 10
  • --mqtt-broker-address ADDRESS β€” broker address to connect to for MQTT communication. neccessary to get results from Notus-Scanner. default: localhost
  • --mqtt-broker-port PORT β€” broker port to connect to for MQTT communication. neccessary to get results from Notus-Scanner. default: 1883
  • --mqtt-broker-username USERNAME β€” username to connect to MQTT broker for MQTT communication.
  • --mqtt-broker-password PASSWORD β€” password to connect to MQTT broker for MQTT communication.
  • --scaninfo-store-time TIME β€” time in hours a scan is stored before being considered forgotten and being delete from the scan table. default 0, disabled.
  • --max-scans VALUE β€” max. amount of parallel task that can be started. default 0, disabled.
  • --min-free-mem-scan-queue MB β€” minimum free memory in MB required to run the scan. if no enough free memory is available, the scan is queued. default 0, disabled.
  • --max-queued-scans VALUE β€” maximum number allowed of queued scans before starting to reject new scans. default 0, disabled.
  • --feed-updater METHOD β€” sets the method of updating the feed. can either be openvas or nasl-cli. default: openvas
  • -x, --signature-check β€” enable feed signature check.
  • --notus-feed-dir DIRECTORY β€” directory where notus feed is placed. default: /var/lib/notus/advisories
  • --disable-notus-hashsum-verification BOOLEAN β€” disable hashsum verification for notus advisories. default: false
  • --list-commands β€” display all protocol commands. the full menu, chef's kiss. πŸ”₯

🧚 THE CONFIGURATION FILE 🧚

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

  • log_config β€” log configuration file path.
  • port β€” TCP port to listen on.
  • address β€” address to listen on (this corresponds to --bind-address).
  • unix_socket β€” this option specifies the socket path.
  • socket_mode β€” this option defines the permissions on a socket. it must be set in octal format. e.g. socket_mode = 0o770
  • pid_file β€” location of the file for the process ID.
  • lock_file_dir β€” directory where the feed lock file is placed.
  • key_file β€” server key file.
  • cert_file β€” server cert file.
  • ca_file β€” CA cert file.
  • log_level β€” desired level of logging.
  • foreground β€” set to true to run in foreground and log all messages to console.
  • log_file β€” path to the log file. if no log file is given, the system log facility is used by default.
  • stream_timeout β€” set a timeout on socket operations. default 10 seconds
  • niceness β€” start the scan with the given niceness. default 10
  • scaninfo_store_time β€” time in hours a scan is stored before being considered forgotten and being delete from the scan table. default 0, disabled.
  • max_scans β€” maximum amount of parallel task that can be started. default 0, disabled.
  • max_queued_scans β€” maximum number allowed of queued scans before starting to reject new scans. default 0, disabled.
  • min_free_mem_scan_queue β€” minimum free memory in MB required to run the scan. if insufficient free memory is available, the scan is queued. default 0, disabled.
  • mqtt_broker_address β€” broker address to connect to for MQTT communication.
  • mqtt_broker_port β€” broker port to connect to for MQTT communication.
  • mqtt_broker_username β€” username to connect to MQTT broker for MQTT communication.
  • mqtt_broker_password β€” password to connect to MQTT broker for MQTT communication.
  • feed_updater β€” sets the method of updating the feed.
  • signature_check β€” set to true to enable feed signature check.
  • notus_feed_dir β€” directory where notus feed is placed.
  • disable_notus_hashsum_verification β€” 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:

  • Community Portal
  • Development Platform
  • Traditional home site

πŸ’œ AUTHORS πŸ’œ

ospd-openvas code is developed by Greenbone AG.


and that's the whole thing bestie!! πŸŽ€ source/version vibes: Greenbone Vulnerability Manage... (yes it literally got cut off like that, we're keeping it, no notes πŸ’€) and the date on the tin is August 2019. section 8, User Manuals. go forth and scan responsibly. βœ¨πŸ¦‹

πŸ“¦ where this page comes from