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

3943 Commits

Author SHA1 Message Date
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
Brian Wellington
e7a8dfd296 If we mark an rdataset as secure, also mark the sigrdataset as secure. 2000-04-11 17:12:31 +00:00
Andreas Gustafsson
d9b7ec02d9 use the 'trusted-keys' statement to configure security roots 2000-04-11 00:37:59 +00:00
Andreas Gustafsson
84ef83d296 80 columns 2000-04-10 22:00:13 +00:00
Andreas Gustafsson
0f7045b0c4 moved a few more typedefs to <isc/types.h>: isc_region_t,
isc_textregion_t, isc_lex_t
2000-04-10 21:57:24 +00:00
Andreas Gustafsson
e9da40a783 no need to include <isc/buffer.h>, <isc/result.h> from <isc/base64.h> 2000-04-10 21:35:48 +00:00
Andreas Gustafsson
e3b279bfa9 no need to include <isc/buffer.h>, <isc/result.h>, <isc/mem.h> from <isc/base64.h> 2000-04-10 21:33:36 +00:00
Andreas Gustafsson
65e117d576 wired up the 'trusted-keys' config option 2000-04-10 21:31:41 +00:00
Brian Wellington
2a05fa7535 dst_key_iszonekey() was incorrectly checking the 'name type' field of a key.
The constants added to dst.h for dst_key_iszonekey() duplicated constants
in dns/keyvalues.h, and are now gone.
2000-04-10 19:48:05 +00:00
Brian Wellington
7c0e50b562 update 2000-04-08 04:43:50 +00:00
Brian Wellington
17e81b39cd TSIG signed incoming zone transfer works now. 2000-04-08 04:42:42 +00:00
Brian Wellington
dc3fc5830a A couple minor bugs relating to TCP TSIG verification 2000-04-08 04:40:21 +00:00
Andreas Gustafsson
8571e5ca37 failed to configure default view when there were zone statements
but no explicit views; the unconfigured default view had no resolver and therefore
denied recursion to all clients
2000-04-08 00:49:19 +00:00
Michael Graff
b7974ee772 Use sigaction() on NetBSD now, too. Note this requires unproven-pthreads-0.13 or higher. 2000-04-07 23:39:24 +00:00
Michael Graff
c2bb1a45d2 Install default handler for SIGCHLD -- more after I fix NetBSD's pthread code 2000-04-07 23:09:04 +00:00
Andreas Gustafsson
164f0b0cae configure_view() failed to set result to ISC_R_SUCCESS
on successful completion
2000-04-07 22:37:42 +00:00
Andreas Gustafsson
0c637e129e renamed variable configctx -> cctx for consistency and brevity 2000-04-07 22:36:15 +00:00
Andreas Gustafsson
edcb93b49c wired up view options: request-ixfr, provide-ixfr 2000-04-07 22:30:43 +00:00
Brian Wellington
3676eeb6ca snapshot. Includes creating a new validator to validate pending KEYs. 2000-04-07 21:44:47 +00:00
Brian Wellington
f383cdfeb8 Moved the (lame) random number seeding code to the dst initialize routine,
since the openssl dsa code calls the openssl random functions directly,
not through dst_random_get.
2000-04-07 20:50:30 +00:00
James Brister
09c9fc94cf Fixed a function name for style.
Fixed validation of keys used in server statement. Now they must truly be
defined before used. Ditto for in address match list element. Keys
referenced can be inside the enclosing view or at file scope.
2000-04-07 20:41:29 +00:00
Andreas Gustafsson
a25310fd1d if the first RR in an incoming zone transfer was not an SOA,
we got an assertion failure
2000-04-07 19:41:07 +00:00
Michael Graff
7e2c8092db Include <isc/print.h> to get proper definition of vsnprintf() on machines which don't have it. 2000-04-07 19:17:33 +00:00
Michael Graff
c7dc3f60bc Temporary hack to disable use of alarm() etc. on NetBSD. This is only
to help debug a specific pthreads-related problem by letting
the testing system do the real work.
2000-04-07 18:39:19 +00:00
Andreas Gustafsson
913d4c761c cosmetics 2000-04-07 18:30:11 +00:00
Andreas Gustafsson
e82d19b0c7 wired up view options: max-transfer-time-out, max-transfer-idle-out 2000-04-07 18:16:02 +00:00