New install OpenVAS 9 on CentoS
Noticed that the Feed Status displayed on the Security Assistant was 2 days old.
The rsync being run from cron was failing.
crontab:
35 1 * * * /usr/sbin/greenbone-nvt-sync > /dev/null
5 0 * * * /usr/sbin/greenbone-scapdata-sync > /dev/null
5 1 * * * /usr/sbin/greenbone-certdata-sync > /dev/null
root email:
Date: Fri, 11 Jan 2019 01:00:01 +0000 (UTC)
rsync: failed to connect to feed.openvas.org (89.146.224.58): Connection refused (111)
rsync: failed to connect to feed.openvas.org (2a01:130:2000:127::d1): Network is unreachable (101)
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
And yet, when running from the command line:
[root@openvas]# /usr/sbin/greenbone-nvt-sync
(…)
receiving incremental file list
plugin_feed_info.inc
1,131 100% 1.08MB/s 0:00:00 (xfr#1, to-chk=0/1)
sent 43 bytes received 1,243 bytes 514.40 bytes/sec
total size is 1,131 speedup is 0.88
(…)
receiving incremental file list
./
COPYING
588 100% 574.22kB/s 0:00:00 (xfr#1, ir-chk=8553/8565)
COPYING.GPLv2
18,002 100% 17.17MB/s 0:00:00 (xfr#2, ir-chk=8552/8565)
COPYING.files
3,275,588 100% 130.16MB/s 0:00:00 (xfr#3, ir-chk=8551/8565)
gb_schneider_eurotherm_guicon_detect_win.nasl
3,634 100% 141.95kB/s 0:00:00 (xfr#4, ir-chk=5446/8565)
gb_schneider_eurotherm_guicon_detect_win.nasl.asc
819 100% 31.99kB/s 0:00:00 (xfr#5, ir-chk=5445/8565)
gb_schneider_zelio_soft_detect_win.nasl
3,413 100% 133.32kB/s 0:00:00 (xfr#6, ir-chk=5432/8565)
gb_schneider_zelio_soft_detect_win.nasl.asc
819 100% 31.99kB/s 0:00:00 (xfr#7, ir-chk=5431/8565)
(…)
2019/phpipam/gb_phpipam_mult_vuln.nasl
3,262 100% 6.99kB/s 0:00:00 (xfr#126, ir-chk=1158/94720)
2019/phpipam/gb_phpipam_mult_vuln.nasl.asc
819 100% 1.33kB/s 0:00:00 (xfr#127, ir-chk=1157/94720)
sent 52,929 bytes received 5,142,254 bytes 296,867.60 bytes/sec
total size is 282,414,161 speedup is 54.36
Is there something obvious to anyone that I might have missed?
Or do you need more info that I could provide?
I’m probably just doing it wrong.