Discussion:
"Error in host specification" when creating a Target with larger than /24
Barry Gould
2014-08-15 22:28:59 UTC
Permalink
Hi,

I'm trying to create a scan target for 10.40.0.0/16 or /15 or /14, and it keeps failing with 'Error in host specification' unless I change it to /24.

Why?!

This is on CentOS 6, with current packages.

Thanks,
Barry
Ryan Schulze
2014-08-16 04:20:05 UTC
Permalink
/24 is the largest net you can use for target. You will have to split up
anything larger into /24 subnets. Since a /14 will be end up being quite
a few /24 nets you may want to look at the OMP protocol
http://www.openvas.org/omp-5-0.html#command_create_target and create the
targets and tasks via script instead of typing them in manually.
Post by Barry Gould
Hi,
I'm trying to create a scan target for 10.40.0.0/16 or /15 or /14, and
it keeps failing with 'Error in host specification' unless I change it
to /24.
Why?!
This is on CentOS 6, with current packages.
Thanks,
Barry
Barry Gould
2014-08-21 17:57:56 UTC
Permalink
Hi,

Thanks for your reply.

Is this for a technical/performance reason, or could it be fixed to allow larger network specifications?

Thank you,
Barry


From: Openvas-discuss [mailto:openvas-discuss-***@wald.intevation.org] On Behalf Of Ryan Schulze
Sent: Friday, August 15, 2014 9:20 PM
To: openvas-***@wald.intevation.org
Subject: Re: [Openvas-discuss] "Error in host specification" when creating a Target with larger than /24

/24 is the largest net you can use for target. You will have to split up anything larger into /24 subnets. Since a /14 will be end up being quite a few /24 nets you may want to look at the OMP protocol http://www.openvas.org/omp-5-0.html#command_create_target and create the targets and tasks via script instead of typing them in manually.

On 8/15/2014 5:28 PM, Barry Gould wrote:
Hi,

I'm trying to create a scan target for 10.40.0.0/16 or /15 or /14, and it keeps failing with 'Error in host specification' unless I change it to /24.

Why?!

This is on CentOS 6, with current packages.

Thanks,
Barry

Loading...