Error in host specification



Hello folks,

While creating a “Target” for scanning - I am using the subnet “” but I keep getting an error stating that there is an error in host specification. This is the LAN we are using! Why is it not taking it? I noticed that when the third octet is anything but a zero, it works. Please help.



I was able to fix this. Using the last octet as any other number except single digit works. I used the target as “” and it took the LAN


Had this same problem from Kali Linux. After upgrading Kali to 2019.1 we have problem with OpenVAS. Existing targets with a subnet definition (e.g. is considered invalid. Creating new targets fails, both from CLI and through GSA webinterface.

Main problem is that existing targets are no longer valid. In GSA the number op IPs is -1 for these targets. OpenVAS itself wasn’t updated.

The problem depends on the position of ‘/’. If ‘/’ is the 12th or higher character there is no problem.
So: – Fails – Fails – Fails – Fails – no problem. ‘/’ is 12th character – Fails – no problem – no problem

I’ve found a workaround for old targets that have problems after the upgrade:

  • Generate a list of all IP-adressses in the subnet for example with ‘nmap -sL’
  • Stop openvas-manager
  • Open SQLite3 databse: sqlite3 /var/lib/openvas/mgr/tasks.db
  • Update table targets. E.g. update targets set hosts = ’ where name = ‘’
  • Start openvas-manager