Closed veronicapr closed 3 years ago
Possibility to scan entire subnets with /16 netmask.
Error message "Error in host specification" when trying to add target subnet with a /16 netmask.
gsa: (gsad --version) Greenbone Security Assistant 20.08.0
gvm: (gvmd --version) Greenbone Vulnerability Manager 20.08.0
openvas-scanner: (openvas --version) OpenVAS 20.8.0
gvm-libs: 20.8.0
Operating system:
Installation method / source: (packages, source installation) Ubuntu 16.04.7 LTS
Hi @veronicapr AFAIK this is no bug.
As referred here you can only create targets with a maximum of 4096 IPs. You are trying to create a Target that contains 65536 IPs.
https://github.com/greenbone/gvmd/issues/1382
Expected behavior
Possibility to scan entire subnets with /16 netmask.
Actual behavior
Error message "Error in host specification" when trying to add target subnet with a /16 netmask.
Steps to reproduce
GVM versions
gsa: (gsad --version) Greenbone Security Assistant 20.08.0
gvm: (gvmd --version) Greenbone Vulnerability Manager 20.08.0
openvas-scanner: (openvas --version) OpenVAS 20.8.0
gvm-libs: 20.8.0
Environment
Operating system:
Installation method / source: (packages, source installation) Ubuntu 16.04.7 LTS
Logfiles