openvas-docker icon indicating copy to clipboard operation
openvas-docker copied to clipboard

Update NVT feed location

Open hugeps opened this issue 4 years ago • 5 comments

https://community.greenbone.net/t/shutting-down-gcf-http-download/5339

Community feed is now located here

feed.community.greenbone.net:

IP address: 2a0e:6b40:20:106:20c:29ff:fe67:cbb5 Legacy IP address: 45.135.106.142

hugeps avatar Feb 17 '21 12:02 hugeps

One way around this problem is to run:

export COMMUNITY_NVT_RSYNC_FEED=rsync://feed.community.greenbone.net:/nvt-feed
export COMMUNITY_CERT_RSYNC_FEED=rsync://feed.community.greenbone.net:/cert-data
export COMMUNITY_SCAP_RSYNC_FEED=rsync://feed.community.greenbone.net:/scap-data

So, @mikesplain might update this section in README.md:

docker exec -it openvas bash
## inside container

export FEED=feed.community.greenbone.net
export COMMUNITY_NVT_RSYNC_FEED=rsync://$FEED:/nvt-feed
export COMMUNITY_CERT_RSYNC_FEED=rsync://$FEED:/cert-data
export COMMUNITY_SCAP_RSYNC_FEED=rsync://$FEED:/scap-data

greenbone-nvt-sync
openvasmd --rebuild --progress
greenbone-certdata-sync
greenbone-scapdata-sync
openvasmd --update --verbose --progress

/etc/init.d/openvas-manager restart
/etc/init.d/openvas-scanner restart

ramonchiara avatar May 12 '21 22:05 ramonchiara

Is @mikesplain still maintaining this?

huornlmj avatar Dec 28 '21 17:12 huornlmj

I just run the container with this: docker stop openvas && docker rm openvas

    docker pull mikesplain/openvas
    docker run -d -p 3344:443 -p 9390:9390 \
            -e PUBLIC_HOSTNAME=openvas.myweb.com \
	-e FEED="feed.community.greenbone.net" \
	-e COMMUNITY_NVT_RSYNC_FEED="rsync://$FEED:/nvt-feed" \
	-e COMMUNITY_CERT_RSYNC_FEED="rsync://$FEED:/cert-data" \
	-e COMMUNITY_SCAP_RSYNC_FEED="rsync://$FEED:/scap-data" \
            --network nginxproxymgr_default \
            --name openvas \
            -h openvas \
            -v /opt/openvas/mgr:/var/lib/openvas/mgr/ \
            mikesplain/openvas

ghostersk avatar Jan 28 '22 13:01 ghostersk

Thank you ramonchiara, perfectly solved this problem

makarov20211221 avatar Jul 11 '22 02:07 makarov20211221

You can also edit the configuration file in the container itself according to the method

dreddsa5dies avatar Oct 23 '22 07:10 dreddsa5dies