From Kali Linux Virtual box machine, “sudo apt install openvas.”
Install looks fine, except:
Feed status is stuck on “update in progress” for several days."
“Scan Configs” has been “0” for days.
Do I need to know how to script to get the feed status to update from “update in progress” or “2 days old?” It’s read “update in progress” since install. Also “Scan Configs” has been “0” ever since install.
I’m having a similar issue. I was able to install but unable to update/sync feeds. I have included the error in the images. I notice this command being thrown around greenbone-nvt-sync --rsync but it’s incomplete. The command in full is greenbone-nvt-sync --rsync-timeout where timeout is an integer.
I am also unable to sync. I just installed for the first time on Kali from repo. The install went without a hitch, but when attempting to run greenbone-feed-sync --type nvt, absolutely nothing happens.
Checked with the firewall team and it looks like they have rsync blocked. You may need to check the same. Port 873 needs to be open for rsync. Being that firewalls are hit on that port a ton, you may need to open it for what you need then close it otherwise. So, bundle your updates. Service Name and Transport Protocol Port Number Registry
Ingress or egress? We are not blocking anything egress.
└─# sudo greenbone-feed-sync --type nvt --rsync-timeout 10
Running as root. Switching to user '_gvm' and group '_gvm'.
Trying to acquire lock on /var/lib/openvas/feed-update.lock
Acquired lock on /var/lib/openvas/feed-update.lock
⠙ Downloading Notus files from rsync://feed.community.greenbone.net/community/vulnerability-feed/22.04/vt-data/notus/ to
/var/lib/notus
rsync: [Receiver] safe_read failed to read 1 bytes: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(282) [Receiver=3.2.7]
└─# rsync --version
rsync version 3.2.7 protocol version 31
Copyright (C) 1996-2022 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, symlinks, symtimes, hardlinks, hardlink-specials,
hardlink-symlinks, IPv6, atimes, batchfiles, inplace, append, ACLs,
xattrs, optional secluded-args, iconv, prealloc, stop-at, no crtimes
Optimizations:
SIMD-roll, no asm-roll, openssl-crypto, no asm-MD5
Checksum list:
xxh128 xxh3 xxh64 (xxhash) md5 md4 sha1 none
Compress list:
zstd lz4 zlibx zlib none
Daemon auth list:
sha512 sha256 sha1 md5 md4
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
└─# rsync -rv ~ .
...
...
sent 1,187,566,510 bytes received 397,202 bytes 95,037,096.96 bytes/sec
total size is 1,185,689,980 speedup is 1.00