Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send the correct num of dead hosts to ospd-openvas #371

Conversation

ArnoStiefvater
Copy link
Member

@ArnoStiefvater ArnoStiefvater commented Jul 2, 2020

When we reach the max_scan_hosts limit we do not need send the true number of dead hosts.
The number needed by ospd-opevas for calculating the correct progress bar and not ending a scan in the interrupted state is calculated by subtracting the number of max_scan_hosts and alive hosts from the number of target hosts.

Checklist:

@ArnoStiefvater ArnoStiefvater force-pushed the send-correct-numbe-of-dead-hosts branch 2 times, most recently from c77e637 to 680271d Compare July 3, 2020 04:35
When we reach the max_scan_hosts limit we do not
send the true number of dead hosts.
The number needed by ospd-opevas for calculating
the correct progress bar and not ending a scan in
the interrupted state is calculated by subtracting
the number max_scan_hosts from the number
of target hosts if max_scan_hosts was reached.
@ArnoStiefvater ArnoStiefvater force-pushed the send-correct-numbe-of-dead-hosts branch from 680271d to 72fe1d6 Compare July 3, 2020 06:45
@jjnicola jjnicola merged commit f55dcec into greenbone:gvm-libs-20.08 Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants