mikesplain / openvas-docker

A Docker container for Openvas
MIT License
768 stars 304 forks source link

how to change rsync feed #258

Closed stef97 closed 2 months ago

stef97 commented 4 years ago

RSYNC does not work because it is configured to use this feed feed.openvas.org

It does work though if we are using feed.community.greenbone.net

I tested by changing in the container using sed

Is there a variable similar with PUBLIC_NAME that can be used when building container ? ..or any other smarted way to deal with this ? Thanks

drwetter commented 4 years ago

Hmm.. just stumbled over this too. feed.community.greenbone.net does use a CN which is wrong:

 Common Name (CN)             files.greenbone.net 
 subjectAltName (SAN)         files.greenbone.net 

Anybody knows what is going on here?

drwetter commented 4 years ago

see also #257

nick-fox commented 3 years ago

Add rsync feeds to your env.

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

I've tested this running the docker image https://hub.docker.com/r/mikesplain/openvas