Mark Andrews
95599b4221
1991. [cleanup] The configuration data, once read, should be treated
...
as readonly. Expand the use of const to enforce this
at compile time. [RT #15813 ]
2006-02-28 06:32:54 +00:00
Mark Andrews
a4c4295268
update copyright notice
2006-01-04 23:50:21 +00:00
Mark Andrews
15c1e65603
ambiguous else
2006-01-04 21:40:02 +00:00
Mark Andrews
8019162f81
1940. [bug] Fixed a number of error conditions reported by
...
Coverity.
2006-01-04 03:43:20 +00:00
Mark Andrews
347c832469
update copyrights
2004-03-08 09:05:15 +00:00
Mark Andrews
c3138c6928
doc regen / copyrights
2004-03-08 04:04:47 +00:00
Mark Andrews
a09e55f624
update copyrights
2004-03-06 10:22:54 +00:00
Mark Andrews
25a60b1d80
sync with HEAD
2003-10-15 05:32:25 +00:00
Mark Andrews
fe73090122
pullup:
...
Split off the named.conf grammar into a source module separate
from the configuration parser, to facilitate reuse of the latter for
parsing non-BIND configuration files
2003-08-12 07:10:32 +00:00
Mark Andrews
ff77225512
pullup:
...
Move configuration checking to libbind9.
2003-08-04 04:23:56 +00:00
Mark Andrews
f4d86cfcea
update_copyrights
2003-07-22 04:03:54 +00:00
Mark Andrews
edb8af0b14
1480. [bug] Provide replay protection for rndc commands. Full
...
replay protection requires both rndc and named to
be updated. Partial replay protection (limited
exposure after restart) is provided if just named
is updated.
2003-07-17 06:36:47 +00:00
Andreas Gustafsson
72ad976640
pullup:
...
1141. [bug] When named rejected a control message, it would
leak a file descriptor and memory. It would also
fail to respond, causing rndc to hang. [RT #2139 ]
2001-11-27 22:38:14 +00:00
Mark Andrews
1260bf0573
pullup:
...
1083. [bug] The default control channel listened on the
wildcard adress, not the loopback as documented.
[RT #1975 ]
2001-10-31 23:00:44 +00:00
Brian Wellington
e94a2fdd30
pullup:
...
1062. [bug] If the control channel listener socket was shut
down before server exit, the listener object could
be freed twice. [RT #1916 ]
2001-10-19 22:29:08 +00:00
Mark Andrews
9cdfffc7ce
pullup:
...
controls->shuttingdown should not be set on server reload.
2001-09-21 03:31:17 +00:00
Mark Andrews
b21236d838
redo #1010
2001-09-21 00:28:58 +00:00
Mark Andrews
7a74126eb8
undo
2001-09-21 00:28:05 +00:00
Mark Andrews
9f89b34f4d
pullup:
...
1010. [bug] The server could attempt to execute a command channel
command after initiating server shutdown, causing
an assertion failure. [RT #1766 ]
2001-09-20 23:01:44 +00:00
Andreas Gustafsson
b199e25ab7
spacing
2001-08-06 11:28:21 +00:00
Mark Andrews
8173a963d2
#if (result) should have been #if (result == ISC_R_SUCCESS) otherwise we
...
would fail to replace the keys if they changed.
Add the IPv4 any control before the IPv6 any control.
2001-08-06 01:03:53 +00:00
Mark Andrews
ee8a5c01e2
only call get_key_info() in update_listener() if control != NULL.
2001-08-04 07:49:38 +00:00
Mark Andrews
9bac746a3c
keyless inet controls triggered assertion. [RT#1566]
2001-08-04 07:38:06 +00:00
Andreas Gustafsson
89209405b7
spacing
2001-08-03 21:44:45 +00:00
Andreas Gustafsson
b4b47bf187
simplified by using dns_acl_any()
2001-08-03 20:05:42 +00:00
Andreas Gustafsson
1bcdcce64b
simplified by using dns_acl_any()
2001-08-03 18:28:48 +00:00
Brian Wellington
3dfc806ddf
fix key algorithm checks
2001-08-03 18:12:08 +00:00
Andreas Gustafsson
f8c304e5a5
removed comment stating that 'For this reason,
...
the automagic key is not regenerated on each reload', which is no longer
applicable since automagic keys are no longer regenerated
by the server at all
2001-08-03 18:03:02 +00:00
Andreas Gustafsson
7dac8d231c
the server would catch an assertion failure if the key statement in rndc.key
...
was missing the algorithm or secret clause
2001-08-03 17:24:11 +00:00
Mark Andrews
326bcfa0e2
rndc.key support
2001-08-03 05:56:22 +00:00
Brian Wellington
a5b9c2b208
943. [bug] The server could crash when receiving a command
...
via rndc if the configuration file listed only
nonexistent keys in the controls statement. [RT #1530 ]
2001-07-23 01:01:31 +00:00
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