Re: syntax for network specification in admit?
Mark Burgess <[email protected]> Thu, 18 Dec 2008 17:16:33 +0100
| Newsgroups | gmane.comp.sysutils.cfengine.bugs |
|---|---|
| Message-ID | <[email protected]> |
I think you made a mistake in you regex with a "slash too far"
{ "192\.168\.4.\.*"}
Don't you mean
{ "192\.168\.4\..*"} ?
This should work, as I understand it.
M
Joseph VanAndel wrote:
> If I try to specify a set of allowed hosts, using the syntax
> admit => { "192.168.4/24"}
>
> my hosts don't match.
>
> If I explicitly specify a host:
> admit => { "192.168.4.22"}
>
> then the host can connect.
>
> I also tried pattern matching syntax
> dmit => { "192\.168\.4.\.*"}
> which didn't work either.
>
>
> What's the proper syntax to specify that I trust all hosts on a subnet?
> _______________________________________________
> Bug-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/bug-cfengine
--
Mark Burgess
Web: http://www.iu.hio.no/~mark
Tlf: +47 22453272