The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:OpenVAS"
m (Drobbins moved page Package:Net-analyzer/openvas to Package:OpenVAS: incorrect naming for wiki) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
|Summary=OpenVAS is a framework of several services and tools offering a comprehensive and powerful vulnerability scanning and vulnerability management solution. | |Summary=OpenVAS is a framework of several services and tools offering a comprehensive and powerful vulnerability scanning and vulnerability management solution. | ||
|CatPkg=net-analyzer/openvas | |CatPkg=net-analyzer/openvas | ||
|Homepage=http://www.openvas.org | |||
}} | }} | ||
Line 56: | Line 57: | ||
timeout 0 | timeout 0 | ||
}} | }} | ||
Start Redis: | |||
{{console|body= | |||
###i## /etc/init.d/redis start | |||
}} | |||
== Check your Installation, Settings and Start Services == | == Check your Installation, Settings and Start Services == | ||
Line 63: | Line 67: | ||
###i## openvas-check-setup --v8 | ###i## openvas-check-setup --v8 | ||
}} | }} | ||
Check your | Check your service settings | ||
{{console|body= | {{console|body= | ||
###i## nano /etc/conf.d/openvassd | ###i## nano /etc/conf.d/openvassd | ||
Line 69: | Line 73: | ||
###i## nano /etc/conf.d/gsad | ###i## nano /etc/conf.d/gsad | ||
}} | }} | ||
Start your services: | |||
{{console|body= | |||
###i##/etc/init.d/openvasmd start | |||
###i##/etc/init.d/gsad start | |||
}} | |||
== Good Practices to Install and expand your OpenVas Setting == | == Good Practices to Install and expand your OpenVas Setting == | ||
Set a Password Policy for OpenVas: | Set a Password Policy for OpenVas: |
Latest revision as of 16:54, December 8, 2015
OpenVAS
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
Install
To install openvas, emerge it:
root # emerge openvas
Configure
Create a certificate for the server, choosing the default values if desired:
root # openvas-mkcert
Create a client certificate::
root # openvas-mkcert-client -n -i
Update the plugins and vulnerability data:
root # openvas-nvt-sync root # openvas-scapdata-sync root # openvas-certdata-sync
Start OpenvVas Scanner (Required for next steps):
root # /etc/init.d/openvassd start
This step can load for few minutes, use ps aux to check when done (Waiting for incoming connections) :
root # ps aux
Initializing OpenVas Manager Database:
root # /usr/sbin/openvasmd --rebuild --progress
Add an administrator user account:
root # openvasmd --create-user=admin --role=Admin root # openvasmd --user=admin --new-password=your_new_password
Configure Redis (Required Since OpenVas Manager 6)
Configure redis as perscribed by the OpenVAS redis configuration. In summary, amend the following to your /etc/redis.conf
unixsocket /tmp/redis.sock port 0 timeout 0
Start Redis:
root # /etc/init.d/redis start
Check your Installation, Settings and Start Services
Check you Install Settings with default utility:
root # openvas-check-setup --v8
Check your service settings
root # nano /etc/conf.d/openvassd root # nano /etc/conf.d/openvasmd root # nano /etc/conf.d/gsad
Start your services:
root #/etc/init.d/openvasmd start root #/etc/init.d/gsad start
Good Practices to Install and expand your OpenVas Setting
Set a Password Policy for OpenVas:
root # nano /etc/openvas/pwpolicy.conf
Enable NVT signature checking: See http://www.openvas.org/trusted-nvts.html
Install RPM and Alien (for LSC credential package generation support on target systems):
root # emerge app-arch/alien app-arch/rpm
Install Haveged entropy (for speed up some actions):
root # emerge sys-apps/haveged root # rc-update add haveged defaul root # /etc/init.d/haveged start