Hi,
I’m using the current containers and I added some /24 to scan, but some just won’t scan at all.
Like 192.168.8.0/24 scans just fine, 192.168.2.0/24 doesn’t. 9 out of 21 subnets are like this.
Here is a stripped down version of the huge log from that /24 scan.
Sometimes it shows 254 hosts, in this case it shows only 1 even if it is a whole subnet. Every host in this subnet is reachable from the server and with packet captures, I see there’s not even a try to contact these.
Do I miss something? Are there other logs that show why it thinks they are dead?
2022-10-13 08:51:50,446: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current scan status: QUEUED,
2022-10-13 08:51:50,446: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Results sent successfully to the client. Cleaning temporary result list.
2022-10-13 08:51:54,730: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Set scan status INIT,
2022-10-13 08:51:54,733: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Set scan status RUNNING,
2022-10-13 08:51:55,478: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Results sent successfully to the client. Cleaning temporary result list.
2022-10-13 08:51:58,099: DEBUG: (ospd_openvas.preferencehandler) The VT 1.3.6.1.4.1.25623.1.1.12.2010.999.1 is handled by notus. Ignoring.
[30790 Lines of Ignoring stuff]
2022-10-13 08:52:07,109: DEBUG: (ospd_openvas.preferencehandler) The VT 1.3.6.1.4.1.25623.1.1.2.2017.1087 is handled by notus. Ignoring.
2022-10-13 08:52:10,523: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current scan status: RUNNING,
2022-10-13 08:52:10,523: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current scan progress: 0,
2022-10-13 08:52:10,523: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Check scan process:
Progress 0
Status: RUNNING
2022-10-13 08:52:15,544: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Results sent successfully to the client. Cleaning temporary result list.
2022-10-13 08:52:19,845: DEBUG: (ospd_openvas.preferencehandler) hosts_ordering is a scanner only setting and should not be set by the client. Setting needs to be included in OpenVAS configuration file instead.
2022-10-13 08:52:19,887: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current scan status: RUNNING,
2022-10-13 08:52:19,909: DEBUG: (ospd_openvas.openvas) Starting scan with niceness 10
2022-10-13 08:52:19,918: DEBUG: (ospd_openvas.daemon) pid = 493
2022-10-13 08:52:20,546: DEBUG: (ospd.server) New request from /run/ospd/ospd-openvas.sock
2022-10-13 08:52:20,546: DEBUG: (ospd.ospd) Handling get_scans command request.
2022-10-13 08:52:20,923: DEBUG: (root) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current progress:
{‘count_alive’: 0,
‘count_dead’: 0,
‘count_excluded’: 0,
‘count_total’: 1,
‘current_hosts’: {},
‘overall’: 0}
2022-10-13 08:52:20,924: DEBUG: (ospd.scan) ce5eec9a-968d-4872-9e14-9d75aff50c80: Setting the following hosts as dead: []
2022-10-13 08:52:20,924: DEBUG: (ospd.scan) ce5eec9a-968d-4872-9e14-9d75aff50c80: Setting the following hosts as finished: []
2022-10-13 08:52:21,926: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current scan status: RUNNING,
2022-10-13 08:52:21,927: DEBUG: (ospd.ospd) Calculating scan progress with the following data:
2022-10-13 08:52:21,927: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current scan progress: 0,
2022-10-13 08:52:21,928: DEBUG: (root) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current progress:
{‘count_alive’: 0,
‘count_dead’: 0,
‘count_excluded’: 0,
‘count_total’: 1,
‘current_hosts’: {},
‘overall’: 0}
2022-10-13 08:52:22,932: DEBUG: (ospd.scan) ce5eec9a-968d-4872-9e14-9d75aff50c80: Setting the following hosts as dead: []
2022-10-13 08:52:22,932: DEBUG: (ospd.scan) ce5eec9a-968d-4872-9e14-9d75aff50c80: Setting the following hosts as finished: []
2022-10-13 08:52:23,934: DEBUG: (ospd_openvas.daemon) Process is a Zombie, waiting for it to clean up
2022-10-13 08:52:23,934: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current scan status: RUNNING,
2022-10-13 08:52:23,935: DEBUG: (ospd_openvas.daemon) ce5eec9a-968d-4872-9e14-9d75aff50c80: Set total hosts counted by OpenVAS: 0
2022-10-13 08:52:23,935: DEBUG: (ospd.ospd) Calculating scan progress with the following data:
2022-10-13 08:52:23,935: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current scan progress: 0,
2022-10-13 08:52:23,936: DEBUG: (root) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current progress:
{‘count_alive’: 0,
‘count_dead’: 0,
‘count_excluded’: 0,
‘count_total’: 0,
‘current_hosts’: {},
‘overall’: 0}
2022-10-13 08:52:23,936: DEBUG: (ospd.scan) ce5eec9a-968d-4872-9e14-9d75aff50c80: All hosts dead or excluded.
2022-10-13 08:52:23,937: DEBUG: (ospd.scan) ce5eec9a-968d-4872-9e14-9d75aff50c80: Setting the following hosts as dead: []
2022-10-13 08:52:23,937: DEBUG: (ospd.scan) ce5eec9a-968d-4872-9e14-9d75aff50c80: Setting the following hosts as finished: []
2022-10-13 08:52:25,559: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current scan status: FINISHED,
2022-10-13 08:52:25,559: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Current scan progress: 100,
2022-10-13 08:52:25,560: DEBUG: (ospd.ospd) ce5eec9a-968d-4872-9e14-9d75aff50c80: Check scan process:
Progress 100
Status: FINISHED