immauss / openvas

Containers for running the Greenbone Vulnerability Manager. Run as a single container with all services or separate single applications containers via docker-compose.
GNU Affero General Public License v3.0
366 stars 102 forks source link

Host details not showing #293

Closed s0vandey closed 2 months ago

s0vandey commented 3 months ago

Hi immauss When scanning any host, details of that host are not displayed. I can ping the host from the server.

openvas

image

Please attach large files to the report instead of pasting the contents into the report.

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Include how you started the container.
    • docker-compose.yml or command used to start the container with all options.
  2. When did the issue occur?
    • the container failed to start?
    • Container stopped when performing some action? What was the action?
    • Some other error in the GUI or the logs ?

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

logs ( commands assume the container name is 'openvas' ) Please attach the output from one of the following commands:

docker

docker logs openvas > logfile.log

Podman

podman logs openvas > logfile.log

docker-compose

docker-compose logs > logfile.log

Please "attach" the file instead of pasting the conents to the issue.

Additional context Add any other context about the problem here.

immauss commented 2 months ago

You said you can ping the host from the server, can you connect to the host from inside the container?

docker exec -it <container name> bash

This will give you shell from inside the container. See if you can ping/ssh to the host you are trying to scan from here. If not, it is likely a docker configuration or firewall issue.

-Scott