Openvas 9 Released
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Openvas 9 Released
Openvas 9 is now available for RHEL/Centos 7, and Fedora 24-25
Re: Openvas 9 Released
Many thanks to Atomicorp for this.
Here are my updated install notes for OpenVAS 9 on CentOS 7.3.1611 (minimal install).
Hope someone finds it useful.
1) Disable SELINUX (edit /etc/selinux/config) and reboot
2) Update your CentOS installation and reboot if necessary
yum -y update
3) Install the follow packages
yum install -y wget bzip2 texlive net-tools alien gnutls-utils
4) Add Atomicorp repo (see https://wiki.atomicorp.com/wiki/index.php/Atomic)
wget -q -O - https://www.atomicorp.com/installers/atomic | sh
5) Install OpenVAS 9
yum install openvas -y
6) edit /etc/redis.conf. Add/uncomment the following
unixsocket /tmp/redis.sock
unixsocketperm 700
7) Restart Redis
systemctl enable redis && systemctl restart redis
openvas-setup
Follow instructions and remember your admin password. If rsync throws error, check that your network allows outgoing TCP 873 to internet
9) Open firewall port for tcp/9392
firewall-cmd --permanent --add-port=9392/tcp
firewall-cmd --reload
firewall-cmd --list-port
Go to https://<IP-ADDRESS>:9392 and login.
To verify your OpenVAS setup, run
openvas-check-setup --v9
Here are my updated install notes for OpenVAS 9 on CentOS 7.3.1611 (minimal install).
Hope someone finds it useful.
1) Disable SELINUX (edit /etc/selinux/config) and reboot
2) Update your CentOS installation and reboot if necessary
yum -y update
3) Install the follow packages
yum install -y wget bzip2 texlive net-tools alien gnutls-utils
4) Add Atomicorp repo (see https://wiki.atomicorp.com/wiki/index.php/Atomic)
wget -q -O - https://www.atomicorp.com/installers/atomic | sh
5) Install OpenVAS 9
yum install openvas -y
6) edit /etc/redis.conf. Add/uncomment the following
unixsocket /tmp/redis.sock
unixsocketperm 700
7) Restart Redis
systemctl enable redis && systemctl restart redis
openvas-setup
Follow instructions and remember your admin password. If rsync throws error, check that your network allows outgoing TCP 873 to internet
9) Open firewall port for tcp/9392
firewall-cmd --permanent --add-port=9392/tcp
firewall-cmd --reload
firewall-cmd --list-port
Go to https://<IP-ADDRESS>:9392 and login.
To verify your OpenVAS setup, run
openvas-check-setup --v9
Last edited by MikeLim on Sun Apr 30, 2017 8:14 pm, edited 1 time in total.
PDF generation
If you need to generate PDF from OpenVAS, refer to CentOS 7 instructions at https://wiki.openvas.org/index.php/Gene ... PDF_report
-
- New Forum User
- Posts: 1
- Joined: Mon May 08, 2017 1:10 pm
- Location: London
Re: Openvas 9 Released
I have just set this up on Fedora 25 using slight tweaks to those instructions (dnf instead of yum). Thanks very much.
Did hit a snag at the point of installing OpenVas. It appears there is a missing dependency of pnscan for Fedora 25 (and I am guessing 24) as it doesn't appear in the repo. I manually installed the rpm from the Fedora 23 repository which so far appears to be working.
Did hit a snag at the point of installing OpenVas. It appears there is a missing dependency of pnscan for Fedora 25 (and I am guessing 24) as it doesn't appear in the repo. I manually installed the rpm from the Fedora 23 repository which so far appears to be working.
-
- New Forum User
- Posts: 1
- Joined: Fri Jun 02, 2017 4:46 am
- Location: London
Re: PDF generation
I found this was needed alsoMikeLim wrote:If you need to generate PDF from OpenVAS, refer to CentOS 7 instructions at https://wiki.openvas.org/index.php/Gene ... PDF_report
# yum -y install texlive-changepage texlive-titlesec
# mkdir -p /usr/share/texlive/texmf-local/tex/latex/comment
# cd /usr/share/texlive/texmf-local/tex/latex/comment
# wget http://mirrors.ctan.org/macros/latex/co ... omment.sty
# chmod 644 comment.sty
# texhash
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Openvas 9 Released
We've added a lot of this input to the openvas package, but havent had the time to test the PDF support completely. That could use some extra vetting if anyone has the opportunity.
Thanks again for all the feedback on this!
Thanks again for all the feedback on this!
Re: Openvas 9 Released
Hello Guys!
I`m new here in this Forum and first i want to say thanks for the great Jobs you are making here.
I´m trying to use Openvas-V9 in my Project on a CentOS 6.9 (Final).
Tryed this Manual two times now, but i am not able to get OpenVAS running, did all the Steps that MikeLim posted above.
Some of the Errors that came up after "openvas-check-Setup" could be fixed with Google(e.g. redis was not installed).
But now i am at the end of my (little) knowledgement.
The Situation ist currently(only the error-part in check-Setup):
ERROR: OpenVAS Manager is NOT running!
FIX: Start OpenVAS Manager (openvasmd).
"service openvas-manager status" says the process is running(it also have a PID).
The openvasmd.log says:
lib auth: INFO:2017-07-25 08h58.54 utc Authentication configuration not found.
A solution shall be the command: openvasmd --rebuild and/or --update.
I tried both but it changed nothing.
Can anybody help me?
Thanks
I`m new here in this Forum and first i want to say thanks for the great Jobs you are making here.
I´m trying to use Openvas-V9 in my Project on a CentOS 6.9 (Final).
Tryed this Manual two times now, but i am not able to get OpenVAS running, did all the Steps that MikeLim posted above.
Some of the Errors that came up after "openvas-check-Setup" could be fixed with Google(e.g. redis was not installed).
But now i am at the end of my (little) knowledgement.
The Situation ist currently(only the error-part in check-Setup):
ERROR: OpenVAS Manager is NOT running!
FIX: Start OpenVAS Manager (openvasmd).
"service openvas-manager status" says the process is running(it also have a PID).
The openvasmd.log says:
lib auth: INFO:2017-07-25 08h58.54 utc Authentication configuration not found.
A solution shall be the command: openvasmd --rebuild and/or --update.
I tried both but it changed nothing.
Can anybody help me?
Thanks
Re: Openvas 9 Released
Edit: Sorry for second post. I`ve read over that a mod has to check my post.
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Openvas 9 Released
is redis running and listening on the right socket?
Re: Openvas 9 Released
Hi Scott, how can you tell what the right socket is?scott wrote:is redis running and listening on the right socket?
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Openvas 9 Released
THe default is to look for it at /tmp/redis.sock (this is configurable inside openvas too), anything that might keep that from working could be the culprit. Like selinux, permissions, etc
Re: Openvas 9 Released
Hi
I followed the above guide to install Openvas to my CentOS 7 box.
openvas-check-setup --v9
https://pastebin.com/PCvwQEBf
My problem is that, when i create a new single task or host check, the status is "Requested", but when I click on it to see the result it becomes "Internal error". See the below logs.
openvasmd.log
https://pastebin.com/h2JcsqfT
openvassd.log
https://pastebin.com/Qx7BFd5K
[root@testvm neut]# uname -a
Linux testvm 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@testvm neut]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
I tried googling, but it wasn't successful. Any idea?
I followed the above guide to install Openvas to my CentOS 7 box.
openvas-check-setup --v9
https://pastebin.com/PCvwQEBf
My problem is that, when i create a new single task or host check, the status is "Requested", but when I click on it to see the result it becomes "Internal error". See the below logs.
openvasmd.log
https://pastebin.com/h2JcsqfT
openvassd.log
https://pastebin.com/Qx7BFd5K
[root@testvm neut]# uname -a
Linux testvm 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@testvm neut]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
I tried googling, but it wasn't successful. Any idea?
Re: Openvas 9 Released
I have the exact same problem as Diego. My system is a fresh installation on Centos 7 in AWS.
Any advice is appreciated.
j
Any advice is appreciated.
j
diego123 wrote:Hi
I followed the above guide to install Openvas to my CentOS 7 box.
openvas-check-setup --v9
https://pastebin.com/PCvwQEBf
My problem is that, when i create a new single task or host check, the status is "Requested", but when I click on it to see the result it becomes "Internal error". See the below logs.
openvasmd.log
https://pastebin.com/h2JcsqfT
openvassd.log
https://pastebin.com/Qx7BFd5K
[root@testvm neut]# uname -a
Linux testvm 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@testvm neut]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
I tried googling, but it wasn't successful. Any idea?
Re: Openvas 9 Released
Okay guys, i give up. OpenVas is unable to run on KVM i guess....
I tried:
CentOS 7
CentOS 6
Ubuntu 14.04
Ubuntu 16.04
Debian 8
OpenVAS never worked on any machines. I followed the guides on the official page... Unfortunately i need to find another software with same knowledge....
I tried:
CentOS 7
CentOS 6
Ubuntu 14.04
Ubuntu 16.04
Debian 8
OpenVAS never worked on any machines. I followed the guides on the official page... Unfortunately i need to find another software with same knowledge....
-
- New Forum User
- Posts: 2
- Joined: Thu Jul 20, 2017 12:52 pm
- Location: Ecuador
Re: Openvas 9 Released
Greetings,
I have the same problem when running a new scan openvas presents the following message "Internal Error"
Does someone know how to solve this problem?
When run the command openvas-check-setup indicate that the installation is OK
It seems like your OpenVAS-9 installation is OK.
I have the same problem when running a new scan openvas presents the following message "Internal Error"
Does someone know how to solve this problem?
When run the command openvas-check-setup indicate that the installation is OK
It seems like your OpenVAS-9 installation is OK.