Giter VIP home page Giter VIP logo

Comments (10)

faichelbaum avatar faichelbaum commented on May 18, 2024 1

Ok so, OpenVAS9 (version 7.0.3) on Ubuntu only use a socket file by default.
You need to explicitly update your OpenVAS Manager (not GSA) configuration to bind the default port (9390) and only that one
i.e. on Ubuntu, it's via /etc/default/openvas-manager:

LISTEN_ADDRESS="0.0.0.0"
PORT_NUMBER=9390

from archerysec.

anandtiwarics avatar anandtiwarics commented on May 18, 2024

which version of OpenVAS are you using?

from archerysec.

faichelbaum avatar faichelbaum commented on May 18, 2024

Hi

As I'm having the same error with a server using Ubuntu 16.04 and official deb packages:

ii openvas9 7.0.3-1 amd64 remote network security auditor - metapackage
ii openvas9-cli 1.4.5-1xenial amd64 remote network security auditor - cli
ii openvas9-gsa 7.0.3-1xenial2 amd64 remote network security auditor - web interface
ii openvas9-manager 7.0.3-1 amd64 remote network security auditor - manager
ii openvas9-scanner 5.1.2-1 amd64 remote network security auditor - scanner

from archerysec.

faichelbaum avatar faichelbaum commented on May 18, 2024

I guess you should update the configuration to point this configuration and also, allow the Archery admin to specify the TCP port to be used for each API (OpenVAS, ZAP, ...) to avoid this confusion

from archerysec.

anandtiwarics avatar anandtiwarics commented on May 18, 2024

Hi @faichelbaum,

Thanks for your feedback. Is it possible for you to update the README file and create a pull request?

I really appreciate your contribution to the project and I hope you would help us in the future too.

from archerysec.

faichelbaum avatar faichelbaum commented on May 18, 2024

@Xeyk the last PR that got merge will fix your issue:

  • more explicit about the OpenVAS daemon
  • possibility to change the TCP port

from archerysec.

Xeyk avatar Xeyk commented on May 18, 2024

Sorry about the late response, guys. I had to put this project on hold at work for a while.
@anandtiwarics - I am running openvas 9

@faichelbaum - It looks like I'm still getting the error after updating. Here is the latest message:

Scan Launched IP: 10.0.1.147 [05/Sep/2018 14:06:22] "POST /networkscanners/launch_scan/ HTTP/1.1" 200 14161 Exception in thread Thread-14: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 765, in run self.__target(*self.__args, **self.__kwargs) File "/home/nf3985/archerysec/networkscanners/views.py", line 178, in openvas_scanner scanner = openvas.connect() File "/home/nf3985/archerysec/scanners/scanner_plugin/network_scanner/openvas_plugin.py", line 59, in connect int(lod_ov_port)) File "/usr/lib/python2.7/site-packages/openvas_lib/__init__.py", line 511, in __init__ raise VulnscanServerError("Error while connecting to the server: %s" % e.message) VulnscanServerError: Error while connecting to the server: [Errno 111] Connection refused

Here's a pic of my openvas settings. I made new user through openvasmd called "archery" with admin rights. Openvas and Archery are running on the same server.
https://i.imgur.com/9lrOMqr.png

from archerysec.

faichelbaum avatar faichelbaum commented on May 18, 2024

Can you share your OpenVAS manager configuration (not the GSA one)

from archerysec.

anandtiwarics avatar anandtiwarics commented on May 18, 2024

@Xeyk Please use docker-compose. Updated docker-compose.yml file which would allow you to create a OpenVAS & ZAP scanner.

from archerysec.

evgeniysgs3 avatar evgeniysgs3 commented on May 18, 2024

Please help me. I don't know how do me:
image
I'm rewrite settings in file /etc/default/openvas-manager and openvasmd --rebuild

from archerysec.

Related Issues (20)

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.