Commit Graph
4148 Commits
Author SHA1 Message Date
David Lawrence 72ce8db918 sigh. the last checkin only included RT #369 fix, not the other things I meant
to include.
2000-10-14 04:38:22 +00:00
David Lawrence 190fbe9738 519. [bug] dns_name_split() would improperly split some bitstring
labels, zeroing a few of the least signficant bits in
			the prefix part.  When such an improperly created
			prefix was returned to the RBT database, the bogus
			label was dutifully stored, corrupting the tree.
			[RT #369]

Also made dns_name_split() REQUIRE that suffixlabels always be greater than 0,
even when splitting a bitstring label (it already required this when not
splitting a bitstring label).  This is consistent with the way dns_name_split()
was called to split a name that consisted of a single label, a bitstring;
the appropriate suffixlabels value is 1 in such cases.

Also a fixed minor style error, and a confusing comment.
2000-10-14 04:31:31 +00:00
Brian Wellington 54477d367b The changes in #515 leaked memory and left dead code. 2000-10-13 23:21:17 +00:00
Bob Halley c40085afa7 Fix problems with DNAME chain processing in the resolver, and with
retrievals of DNAMEs from the cache.  (Changes 516, 517, and 518).
2000-10-13 18:55:11 +00:00
Mark Andrews 10258f6b3d 515. [bug] The ssu table was not beinge attached / detached
by dns_zone_[sg]etssutable.  [RT#397]
2000-10-13 13:45:45 +00:00
Mark Andrews b38ebe307c 514. [func] Retry refresh and notify queries if they timeout.
[RT #388]
2000-10-13 13:23:09 +00:00
Mark Andrews 78bdbbaccb 'more_frags' lost the memory after the last fragment. Add the remaining
memory to the appropriate free list.
2000-10-13 05:37:17 +00:00
Michael Sawyer 94b50bce2b Add zone-specific reload and refresh capability to server and rndc 2000-10-12 21:52:00 +00:00
Brian Wellington 3c0a818977 IPv6 portability 2000-10-12 21:39:23 +00:00
Mark Andrews 256b8024a1 remve unused variable 2000-10-12 04:03:28 +00:00
Mark Andrews 588b63e1a8 512. [bug] The zone tranfer code could throw an execption with
an invalid IXFR stream.
2000-10-12 03:32:14 +00:00
Brian Wellington 3b2f0d1d66 #include <dst/gssapi.h> 2000-10-12 01:08:32 +00:00
Brian Wellington 0e5d6900bd Various hacks to allow (at some point in the future) interoperability
with Windows 2000's broken implementation of TKEY.
2000-10-12 00:40:52 +00:00
Brian Wellington 909e3c2288 Add support for tkey-gssapi-credential. Also do some cleanup allowing any
of the tkey options to be set without requiring all of them.
2000-10-12 00:39:17 +00:00
Brian Wellington 4a200b9022 Add tkey-gssapi-credential to the options section 2000-10-12 00:38:30 +00:00
Brian Wellington c0150ad6aa Don't call UNEXPECTED_ERROR if setsockopt(SO_TIMESTAMP) returns ENOPROTOOPT. 2000-10-12 00:35:49 +00:00
Brian Wellington 703dfde61b An out of memory error could cause an assertion. 2000-10-11 23:57:38 +00:00
Mark Andrews 479e643d54 use isc_mem_allocate for omapi_data_strdup to be consistant with
isc_mem_strdup
2000-10-11 21:19:01 +00:00
Bob Halley 303ca7abc9 #include <string.h> to get prototype for strlen(). 2000-10-11 17:57:35 +00:00
Michael Sawyer dc570b92f6 Add support for proposed ZONE and VIEW opt attributes. These are currently
hidden behind #ifdef's, since no OPT code number has yet to be assigned
by the IANA.  They are also not quite complete in all regards; VIEW
options are understood and ignored.  ZONE options are understood and
acted upon, though some of the error cases aren't quite right.

Remove doubled isc_mem_stats in dighost.c

Update todo list.

Change literal 255's to DNS_NAME_MAXWIRE in name.c
2000-10-11 17:44:18 +00:00
Mark Andrews c7294f9c0b Suppress spurious "hint zones do not have a dialup field". 2000-10-11 05:15:23 +00:00
Brian Wellington cf2f889716 remove warning 2000-10-10 22:04:29 +00:00
Brian Wellington e9871cc765 __func__ doesn't seem to exist. 2000-10-10 22:00:12 +00:00
Brian Wellington d03a04f594 incorrect use of the sanitizer 2000-10-10 21:58:01 +00:00
Mark Andrews 452d75b18f 510. [bug] Remove spurious view notify warning. [RT #376] 2000-10-10 01:17:30 +00:00
Brian Wellington ed6d98bffe freeing null pointers is bad 2000-10-09 18:20:18 +00:00
Mark Andrews 3030ea490c If the rename failed in isc_file_renameunique() unlink the temporary file. 2000-10-07 06:55:01 +00:00
Brian Wellington 568c0c0c10 forgot to add these files 2000-10-07 00:45:13 +00:00
Brian Wellington e0521dac5d Not all of the setsockopt failures logged the reason for failure. 2000-10-07 00:16:50 +00:00
Brian Wellington d1cbf71409 clean up suspicious looking and incorrect uses of dns_name_fromregion 2000-10-07 00:09:28 +00:00
Brian Wellington e484f9de4f The nxt structure was basically useless. 2000-10-06 22:41:16 +00:00
Brian Wellington d77d087809 uninitialized variables. oops. 2000-10-06 22:02:02 +00:00
Brian Wellington f4b4e7c162 #include <string.h> 2000-10-06 21:20:59 +00:00
Brian Wellington 6850cdd449 508. [func] dns_message_parse() can now do a best-effort
attempt, which should allow dig to print more invalid
                        messages.
2000-10-06 18:58:30 +00:00
Brian Wellington 4ed956c5c0 current snapshot of gss-tsig code. I'd be surprised if this works with
w2k, but a bind9 client and server can talk.
2000-10-06 17:08:15 +00:00
Brian Wellington 8f80322fb5 Support for lwresd on addresses other than 127.0.0.1. 2000-10-05 22:27:54 +00:00
Mark Andrews 2a37aa188c 507. [func] New functions dns_zone_flush(), dns_zt_flushanddetach()
and dns_view_flushanddetach().

 503 was incomplete.
2000-10-05 06:39:26 +00:00
Brian Wellington fc5332e1f4 Should compile now. 2000-10-04 20:50:25 +00:00
Brian Wellington 9d794b5203 Added lwres{} statement to named.conf. 2000-10-04 18:47:24 +00:00
Mark Andrews 75545fc8c4 If loading a slave/stub zone fails. Save the master file and journal and
initiate a zone transfer.
2000-10-03 05:47:45 +00:00
Mark Andrews 9282d220f4 New functions isc_file_template(), isc_file_renameunique().
isc_file_template() allows the caller to specify the prefix unlike
isc_file_mktemplate().  The later is now written using isc_file_template().
2000-10-03 05:45:39 +00:00
Mark Andrews df1e829dde 504. [bug] The zone was not being marked as dirty when updated via
IXFR.

 503.   [bug]           dumptime was not being set along with
                        DNS_ZONEFLG_NEEDDUMP.
2000-10-02 23:55:44 +00:00
Andreas Gustafsson 6bd179ea9a removed empty line at beginning of file 2000-09-29 23:54:31 +00:00
Andreas Gustafsson f20c9d340a fixed a typo in a comment, expanded another 2000-09-29 23:53:05 +00:00
Michael Sawyer 229c6987e7 Get sanitize working with arbitrary keys 2000-09-29 21:31:02 +00:00
Andreas Gustafsson 23bfeb8bb1 checkpoint 2000-09-28 22:36:33 +00:00
Brian Wellington 2c18231946 The nonthreaded private include files should be deleted by the sanitizer. 2000-09-28 21:32:51 +00:00
Brian Wellington 0d89afffb2 Make sure #else and #endif for ISC_PLATFORM_USETHREADS are marked as such. 2000-09-28 21:31:08 +00:00
Brian Wellington 6b827cb794 typo 2000-09-28 20:29:22 +00:00
Andreas Gustafsson 9a3c31507c removed INSIST(zone->dumptime != 0) until we figure out
what the meaning of zone->dumptime is supposed to be
2000-09-28 18:03:18 +00:00