Not sure how 'admit' works, but I use the below config to allow connectivity 
from client to server, this is part of my cfservd.conf, as an example.

control:
   domain = ( mydomain.com )
   MaxConnections = ( 1000 )
   MultipleConnections = ( true )
   DenyBadClocks = ( false )

   TrustKeysFrom = ( 10.0.0.0/8 192.168.0.0/16 )

grant:
  /var/cfengine/BUILDS                  *.mydomain.com






----- Original Message -----
From: Joseph VanAndel <[email protected]>
To: [email protected]
At: 12/17 19:35:21


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

_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to