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

4699 Commits

Author SHA1 Message Date
Mark Andrews
00b67c06b9 Add contract notes for dns_requestmgr_{attach,detach}(). 2000-05-23 00:11:45 +00:00
Brian Wellington
c637772ac3 Attempting to delete a SIG set with dynamic update crashed the server. 2000-05-23 00:09:09 +00:00
Michael Sawyer
d81a745bbb Longer sleep needed for reliable fix to SIGHUP problem 2000-05-23 00:02:45 +00:00
Michael Sawyer
0334d82cad Workaround for SIGHUP-without-delay bug 2000-05-22 23:56:49 +00:00
Andreas Gustafsson
113251976d 'notify' and most of 'view' are now implemented 2000-05-22 23:55:25 +00:00
Brian Wellington
82efeeb703 removed typo 2000-05-22 23:34:24 +00:00
Brian Wellington
7e8dd00fce More tsig rdatastruct problems fixed 2000-05-22 23:17:22 +00:00
Michael Sawyer
1da88f8208 Forcably prevent callbacks from trying to do something once the lists
start to get freed up.
2000-05-22 22:56:31 +00:00
Andreas Gustafsson
b291fec7c9 offset.h was not installed by 'make install' 2000-05-22 22:46:53 +00:00
Michael Sawyer
54229947d3 Change strlen to sizeof. 2000-05-22 22:41:24 +00:00
Michael Sawyer
02bc88821c tests.sh 2000-05-22 22:19:07 +00:00
Andreas Gustafsson
1ac4b2a1da when printing a SIG record with covers==0, print it as 0,
not RESERVED0
2000-05-22 21:42:47 +00:00
Andreas Gustafsson
a185ac41ac updated 2000-05-22 21:29:21 +00:00
Michael Sawyer
1ed4ba5a1f Add pseudosection printing, and dns_message_pseudosectiontotext(). 2000-05-22 21:22:06 +00:00
Brian Wellington
feb40fc5f9 keytag collision handling was broken and a memory leak existed in the error
handling code.
2000-05-22 21:17:05 +00:00
Andreas Gustafsson
bac6f7fd14 the comments for isc_ratelimiter_create() said the
events are executed in the context of 'task'; this is no longer true
2000-05-22 19:47:43 +00:00
Andreas Gustafsson
34b26adb24 heap invariant INSIST did the wrong thing in the border case
of a heap item and its parent having identical priority
2000-05-22 19:47:01 +00:00
Michael Graff
5d1bfe4ce1 make these compile. dispatch_test works; dispatch_tcp_test does not. Use dns_message_totext() rather than printmessage(). 2000-05-22 19:36:34 +00:00
Andreas Gustafsson
b68f341a48 must include <isc/print.h> to use snprintf 2000-05-22 19:29:09 +00:00
Andreas Gustafsson
9b19b39170 don't encourage people to use the tests built by 'make all_tests';
we don't even use them ourselves and they are likely to simply not work
at this point
2000-05-22 19:21:14 +00:00
Andreas Gustafsson
c5b7873fd2 added warning about pseudorandom key material 2000-05-22 18:39:58 +00:00
Andreas Gustafsson
a228ba1fa4 conform to recent ratelimiter API changes 2000-05-22 18:32:51 +00:00
Andreas Gustafsson
87796a03ed added shell variable DIG containing the pathname of dig 2000-05-22 17:31:45 +00:00
Andreas Gustafsson
cd01c9716f Reintroduced separate internal/external reference counts for zones,
reversing part of the changes made on 2000/05/17.  Doing an explicit
zone shutdown on destruction of the zone table caused the zone to
be shut down prematurely on server reload when the zone table was
destroyed but the zone had already been attached to a new zone table.
An external reference count is needed to correctly handle this situation.
2000-05-22 17:23:15 +00:00
Andreas Gustafsson
cb726f24e7 renamed variable tzone to dupzone for clarity and simplified
code to clean it up after use - no functional change
2000-05-22 17:07:43 +00:00
Andreas Gustafsson
7e9bfde795 200. [bug] Failures in sending query responses to clients
(e.g., running out of network buffers) were
                        not logged.
