Commit Graph

3968 Commits

Author SHA1 Message Date
David Lawrence
3db9528435 50. [func] RBT deletion no longer requires a valid chain to work,
and dns_rbt_deletenode was added.
2000-04-12 21:40:15 +00:00
David Lawrence
c80dde0676 Comments about enhancements that could be made now that parent pointers exist. 2000-04-12 21:38:04 +00:00
David Lawrence
fbfc25874f fixed typo in comment 2000-04-12 21:33:01 +00:00
David Lawrence
b2e0809295 include dns/rbt.h 2000-04-12 21:32:13 +00:00
David Lawrence
510f4bdcb6 static zapnode_and_fixlevels renamed to public dns_rbt_deletenode.
deletion no long requires a valid chain.  chain gook removed from all
of the deletion functions.

Minor unrelated doc & code convention cleanups.
2000-04-12 21:31:02 +00:00
David Lawrence
d3c34e76d6 Stole one bit from node's 'attributes' bitfield for 'is_root' boolean.
Prototyped and documented dns_rbt_deletenode.
2000-04-12 21:27:49 +00:00
David Lawrence
567f3a25bc do not include dns/rbt.h 2000-04-12 21:25:27 +00:00
David Lawrence
7b4e52d119 include dns/rbt.h 2000-04-12 21:25:10 +00:00
Brian Wellington
9c418665dd Responses containing multiple names in the authority section were not
negatively cached.
2000-04-12 19:27:15 +00:00
Bob Halley
fca5f81ad6 using snprintf or vsnprintf requires isc/print.h 2000-04-12 19:07:12 +00:00
Bob Halley
07e6bea35e add ndcconf_test 2000-04-12 18:55:33 +00:00
Bob Halley
e198cb953c apply logging API changes 2000-04-12 18:37:18 +00:00
Bob Halley
96d3f5b8ca remove res_test; add byaddr/byname_test 2000-04-12 18:33:47 +00:00
Bob Halley
56633eaa24 get rid of res_test.c 2000-04-12 18:32:02 +00:00
Bob Halley
6af51ff1a3 apply log API changes 2000-04-12 18:24:49 +00:00
Andreas Gustafsson
79728399b0 fixed some obvious bugs; still doesn't compile 2000-04-12 18:14:00 +00:00
Andreas Gustafsson
f73e404eb9 added missing #includes 2000-04-12 17:35:37 +00:00
Brian Wellington
63bf060be4 dst_key_iszonekey() checks that the key's protocol is DNSSEC or ANY.
Remove this check from the validator, and remove more redundant constants
from dst.h
2000-04-12 15:52:12 +00:00
David Lawrence
7e5f154045 removed netinet6/in6.h debugging echos 2000-04-12 02:43:03 +00:00
Bob Halley
b65c8325a7 If the user has specified auth-nxdomain, do not warn about the default
being changed.
Fix typo.
2000-04-12 02:04:03 +00:00
Bob Halley
738b9aa3de isc_task_create() API change 2000-04-12 01:41:21 +00:00
Bob Halley
0e9c5d24d2 update 2000-04-12 01:38:44 +00:00
Bob Halley
d6f63eca91 isc_task_create() API change; cache has its own mctx 2000-04-12 01:38:26 +00:00
Bob Halley
f80ea74e19 isc_task_create() API change; attach to mctx 2000-04-12 01:37:41 +00:00
Bob Halley
a0f9edd9a4 attach to memory context 2000-04-12 01:35:59 +00:00
Bob Halley
64b1a68e10 isc_task_create() no longer takes an mctx.
isc_task_mem() has been eliminated.
Use memory context reference counting.
2000-04-12 01:34:16 +00:00
Bob Halley
3886e748a4 update 2000-04-12 01:32:59 +00:00
Bob Halley
f6c77dd407 Use memory context reference counting.
Timers now use the timer manager's mctx, not the task's.
2000-04-12 01:27:20 +00:00
Bob Halley
823ed8c082 isc_mem_destroy_check is now isc_mem_setdestroycheck 2000-04-12 01:25:07 +00:00
Bob Halley
b4b032ab5a memory context changes 2000-04-12 01:24:29 +00:00
Bob Halley
fd3271152c Add isc_mem_attach(), isc_mem_detach(), isc_mem_preallocate(), and
isc_mem_setsplit().  Rename isc_mem_destroy_check() to
isc_mem_setdestroycheck().  Add isc_mem_inuse().
2000-04-12 01:24:17 +00:00
Andreas Gustafsson
1723fbf70a use the UNUSED() macro 2000-04-11 23:15:30 +00:00
Andreas Gustafsson
ecfe4a3490 validator_log() logged garbage after RR type 2000-04-11 22:17:49 +00:00
Brian Wellington
538fea1c91 Added back some code lost by the logging patch, made the keyvalidated event
handler actually work in the easy case.
2000-04-11 20:59:37 +00:00
Brian Wellington
ce0004744d update 2000-04-11 20:50:30 +00:00
Brian Wellington
3ca4d70c58 base64_cstring_tobuffer() was missing a call to isc_buffer_add(). 2000-04-11 20:47:00 +00:00
Andreas Gustafsson
1b1e1fda46 logging 2000-04-11 20:35:37 +00:00
Andreas Gustafsson
e5afb85e52 added a missing '#ifdef HAVE_LINUXTHREADS' 2000-04-11 20:29:37 +00:00
Andreas Gustafsson
ad2c5d060d use dns_name_format() when logging queries 2000-04-11 19:24:20 +00:00
Andreas Gustafsson
83a39d3f3c [func], not [feature] 2000-04-11 19:12:50 +00:00
Andreas Gustafsson
b4b4adc097 added convenience function dns_name_format() for use in formatting
log messages
2000-04-11 19:11:46 +00:00
Andreas Gustafsson
5646eb8cd1 use dns_name_format() 2000-04-11 19:08:32 +00:00
Bob Halley
64305fb5cf update 2000-04-11 18:51:35 +00:00
Bob Halley
134ba0e08a Linux PR_SET_KEEPCAPS support 2000-04-11 18:51:19 +00:00
Brian Wellington
8469ee3726 Don't include authority data if it would force us to unset the AD bit 2000-04-11 18:43:27 +00:00
Andreas Gustafsson
8426878e98 added DNS_LOGCATEGORY_DNSSEC and DNS_LOGMODULE_VALIDATOR 2000-04-11 18:24:32 +00:00
David Lawrence
a9cb032d07 comparison of channel->type to NULL should have been to ISC_LOG_TONULL 2000-04-11 18:22:34 +00:00
Andreas Gustafsson
230bc05e7e added DNS_LOGCATEGORY_DNSSEC and DNS_LOGMODULE_VALIDATOR 2000-04-11 18:17:35 +00:00
Brian Wellington
d0e69984a9 dnssec verification of cached sets was failing, since the ttl from the
rdataset was used instead of the ttl from the sig record.  Also found
and fixed an unchecked memory allocation.
2000-04-11 18:04:35 +00:00
Andreas Gustafsson
864a05fa26 configuration failed when trusted-keys statement was missing 2000-04-11 17:52:57 +00:00