Giter Club home page Giter Club logo

openvas-docker's People

Contributors

bug-c avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ph0eby

openvas-docker's Issues

rsync error: error in socket IO (code 10)


# docker logs 45290f2ce3e6
Testing redis status...
Redis ready.
Generated private key in /tmp/tmp.3N5Sh5Vo2k/cakey.pem.
Generated self signed certificate in /tmp/tmp.3N5Sh5Vo2k/cacert.pem.
Installed private key to /usr/local/var/lib/gvm/private/CA/cakey.pem.
Installed certificate to /usr/local/var/lib/gvm/CA/cacert.pem.
Generated private key in /tmp/tmp.3N5Sh5Vo2k/serverkey.pem.
Generated certificate request in /tmp/tmp.3N5Sh5Vo2k/serverrequest.pem.
Signed certificate request in /tmp/tmp.3N5Sh5Vo2k/serverrequest.pem with CA certificate in /usr/local/var/lib/gvm/CA/cacert.pem to generate certificate in /tmp/tmp.3N5Sh5Vo2k/servercert.pem
Installed private key to /usr/local/var/lib/gvm/private/CA/serverkey.pem.
Installed certificate to /usr/local/var/lib/gvm/CA/servercert.pem.
Generated private key in /tmp/tmp.3N5Sh5Vo2k/clientkey.pem.
Generated certificate request in /tmp/tmp.3N5Sh5Vo2k/clientrequest.pem.
Signed certificate request in /tmp/tmp.3N5Sh5Vo2k/clientrequest.pem with CA certificate in /usr/local/var/lib/gvm/CA/cacert.pem to generate certificate in /tmp/tmp.3N5Sh5Vo2k/clientcert.pem
Installed private key to /usr/local/var/lib/gvm/private/CA/clientkey.pem.
Installed certificate to /usr/local/var/lib/gvm/CA/clientcert.pem.
Removing temporary directory /tmp/tmp.3N5Sh5Vo2k.
User created with password 'b431c697-fd58-4e35-abed-eb5173ebe44e'.
openvas-scanner - creating cache...
openvas-scanner - starting...
<28>Sep  5 12:40:58 greenbone-nvt-sync: The log facility is not working as expected. All messages will be written to the standard error stream.
<29>Sep  5 12:40:58 greenbone-nvt-sync: No Greenbone Security Feed access key found, falling back to Greenbone Community Feed
rsync: getaddrinfo: feed.openvas.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
<27>Sep  5 12:41:18 greenbone-nvt-sync: rsync failed, aborting synchronization.
rsync: getaddrinfo: feed.openvas.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
rsync: getaddrinfo: feed.openvas.org 873: Temporary failure in name resolution
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
==> /usr/local/var/log/gvm/gsad.log <==
gsad main:MESSAGE:2019-09-05 12h40.58 utc:68: Starting GSAD version 8.0.0~git-d2f26573b-gsa-8.0
gsad main:WARNING:2019-09-05 12h41.08 utc:69: MHD: Error: received handshake message out of context
gsad main:WARNING:2019-09-05 12h41.51 utc:69: MHD: Error: received handshake message out of context
gsad main:WARNING:2019-09-05 12h41.53 utc:69: MHD: Error: received handshake message out of context

==> /usr/local/var/log/gvm/gvmd.log <==
md manage:   INFO:2019-09-05 12h41.06 utc:120: Updating /usr/local/var/lib/gvm/cert-data/CB-K18.xml
md manage:   INFO:2019-09-05 12h41.07 utc:120: Updating /usr/local/var/lib/gvm/cert-data/CB-K17.xml
md manage:   INFO:2019-09-05 12h41.07 utc:120: Updating /usr/local/var/lib/gvm/cert-data/CB-K13.xml
md manage:   INFO:2019-09-05 12h41.07 utc:120: Updating /usr/local/var/lib/gvm/cert-data/CB-K16.xml
md manage:   INFO:2019-09-05 12h41.08 utc:120: Updating Max CVSS for DFN-CERT
md manage:   INFO:2019-09-05 12h41.08 utc:120: Updating DFN-CERT CVSS max succeeded.
md manage:   INFO:2019-09-05 12h41.08 utc:120: Updating Max CVSS for CERT-Bund
md manage:   INFO:2019-09-05 12h41.09 utc:120: Updating CERT-Bund CVSS max succeeded.
md manage:   INFO:2019-09-05 12h41.09 utc:120: sync_cert: Updating CERT info succeeded.
md manage:   INFO:2019-09-05 12h41.44 utc:119: Updating NVT cache... done (51387 NVTs).

==> /usr/local/var/log/gvm/openvassd.log <==
sd   main:MESSAGE:2019-09-05 12h40.51 utc:62: openvassd 6.0.0 started

==> /usr/local/var/log/gvm/gsad.log <==
gsad main:WARNING:2019-09-05 12h47.10 utc:69: MHD: Error: received handshake message out of context
gsad main:WARNING:2019-09-05 12h47.12 utc:69: MHD: Error: received handshake message out of context

Host:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

docker:
Docker version 19.03.2, build 6a30dfc

Report issues with reports!

Hello

Thanks for the great work with OpenVas 10.

I noticed issues with reports : pdf reports do not work as expected (0 bytes size) and LaTex reports seem to have issues (at least they can't be compiled with latest TexWorks under Windows).

Thanks in advance

OpenVAS SIGSEGV

I'm currently having an issue where the OpenVAS scanner dies with a segfault:

sd   main:WARNING:2020-04-14 22h48.33 utc:3636: SIGSEGV occurred!

Looking around, I found greenbone/openvas-scanner#336, and it looks like it's fixed by v10.0.1 of gvm-libs. I think this should just require a small bump in the version referenced in the docker RUN command on L38-49 of the Dockerfile.

#Build gvm-libs
RUN cd /usr/src && \
wget -nv https://github.com/greenbone/gvm-libs/archive/v10.0.0.tar.gz && \
tar -zxf v10.0.0.tar.gz && \
cd gvm-libs-10.0.0 && \
mkdir build && \
cd build && \
cmake .. && \
make && \
make install && \
rm /usr/src/v10.0.0.tar.gz && \
rm -rf /usr/src/gvm-libs-10.0.0

That being said, a number of the other things built by this image have newer releases (in the same series), and could use an update as well:

openvas: v6.0.0 ==> v6.0.1
gsa: v8.0.0 ==> v8.0.1
gvmd: v8.0.0 ==> v8.0.1
ospd: (commit 36027d4) ==> v2.0.0
ospd-openvas: (commit 3f6d407) ==> v1.0.0

I've been working on a branch to update all of these and will open a PR soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.