Closed kaistierl closed 4 years ago
...unfortunately this is blocking a production environment for me since we cannot get the feed via rsync due to proxy issues...
Thanks for your report.
This is a problem with the feed services / of the download server and not originating from the OpenVAS scanner so closing this issue as invalid for this repository.
Please use https://community.greenbone.net/t/community-feed-url-redirects-to-greenbone-net-nvt-sync-fails/4887 for further discussions.
@cfi-gb Moderators saying that we should be using rsync (which still works) rather than http on the link you have provided. But this script specifically forces http for the first sync when there is no database. This will kill most installation unless you manually edit the script. Looks like Greenbone know the http version isn't working. Does this mean the script needs to change to rsync only?
For anyone hitting this issue currently, you can force rsync
greenbone-nvt-sync --rsync
@cfi-gb @silverark after this I am encountered with error
The number of NVTs in the OpenVAS Manager database is too low.
Even the openvasmd --rebuild do not work. Please guide
@NitinBhasneria from the issue template:
- Be aware that this is not a support forum. If your issue is rather a question than a bug report, please use our community forum at https://community.greenbone.net/c/gse instead.
Please follow this advice on your question about "The number of NVTs in the OpenVAS Manager database is too low."
@silverark It seems the HTTP based download options are now completely dropped in favor of rsync: https://github.com/greenbone/openvas/pull/478
The problem fixed. Use this:greenbone-nvt-sync --rsync or sudo greenbone-nvt-sync --rsync
@silverark It seems the HTTP based download options are now completely dropped in favor of rsync: #478
Official announcement: https://community.greenbone.net/t/shutting-down-gcf-http-download/5339
Expected behavior
/usr/sbin/greenbone-nvt-sync --wget
downloads the current NVT feedActual behavior
The downloaded file is corrupt / not the feed but the greenbone homepage...
Steps to reproduce
simply run
/usr/sbin/greenbone-nvt-sync --wget
Or: Try downloading http://dl.greenbone.net/community-nvt-feed-current.tar.bz2 using curl or a browser. This gets redirected to the greenbone homepage.
URL is the current one given in https://github.com/greenbone/openvas/blob/master/tools/greenbone-nvt-sync.in