Problem Openvas-setup in CentOs 6.7 !

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Problem Openvas-setup in CentOs 6.7 !
# 8  
Old 05-16-2016
thanks for replay
Quote:
Originally Posted by RavinderSingh13
Hello mnnn,

You could check with following command if openssh-clients is installed into your system or not.
Code:
rpm -qa openssh-clients

Also following may help you to understand about openssh-clients.
Thanks,
R. Singh
Not Installed openssh

Quote:
Originally Posted by Scrutinizer
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 service is 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).
Code:
 service iptables status
iptables: Firewall is not running.

The server behind utm
And access to dns http https ftp ssh
[CODE]
Code:
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....
[i] This script synchronizes an NVT collection with the 'OpenVAS NVT Feed'.
[i] The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.
[i] Online information about this feed: 'http://www.openvas.org/openvas-nvt-feed.html'.
[i] 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.

# 9  
Old 05-16-2016
Hello mnnn,

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.

Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
# 10  
Old 05-16-2016
Quote:
Originally Posted by RavinderSingh13
Hello mnnn,

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.

Thanks,
R. Singh

sorry , I just did not notice
My English is a little weak,

Code:
# /sbin/service sshd status
openssh-daemon (pid  12601) is running...

ihave changed ssh the defult port
Can be effective in this error?
thanks

---------- Post updated at 02:34 PM ---------- Previous update was at 01:37 PM ----------

Code:
rpm -qa openssh-clients
openssh-clients-5.3p1-114.el6_7.x86_64

Utm sailed from
Code:
~]# openvas-nvt-sync -wget
[i] This script synchronizes an NVT collection with the 'OpenVAS NVT Feed'.
[i] The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.
[i] Online information about this feed: 'http://www.openvas.org/openvas-nvt-feed.html'.
[i] 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.

Code:
openvas-nvt-sync
[i] This script synchronizes an NVT collection with the 'OpenVAS NVT Feed'.
[i] The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.
[i] Online information about this feed: 'http://www.openvas.org/openvas-nvt-feed.html'.
[i] 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.

# 11  
Old 05-17-2016
Hello mnnn,

Quote:
rsync: getaddrinfo: feed.openvas.org 873: Temporary failure in name resolution
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.

Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
# 12  
Old 05-17-2016
Hi
Thanks For Replay
The contents of the file
/etc/resolv.conf

Code:
nameserver 8.8.8.8
nameserver 4.2.2.3
nameserver 192.168.10.15

# 13  
Old 05-24-2016
The problem was solved by rebooting!
How difficult do you think?!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Not able to setup CentOS 7 as gateway [Using squid proxy]

Hello, Did anyone setup a CentOS7 as a gateway (with squid transparent proxy). I am trying to do so but not able to setup. I setup squid , iptables (using it instead of firewalld) and all the necessary IPtables rules but nothing work. It work previously but access.log of squid not getting... (4 Replies)
Discussion started by: sunnysthakur
4 Replies

2. UNIX for Advanced & Expert Users

Issue setup Transparent proxy and Gateway using Squid on CentOS 7

Hello, We are migrating our gateways from CentOS 6 to CentOS 7 and for setting up a transparent proxy using squid and Firewalld i am using below configuration. #Firewalld configurations firewall-cmd --permanent --zone=public --add-forward-port=port=80:proto=tcp:toport=3128:toaddr=LAN_IP... (4 Replies)
Discussion started by: sunnysthakur
4 Replies

3. UNIX for Beginners Questions & Answers

Problem with cluster on centos 6.5

Hallo to everyone.From sometime i have problems with my asterisk pbx on cent os which is in corosync cluster mode with resource groups.The problem is for time the cluster just swap the active one with the other and the only messages in \var\log\messages is that bond0:link status defenitly down for... (0 Replies)
Discussion started by: evolintend
0 Replies

4. Cybersecurity

Not able to login Openvas after update NVT

Hello, Today, i just updated my Openvas server for latest NVT, portsname and scapdata but after that i am not able to login to my openvas instance. Below command i fired to get this done. openvas-nvt-sync openvas-certdata-sync openvas-portnames-update openvas-scapdata-sync... (0 Replies)
Discussion started by: sunnysthakur
0 Replies

5. Linux

Unable to access CentOS setup Network Configuration after attempting Python update

I attempted to update Python on my CentOS 5.6 VM and have encountered some issues after then. Initially yum wouldn't work, but I have resolved that. However, now I am unable to access the Network Configuration section under setup. When I do select this option I see this at the command line: ... (2 Replies)
Discussion started by: crmpicco
2 Replies

6. Red Hat

DNS Server Setup Centos 6.5 Issues

I am having a bit of trouble getting my CENTOS 6.5 DNS server to work correctly in our testlab environment. Lab network is 10.8.0.0/24 in which we all access from 10.7.0.0.0/24 && 10.0.0.0/24. Here are my configs: options { listen-on port 53 { 127.0.0.1; 10.8.0.19;}; #listen-on-v6 port 53 {... (2 Replies)
Discussion started by: metallica1973
2 Replies

7. IP Networking

How i can setup socks 5 in CentOS?

how i can setup socks 5 in centos? (1 Reply)
Discussion started by: hesamii
1 Replies

8. Linux

How i can setup socks 5 in CentOS?

how i can setup socks 5 in centos? (0 Replies)
Discussion started by: hesamii
0 Replies

9. UNIX for Dummies Questions & Answers

problem of networking in centos

Hello, I am using dual boot of linux, one is ubuntu and the other is one is centos. I have three NIC's and only one of them connected with cable. The thing is that when I boot from the ubuntu, it does recognize it and I am connected to the Internet. When I boot from the centos I am not... (6 Replies)
Discussion started by: programAngel
6 Replies
Login or Register to Ask a Question