Configuring OpenVAS - SCAP DATA error(s)

Hi, firstly I apologize if I am posting this in the wrong category. I am trying to set up OpenVAS on Kali Linux. Most recent versions of both. For reference, I tries following these guides

  1. https://www.looklinux.com/how-to-install-openvas-on-ubuntu-debian-or-kali-linux-machine/
  2. https://www.ceos3c.com/security/install-openvas-kali-linux/

I am getting stuck on gvm setup part. After running the command, “sudo gvm-setup”, and then checking the result with, “sudo gvm-check-setup,” I always receive this

receiving incremental file list
rsync: [receiver] read error: Connection reset by peer (104)
rsync error: error in socket IO (code 10) at io.c(806) [receiver=3.2.7]
rsync: connection unexpectedly closed (39 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(231) [generator=3.2.7]

I tried the fix, “sudo runuser -u _gvm – greenbone-feed-sync --type SCAP” but that doesn’t change the result.

What I have done with the Kali OS beyond OpenVAS is added the OS to my org’s domain and given my AD account domain access to it (SSSD Authentication). Other than that, I haven’t tampered with the OS.

The issue was a firewall rule. I am blocking peer-to-peer along with a ton of countries. I disabled peer-to-peer blocking and I can run the command successfully now.

What I did from here is put back the block on peer-to-peer and applied a policy so that only my kali instance can communicate out port 873. Most of the time I plan on having kali turned off, otherwise I would not be ok with this port open.

Please don’t delete this thread, I think it should stay up in case anyone else experiences the same issue.

2 Likes