OpenVAS - ArchWiki
OpenVAS - ArchWiki
1 Pre-install
1.1 PostgreSQL
Set up PostgreSQL before you continue.
1.2 Redis
Configure Redis as prescribed by the OpenVAS redis configuration (https://github.com/greenbon
e/openvas-scanner/blob/v20.8.1/doc/redis_config.md). In summary, amend the following to your
/etc/redis/redis.conf :
port 0
unixsocket /run/redis/redis.sock
unixsocketperm 770
timeout 0
databases 128
Note: See the previous OpenVAS redis configuration document on how to calculate the databases
number.
2 Installation
Install the following packages to get a full OpenVAS setup, including manager, web frontend, scanner, and
so on: openvas-scanner (https://aur.archlinux.org/packages/openvas-scanner/)AUR, ospd-
openvas (https://aur.archlinux.org/packages/ospd-openvas/)AUR, gsa (https://aur.archlinu
x.org/packages/gsa/)AUR, gvmd (https://aur.archlinux.org/packages/gvmd/)AUR. nmap (http
s://archlinux.org/packages/?name=nmap) needs to be installed for the scanner to deliver proper results
and texlive (https://archlinux.org/groups/x86_64/texlive/) is needed for PDF report feature to
work.
3 Initial setup
Setup the PostgreSQL DB for gvm:
[postgres]$ createuser gvm
[postgres]$ createdb -O gvm gvmd
Before doing this check the values of somaxconn (normally this is 4096 for Arch Linux and does not need to
be adjusted:
Update NVTs:
Update feeds:
You can enable the following timers to update these data on a frequently basis:
greenbone-nvt-sync.timer , greenbone-feed-sync.timer , greenbone-scapdata-sync.timer ,
greenbone-certdata-sync.timer .
Create certificates for the server and clients, default values were used:
[gvm]$ gvm-manage-certs -a
4 Getting started
Start ospd-openvas.service , gvmd.service and gsad.service .
Point your web browser to http://127.0.0.1 and login with your admin credentials.
Note: By default, gsad will bind to port 80. If you are already running a webserver, this will obviously
cause problems. You can modify the ports and listen addresses in the file /etc/default/gsad
5 See also
Wikipedia:OpenVAS
OpenVAS (https://www.openvas.org/) Official OpenVAS website.
Download
Search Criteria
Search by Keywords Out of Date Sort by
Name, Description All Popularity
Sort order Per page
Descending 50
Go Orphans
gvm-libsAUR gsa
json-glib (json-glib-git AUR openvas-script
)
AUR
ospd-openvas
libbsd (libbsd-git )
libgcrypt
redis (redis-testingAUR, redis-gitAUR, keydbAUR, valkey)
rsync (rsync-gitAUR, rsync-reflinkAUR, rsync-reflink-gitAUR)
cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust,
rustup) (make)
cmake (cmake-gitAUR) (make)
doxygen (doxygen-gitAUR) (make)
inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (make)
greenbone-feed-syncAUR (optional) – scripts for
downloading updated feed informations
Sources (3)
openvas-scanner-23.9.0.tar.gz.asc
openvas-scanner-23.9.0.tar.gz
openvas-scanner.tmpfiles
Latest Comments 1 2 3 4 5 Next › Last »
It is deprecated.
rek2 commented on 2024-10-08 15:50 (UTC) (edited on 2024-10-08 15:51 (UTC) by rek2)
Hello thanks, everything compiled now, but there are a lot of things wrong, I am following the wiki entry and as I mention now I can
use makepkg with ignore pgp key because that fails with "paru" but I can install all the packages listed in the arch wiki... But what
makes me cry now because I have been with this on and off for more than 1-2 months there are missing binaries :( some packages
are missing to install the bin/ etc example:
locate greenbone-feed-sync
/etc/systemd/system/multi-user.target.wants/greenbone-feed-sync.timer
/home/rek2/.cache/paru/clone/gvmd/src/build/tools/greenbone-feed-sync
/home/rek2/.cache/paru/clone/gvmd/src/gvmd-23.10.0/tools/greenbone-feed-sync.in
There is only the .timer under systemd the actual tool is never installed on an of the bin/ standard PATH places, is still on tools/ but
never installed in the system etc so is all a super mess like this… I am about to give up and install nessus even do I will hate that
because I rather use always open tools can someone please fix the packages so all tools are installed, and maybe update the wiki
:(
note: I did install terser with paru -S terser but same result :(
1 2 3 4 5 Next › Last »
aurweb v6.2.15
Report issues here.
Copyright © 2004-2024 aurweb Development Team.
AUR packages are user produced content. Any use of the provided files is at your own risk.