2000-05-22 17:00:27 +00:00
Michael Graff
a330a4b008 only set permanent failure for tcp streams on sending 2000-05-22 16:56:12 +00:00
Andreas Gustafsson
c512030111 style; improved error handling; set SOA timers to
lower values so that retries and refreshes can be observed
2000-05-22 16:35:36 +00:00
Andreas Gustafsson
9b50fc6648 style nits 2000-05-22 16:34:32 +00:00
Andreas Gustafsson
7fa1c9722b set a query source so that notify packets get sent with
the correct source address and are accepted by the slave as coming
from a master
2000-05-22 16:34:06 +00:00
Andreas Gustafsson
5b83a15556 new test data was written to the wrong file (a.example.db
instead of example.db); removed spurious semicolon from 'status=0' assignment
2000-05-22 16:32:20 +00:00
Andreas Gustafsson
1c628a47a5 failure in sending response to client was not logged 2000-05-22 16:03:31 +00:00
Andreas Gustafsson
224553741e send notifies after dynamic update 2000-05-22 16:01:58 +00:00
Andreas Gustafsson
901bea064d add note that on NetBSD, the server works only
when run in the foreground
2000-05-22 16:00:51 +00:00
Andreas Gustafsson
11c6c15e46 add note about known bug in query-source;
add note that a plain text versions of the docs will be added later
2000-05-22 15:59:05 +00:00
Mark Andrews
373ce67419 Implement dns_rdata_fromstruct() where not already done.
Add missing REQUIRE tests to existing implementations.
2000-05-22 12:38:12 +00:00
Mark Andrews
0103f42343 Add comment about requiring pointers to memory block to be NULL if the
corresponding length is 0, non-NULL otherwise.
2000-05-22 12:34:16 +00:00
Mark Andrews
9f20f5913b add dns_rdata_fromstuct() 2000-05-22 12:31:39 +00:00
Andreas Gustafsson
e996ff2d5b print isc_time_t fields using %u, not %lu 2000-05-22 03:07:47 +00:00
Andreas Gustafsson
4c94069644 199. [bug] isc_heap_delete() sometimes violated the heap
invariant, causing timer events not to be posted
			when due.

Specifically, isc_heap_delete() moved the last element of the heap to
the vacated position and then attempted to restore the heap invariant
by calling sink_down().  This works when the last element has a lower
priority than the one being deleted, and this is often the case
because the last element tends to have a low priority.  However, it is
not guaranteed to be the lowest.  When deleting an item of a lower
priority than the last item, restoring the invariant requires a call
to float_up(), not sink_down().

isc_heap_delete_now calls either float_up() or sink_down() as needed,
and INSISTs have been added to verify that the heap invariant indeed
holds after the calls.
2000-05-22 02:53:52 +00:00
Andreas Gustafsson
be8d4578da zone_xferdone() assigned the updated zone expiry time to the wrong variable
zone->expire instead of zone->expiretime.  This left zone->expiretime
with a value of zero, causing zone_settimer() to get horribly confused
and set the timer to the inactive state (!).  This in turn caused
notify-driven refreshes (and probably other timer-scheduled events, too)
to never happen.
2000-05-20 21:24:41 +00:00
Brian Wellington
d1eee46938 fixes to dns_message_sectiontotext for the question section 2000-05-20 02:00:29 +00:00
Michael Graff
19591ace46 reload zone housekeeping information on AXFR/IXFR 2000-05-20 01:32:46 +00:00
Michael Graff
533131b93b document changes I've made today 2000-05-20 01:32:30 +00:00
Michael Graff
341323e0e7 move dns_db_getsoaserial() from journal.c to db.c 2000-05-20 01:32:03 +00:00
Michael Graff
24d3d0ecff fix a slight documentation bug 2000-05-20 01:30:16 +00:00
Michael Sawyer
9dca36b2ab Remove unused no_rdata_or_ttl flag from message_totext and message_sectiontotest routines. 2000-05-20 01:29:58 +00:00
Brian Wellington
fa686a7235 removed more invalid _freestruct calls 2000-05-20 01:27:28 +00:00
Michael Graff
1a3563145b remove unreachable code 2000-05-20 01:05:50 +00:00
Michael Sawyer
3d02ab0d2d osf doesn't get path right. 2000-05-20 01:01:28 +00:00