2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00
Commit Graph

7045 Commits

Author SHA1 Message Date
Michael Sawyer
ce82008f65 The change made in patch 233 was breaking preventing the server from
being built when sanitized.  Since there is no obvious reason for
notify->flags to be hidden behind sanitize ifdefs, move it public.
(Lots of places which referred to ->flags were not sanitized out.)
2000-10-16 21:14:29 +00:00
Brian Wellington
b88fd265d1 Added copyright 2000-10-16 20:42:03 +00:00
Andreas Gustafsson
27dd1d31f7 say "beginning of DNS packet", not "begin of DNS packet" 2000-10-16 20:38:30 +00:00
Brian Wellington
3aa5ecb8f7 typo 2000-10-16 19:05:13 +00:00
Michael Sawyer
d97ea44061 Cause -m (memory debugging) option in dig to actually function. 2000-10-16 19:00:01 +00:00
Mark Andrews
0d32cdd9a0 Check message id against expected id, fail / revert to AXFR on mismatch.
Skip check for second and subsequent messages if the query is AXFR.
2000-10-16 04:26:08 +00:00
Mark Andrews
20a313a458 Add DNS_R_UNEXPECTEDID. 2000-10-16 04:08:13 +00:00
Mark Andrews
d39e56173d Old BINDs will return FORMERR if the SOA is included in the NOTIFY.
Detect this and resend w/o SOA.
2000-10-16 04:05:43 +00:00
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
1417088e3c Updated a comment 2000-10-13 23:38:45 +00:00
Brian Wellington
2d2d94e01d spacing 2000-10-13 23:28:00 +00:00
Brian Wellington
54477d367b The changes in #515 leaked memory and left dead code. 2000-10-13 23:21:17 +00:00
Brian Wellington
e2babfac17 dig now calls isc_mem_stats() only if -m was specified, not if
isc_mem_debugging was set elsewhere.
2000-10-13 22:55:50 +00:00
Brian Wellington
0df9b6e53b The lwresd -C option had a few problems. 2000-10-13 22:35:46 +00:00
Brian Wellington
7b438bdb9b Added [RT #399] tags 2000-10-13 21:44:07 +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
Bob Halley
6af9bd789e Add regressions which test for the bugs fixed in changes 516, 517, and 518 2000-10-13 18:51:59 +00:00
Michael Sawyer
233514c1da Add +besteffort option to dig (on by default) which will cause the
message parser to accept somewhat malformed packets.
2000-10-13 17:54:00 +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
c2e0aac879 513. [func] New functionality added to rdnc and server to allow
individual zones to be refreshed ore reloaded.
2000-10-12 21:55:55 +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
Brian Wellington
5098003982 add IPv6 pktinfo stuff for lwresd. 2000-10-12 20:45:19 +00:00
Michael Sawyer
7804502532 Mike learns to spell... 2000-10-12 17:09:03 +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
d4bf3e3cef fix hex dump printing and call dns_message_parse() with flags instead of
a boolean.
2000-10-12 01:16:12 +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
bb17aa91c1 511. [bug] The message code could throw an assertion on an
out of memory failure. [RT #392]
2000-10-12 00:24:11 +00:00
Brian Wellington
703dfde61b An out of memory error could cause an assertion. 2000-10-11 23:57:38 +00:00
Mark Andrews
b2e6eb8cea ompai checkpoint 2000-10-11 21:22:29 +00:00
Mark Andrews
8693ff3163 omapi checkpoint 2000-10-11 21:21:47 +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
Michael Sawyer
f6b2acd608 Minor change to make GNS changes easier, as well as a minor typo. 2000-10-11 18:00:08 +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
cfdb88eb33 removed the check for stray NOMINUM_, since it didn't work. It's also not too useful
if keys can now be arbitrary.
2000-10-10 23:12:54 +00:00
Brian Wellington
70c7872be6 state wasn't properly cleared between files 2000-10-10 23:07:35 +00:00
Brian Wellington
7d34762a96 sanitizer stuff 2000-10-10 23:05:01 +00:00
Brian Wellington
3517415542 a few fixes. perl -w is your friend. 2000-10-10 22:46:46 +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