hi
I installed Openvas we have the following problem
internet Connection is Ok
Even Reinstall the problem is not resolved
Openvas Setup, Version: 0.5
Step 1: Update NVT's and SCAP data
Please note this step could take some time.
Once completed, NVT's and SCAP data will be updated automatically every 24 hours
Updating NVTs....
This script synchronizes an NVT collection with the 'OpenVAS NVT Feed'.
The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.
Online information about this feed: 'http://www.openvas.org/openvas-nvt-feed.html'.
NVT dir: /var/lib/openvas/plugins
OpenVAS feed server - http://www.openvas.org/
This service is hosted by Intevation GmbH - http://intevation.de/
All transactions are logged.
Please report synchronization problems to openvas-feed@intevation.de.
If you have any other questions, please use the OpenVAS mailing lists
or the OpenVAS IRC chat. See http://www.openvas.org/ for details.
rsync: read error: Connection timed out (110)
rsync error: error in rsync protocol data stream (code 12) at io.c(759) [receiver=3.0.6]
[e] Error: rsync failed.
Have you tested manually? Can you reach the server you are rsync'ing with through ssh ?.
Is the firewall allowing this connection?
Have you tried to configure it using wget (https) instead of rsync (ssh)? Perhaps that protocol is allowed?
--- @ravindersingh: /etc/hosts.deny is for incoming connections to services on the hosts itself.
This, however, is an outbound connection from the host to a server on the Internet.
Port 873 is for legacy insecure rsync, and again for incoming connections. Nobody uses that port anymore. Nowadays rsync is typically used with ssh only, which is the default and which usually is on port 22 (but again, for incoming connections, which is not the case here).
service iptables status
iptables: Firewall is not running.
The server behind utm
And access to dns http https ftp ssh
openvas-setup --wget
Openvas Setup, Version: 0.5
Step 1: Update NVT's and SCAP data
Please note this step could take some time.
Once completed, NVT's and SCAP data will be updated automatically every 24 hours
Updating NVTs....
This script synchronizes an NVT collection with the 'OpenVAS NVT Feed'.
The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.
Online information about this feed: 'http://www.openvas.org/openvas-nvt-feed.html'.
NVT dir: /var/lib/openvas/plugins
OpenVAS feed server - http://www.openvas.org/
This service is hosted by Intevation GmbH - http://intevation.de/
All transactions are logged.
Please report synchronization problems to openvas-feed@intevation.de.
If you have any other questions, please use the OpenVAS mailing lists
or the OpenVAS IRC chat. See http://www.openvas.org/ for details.
rsync: read error: Connection timed out (110)
rsync error: error in rsync protocol data stream (code 12) at io.c(759) [receiver=3.0.6]
[e] Error: rsync failed.
So as you confirmed that openssh-clients is not installed and Scrutinizer has also confirmed that rsync requires this facility, so could please try to install openssh into your system and let us know how it goes. You should be root to install the same you could yum for doing the same too.
NOTE: It is just a suggestion it may be or may not be exact solution, please avoid trying this into a LIVE(Production) environment and try to do this into a NON-PROD environment.
~]# openvas-nvt-sync -wget
This script synchronizes an NVT collection with the 'OpenVAS NVT Feed'.
The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.
Online information about this feed: 'http://www.openvas.org/openvas-nvt-feed.html'.
NVT dir: /var/lib/openvas/plugins
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(759) [receiver=3.0.6]
[e] Error: rsync failed.
openvas-nvt-sync
This script synchronizes an NVT collection with the 'OpenVAS NVT Feed'.
The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.
Online information about this feed: 'http://www.openvas.org/openvas-nvt-feed.html'.
NVT dir: /var/lib/openvas/plugins
rsync: getaddrinfo: feed.openvas.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.6]
[e] Error: rsync failed.
Let's try one more step here(I am not *NIX expert but trying to troubleshoot here). Above error may be because of file /etc/resolv.conf , could you please check name servers entry in it and do let us know how it goes then.