2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

49 Commits

Author SHA1 Message Date
Mark Andrews
26e2a07a0b update copyright notice 2006-01-27 23:57:46 +00:00
Mark Andrews
c6d4f78152 1973. [func] TSIG HMACSHA1, HMACSHA224, HMACSHA256, HMACSHA384 and
HMACSHA512 support. [RT #13606]
2006-01-27 02:35:15 +00:00
Mark Andrews
ade83e60fa silence ambigious else 2005-11-30 03:36:45 +00:00
Mark Andrews
2674e1a455 1940. [bug] Fixed a number of error conditions reported by
Coverity.
2005-11-30 03:33:49 +00:00
Mark Andrews
4e1d3e67cd 1914. [bug] Strings returned from cfg_obj_asstring() should be
treated as read-only.  The prototype for
                        cfg_obj_asstring() has been updated to reflect this.
                        [RT #15256]
2005-08-23 02:36:11 +00:00
Rob Austein
ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews
4423c99613 1814. [func] UNIX domain controls are now supported. 2005-02-23 01:09:23 +00:00
Mark Andrews
abeb45c775 update copyrights 2005-01-12 01:56:12 +00:00
Mark Andrews
ad5bc22a81 1797. [func] named-checkconf now check acls to verify that they
only refer to existing acls. [RT #13101]
2005-01-11 03:46:11 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
72ddc4cef9 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:24:44 +00:00
Mark Andrews
a7038d1a05 copyrights 2002-02-20 03:35:59 +00:00
Andreas Gustafsson
669e9657c7 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
2002-01-04 02:32:16 +00:00
Brian Wellington
b541c10d04 1141. [bug] When named rejected a control message, it would
leak a file descriptor and memory.
2001-11-27 21:51:31 +00:00
Andreas Gustafsson
5cd7e9d4db 1083. [bug] The default control channel listened on the
wildcard adress, not the loopback as documented.
2001-10-31 19:35:19 +00:00
Andreas Gustafsson
32d248107a 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 21:00:12 +00:00
Andreas Gustafsson
3b19037ccd removed unnecessary includes 2001-10-19 19:05:42 +00:00
Brian Wellington
9cc98b104e controls->shuttingdown should not be set on server reload. 2001-09-21 03:04:14 +00:00
Brian Wellington
b32e75f3e1 deuglify #1010 [RT #1766] 2001-09-20 19:04:59 +00:00
Andreas Gustafsson
640923da58 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 18:37:00 +00:00
Mark Andrews
c2bc56dc65 Move configuration checking to libbind9. 2001-09-20 15:17:07 +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