About OpenVAS-Manger
--------------------

The OpenVAS-Manager is a layer between OpenVAS-Scanner and various client
applications such as OpenVAS-Client or Greenbone Security Assistant.  Among
other features, it adds server-side storage of scan results and it makes it
unnecessary for scan clients to keep connection until a scan finishes.

OpenVAS-Manager is licensed under GNU General Public License Version 2 or
any later version. Please see file COPYING for details.

All parts of OpenVAS-Manager are Copyright (C) by Greenbone Networks GmbH
(see http://www.greenbone.net).


Howto use
---------

For example, if openvassd is running on port 9391, the following command
starts the Manager on port 9390.  The client can then connect to port 9390
as though it was connecting to openvassd.

    openvasmd --port 9390 --sport 9391

A command like

    openvasmd --sport 9391 --update

will update the Manager's NVT cache, and then exit.

The program usage message follows.

    Usage:
      openvasmd [OPTION...] - OpenVAS security scanner manager

    Help Options:
      -?, --help                  Show help options

    Application Options:
      -d, --database=<file>       Use <file> as database.
      -f, --foreground            Run in foreground.
      -a, --listen=<address>      Listen on <address>.
      -m, --migrate               Migrate the database and exit.
      -p, --port=<number>         Use port number <number>.
      --rebuild                   Rebuild the NVT cache and exit.
      -l, --slisten=<address>     Scanner (openvassd) address.
      -s, --sport=<number>        Scanner (openvassd) port number.
      -u, --update                Update the NVT cache and exit.
      -v, --verbose               Print progress messages.
      --version                   Print version and exit.

There are some tests under src/tests.  To run them, start your openvasmd,
for example with

    openvasmd --port 9390 --sport 9391

then set the environment variables for the user and password

    export OPENVAS_TEST_USER=user_created_by_openvas-adduser
    export OPENVAS_TEST_PASSWORD=that_users_password

and then run all the tests

    make test

or any one of the tests, for example

    src/tests/omp_get_report_0
