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 hosts count to the client as -1, because the invalid target list #646

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

jjnicola
Copy link
Member

@jjnicola jjnicola commented Jan 29, 2021

What:
Send the hosts count to the client as -1, because the invalid target list

Why:
This allows ospd to finish the scan gracefully, setting the scan to finished
instead of interrupted, but sending the error message as well.

How:

  • Set debug log level in ospd.
  • Start a scan with an invalid target list (only possible via gvm-cli, as gsa wont you to create a invalid target).
  • See in the log that ospd-openvas receives the update of amount of host from openvas set to -1

Checklist:

…list

This allows ospd to finish the scan gracefully, setting the scan to finished
instead of interrupted, but sending the error message as well.
@jjnicola jjnicola merged commit 54211aa into greenbone:openvas-20.08 Feb 1, 2021
@jjnicola jjnicola deleted the host-count branch February 1, 2021 08:45
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.

None yet

2 participants