Discussion:
[Unbound-users] UNIX socket interface for unbound-control
Tomas Hozza
2015-04-22 07:56:48 UTC
Permalink
Hi all.

I noticed that there is a unbound_unixsock.diff in the contrib/ directory,
which makes the unbound and unbound-control to use unix sockets instead
of SSL connection.

I would like to ask if there is any particular reason why it is only
in the contrib/ dir and not part of the unbound source? Would it be
OK to integrate it into the source and just add a configure script
option like --with-unixsock-control (or something shorter :) )?

I can help with the integration in configure script.

Thanks!

Regards,
--
Tomas Hozza
Software Engineer - EMEA ENG Developer Experience

PGP: 1D9F3C2D
Red Hat Inc. http://cz.redhat.com
W.C.A. Wijngaards
2015-04-22 08:05:00 UTC
Permalink
Hi Tomas,
Post by Tomas Hozza
Hi all.
I noticed that there is a unbound_unixsock.diff in the contrib/
directory, which makes the unbound and unbound-control to use unix
sockets instead of SSL connection.
I would like to ask if there is any particular reason why it is
only in the contrib/ dir and not part of the unbound source? Would
it be OK to integrate it into the source and just add a configure
script option like --with-unixsock-control (or something shorter :)
)?
I can help with the integration in configure script.
It is already a feature of the unbound source! Use /tmp/unbound.sock
for control-interface: in unbound.conf. You can also disable the
certificate checks with an option.

I have removed the patch from contrib.

Best regards,
Wouter
Post by Tomas Hozza
Thanks!
Regards,
Tomas Hozza
2015-04-22 10:35:32 UTC
Permalink
Hi Wouter.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Tomas,
Post by Tomas Hozza
Hi all.
I noticed that there is a unbound_unixsock.diff in the contrib/
directory, which makes the unbound and unbound-control to use unix
sockets instead of SSL connection.
I would like to ask if there is any particular reason why it is
only in the contrib/ dir and not part of the unbound source? Would
it be OK to integrate it into the source and just add a configure
script option like --with-unixsock-control (or something shorter :)
)?
I can help with the integration in configure script.
It is already a feature of the unbound source! Use /tmp/unbound.sock
for control-interface: in unbound.conf. You can also disable the
certificate checks with an option.
Oh, I didn't notice it. Thanks for pointing it out. I will test it. Thank you!
I have removed the patch from contrib.
Best regards,
Wouter
Post by Tomas Hozza
Thanks!
Regards,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJVN1YsAAoJEJ9vHC1+BF+NiQoP/2bx4aSMkymRxfUJPsEg1xFk
jQsRxulZgVeFzC3oJvCyRP9V0Ij4YfZJBIR43Buc7sw2qhESwbgb0cI386ZjnEMZ
K3N+QkNkueY8lJaPg0zpZ1nMXol/E7f1RZXO7V1JvaCefvCQrSLdJo84u0Zn/yth
DDqpeSLWHyFj3vTgY7F8ycdnOpVGJR+KXxu6Pp4sfldTjepI3Jx5wpe1jBpplSOn
THbIFa1tRxe2uZ9cIGOSrFj/ZNougaqWZeUB55UuZU5g+Bq19vLmSRNvR6zTZYGQ
/vuinIgbn+Eun2lL0xvEX5XlGSbPES+SA6pEy+3n2dOLPBrk/sVDt2Re0QPz/HwA
mWXwhVkft26nrF2+dNO57ckM+tT0zl90mDoV/5k9PaVD875EEnzdVV3o8qH4L/+h
ICInp4vs4AfKdDgARliHhkK4YhrwBZf49zDwE8aNFphjwrL/awNjHwNRxq6J2RP0
xZZc/xcCFdDtuIqiYLXOgLf2DvWiuIBZa23bJqY3LoynKvCRmztpoWyjXshlOgXg
iAdiuljNiFaDO2LjQ8bO2uBS+zuUhRVtPkZxXqSDo1w62orKqvsTCAFpSjpB8Tb2
50p3nWDLO6zugz0i2uXPBBe3EaNOUadfdx5EM4gx5f+U4TC8TpMXc1371yDMNJdR
5Uak4yX8YffWuitdJGpz
=FQQV
-----END PGP SIGNATURE-----
_______________________________________________
Unbound-users mailing list
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
Regards,
--
Tomas Hozza
Software Engineer - EMEA ENG Developer Experience

PGP: 1D9F3C2D
Red Hat Inc. http://cz.redhat.com
Loading...