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
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
Brian Wellington
b3ef06344a
DST API updates
2000-06-06 22:01:49 +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
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
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
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
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
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
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
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
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
Andreas Gustafsson
bffe4c151c
no need to verify that servers are up as start.sh now
...
takes care of that; no need to remove dig output before test
2000-06-05 19:07:46 +00:00
James Brister
029f5aa861
Conversion of various config file values to isc_uint32_t.
2000-06-05 09:17:14 +00:00
Mark Andrews
ac3b769801
232. [bug] Allow slave zones to not have a file.
2000-06-05 03:44:17 +00:00
James Brister
69b691c962
Support new 'port' clause in config file options section. Causes
...
'listen-on', 'masters' and 'also-notify' statements to use its value
instead of default (53).
2000-06-04 19:51:22 +00:00
Andreas Gustafsson
e2774cae38
no need to remove dig.out.* before test
2000-06-02 20:54:30 +00:00
Andreas Gustafsson
1de8cd761e
verify that servers started successfully, so that the
...
individual tests don't need to
2000-06-02 20:44:21 +00:00
Brian Wellington
83b32cc342
print memory stats when verbose>10
2000-06-02 19:02:52 +00:00
Brian Wellington
4fe8755480
Use the new DST API
2000-06-02 18:59:33 +00:00
Andreas Gustafsson
487791cd9c
exit with nonzero exit status if ifconfig.sh fails
2000-06-02 18:51:35 +00:00
Michael Sawyer
d12ed0876f
Add ixfr support to dig, as:
...
dig domain.nil. ixfr=12345
where 12345 is version you are ixrf'ing against
(testing still in progress of this option)
2000-06-02 18:45:33 +00:00
Andreas Gustafsson
11d0a4a55e
wired up the sig-validity-interval option; renamed its
...
access functions in the config code to be consistent with the option name
2000-06-02 17:31:43 +00:00
James Brister
98c2f9a111
Support config file trusted-keys and also-notify statemenets in views.
...
Support config file sig-validity-interval statement in options, views
and zone statements (master zones only).
Logging messages in config module stripped of trailing period.
2000-06-02 15:12:36 +00:00
Michael Sawyer
81a253a185
One more missing file.
2000-06-01 23:45:24 +00:00
Michael Sawyer
f4f73ec517
Add missing files
2000-06-01 23:42:19 +00:00
Andreas Gustafsson
9e411a82b2
terminology: 'zone transfers', not 'domain name transfers';
...
'zones', not 'domains'
2000-06-01 23:36:59 +00:00
Andreas Gustafsson
b54bfc7cb8
terminology: 'zone transfers', not 'domain name transfers'
2000-06-01 23:26:20 +00:00
Andreas Gustafsson
bf1a55e97b
specify the correct master name in the SOA MNAME field;
...
this should help eliminate unnecessary sending of notifies to the master
2000-06-01 23:24:52 +00:00
Andreas Gustafsson
a892ddd1bd
changed the zone type of the version.bind. CH zone from 'none'
...
to 'master', as the semantics of zones of type 'none' are not well defined.
Allow zone->dbname to be NULL to support this usage.
2000-06-01 23:11:26 +00:00
Andreas Gustafsson
b3352f568a
removed outdated comment
2000-06-01 22:34:03 +00:00
Andreas Gustafsson
7d040ee1bd
don't log the message 'now using logging configuration from
...
config file' when said configuration has been overridden with -g
2000-06-01 21:45:45 +00:00
David Lawrence
0b056755b2
225. [cleanup] The enumerated dns_rdatatype_* identifiers are now
...
cast to dns_rdatatype_t via macros of their same name
so that they are of the proper integral type wherever
a dns_rdatatype_t is needed.
(And a few prototypes that I recently bogusly changed to take "int" parameters
in place of "dns_rdatatype_t" to accomodate the type of an enum identifier
have been reverted to again properly take a dns_rdatatype_t.)
2000-06-01 21:42:42 +00:00
David Lawrence
dbb33bdc76
progname and conffile made const
2000-06-01 19:16:20 +00:00
David Lawrence
1b6d529cb5
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
Several unused functions removed from dispatch_tcp_test.c (left over
from when it was copied from dispatch_test.c).
Minor other ISC style cleanups.
2000-06-01 19:11:07 +00:00
David Lawrence
63ed655d8f
"test" target depends on the relevant program being built
2000-06-01 19:09:37 +00:00
David Lawrence
e3f5561ec9
DP()'s format argument prototyped as const.
...
A pointers-to-function should not be cast to a pointer-to-object.
2000-06-01 18:53:53 +00:00
David Lawrence
7efc8c3f69
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00
Michael Sawyer
ba80bec980
Add query-source
2000-06-01 18:07:48 +00:00