[Openvas-discuss] Scanning a hostname with more then three dots

Matthew Mundell matthew.mundell at greenbone.net
Tue Jun 19 17:42:22 CEST 2012


> I've been trying to create a target using the following hostname
> "a.b.c.example.com" (4 dots) but it didn't work while
> "b.c.example.com" (3 dots)  works. This seems to be due to the
> following check which is mistakenly applied even if the host is
> alphanumeric. I think it should be moved somewhere deeper in
> "validate_host".
>
>     openvas-manager-3.0.1-modified/src/manage_sql.c (validate_host):
>
>         21448 : if (g_strv_length (split) > 4)
>         21449 :  return 1;

Thanks.  That was solved in trunk r13492 on 2012-05-24.  I've now
backported to the openvas-manager-3.0 branch (r13621) so it should appear
in the next stable release.

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner



More information about the Openvas-discuss mailing list