Commit Graph
16 Commits
Author SHA1 Message Date
Brian Wellington ed3418751e The 'stopping command channel on 127.0.0.1#953' message could be printed
multiple times on shutdown.
2001-07-05 18:39:14 +00:00
Andreas Gustafsson 8ee6b68d4f brace style 2001-07-05 17:01:40 +00:00
Brian Wellington c2da4f9d8a The controls statement didn't support multiple keys (in 9.2). It does now,
although it's suboptimal - since the control message doesn't have a key
name, it just tries each key until it finds one that successfully decodes
the message.
2001-07-04 03:54:55 +00:00
Andreas Gustafsson 4a0b9bb051 signed/unsigned int pointer mismatch caused compiler warning on Tru64 2001-06-29 23:34:40 +00:00
Andreas Gustafsson 0eace215bd "\0" is a rather strange way of representing the empty string 2001-06-15 23:25:20 +00:00
David Lawrence 1f7342e098 In ns_controls_configure(), moved the ns_controls_shutdown() call that
removes no longer configured listeners into the block that actually
updates/add listeners, because when ns_controls_configure() recursively
calls itself to configure a 127.1 channel if there is no controls() statement,
the top level ns_controls_configure() was shutting down the channel that
the enclosing ns_controls_configure() just created.
2001-05-31 21:49:11 +00:00
David Lawrence 11c4f6b687 Reversed the sense of my earlier change to hmacmd5 key generation that
required good entropy only when 'param' (to dst_key_generate) was non-zero.
Since the default was always to require good entropy, that default behavior
has been restored and now a non-zero param means that pseudorandom is ok.
2001-05-31 18:34:51 +00:00
David Lawrence 7332e47e11 Automatically generate a key for command channel use whenever either
no controls statement is present or when an inet statement is missing
a keys clause.

Dump an rndc.conf-style configuration into a file
(NS_LOCALSTATEDIR "named.key") with the key and suitable default-* values.
2001-05-31 10:36:05 +00:00
Bob Halley 3e9b51fc7b Replies to the reload command would sometimes contain invalid signatures
because the code was incorrectly referencing the secret from memory that
the reload frees.  The code now makes a copy of the secret used to validate
the request, and uses that in the response.
2001-05-14 18:23:39 +00:00
Brian Wellington e4cd5a1e5d Partial support for "rndc status". Not all of the fields are filled in yet. 2001-05-08 04:09:41 +00:00
Andreas Gustafsson 532989b206 initate command channel shutdown from the server task, not the
main task, to avoid race conditions; eliminate global variables in
controlconf.c
2001-05-08 03:42:34 +00:00
Andreas Gustafsson 6e0e723b25 quote key name in warning message; typos; plural 2001-05-07 21:57:25 +00:00
Andreas Gustafsson 02d8e643ea cut-and-paste-o caused memory leak 2001-05-07 21:01:45 +00:00
Brian Wellington d4ef65050f copyright updates
(note - this doesn't touch lib/bind at all.  Mark, whenever you're done with
lib/bind, make sure to do the copyright magic)
2001-04-10 21:52:17 +00:00
Brian Wellington 091329e690 allow multiple messages on the command channel socket 2001-03-31 01:24:25 +00:00
Brian Wellington 1b4e6163be oops, missed a few files. 2001-03-27 00:45:13 +00:00