]> git.ipfire.org Git - thirdparty/bind9.git/commit
convert rndc and control channel to use netmgr
authorEvan Hunt <each@isc.org>
Thu, 16 Apr 2020 20:06:42 +0000 (13:06 -0700)
committerEvan Hunt <each@isc.org>
Mon, 13 Jul 2020 20:16:53 +0000 (13:16 -0700)
commit3551d3ffd2afe6542e79a5571b326bd77fdd265e
treeb512697f51acd47a1f57e14ffc86d614d93e0782
parent002c328437e7dbc59bbbc23d5bfea5bd6150bdc9
convert rndc and control channel to use netmgr

- updated libisccc to use netmgr events
- updated rndc to use isc_nm_tcpconnect() to establish connections
- updated control channel to use isc_nm_listentcp()

open issues:

- the control channel timeout was previously 60 seconds, but it is now
  overridden by the TCP idle timeout setting, which defaults to 30
  seconds. we should add a function that sets the timeout value for
  a specific listener socket, instead of always using the global value
  set in the netmgr. (for the moment, since 30 seconds is a reasonable
  timeout for the control channel, I'm not prioritizing this.)
- the netmgr currently has no support for UNIX-domain sockets; until
  this is addressed, it will not be possible to configure rndc to use
  them. we will need to either fix this or document the change in
  behavior.
bin/named/controlconf.c
bin/rndc/rndc.c
doc/man/dnssec-importkey.1in
lib/isccc/ccmsg.c
lib/isccc/include/isccc/ccmsg.h