greenbone / openvas-scanner

This repository contains the scanner component for Greenbone Community Edition.
https://greenbone.github.io/docs/
GNU General Public License v2.0
3.25k stars 605 forks source link

can not update #918

Closed hktalent closed 2 years ago

hktalent commented 2 years ago

can not update

1101636185589_ pic_hd

$ apt-get update;apt-get dist-upgrade
$ greenbone-nvt-sync --curl --verbose
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:09 --:--:--     0curl: (7) Failed to connect to dl.greenbone.net port 80: Connection timed out

$ greenbone-nvt-sync --rsync --verbose
rsync: failed to connect to feed.openvas.org (89.146.224.58): Connection timed out (110)
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(128) [Receiver=3.1.1]
hktalent commented 2 years ago
$ greenbone-scapdata-sync

rsync: failed to connect to feed.openvas.org (89.146.224.58): Connection timed out (110)
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(128) [Receiver=3.1.1]
hktalent commented 2 years ago

https://github.com/mikesplain/openvas-docker/issues/185

https://githubmemory.com/repo/mikesplain/openvas-docker/issues/185

# 方法有三種:rsync, wget 和 curl,預設使用 rsync
/usr/sbin/greenbone-nvt-sync --wget --verbose
/usr/sbin/greenbone-certdata-sync --wget --verbose
/usr/sbin/greenbone-scapdata-sync --wget --verbose
/usr/sbin/openvasmd --update --verbose --progress
/etc/init.d/openvas-manager restart
/etc/init.d/openvas-scanner restart

same feed.openvas.org (89.146.224.58): Connection timed out

hktalent commented 2 years ago

@see http://github.com/hktalent/51pwn/gvm/