Commit graph

3327 commits

Author SHA1 Message Date
Mark Andrews
db06b81059 signed vs unsigned char. 2000-06-08 06:16:09 +00:00
Michael Graff
0aa8742ace minor formatting nit 2000-06-08 05:26:38 +00:00
Michael Graff
1e3c9ce3ab kill a warning on some systems. 2000-06-08 05:26:00 +00:00
Michael Graff
9282e3c21a don't periodically dump the database. I think we're debugged enough by now. 2000-06-08 01:43:21 +00:00
Michael Graff
ccc067f7d5 enable INSIST/REQUIRE() checking of bound status on sockets 2000-06-08 00:23:54 +00:00
Brian Wellington
5388c214e5 Correctly fix type for rbtdb64_create 2000-06-08 00:06:50 +00:00
Michael Graff
332e078f6e fix type for rbtdb64_create, too 2000-06-07 22:29:00 +00:00
Michael Graff
270ad529d3 snapshot 2000-06-07 22:15:55 +00:00
Michael Graff
090ac4fa1c Use ip6.arpa for bitstring labels 2000-06-07 22:02:22 +00:00
Michael Graff
17b8fc714a snapshot 2000-06-07 20:55:12 +00:00
Michael Graff
a14eb88840 clamp ttls in the adb to be 10 < ttl < 86400, that is, 10 seconds minimum and 24 hours max 2000-06-07 20:15:48 +00:00
Michael Graff
90407942d3 Use autoconf's AC_C_BIGENDIAN macro to detect endian flavor, and use WORDS_BIGENDIAN from config.h{,.in} 2000-06-07 19:41:49 +00:00
Brian Wellington
b01324ef07 Removed unused DST_R_NAMETOOLONG result code 2000-06-07 19:18:53 +00:00
Brian Wellington
76513c0271 Removed errant call to dns_rdata_freestruct, cleaned up an error case. 2000-06-07 19:05:45 +00:00
Brian Wellington
c892129a37 isc_buffer_base->isc_buffer_used 2000-06-07 19:05:00 +00:00
Brian Wellington
78d14e388a Use MD5/SHA1 from libisc instead of dst/openssl 2000-06-07 17:22:31 +00:00
Mark Andrews
80ee8ea28d Consolidation and cleanup of stub code. 2000-06-07 06:14:52 +00:00
Mark Andrews
0380c44d02 241. [cleanup] nscount and soacount have been removed from the
dns_master_*() arguement lists.
2000-06-07 03:30:02 +00:00
Mark Andrews
265086fc36 Added comments. 2000-06-07 03:12:13 +00:00
Mark Andrews
2a3e99550d 240. [func] databases now come in three flavours: zone, cache
and stub.

 Add stubs zones support checkpoint.
 notify_t -> dns_notify_t
