I updated from openvas-9 to GVM-10. Some (not all!) of my scans fail almost immediately with:
openvas_scanner_read: Failed to read from scanner: Connection reset by peer
Log (gvmd.log):
event task:MESSAGE:2019-05-06 11h52.17 CEST:103755: Status of task Netz Server (4b7229d1-aadd-4064-b591-cd578b760684) has changed to Requested
event task:MESSAGE:2019-05-06 11h52.17 CEST:103755: Task Netz Server (4b7229d1-aadd-4064-b591-cd578b760684) has been requested to start by admin
event task:MESSAGE:2019-05-06 11h52.26 CEST:103760: Status of task Netz Server (4b7229d1-aadd-4064-b591-cd578b760684) has changed to Running
md main:WARNING:2019-05-06 11h52.28 CEST:103760: openvas_scanner_read: Failed to read from scanner: Connection reset by peer
event task:MESSAGE:2019-05-06 11h52.28 CEST:103760: Status of task Netz Server (4b7229d1-aadd-4064-b591-cd578b760684) has changed to Interrupted
Turns out that some of the targets’ hostnames did not resolve. I sanitized the list of targets to only contain target with DNS entries and now the scan works.
Still, the scanner shouldn’t crash when given an invalid hostname as target.