Commit Graph
1234 Commits
Author SHA1 Message Date
Mark Andrews b52c49c6e1 lower unknown class/view to DEBUG(1) 2001-06-28 02:39:46 +00:00
Mark Andrews fa10bed228 remove "gross hack" as per request. 2001-06-28 01:08:24 +00:00
Mark Andrews f08378699a gross hack to set isc_mem_debugging as it needs to be set before any
isc_mem_create() calls.
2001-06-27 23:50:50 +00:00
Mark Andrews 235839b7ef All memory debugging flags to be set from the command line. 2001-06-27 23:30:22 +00:00
Andreas Gustafsson 07c336a9a8 912. [bug] Attempts to set the 'additional-from-cache' or
'additional-from-auth' option to 'no' in a
                        server with recursion enabled will now
                        be ignored and cause a warning message.
                        [RT #1145]
2001-06-26 23:53:39 +00:00
Andreas Gustafsson 6a7a69e9f7 905. [bug] Creating a forward "zone" for the root domain
did not work. [RT #1418]
2001-06-18 20:03:48 +00:00
Andreas Gustafsson 045c9678e2 log zone/class when denying zone transfers
(patch posted to bind9-users by Mark Mentovai <mark-list@mentovai.com>
2001-06-18 19:04:32 +00:00
Andreas Gustafsson 5465e5f7dd query_getzonedb() formatted the domain name and class being queried
for at least once for every query to authoritative data, whether or not a log
message was actually printed, which adversely affected query performance
2001-06-15 23:28:29 +00:00
Andreas Gustafsson 0eace215bd "\0" is a rather strange way of representing the empty string 2001-06-15 23:25:20 +00:00
Andreas Gustafsson 30751145f8 don't warn about the server not istening on any interface if lwresdonly 2001-06-15 23:18:04 +00:00
Andreas Gustafsson 27ee1d06e9 typo 2001-06-15 22:35:42 +00:00
Andreas Gustafsson 1d9ab72131 902. [bug] The -d option was ignored if both -t and -g were also
specified.
2001-06-14 14:14:17 +00:00
Andreas Gustafsson 8de7014e56 removed CVS Id from machine-generated man page files -- it is no longer needed
now that they are ignored by update_copyrights
2001-06-11 19:02:45 +00:00
David Lawrence cd7e84891c wrapped a long line, tried to address the $Id$ issue again 2001-06-10 19:54:07 +00:00
David Lawrence 8fe938e6d9 rewrote "$Id$" cvs keyword as "$Id: $" so it is properly expanded by cvs 2001-06-10 13:57:53 +00:00
Brian Wellington fb64c9cf75 check for hmac-md5.sig-alg.reg.int as well as just hmac-md5 in key statements. 2001-06-10 02:37:08 +00:00
David Lawrence 6112718b0d 896. [bug] If a configuration file is set on named's command line
and it has a relative pathname, the current directory
			(after any possible jailing resulting from named -t)
			will be prepended to it so that reloading works
			properly even when a directory option is present.
2001-06-08 23:52:21 +00:00
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