I can’t reach to GCF from my OpenVas server ( internal network rules ), so I can’t update CERT and SCAP feeds.
I’ve tryed to get rsync command from greenbone-certdata-sync script. There is a function do_rsync_community_feed, and there is a rsync command. I manage to get it in form:
/usr/bin/rsync -ltvrP feed.openvas.org:/cert-data /tmp/cert-data
I run this command on a separate server which have unrestricted access to web.
But there isn’t any action with it.
For test I’ve tryed telnet:
$ telnet 126.96.36.199 873
- Trying 188.8.131.52…*
- Connected to 184.108.40.206.*
- Escape character is ‘^]’.*
- @RSYNCD: 31.0*
- Greenbone community feed server - http://feed.community.greenbone.net/*
- This service is hosted by Greenbone Networks - http://www.greenbone.net/*
and it seems to work.
I see that greenbone-nvt-sync have --wget option, but greenbone-scapdata-sync and greenbone-certdata-sync doesn’t.
What would be the way to get those data and what to transfer where ( in which directories on openvas server )?