2000-06-07 02:40:42 +00:00
Mark Andrews
a6733246ea 240. [func] databases now come in three flavours: zone, cache
and stub.
2000-06-07 02:38:41 +00:00
Brian Wellington
bb36b3102c Use the isc md5 routines instead of dst. 2000-06-07 02:33:46 +00:00
Brian Wellington
1ee3b153b6 Added length constants, changed _final parameter from array to pointer. 2000-06-07 02:28:43 +00:00
Michael Graff
fbb2ab3056 md5 endian doesn't seem to matter? 2000-06-07 02:21:39 +00:00
Brian Wellington
77c67dfb26 Repeatedly querying for nonexistant data could lead to a crash. 2000-06-07 01:32:47 +00:00
Michael Graff
f2314fbd79 fix comments 2000-06-07 01:17:06 +00:00
Michael Graff
db4871e843 complain if BYTE_ORDER isn't defined 2000-06-07 01:14:26 +00:00
Michael Graff
bb2d54f1b3 build md5.c 2000-06-07 00:49:04 +00:00
Michael Graff
801c511ecd s/u_int/unsigned int/g 2000-06-07 00:30:42 +00:00
Michael Graff
676c534c8d We really don't need to export the sha1 transform() function, it is internal only. 2000-06-07 00:22:32 +00:00
Michael Graff
74da616f07 add sha1 implementation 2000-06-07 00:15:19 +00:00
David Lawrence
003a40178f make DNS_RDATACOMMON_INIT work again. structure elemnts had the same name as
the downcased macro argument names
2000-06-07 00:11:51 +00:00
Brian Wellington
3aec811249 fixed memory leak on TSIG BADSIG 2000-06-06 23:44:13 +00:00
David Lawrence
92ab6defb6 don't redefine DNS_RBT_ANCESTORBLOCK to a tiny size when ISC_MEM_DEBUG is
defined, as it is by default now.  huge performance hit that we would
likely have been slow to notice if not for the t_rbt chain tests
having a bug. :-)
2000-06-06 23:25:29 +00:00
David Lawrence
49f64feb02 removed an irrelevant cast to off_t in the offset wraparound check.
the expression in question is already of type isc_offset_t, which
is just a typedef for off_t.
2000-06-06 22:28:21 +00:00
David Lawrence
5fda9ca75a redefined ISC_OFFSET_MAXIMUM 2000-06-06 22:10:10 +00:00
Brian Wellington
b3ef06344a DST API updates 2000-06-06 22:01:49 +00:00
Brian Wellington
4441bfbd6b More dst updates:
- dst_lib_init()/dst_lib_destroy() allow dst to use a predefined
	  mctx and free all resources on exit.
	- dst_key_tofile() & dst_key/fromfile() take a directory parameter.
	- dst_key_parsefile() removed, replaced by dst_key_fromnamedfile()
	- more bug fixes and memory leak fixes
2000-06-06 21:58:16 +00:00
Brian Wellington
46734259ca Replace the calls to openssl error routines with stubs, since the calls
allocate memory somewhere which isn't being freed.
2000-06-06 20:40:28 +00:00
Brian Wellington
54ef500660 Turn on ISC_MEM_DEBUG by default and define isc_mem_debugging as an extern
defaulting to ISC_FALSE.
2000-06-06 18:07:38 +00:00
Brian Wellington
4c050ce9dc typo 2000-06-06 17:57:58 +00:00
Brian Wellington
36bcb04af2 If ISC_MEM_DEBUG is enabled, the variable isc_mem_debugging controls
whether messages are printed or not.
2000-06-06 17:50:43 +00:00
Andreas Gustafsson
f6684513fa style; no functional change 2000-06-06 17:50:38 +00:00
Andreas Gustafsson
ee03a00244 changed references to 'binary buffer' in comments
to just 'buffer', as there is no longer a distinction between binary
and text buffers
2000-06-06 17:47:54 +00:00
Andreas Gustafsson
ad7209ea70 style, no functional change 2000-06-06 17:43:21 +00:00
David Lawrence
bb808665b4 removed unused stack variable "ctx" from dnssafersa_verify() 2000-06-06 16:35:59 +00:00
David Lawrence
ed71ea51c6 Silence a few more warnings:
+ missing sigwait prototype on BSD/OS 4.0/4.0.1
 + PTHREAD_ONCE_INIT unbraced initializer warnings on Solaris 2.8.
 + IN6ADDR_ANY_INIT unbraced initializer warnings on BSD/OS 4.*, Linux and
   Solaris 2.8.
2000-06-06 16:06:50 +00:00
David Lawrence
fccbca2cdf style lint; macro parameter names are lowercase 2000-06-06 15:23:26 +00:00
David Lawrence
9e532f8f5e use ISC_TF to assign an isc_boolean_t 2000-06-06 15:21:46 +00:00
David Lawrence
febb976e2e dnssafersa_verify() was failing because it used isc_buffer_used() where it
needed isc_buffer_base().
2000-06-06 15:16:45 +00:00