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
63c82cf3ce
Call dst_lib_init() and dst_lib_destroy()
2000-06-07 01:44:33 +00:00
Brian Wellington
0cb394091d
The root keyset file (.keyset) wasn't being deleted, since it wasn't matched
...
by the wildcard.
2000-06-07 01:43:33 +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
a721540f20
add md5.c and md5.h, rename sha1_test to hash_test
2000-06-07 00:51:11 +00:00
Michael Graff
bb2d54f1b3
build md5.c
2000-06-07 00:49:04 +00:00
Michael Graff
3e1178f56e
rename sha1_test to hash_test, and test md5 stuff too
2000-06-07 00:48:42 +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
Brian Wellington
4e028a06a7
print a message if neither start nor stop is specified
2000-06-07 00:22:30 +00:00
Michael Graff
74da616f07
add sha1 implementation
2000-06-07 00:15:19 +00:00
Michael Sawyer
960c8888f6
TSIG verification of xfr replies working now.
2000-06-07 00:13:57 +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
Andreas Gustafsson
88eee65d8d
added 'port' option
2000-06-06 23:54:40 +00:00
Brian Wellington
3aec811249
fixed memory leak on TSIG BADSIG
2000-06-06 23:44:13 +00:00
Andreas Gustafsson
ca793cbfcf
run test DNS on port 5300
2000-06-06 23:41:55 +00:00
Andreas Gustafsson
1c4ecfd97e
look for server on port 5300, too
2000-06-06 23:40:25 +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
12a75be8c4
all uses of chains were missing calls to rbt_nodechain_invalidate, so some
...
memory was not getting freed and the chain tests were failing
2000-06-06 23:21:58 +00:00
Michael Sawyer
d62f922122
Fix segfault due to uninitialized variable
2000-06-06 23:06:25 +00:00
Michael Sawyer
910df0c767
Further attempts to make XFR's verify with TSIG keys. Still not
...
functional, and disabled in this checkin.
Added -debug and -memdebug command line options, to avoid having
to recompile every time these options are needed.
2000-06-06 22:50:44 +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
Andreas Gustafsson
ef45c94e92
added listen-on-v6
2000-06-06 18:58:59 +00:00
Andreas Gustafsson
657f3b3768
added final wiring for the listen-on-v6 statement
2000-06-06 18:53:02 +00:00
Michael Sawyer
47058d1726
Validate TSIG signatures on replies, *except* for xfr's.
...
Add Id string.
2000-06-06 18:49:06 +00:00
Andreas Gustafsson
bc2ecafd83
comment handling of empty dbnodes
2000-06-06 18:47:19 +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
67fcc94f1f
draft-ietf-ipngwg-dns-lookups was reborn
2000-06-06 17:35:08 +00:00
David Lawrence
bb808665b4
removed unused stack variable "ctx" from dnssafersa_verify()
2000-06-06 16:35:59 +00:00
David Lawrence
a2f9be8ab7
DST_R_VERIFYFINALFAILURE -> DST_R_VERIFYFAILURE
2000-06-06 16:26:42 +00:00
David Lawrence
3158797107
updated for recent changes in adb api
2000-06-06 16:22:39 +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
446aa1ec8c
style; no functional change
2000-06-06 15:37:41 +00:00
David Lawrence
6dedf9982c
int alg in main() made unsigned for argument compatibility with
...
dns_key_parsefilename().
2000-06-06 15:32:26 +00:00
David Lawrence
7e6d96bcac
char *secretstore in setup_system() made unsigned for argument compatibility
...
with dns_tsigkey_create().
2000-06-06 15:30:40 +00:00
David Lawrence
fccbca2cdf
style lint; macro parameter names are lowercase
2000-06-06 15:23:26 +00:00