Commit Graph
1217 Commits
Author SHA1 Message Date
Andreas Gustafsson 841179549b 889. [port] Eliminated blank lines before .TH in nroff man
pages since they cause problems with some versions
                        of nroff. [RT #1390]
2001-06-08 19:33:02 +00:00
Andreas Gustafsson ed0e1ae6bc 863. [bug] If an error occurred while an outgoing zone transfer
was starting up, the server could access a domain
                        name that had already been freed when logging a
                        message saying that the transfer was starting.
                        [RT #1383]
2001-06-07 18:18:24 +00:00
Mark Andrews 03f91269f5 856. [func] Allow partial rdatasets to be returned in answer and
authority sections to help non-TCP capable clients
                        recover from truncation.  [RT #1301]
2001-06-05 09:02:16 +00:00
Brian Wellington 17dba29ba5 854. [bug] The config parser didn't properly handle config
options that were specified in units of time other
			than seconds.  [RT #1372]
2001-06-04 21:51:27 +00:00
David Lawrence 92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Mark Andrews b5a86fe434 853. [bug] configure_view_acl() failed to detach existing acls.
[RT #1374]
2001-06-04 14:08:34 +00:00
Brian Wellington 53aba5065d man pages were not properly installed in separate-object-dir builds 2001-06-01 00:45:04 +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 6cad3f112f define ns_g_autorndckeyfile 2001-05-31 10:38:56 +00:00
David Lawrence 4f36774273 include <dns/soa.h> for dns_soa_serial() prototype 2001-05-31 10:38:01 +00:00
David Lawrence a0a8ffd8c3 Remove the named.key file on server shutdown. 2001-05-31 10:37:08 +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
Brian Wellington 5455f30a75 842. [func] 'rndc flush' now takes an optional view. 2001-05-31 01:21:12 +00:00
Brian Wellington b804d77ad9 #include <dns/soa.h> 2001-05-31 00:59:46 +00:00
Mark Andrews 89d03d4715 Redo:
839.   [func]          Dump packets for which there was no view or that the
                        class could not be determined to category "unmatched".
2001-05-28 05:17:05 +00:00
Mark Andrews 1666a83cab add sys/types.h for FreeBSD 2.1. 2001-05-25 07:42:15 +00:00
Mark Andrews 2ae4dd0dbd 839. [func] Dump packets for which there was no view or that the
class could not be determined to file, (-e filename).
2001-05-25 07:39:48 +00:00
Andreas Gustafsson 6cc2f10547 indentation 2001-05-19 00:08:21 +00:00
Andreas Gustafsson 60084a1a5a The ARM and the man pages now use a common set of Makefile macros
to determine the paths to the various SGML and XML tools and files.
You should have a complete SGML catalog in /usr/local/share/sgml/catalog;
this will be picked up by the configure script and used for both the
ARM and the man pages.
2001-05-15 17:33:32 +00:00
Andreas Gustafsson 82df406152 don't log ISC_R_CANCEL as a 'fatal error' 2001-05-14 21:33:45 +00:00
Andreas Gustafsson 70fcb78509 client->peeraddr_valid could be set even if the peer
address was not valid; socket errors were logged as requests; when a client shut down
due to a fatal I/O error, it failed to log a message to that effect
2001-05-14 21:12:32 +00:00
Brian Wellington 50097b38c0 830. [func] Implement 'rndc status'. 2001-05-14 20:44:16 +00:00
Brian Wellington ecf4962155 more of 'rndc status' 2001-05-14 19:06:47 +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
Andreas Gustafsson 8ea814ce5f If a response was received on port 53 and failed to parse, the server
would respond to the response, potentially causing packet storms.
This bug was introduced on the mainline by the dispatch-bypass changes and
does not affect any released version.
2001-05-09 23:13:03 +00:00
Brian Wellington 66262ee904 rndc status now counts zones (in all views except _bind) 2001-05-09 21:35:28 +00:00
Andreas Gustafsson c3ebcedbe5 Add isc_file_progname(), with trivial POSIX implementation, and
call it from main().  A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Brian Wellington 7fea1b3b43 If 'rndc trace' is sent to a server already debugging at level 99, ignore it. 2001-05-08 04:30:32 +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 4257a38160 handle tabs in rndc commands; remove redundant strcmp() calls;
remove obsolete commentary
2001-05-08 00:28:28 +00:00
Andreas Gustafsson 2071b2be37 unused variable 2001-05-08 00:26:24 +00:00
Andreas Gustafsson 9dafd058e3 implemented 'rndc reconfig' 2001-05-07 23:34:24 +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
Danny Mayer a14762f207 dst_key_fromfile needs cast of length 2001-05-06 02:20:29 +00:00
Danny Mayer 94b88b9500 named_order needed const in declaration 2001-05-06 02:17:48 +00:00
Brian Wellington 76477bd0e0 821. [bug] The program name used when logging to syslog should
be stripped of leading path components.
			[RT #1178, #1232]
2001-05-03 19:06:25 +00:00
Andreas Gustafsson 3242899a56 818. [bug] Certain pathological responses to ANY queries could
cause an assertion failure. [RT #1218]
2001-04-28 00:21:30 +00:00
David Lawrence 5bc6f56bc1 Test that log files can be opened when they are configured, since
isc_log_open() can't effectively report failures when called in
isc_log_doit().
2001-04-26 02:38:08 +00:00
Brian Wellington 4f35dccfc2 If lwresd was started with no -c or -C option, it would fail to read
/etc/resolv.conf if /etc/lwresd.conf was not found.
2001-04-19 23:38:32 +00:00
Brian Wellington 92da55299b If a client requests a UDP buffer of less than 512, ignore it. [RT #1197] 2001-04-19 18:29:53 +00:00
Andreas Gustafsson 10a06917a5 not all blackholed UDP datagrams are queries 2001-04-16 22:10:44 +00:00
Brian Wellington d8ffaef5c2 The blackhole ACL was not properly applied to UDP queries. Also,
blackholing of TCP connections was done later than it should have been.
2001-04-16 21:18:10 +00:00
David Lawrence 8dd4cf7fc6 dns_dialuptype_t dialup = dns_notifytype_no changed to = dns_dialuptype_no 2001-04-12 21:09:35 +00:00
David Lawrence 8ed664e5a6 zonetype "ztype" was set but not used in configure_zone; removed 2001-04-12 21:07:39 +00:00
David Lawrence 6f053cd485 use ISC_TF() to set an isc_boolean_t 2001-04-12 21:04:14 +00:00
Brian Wellington c20ffa38de 808. [func] Add 'rndc flush' to flush the server's cache. 2001-04-11 20:37:50 +00:00
Brian Wellington 7e6aeec8f9 The cvs id lines were duplicated 2001-04-11 19:11:07 +00:00