greenbone / gsa

Greenbone Security Assistant - The web frontend for the Greenbone Community Edition
GNU Affero General Public License v3.0
212 stars 95 forks source link

Incorrect progress indicator during the scans when a hostname resolves to multiple IP addresses #889

Closed michael-markevich closed 6 years ago

michael-markevich commented 6 years ago

Expected behavior

Scan progress indicator goes from 0 to 100%.

Current behavior

Scan progress indicator goes from 0 to 200%.

Steps to reproduce

  1. Run a scan against any DNS name which resolves to 2 IPs (e.g. with A and AAAA records).
  2. Watch scan progress 10%, 40%, 120%, 146%, 180%...

GVM versions

gsa: (gsad --version) Today's snapshot from github.

gvm: (gvmd --version)

openvas-scanner: (openvassd --version)

gvm-libs:

openvas-smb:

Environment

Operating system: Debian Stretch 9.

Installation method / source: (packages, source installation) Source.

bjoernricks commented 6 years ago

The progress indicator isn't calculated in gsa nor gsad. It's included in the response from gvmd. Could you open an issue at https://github.com/greenbone/gvm instead?

michael-markevich commented 6 years ago

Reported as https://github.com/greenbone/gvm/issues/174. Thank you.