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
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
James Brister
616c83b78b
temporarily disable code that validates listen-on and listen-on-v6 lists.
2000-06-06 14:20:03 +00:00
Mark Andrews
7ed73313b1
Add function to determine whether a given request used TCP or not.
2000-06-06 02:07:13 +00:00
Mark Andrews
ba6f0d85b4
Add macro to initalise the common part of a rdata struct.
2000-06-06 02:03:23 +00:00
Mark Andrews
d2b5fe92a4
Generate dependancies for dot 'h' files made by gen.
2000-06-06 02:01:41 +00:00
David Lawrence
49a2cf8f21
quiet va_start() warnings on BSD/OS 4.1
2000-06-06 00:44:07 +00:00
Michael Sawyer
a5ed46c9fd
Send TSIG signed queries with dig. This version requires all queries
...
from a single invocation of dig use the same key, and doesn't validate
replies yet. Also, keys must be passed on the command line with the
-y option. -k forthcoming.
2000-06-06 00:43:17 +00:00
David Lawrence
501da430e2
added section for platforms other people report to us as working
2000-06-06 00:34:55 +00:00
Andreas Gustafsson
9c11326b18
237. [bug] If connect() returned ENOBUFS when the resolver was
...
initiating a TCP query, the socket didn't get destroyed,
and the server did not shut down cleanly. [RT #107 ]
2000-06-05 22:31:54 +00:00
Andreas Gustafsson
5a75472f64
added DNS MIB RFCs
2000-06-05 22:23:30 +00:00
David Lawrence
b1a8714e07
cast void *isc_buffer_used() to char * for pointer arithmetic
2000-06-05 22:20:04 +00:00
James Brister
a56062920f
Removed ipv4 address from listen-on-v6 test case.
2000-06-05 22:16:24 +00:00
James Brister
c78dc8b001
Added new listen-on-v6 config file statement.
...
Consider it a config file error if a listen-on statement has an IPv6
address in it, or a listen-on-v6 statement has an IPv4 address in it.
2000-06-05 22:08:50 +00:00
Andreas Gustafsson
abf2e095fb
config code now guarantees that port number is set in the
...
also-notify list
2000-06-05 21:54:28 +00:00
Andreas Gustafsson
31dfecfa8f
forward to the view's configured destination port, which may not be 53
2000-06-05 21:52:31 +00:00
Andreas Gustafsson
0a36a0dd9a
typo in comment
2000-06-05 21:50:03 +00:00
James Brister
d5399cc351
Allow a trusted-key's first field (domain-name) be either a quoted or
...
an unquoted string, instead of requiring a quoted string.
2000-06-05 20:32:01 +00:00
Brian Wellington
b70f6ae9d0
missing call to dst_context_destroy
2000-06-05 20:01:07 +00:00
Andreas Gustafsson
813d6c9781
make conf.sh usable from subdirectory test scripts;
...
use conf.sh from subdirectory test scripts
2000-06-05 19:36:44 +00:00
Brian Wellington
b15d35d4e6
use the dst md5 layer instead of openssl md5, replace verify with sign & compare
2000-06-05 19:10:58 +00:00
Brian Wellington
9ee00c4fa0
use the dst md5 layer instead of dnssafe md5
2000-06-05 19:10:27 +00:00
Andreas Gustafsson
f1f2f8bd47
Wired up the new 'port' option. Also, the interface manager now has
...
both a 'listen-on' and a 'listen-on-v6' ACL. We are still waiting for
the 'listen-on-v6' config file option to set the latter explicitly,
but at least the default value now tracks the 'port' option and the
'-p' command line option.
2000-06-05 19:10:13 +00:00