2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

5751 Commits

Author SHA1 Message Date
Andreas Gustafsson
a074e41b97 style and new comments; no functional change 2000-07-04 01:33:47 +00:00
Brian Wellington
9e37579870 Check that zone->view is not NULL before checking that zone->view->adb is not
NULL.  It appears that zone maintenance can occur when the zone is shutting
down and the view pointer is NULL.  We don't want to do zone maintenance in
this case.
2000-07-04 01:32:40 +00:00
David Lawrence
c7c2522a32 query-replace-o in error message; no need to pull up since no code in 9.0.0
will use the function in which the error appears
2000-07-04 01:29:48 +00:00
David Lawrence
a53efa1718 nrdc->rndc typo, uses TCP not UDP 2000-07-04 01:25:01 +00:00
David Lawrence
c43deb8aac typo 2000-07-04 01:24:06 +00:00
David Lawrence
afbf0f0d77 Have Emacs automatically use shell mode to edit configure.in. 2000-07-04 01:20:53 +00:00
David Lawrence
96ab25294b 307. [bug] When canceling a query, the resolver didn't check for
isc_socket_sendto() calls that did not yet have their
			completion events posted, so it could (rarely) end up
			destroying the query context and then want to use
			it again when the send event posted, triggering an
			assertion as it tried to cancel an already-canceled
			query.  (RT #77)

... so now the resolver counts the number of outstanding isc_socket_sendto()s
and only destroys the query context when there are no more.
2000-07-04 01:19:20 +00:00
Brian Wellington
9a68d61341 Implement -k keyfile and fix -y keyname:secret 2000-07-03 23:42:48 +00:00
Brian Wellington
e68de4a7db 306. [bug] Reading HMAC-MD5 private key files didn't work. 2000-07-03 23:27:45 +00:00
Andreas Gustafsson
b3e4ce3059 alternative fix to 303. [RT #157] 2000-07-03 22:42:36 +00:00
Andreas Gustafsson
c4252cd10b style 2000-07-03 22:14:43 +00:00
Andreas Gustafsson
5aa96829fd style 2000-07-03 22:04:47 +00:00
Brian Wellington
7408b050c0 Don't use the search list by default. This makes dig 9 compatible with
dig 8 (although not the dig 8 manpage).
2000-07-03 21:52:13 +00:00
Andreas Gustafsson
d8560fb7ff [RT #155]
305. [bug]             When reloading the server with a config file
                        containing a syntax error, it could catch an
                        assertion failure trying to perform zone
                        maintenance on tentatively created zones whose
                        views were never fully configured and lacked
                        an address database.
2000-07-03 20:21:53 +00:00
Brian Wellington
e2894b0e50 304. [bug] If more than LWRES_CONFMAXNAMESERVERS servers
are listed in resolv.conf, silently ignore them
                        instead of returning failure.
2000-07-03 20:13:12 +00:00
Brian Wellington
cbc6e83597 Use lwres_net_ntop now that including both lwres/net.h and isc/net.h is
possible
2000-07-03 20:08:13 +00:00
Brian Wellington
1e105376dd linux_keepcaps() was called without checking the various defines that
surrounded the function definition.
2000-07-03 20:00:44 +00:00
Brian Wellington
79e873be59 The reordering of code in the last change broke linux, since the determination
of whether we could call setuid() was moved after the check.
2000-07-03 18:28:38 +00:00
Andreas Gustafsson
855bda3de3 new joint ISC/BSDI copyright message as requested by
Paul Borman <prb@bsdi.com>
2000-07-03 17:44:22 +00:00
Andreas Gustafsson
6f21eab314 util/conf.sh no longer exists 2000-07-03 17:25:30 +00:00
Mark Andrews
845e0b5f96 303. [bug] add additional sanity checks to differentiate a AXFR
response vs a IXFR response. (RT #157)
2000-07-03 13:33:05 +00:00
Mark Andrews
b6747cf19d 302. [bug] MXNAME should be large enough to hold any legal domain
name in presentation format + terminating NULL.
2000-07-03 05:26:50 +00:00
Mark Andrews
1318ddb52d 301. [bug] uninitalised pointer host:printmessage(). (RT #159) 2000-07-03 05:10:14 +00:00
Mark Andrews
989000eadd Add $include tests. 2000-07-03 03:08:22 +00:00
David Lawrence
de8e189332 300. [bug] Using both <isc/net.h> and <lwres/net.h> didn't work
on platforms lacking IPv6 because each included their
			own ipv6 header file for the missing definitions.  Now
			each library's ipv6.h defines the wrapper symbol of
			the other (ISC_IPV6_H and LWRES_IPV6_H).
2000-07-01 01:41:54 +00:00
David Lawrence
202991557a 299. [cleanup] Get the user and group information before changing the
root directory, so the administrator does not need to
			keep a copy of the user and group databases in the
			chroot'ed environment.  Suggested by Hakan Olsson.
2000-07-01 00:48:06 +00:00
Brian Wellington
6dd953f666 including both <lwres/lwres.h> and <lwres/net.h> doesn't work, but
lwres_net_ntop only works when <lwres/net.h> is included.  For now,
don't include <lwres/net.h> and call inet_pton instead.
2000-07-01 00:22:00 +00:00
Brian Wellington
b8dbd3c5dc The last patch had 2 lines reversed. 2000-06-30 22:57:47 +00:00
Brian Wellington
704eba6330 Remove crashes in dig related to freeing global state (in this case, the
tsig keyring) while it was still needed.
2000-06-30 22:53:07 +00:00
Andreas Gustafsson
9769d31467 added bind8 -> bind9 migration notes 2000-06-30 22:44:08 +00:00
David Lawrence
641689bff4 note in the comment that isc_time_microdiff returns 0 if t1 < t2.
no need to pull up.
2000-06-30 22:40:32 +00:00
Andreas Gustafsson
277bbd41d4 when reporting errors due to timer events not happening at the
expected time, print the number of microseconds by which the true time differs
from the expected one, to aid in determining whether the offset is due to a genuine
bug or too small a fudge factor
2000-06-30 22:01:40 +00:00
Brian Wellington
81dcbe87a7 Use lwres to parse resolv.conf 2000-06-30 21:47:35 +00:00
Brian Wellington
835658d2be Support tcp mode (-v). 2000-06-30 18:59:21 +00:00
Brian Wellington
0a35d55b99 Handle value dependent prerequisites. 2000-06-30 18:44:51 +00:00
Andreas Gustafsson
1c823819b7 removed unnecessary locking in ns_interface_shutdown() that
caused the server to deadlock on shutdown on the Alphas
2000-06-30 15:57:47 +00:00
Brian Wellington
e405739af2 297. [bug] Specifying a key name that wasn't fully qualified
in certain parts of the config file could cause
                        an assertion.
2000-06-30 15:39:23 +00:00
Michael Sawyer
1893b56ef9 Move taskmgr shutdown to the correct place. 2000-06-30 14:11:49 +00:00
Brian Wellington
85dd6d777a Multiple spaces between tokens weren't handled correctly. 2000-06-30 06:35:50 +00:00
Brian Wellington
1513eda9f0 Fix some more crashes and a memory leak. 2000-06-30 03:45:54 +00:00
Brian Wellington
3b7ddac82a Another snapshot. Fixes a crash and removes all occurrences of strtok(),
since it wasn't working correctly when the rdata contained multiple tokens.
2000-06-30 03:24:27 +00:00
Andreas Gustafsson
8f874cca90 removed unnecessary locking in ns_interface_shutdown() that
caused the server to deadlock on shutdown on the Alphas.
2000-06-30 02:48:06 +00:00
Brian Wellington
778775be7a I'm apparently good at confusing CVS. This diff has no changes.
The previous one, on the other hand (with an empty log message), is a fairly
large rewrite of nsupdate.  It's much more compatible with the bind 8 version
(the commands in the man page actually work now).  There's a lot less code
duplication, and some other general simplification.  This is still a work in
progress.
2000-06-30 01:59:49 +00:00
Brian Wellington
ea32d34e58 *** empty log message *** 2000-06-30 01:56:14 +00:00
Andreas Gustafsson
b719a598e7 make install didn't work when using separate build dir 2000-06-30 01:11:49 +00:00
Andreas Gustafsson
fe8d130967 make install didn't work when using separate build dir 2000-06-30 00:29:29 +00:00
Andreas Gustafsson
428b78e56d RT #153: when invoked with type==CNAME and a message
not constructed by dns_message_parse(), dns_message_findname() failed to
find anything due to checking for attribute bits set only by dns_message_parse().
This caused an infinite loop when constructing the response to an ANY query
at a CNAME in a secure zone.
2000-06-29 19:49:43 +00:00
Andreas Gustafsson
824068b85b cut-and-paste-o: dns_message_findname() tested for
dns_rdatatype_cname twice instead of cname+dname
2000-06-29 18:58:32 +00:00
Andreas Gustafsson
26be84cdfc spelling, grammar, and formatting; no functional change 2000-06-29 16:48:53 +00:00
Mark Andrews
b74e73c5b4 294. [bug] If we run out of space in while processing glue
when reading a master file and commit "current name"
			reverts to "name_current" instead of staying as
			"name_glue".
2000-06-29 15:55:19 +00:00