Commit graph

3684 commits

Author SHA1 Message Date
Brian Wellington
d780c35e54 remove all vestiges of 16 bit global compression 2000-12-28 00:43:12 +00:00
David Lawrence
054e999be3 #include <config.h> 2000-12-23 22:02:49 +00:00
David Lawrence
f4ed5931a4 the log config pointer was not initialized to NULL as it should be 2000-12-23 19:24:18 +00:00
Andreas Gustafsson
f131164c62 incorrect root hint directory 2000-12-22 18:57:18 +00:00
Andreas Gustafsson
275c618823 added stress test 2000-12-22 17:03:03 +00:00
Andreas Gustafsson
93ac5ecb55 added shared root.hint file 2000-12-22 17:01:51 +00:00
Andreas Gustafsson
87e15b393c avoid the file name extension '.orig' so as not to conflict with 'patch' 2000-12-21 23:44:51 +00:00
Andreas Gustafsson
49df2ea987 eliminated compiler warning 2000-12-21 02:50:43 +00:00
Brian Wellington
039c8eda34 test a few more things about getrrsetbyname() 2000-12-20 03:42:01 +00:00
Andreas Gustafsson
1928be262c edited 2000-12-19 19:21:06 +00:00
Mark Andrews
96f66b3396 make views test work 2000-12-19 03:42:36 +00:00
Andreas Gustafsson
c877d7db8f use common configuration files 2000-12-18 23:24:24 +00:00
Andreas Gustafsson
bfc41f13e7 clenup 2000-12-18 22:39:17 +00:00
Andreas Gustafsson
8351864ef8 added directory bin/tests/system/common for code to be shared by
multiple system tests
2000-12-18 21:04:27 +00:00
Andreas Gustafsson
d06083ba21 superseded by tests/system/nsupdate/update_test.pl 2000-12-16 00:58:40 +00:00
Andreas Gustafsson
f19771c55d 617. [bug] When using dynamic update to add a new RR to an
existing RRset with a different TTL, the journal
                        entries generated from the update did not include
                        explicit deletions and re-additions of the existing
                        RRs to update their TTL to the new value.
2000-12-16 00:58:03 +00:00
Andreas Gustafsson
0f5542c35c Makefile.in did not devine VPATH, which caused Marks's
makefile-out-of-date hack to fail when using a separate build
directory
2000-12-15 01:40:40 +00:00
Brian Wellington
58082ab8a8 The "cachefile" option now loads the file on startup. The "temporary" -x
option to named is no more.
2000-12-12 23:05:59 +00:00
Mark Andrews
88a6fef494 init dns_rdata_t's 2000-12-11 23:09:47 +00:00
Brian Wellington
30bc8ee6bc chmod all core files to 0644, to make tests easier to debug 2000-12-06 19:37:19 +00:00
Andreas Gustafsson
2283047140 this file does not belong in the distribution 2000-12-04 17:09:08 +00:00
Andreas Gustafsson
a3e41e3c03 obey the allow-update forwarding option for both signed and unsigned updates;
fold the upforwd system test README file and nsupdate input files into the tests.sh script;
other minor cleanup of the upforwd test
2000-12-01 21:37:17 +00:00
Andreas Gustafsson
b199bc831e bypass running scripts if we are using a separate
build directory
2000-12-01 02:17:15 +00:00
Andreas Gustafsson
f333ea9bdd added notify-source options 2000-11-28 19:07:00 +00:00
Mark Andrews
a5af8127b8 add support for enabling library logging.
add missing ISC_LINK_INIT()
2000-11-28 03:34:10 +00:00
Mark Andrews
94e5d79449 Use "nsupdate filename" rather than "nsupdate < filename". 2000-11-28 03:21:17 +00:00
Mark Andrews
dfd7798d8b 578. [func] Notify-source, specify the source address for notify
messages.
2000-11-25 02:43:56 +00:00
Brian Wellington
2c46670fb4 ignore stdout from the dnssec tools 2000-11-22 20:37:50 +00:00
Andreas Gustafsson
0f8a8f4552 cleanup of test output and shell code 2000-11-22 19:00:46 +00:00
Andreas Gustafsson
7318850b28 transfer-source option added in previous change was
misspelled
2000-11-22 18:52:38 +00:00
Andreas Gustafsson
b88cdaa99b don't destroy evidence by cleaning the test directory
when a test fails
2000-11-22 18:31:27 +00:00
Andreas Gustafsson
5337a9e53c added regression test for RT #482 (which will fail
until the bug is fixed)
2000-11-22 18:26:30 +00:00
Mark Andrews
c210363ad9 only one transfer-source is allowed. 2000-11-22 12:20:54 +00:00
Andreas Gustafsson
4f37905cc3 added 'transfer-source' directives to all system test named.conf
files, so that tests succeed while transfer-source is still being (ab)used as
the notify source address
2000-11-22 01:34:19 +00:00
Andreas Gustafsson
01da43e63a pass the +dnssec flag to DIG 2000-11-22 01:26:24 +00:00
Andreas Gustafsson
35fb45afec when checking whether the TC flag is set, ignore the other
flags - in particular, we don't care whether the AD flag is set or not
2000-11-22 01:21:44 +00:00
Bob Halley
27f8e3bfa0 comp was set from the wrong argv value 2000-11-22 00:14:55 +00:00
Andreas Gustafsson
5a77e9620a make spacing in listen-on-v6 option consistent with other options 2000-11-21 23:50:10 +00:00
Michael Sawyer
2de413d956 Make the test properly query server 2. 2000-11-21 23:41:25 +00:00
Andreas Gustafsson
ac0486788e removed definition of ISC_MEM_TRACKLINES altogether, since
defining it in an individual source module without also defining it in mem.c will
not work
2000-11-20 22:05:35 +00:00
Andreas Gustafsson
b313f1f0c0 don't redefine ISC_MEM_TRACKLINES if already defined 2000-11-20 22:01:53 +00:00
Brian Wellington
7803df6c0a update unknown rr test 2000-11-20 21:58:45 +00:00
Andreas Gustafsson
28002bd7cb replaced update.scp with a here document 2000-11-20 17:59:20 +00:00
Andreas Gustafsson
bca6ff69a7 removed redundant comment 2000-11-20 17:53:41 +00:00
Brian Wellington
c24821e142 test that lowercase hex characters are accepted 2000-11-19 20:59:18 +00:00
Brian Wellington
cffe50abf6 Lots of copyright updates 2000-11-18 03:01:17 +00:00
Mark Andrews
e639a3ee48 specify src address for IP based update 2000-11-16 06:00:09 +00:00
Brian Wellington
4fec24891d some files weren't properly cleaned. 2000-11-16 00:20:22 +00:00
Brian Wellington
5337799589 ignore named.run 2000-11-16 00:19:55 +00:00
Brian Wellington
284b13b98b actually run the new test added yesterday 2000-11-15 23:55:07 +00:00
David Lawrence
ed92f0f420 test splititng/compact of maximal length bitstring label 2000-11-15 00:21:00 +00:00
David Lawrence
19ce0d25d3 use isc_dir_makeunique() instead of mktemp/mkdir, to squelch a warning 2000-11-15 00:20:34 +00:00
Brian Wellington
a31c0e3966 Test that the unknown rr type code doesn't load compressed rdata. 2000-11-14 23:52:06 +00:00
Brian Wellington
942d1a339b Decompression contexts now take a type instead of the "strict" boolean
value - the type can be "any", "strict", or "none".  This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +00:00
Andreas Gustafsson
917c8406f6 handle negated sortlist entries correctly 2000-11-11 00:26:52 +00:00
Andreas Gustafsson
e5167b6d4c made ifconfig.sh usage message recommend 'up/down' form instead of 'start/stop' 2000-11-11 00:19:24 +00:00
Brian Wellington
142784f574 #include <string.h> 2000-11-10 05:34:16 +00:00
Andreas Gustafsson
84abb95f7e 551. [func] Implemented the 'sortlist' option. 2000-11-10 03:41:08 +00:00
Andreas Gustafsson
febaa09184 551. [func] Implemented the 'sortlist' option. 2000-11-10 03:16:26 +00:00
Brian Wellington
9a6314a09a typo 2000-11-10 03:14:58 +00:00
Brian Wellington
ca44fe49be Add a system test for records with unknown types/classes. There are probably
a lot more things that could be tested here.
2000-11-10 03:05:54 +00:00
Mark Andrews
23dd2af8d3 additional test server 2000-11-10 02:36:38 +00:00
Brian Wellington
ebfcb6cf66 550. [func] Support unknown rdata types and classes. 2000-11-09 23:55:05 +00:00
Brian Wellington
964c3f4a6e ignore named.run files 2000-11-09 19:42:35 +00:00
Mark Andrews
162095ca41 Now knowngood.afer1 and knowngood.before 2000-11-06 08:34:59 +00:00
Mark Andrews
38d9dc1628 542. [func] Add allow-update-forwarding support. 2000-11-06 08:33:10 +00:00
Mark Andrews
0fc89c4ee6 540. [func] Add dialup support. 2000-11-03 07:16:09 +00:00
Brian Wellington
046862bebe basic getrrsetbyname() tests 2000-11-02 02:05:01 +00:00
Brian Wellington
3a372f7aaf Add a signed record. The SIG doesn't verify (verification isn't even
attempted), but getrrsetbyname returns it.
2000-11-02 02:04:15 +00:00
Mark Andrews
533df4efda 537. [func] Use transfer-source{-v6} when notify messages. 2000-10-31 05:34:18 +00:00
Brian Wellington
0656756d82 With search path processing in the server, LWRES_R_INCOMPLETE is no longer
returned.
2000-10-28 00:44:46 +00:00
Brian Wellington
d34b3b1c12 Add search and ndots statements 2000-10-24 04:30:25 +00:00
Andreas Gustafsson
a5044c42a8 added copyright message 2000-10-17 20:13:56 +00:00
Brian Wellington
ae9f17f496 add journalprint 2000-10-17 19:36:01 +00:00
Andreas Gustafsson
86cbec9012 update_copyrights treated CONF-SH comments as C comments
due to inappropriate use of prefix regexp matching
2000-10-17 19:28:55 +00:00
Mark Andrews
b20ee662a7 521. [bug] Detect master files which contain $INCLUDE and always
reload. [RT #196]

new result code DNS_R_SEENINCLUDE
dns_master_load* can now return DNS_R_SEENINCLUDE
2000-10-17 07:22:39 +00:00
Brian Wellington
6177fc9897 A lot of files generated by libtool were not properly ignored. 2000-10-16 23:44:25 +00:00
Brian Wellington
b88fd265d1 Added copyright 2000-10-16 20:42:03 +00:00
Brian Wellington
2d2d94e01d spacing 2000-10-13 23:28:00 +00:00
Bob Halley
6af9bd789e Add regressions which test for the bugs fixed in changes 516, 517, and 518 2000-10-13 18:51:59 +00:00
Brian Wellington
3ee226769d #include <string.h> 2000-10-06 23:12:07 +00:00
Brian Wellington
6850cdd449 508. [func] dns_message_parse() can now do a best-effort
attempt, which should allow dig to print more invalid
                        messages.
2000-10-06 18:58:30 +00:00
Brian Wellington
cb5d33b87a the lwresd -p and -P flags had their meanings reversed. 2000-10-05 22:30:57 +00:00
Brian Wellington
2264a174f3 test the new lwres functionality (different addresses, lwresd.conf, etc.) 2000-10-05 22:29:34 +00:00
Brian Wellington
86ac7ea2ed Added a (trivial) program to print the contents of a journal file. 2000-10-02 20:13:47 +00:00
Brian Wellington
caa1ba7ea9 lwresd.run files should be deleted by cleanall.sh 2000-09-27 20:33:39 +00:00
Olafur Gudmundsson
2ecf7f63a0 Updated README to reflect tested versions off FreeBSD
Updated ifconfig.sh to allow testing on a 10/8 network on Solaris-7 and
	Freebsd-[34] without broadcast conficts.
No user visable changes.
2000-09-27 14:52:22 +00:00
Andreas Gustafsson
ac8f49314c simplified; added /24 netmasks for more systems 2000-09-26 16:30:53 +00:00
Brian Wellington
81e3973b78 spelling 2000-09-22 23:17:57 +00:00
Brian Wellington
cde42c9189 when bring up interfaces on Linux, set the netmask. This should probably
be done for all of the other OSes also.
2000-09-22 23:15:55 +00:00
Andreas Gustafsson
8dda471a92 test should not exit with zero exit status if nsupdate dumps core 2000-09-20 00:42:24 +00:00
Brian Wellington
2b485c59e5 Don't attempt to use /dev/random, even if one exists. It causes the tests
to take an inordinately long time if 'randomfile' doesn't exist, when they
should just fail immediately.
2000-09-19 19:08:43 +00:00
Brian Wellington
b8407ff49e ignore the file of random data 2000-09-19 19:06:20 +00:00
Andreas Gustafsson
dd97704766 updated with new tests 2000-09-19 00:40:14 +00:00
Andreas Gustafsson
531dd7b648 support 'named -l' as a synonym for 'lwresd', so that the system
tests will work despite libtool losing argv[0]
2000-09-16 01:42:06 +00:00
Brian Wellington
de4ef688d7 Fix compile failures due to selective forwarding changes. They don't work,
but also don't appear to work on the release branch.
2000-09-15 22:00:02 +00:00
Brian Wellington
28e5aa3e6d dns_buildnxt -> dns_nxt_build 2000-09-15 21:40:39 +00:00
Mark Andrews
f2b38670c4 add example.bk 2000-09-13 07:44:52 +00:00
Mark Andrews
8241166a95 Add clean.sh
send nsupdate output to /dev/null
2000-09-13 07:41:12 +00:00
Mark Andrews
24f0ca71ee add upforwd 2000-09-13 01:36:44 +00:00
Mark Andrews
f267ee3e4f Add upforwd files.
Addition cleaning up from previous runs.
2000-09-13 01:24:05 +00:00
Mark Andrews
a05a8baeb1 add reference file 2000-09-13 01:22:25 +00:00
Brian Wellington
5c29047792 minor dst api change 2000-09-12 09:59:28 +00:00
Mark Andrews
842e0d16b8 checkpoint 2000-09-08 06:27:35 +00:00
Mark Andrews
ee94aedb41 Initial update forwarding test suite. 2000-09-08 05:48:06 +00:00
Mark Andrews
dfed970f63 Initial update forwarding test suite. 2000-09-08 05:40:44 +00:00
Brian Wellington
d3735e0e25 DST_ALG_RSA -> DST_ALG_RSAMD5 2000-09-02 01:17:20 +00:00
Andreas Gustafsson
321a6df4ff removed redundant "directory ." option 2000-09-01 19:36:05 +00:00
Andreas Gustafsson
c5926943a7 don't try to cd into nsupdate.core (sic) 2000-08-31 23:51:54 +00:00
Brian Wellington
2310b7964d test getipnodebyname/getipnodebyaddr/freehostent 2000-08-30 23:35:34 +00:00
Andreas Gustafsson
0d1dc10cc8 added brief copyright message 2000-08-30 19:18:12 +00:00
Andreas Gustafsson
f5b503abb8 update copyrights 2000-08-30 19:17:46 +00:00
Andreas Gustafsson
d0c7293bc8 added copyright message 2000-08-30 19:13:30 +00:00
Brian Wellington
bf7c02293f use DESTROYLOCK() 2000-08-30 01:35:42 +00:00
Brian Wellington
367ac5bfc5 The named.run files were not being ignored. 2000-08-28 21:23:32 +00:00
Michael Graff
306a935305 add find->result_v[46] 2000-08-26 02:21:45 +00:00
Brian Wellington
dcc6bde0a3 Added a system test for selective forwarding. 2000-08-24 22:23:46 +00:00
Brian Wellington
21f710a09f Changes to the rdata text format in a few cases (removal of parens) to
match the dig output.
2000-08-24 22:01:12 +00:00
Mark Andrews
8249eee42a notify-any to allow-notify conversion.
notify-relay to notify-forward conversion.
2000-08-22 05:14:59 +00:00
Brian Wellington
98254c9545 ignore sig0_test 2000-08-22 01:12:40 +00:00
Brian Wellington
ca22760047 Add a lame SIG(0) test program, since apparently there is someone else trying
to use it.
2000-08-22 01:11:53 +00:00
Brian Wellington
29ae20604d 'make clean' should delete the generated randomness file 2000-08-22 00:57:46 +00:00
Brian Wellington
529ff4b495 HAVE_RANDOMDEV -> PATH_RANDOMDEV 2000-08-17 19:17:57 +00:00
Brian Wellington
a14613fce9 --with-randomdev sets HAVE_RANDOMDEV, use that instead of /dev/random. 2000-08-17 18:56:49 +00:00
Mark Andrews
10a6b854f5 initial gdib notify relay tests 2000-08-17 09:18:03 +00:00
Brian Wellington
df08ae001a Add @DNS_GSSAPI_LIBS@ to DNSLIBS 2000-08-17 02:11:50 +00:00
Andreas Gustafsson
a567d37f78 silence compiler warning about main() not returning a value 2000-08-14 03:32:53 +00:00
Brian Wellington
efd2baaa2b Remove the random.data file created by genrandom. 2000-08-11 18:45:30 +00:00
Brian Wellington
5990aea208 Added genrandom 2000-08-10 23:12:42 +00:00
Andreas Gustafsson
a9eeaeb1c2 nuked zone2_test 2000-08-10 18:30:19 +00:00
David Lawrence
a6be86b41b "@" is now the relative name returned for a chain that points to the absolute
root of the rbt.
2000-08-09 04:50:21 +00:00
David Lawrence
37cd2a0d29 style lint 2000-08-09 04:49:44 +00:00
David Lawrence
816e576f77 new URL for the copyright notice 2000-08-09 04:37:43 +00:00
Brian Wellington
128da6abae use putc instead of fwrite, since only 1 character is being written at a time. 2000-08-09 01:37:33 +00:00
Brian Wellington
14cd2549a4 Accidentally left in a call to htons(). 2000-08-09 00:57:48 +00:00
Brian Wellington
ac0e6a081f Always produce the same random data. 2000-08-09 00:30:57 +00:00
Brian Wellington
babeb4b142 Added copyright. 2000-08-09 00:21:26 +00:00
Andreas Gustafsson
e605e98f3e use DNS_NAME_MAXTEXT/DNS_NAME_FORMATSIZE 2000-08-09 00:09:36 +00:00
Brian Wellington
a7290af88f Added a small program to generate "random" data. It's not really random,
but it's only for tests.  This allows the large files containing random
data to be removed from the tree.
2000-08-08 21:47:55 +00:00
Andreas Gustafsson
70bdf57594 allow up/down as synonyms for start/stop 2000-08-08 19:57:31 +00:00
James Brister
385a9cb48a 369. [func] Support new named.conf options, view and zone
statements:

				max-retry-time, min-retry-time,
				max-refresh-time, min-refresh-time, max-names.
2000-08-02 20:44:27 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
c5944292e9 361. [func] When the RBT find or chain functions set the name and
origin for a node that stores the root label
			the name is now set to an empty name, instead of ".",
			to simplify later use of the name and origin by
			dns_name_concatenate(), dns_name_totext() or
			dns_name_format().

 360.	[func]		dns_name_totext() and dns_name_format() now allow
			an empty name to be passed, which is formatted as "@".
2000-07-31 23:27:25 +00:00
David Lawrence
9658892dbc revert the changes to dns_name_format() back to dns_name_totext() because
dns_name_format() does not print absolute names
2000-07-31 22:34:01 +00:00
Brian Wellington
529a6b5224 358. [cleanup] Rename the intermediate files used by the dnssec
programs.
2000-07-31 15:28:21 +00:00
Michael Sawyer
7d1b7c45a3 Allow RNCD connects from any address 2000-07-29 00:26:22 +00:00
Andreas Gustafsson
e0f23ee828 check that the server copes with responses containing a CNAME
and other data
2000-07-28 22:42:42 +00:00
David Lawrence
74b4a3512f gethostbyaddr takes signed char pointer, not unsigned, as its first argument.
wrap lines at column 79.
2000-07-28 03:31:25 +00:00
David Lawrence
0d489aae41 missing newline 2000-07-28 02:59:05 +00:00
Andreas Gustafsson
3342c783e3 make distclean should remove conf.sh 2000-07-28 01:37:05 +00:00
Brian Wellington
dbbf071676 ignore and clean up the dig.out.ns1.after file 2000-07-28 00:38:08 +00:00
Brian Wellington
60eb559222 - print the number of each test
- add a missing simple negative response test
- check the status of the ad bit on responses
- test queries with the cd bit set
- remove duplicated arguments to dig
2000-07-27 23:22:35 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence
6ab8e7ff5f remove named.run files with make clean/distclean 2000-07-27 03:35:48 +00:00
David Lawrence
ab123a8e1b use isc_dir_createunique() in place of tmpnam()/mkdir() 2000-07-27 02:30:27 +00:00
David Lawrence
0a7a0e19c4 need sys/types.h and sys/stat.h for chmod() prototype (non-portable). 2000-07-26 22:46:07 +00:00
David Lawrence
3c9b0570ed Need stdlib.h for exit() prototype. 2000-07-26 22:44:51 +00:00
David Lawrence
5f73e025a1 enable ISC_MEM_TRACKLINES gnifty feature 2000-07-26 22:42:43 +00:00
Michael Graff
9c3903a58a set isc_mem_debugging = 2 2000-07-26 19:07:36 +00:00
Michael Sawyer
222ad9086c Typo 2000-07-26 17:56:37 +00:00
Andreas Gustafsson
a0b608fd1a not all messages were prefixed with I: 2000-07-26 01:19:43 +00:00
James Brister
d4ab9cd94f 348. [func] New named.conf boolean values 'glue-from-auth' and
'glue-from-cache' now supported in view and global
			options statement.
2000-07-25 17:55:43 +00:00
Michael Sawyer
0759eb6a0d Olafer's patch to give the server time to start 2000-07-25 17:48:51 +00:00
Michael Sawyer
dc9c461b27 Test that the jnl file is properly recovered after a hard kill of the server 2000-07-25 00:44:18 +00:00
Michael Sawyer
6b9c29ec57 Additional test in nsupdate test 2000-07-24 23:54:59 +00:00
Michael Sawyer
c5272fb330 Merge update_test.pl into system test scripts 2000-07-24 22:53:40 +00:00
Andreas Gustafsson
a7c6c06fad removed 5-second sleep and unnecessary semicolon 2000-07-24 22:05:16 +00:00
James Brister
c35f1e5937 341. [func] Support 'key' clause in named.conf zone masters
statement:

                                masters {
                                        10.0.0.1 port 666 key "foo";
                                        10.0.0.2 ;
                                };
2000-07-21 21:25:01 +00:00
Andreas Gustafsson
b6dcb3d243 print_name() formatted text into a buffer of 256
character pointers, not 256 characters; also changed it to
use dns_name_format()
2000-07-21 21:13:40 +00:00
Brian Wellington
87ab7fb07d The keys weren't properly freed. Also added a "-p port" option and did
some other cleanup.
2000-07-21 21:02:46 +00:00
Andreas Gustafsson
c3c57248e0 missing NULL initialization 2000-07-21 21:02:15 +00:00
Michael Sawyer
390132bd98 Run resolver test in make tests 2000-07-20 19:38:05 +00:00
Andreas Gustafsson
8b2d2acbff in the multi-stage positive validation test, allow the
recursive server to omit the authority section
2000-07-19 19:54:50 +00:00
Andreas Gustafsson
e54e6744d6 do two queries; added comments 2000-07-18 17:13:40 +00:00
Brian Wellington
9c4cba349f 334. [func] Added hmac-md5 to libisc. 2000-07-17 17:33:39 +00:00
Andreas Gustafsson
92103a4e2c typo 2000-07-15 01:11:37 +00:00
Andreas Gustafsson
5fff4f8a54 typo 2000-07-15 00:37:23 +00:00
Andreas Gustafsson
f427699c6a fixed prerequisite test 2000-07-15 00:22:08 +00:00
Andreas Gustafsson
f2c814353b added resolver/ test directory, with a single regression
test for the INSIST(!external) bug
2000-07-14 23:38:14 +00:00
Andreas Gustafsson
1a92f5c182 removed dead code 2000-07-14 23:16:45 +00:00
Brian Wellington
0e71d03672 Check for DNS_R_NAMETOOLONG when testing names that are too long. 2000-07-14 22:21:14 +00:00
Brian Wellington
9df4200a67 Check the return value of kill. This means that the test can now detect
the case when a program no longer exists (due to a crash) or when a
program responds badly to a SIGTERM and doesn't clean up the pid file.
2000-07-12 17:59:08 +00:00
David Lawrence
8d6c369232 work with new omapi_protocol_listen and omapi_auth_register APIs 2000-07-12 17:29:58 +00:00
David Lawrence
2831bea28e make rndc output appear as I: lines 2000-07-12 16:43:03 +00:00
Michael Sawyer
931e154a1e Change ticks to 360, not zones... 2000-07-12 00:46:50 +00:00
Michael Sawyer
b95b59db26 Increase max wait time for transfer to Retry time + 1 minute, since some
OS's appear to drop UDP packets and not get the initial SOA reply.
2000-07-11 23:42:56 +00:00
James Brister
adade77942 326. [func] 'keys' in an 'inet' control statement is now
required and must have at least one item in it.

                        warning is issued if a 'unix' control channel is
                        defined (not supported).
2000-07-11 19:09:10 +00:00
Mark Andrews
6c3371d89a Add test for leading zero in SOA serial 2000-07-11 02:40:58 +00:00
Brian Wellington
7f2ac7414c Test that a query for a security root succeeds. 2000-07-11 00:36:44 +00:00
Brian Wellington
e09caeceef print the test info before executing the test 2000-07-10 23:46:50 +00:00
Brian Wellington
60f0c97c90 fix broken shell code 2000-07-10 23:05:51 +00:00
Michael Sawyer
796b1656b6 pulldown:
If the testsock.pl test fails, try 5 times (2 seconds between tries) in case
a server took some time to fully free the port.  (Appears to be an occasional
problem on Solaris)
2000-07-10 22:49:46 +00:00
Brian Wellington
b872e86042 Describe all the tests that are run and indicate which ones fail. 2000-07-10 21:40:16 +00:00
Andreas Gustafsson
0282c5fd48 export RNDC 2000-07-10 17:01:15 +00:00
David Lawrence
27c1fa93a0 use rndc instead of kill to reload the servers ... with the added benefit
that now the body of this test should pass on BSD/OS
2000-07-10 11:39:51 +00:00
David Lawrence
2c6d0da369 set $RNDC 2000-07-10 11:38:48 +00:00
David Lawrence
74c2797077 added I: lines to describe the test's progress 2000-07-09 16:33:09 +00:00
David Lawrence
fdebae8397 nsupdate now finishes by sending a final newline, so don't echo another one 2000-07-09 16:27:30 +00:00
David Lawrence
e60f5a146d remove the correct dig.out and stub zone files generated by the test 2000-07-09 16:18:39 +00:00
David Lawrence
904579f844 ignore named.run 2000-07-09 16:11:12 +00:00
David Lawrence
2925f690b3 if a server has to be kill -KILLed, remove its pidfile after the signal is sent 2000-07-09 15:55:01 +00:00
David Lawrence
37d5999904 "make test" depends on subdirs getting all compiled 2000-07-09 15:54:21 +00:00
Mark Andrews
ddc12c6129 Add non-empty blank line test. 2000-07-09 12:48:43 +00:00
David Lawrence
5709b77c8c return non-zero if the rcodes differ 2000-07-08 16:37:43 +00:00
David Lawrence
c634c94d67 added "I:" info lines for each stage of the test 2000-07-08 16:37:18 +00:00
David Lawrence
45f0cd2b4b use full dig output; let digcomp sort it all out. in particular, digcomp
really wants to get the server status.

also added "I:" info lines for each stage of the test
2000-07-08 16:36:29 +00:00
David Lawrence
2dc34dc3de removed a.root-servers.nil A record as out of zone for .mil 2000-07-08 16:29:47 +00:00
David Lawrence
b575462ccb test that out-of-zone glue records are not returned 2000-07-08 16:29:05 +00:00
David Lawrence
d319a11e58 use full dig output so digcomp can get the server status response 2000-07-08 16:27:24 +00:00
Brian Wellington
66b84e8952 - test insecurity proofs
- use digcomp.pl's ability to check rcode
- generate less unneeded output
- use separate output files for each test, so that output isn't deleted
2000-07-08 00:39:17 +00:00
Andreas Gustafsson
722cac3cdc worked around NetBSD /bin/sh bug, making the
script shorter in the process
2000-07-07 23:18:51 +00:00
James Brister
475c936d4c 314. [func] Inet controls named.conf statement can now have
any non-negative number of keys specified.
2000-07-07 23:11:48 +00:00
Andreas Gustafsson
8d19e0443d worked around NetBSD /bin/sh bug, making the
script shorter in the process
2000-07-07 22:45:22 +00:00
Andreas Gustafsson
ed0a75d4a4 indentation and other style fixes;
reindented (emacs users please (setq perl-indent 8))
2000-07-07 22:43:45 +00:00
Andreas Gustafsson
eebcaeb6a0 added CNAME RR for RT #153 regression test 2000-07-07 22:33:20 +00:00
Brian Wellington
6ad837a1ad The rcode comparison check didn't work. It does now. 2000-07-07 22:13:21 +00:00
Brian Wellington
1cc90f4ab4 Check that the rcodes in the 2 messages are the same 2000-07-07 21:43:49 +00:00
Brian Wellington
1e8c2e72e7 remove extra spaces in I: lines 2000-07-07 18:25:20 +00:00
James Brister
952e9025b0 310. [func] Changes to named.conf "controls" statement (inet
subtype only)

                          - support "keys" clause

                                controls {
                                   inet * port 1024
                                        allow { any; } keys { "foo"; }
                                }

                          - allow "port xxx" to be left out of statement,
                            in which case it defaults to omapi's default port
                            of 953.
2000-07-07 13:56:14 +00:00
Brian Wellington
6c3bd0545a If the test timed out, R:FAIL was being printed twice, and the error
message was missing the I: prefix.
2000-07-07 07:15:04 +00:00
Brian Wellington
20e597d71c remove spaces from I: statements 2000-07-07 00:41:18 +00:00
Brian Wellington
d52cd4a9fa Properly fill in sa_family and sa_len (if present). Also fix a bug in
test_noop (you'd really think a noop test would be bug free).
2000-07-06 22:28:44 +00:00
Michael Sawyer
fec9cc90e6 Corrected cleanup 2000-07-06 19:54:02 +00:00
Michael Sawyer
03967f5ba6 Remove unneeded file 2000-07-06 19:46:20 +00:00
Michael Sawyer
f7b7a2448c use runall.sh and cleanall.sh 2000-07-06 19:40:57 +00:00
Michael Sawyer
2c65255baa Missing quotes 2000-07-06 19:37:47 +00:00
Michael Sawyer
ea1fabfe76 SUBDIRS entry corrected and brought up to date 2000-07-06 19:34:27 +00:00
Andreas Gustafsson
2c9fdfdfbe added script for running all system tests in sequence 2000-07-06 19:32:37 +00:00
Andreas Gustafsson
457a63f3b8 missing colon in glue_test rule 2000-07-06 04:36:55 +00:00
Andreas Gustafsson
770dd208fa work around NetBSD /bin/sh bug, with the side effect of making the
test script shorter
2000-07-06 02:33:42 +00:00
Michael Sawyer
313b7db2ce Add NSUPDATE to conf.sh.in, not conf.sh... 2000-07-06 02:10:46 +00:00
Andreas Gustafsson
249763bcbf added glue test 2000-07-06 02:06:02 +00:00
Andreas Gustafsson
afb2c39d2d added glue test 2000-07-06 01:28:08 +00:00
Andreas Gustafsson
8993565982 if the file nsN/namedopts exists, use it to set named
command line options
2000-07-06 01:26:05 +00:00
Michael Sawyer
c3c6770e53 Add nsupdate/ixfr test suite 2000-07-06 00:54:03 +00:00
Brian Wellington
5ddea03e3e Log a message in addition to setting a failure code when kill -TERM doesn't
kill a server.
2000-07-05 23:28:07 +00:00
Andreas Gustafsson
66465da5d1 work around NetBSD /bin/sh bug, with the side effect of making the
test script shorter
2000-07-05 22:13:56 +00:00
Brian Wellington
58208669bc Should sleep for a while between kill -TERM and kill -KILL 2000-07-05 20:56:11 +00:00
Andreas Gustafsson
aade2614cb work around NetBSD /bin/sh bug, with the side effect of making the
test script shorter
2000-07-05 19:42:34 +00:00
Brian Wellington
5618f70327 Modify the tests so that if any server doesn't die with a TERM signal,
it's an error.
2000-07-05 18:49:06 +00:00
Brian Wellington
bb915db969 Check to see that kill actually kills the server. If not, it's an error,
so print a message, increment status, and kill -9 the server.
2000-07-05 18:16:39 +00:00
Mark Andrews
29e59609b9 Add "SOA not at top of zone" test. 2000-07-05 00:35:36 +00:00
Mark Andrews
84b8fdfeac Add not soa not top of zone test 2000-07-04 02:28:23 +00:00
Mark Andrews
989000eadd Add $include tests. 2000-07-03 03:08:22 +00:00
Andreas Gustafsson
277bbd41d4 when reporting errors due to timer events not happening at the
expected time, print the number of microseconds by which the true time differs
from the expected one, to aid in determining whether the offset is due to a genuine
bug or too small a fudge factor
2000-06-30 22:01:40 +00:00
Mark Andrews
323b6387ce 293. [port] Add support for freebsd 4.0 system tests. 2000-06-29 15:28:23 +00:00
Brian Wellington
316e03c2df Makefile was broken for out-of-tree builds 2000-06-28 23:19:02 +00:00
Brian Wellington
3f358cfc9f Try to avoid signedness warnings. 2000-06-28 22:41:46 +00:00
Brian Wellington
91f77f8a8d Test getaddrinfo() and getnameinfo(). 2000-06-28 21:56:51 +00:00
Brian Wellington
57bae12486 Remove multiple A records, since it makes testing far more complicated. 2000-06-28 21:56:13 +00:00
Andreas Gustafsson
e0a18a86d9 CVS ID 2000-06-28 19:01:52 +00:00
Andreas Gustafsson
506a962558 didn't compile 2000-06-28 16:27:36 +00:00
Michael Graff
4e21e54a03 make tests compile again. 2000-06-28 16:19:57 +00:00
David Lawrence
e0720bd847 omapi_test has failed to work since the dst API change because it required
dst_lib_init to be called before any of the dst functions are used.  The
missing calls for dst_lib_init() and dst_lib_destroy() have been added to
the application here, rather than to omapi_lib_init(), to be consistent with
the rest of our applications.

Not sure that this warrants a CHANGES entry since it is just a test program.
Then again, it is probably worth mentioning that programs using OMAPI will
need to ensure they call dst_lib_init() before they call
omapi_listener_listen().  Unfortunately omapi_lib_init() can't require
dst having been initialized as part of its contract because it can't
figure out whether that's true or not.
2000-06-28 03:37:47 +00:00
Brian Wellington
eb3bd171e0 test gethostbyname, gethostbyname2, and gethostbyaddr 2000-06-28 00:34:35 +00:00
Damien Neil
920313f58d Changed "argc > 1" to "argc >= 1" in argument parsing; omapi_test should
now print a more useful usage message when using the "listen" and "connect"
arguments with no further parameters.
2000-06-28 00:25:10 +00:00
Michael Sawyer
1f29b6b7ab RH seems to have a problem if you open the sockets too quickly; add a sleep
in hopes of getting mirepoix to pass the tests
2000-06-26 23:46:20 +00:00
Michael Sawyer
1dce9a099e Double allowable time for servers to start up. 2000-06-26 20:56:33 +00:00
Michael Graff
a3cf4d394a clean up a makefile problem that caused 'make distclean' and 'make cleandir' to fail for some makes 2000-06-26 18:00:15 +00:00
Brian Wellington
2d9f7b2971 Having a close(SOCK) seems to help mirepoix for some reason. 2000-06-26 17:53:25 +00:00
Andreas Gustafsson
787ad47ae4 increased timeout when waiting for server response; limits test did
not start in 44 seconds on irix
2000-06-26 01:12:35 +00:00
Andreas Gustafsson
5ff3d89153 don't create or delete /var/run/system_test_ifsetup;
it's not needed any more, and it causes error messages on irix which
does not have /var/run
2000-06-25 16:52:31 +00:00
Andreas Gustafsson
54aa59731f check that server sockets can be bound to before attempting
to start servers; fixed bug that caused us not to perform version.bind queries
to subsequent servers if the first one succeeded
2000-06-25 16:47:42 +00:00
Andreas Gustafsson
0e3fa3bf10 more detailed error reporting 2000-06-25 02:30:18 +00:00
Andreas Gustafsson
c2398b11d7 added -p option for setting port number 2000-06-25 01:40:05 +00:00
Andreas Gustafsson
45340ebd2d don't call gethostbyname() with dotted quad argument;
don't hardcode PF_INET and SOCK_STREAM; improve error reporting;
indent by 8 spaces
2000-06-24 23:09:44 +00:00
Michael Sawyer
258b178806 It's probably not a good idea to check in the test script with a debugging
patch intended to make it fail, regardless of the test status.
2000-06-24 01:44:28 +00:00
Michael Sawyer
0a7c55d181 Add distclean target, different from clean target, which removes .run files 2000-06-23 21:28:17 +00:00
Mark Andrews
24a1638a72 add 5000.example verification test 2000-06-23 21:19:21 +00:00
Michael Sawyer
4d5ef1c0cf Loop over server start test 2000-06-23 21:17:02 +00:00
David Lawrence
3c04ed7c95 extraneous argument to isc_log_write1() format 2000-06-23 17:44:45 +00:00
Mark Andrews
1a43bb06d2 Add limits tests. 2000-06-23 17:10:09 +00:00
Mark Andrews
2a3d8a972f add 2000-06-23 17:05:47 +00:00
Mark Andrews
35f36a82bf add knowngood's 2000-06-23 17:05:11 +00:00
Mark Andrews
d7c6323874 Add various knowngood file 2000-06-23 16:56:42 +00:00
Mark Andrews
0acda4fb5b added a-maximun-rrset.example 2000-06-23 16:55:11 +00:00
David Lawrence
ae302c18c2 #include <config.h> 2000-06-23 16:19:01 +00:00
David Lawrence
1a225a9907 prototype test_noop() and main() 2000-06-22 23:11:09 +00:00
Brian Wellington
8561261d96 Ignoring the wrong file doesn't work too well 2000-06-22 23:04:30 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence
e44e0ff385 update_copyrights 2000-06-22 17:36:01 +00:00
Michael Graff
0eb2572d79 add isc_thread_setconcurrency() 2000-06-22 01:48:24 +00:00
Brian Wellington
52cff07fe2 strlen wants a char *, not an unsigned char * 2000-06-22 01:36:34 +00:00
Brian Wellington
5b411b0150 Add a couple .cvsignores 2000-06-22 01:29:54 +00:00
Brian Wellington
58fe6a5b1b Add .cvsignore 2000-06-22 01:27:46 +00:00
David Lawrence
6dcde6ca36 update_copyrights 2000-06-22 01:27:11 +00:00
David Lawrence
d0be1e954b update_copyrights 2000-06-22 01:01:45 +00:00
Michael Graff
a3e0ed2f4a use the keyboard as a source 2000-06-22 00:34:38 +00:00
Mark Andrews
c04f6cf67d Add nameserver limit checks. 2000-06-22 00:07:41 +00:00
Andreas Gustafsson
8eb2d955e1 added a test 2000-06-21 23:06:20 +00:00
Michael Sawyer
692982647c Increase delay in VIEWS update test 2000-06-21 22:48:46 +00:00
Michael Sawyer
ac4f76549c Increase delay in test yet again 2000-06-21 22:42:16 +00:00
Michael Sawyer
eb811c2f41 Increase delay after signal in notify test to give BSD3.1 time to update
slave
2000-06-21 22:08:10 +00:00
Brian Wellington
805503c7ad Check the addresses returned from gabn calls 2000-06-21 21:30:13 +00:00
Brian Wellington
243ac4ecc1 bitstring label test, better reverse name lookup names 2000-06-21 20:51:07 +00:00
Mark Andrews
f955efd73c add stub tests 2000-06-21 20:48:27 +00:00
Mark Andrews
33ccf0b258 remove '.st' (stub) backup file 2000-06-21 20:47:02 +00:00
Andreas Gustafsson
06bc083413 added README file explaining the roles of the various
dnssec test servers
2000-06-21 18:16:12 +00:00
Andreas Gustafsson
96e87186ba eliminated char/unsigned char warning on solaris 2000-06-21 17:32:26 +00:00
Brian Wellington
cd4cbed56c pull in libisc, since it's needed for inet_pton on some platforms. 2000-06-21 17:29:32 +00:00
Michael Graff
890fb60939 add keyboard API 2000-06-21 01:45:21 +00:00
Brian Wellington
1fb5269e67 check for existence of lwres directory 2000-06-21 01:42:16 +00:00
Brian Wellington
22af5514ef missing make all 2000-06-21 01:40:15 +00:00
Michael Sawyer
5a5c480994 .cvsignore files 2000-06-21 01:31:54 +00:00
Brian Wellington
cc1eee4f51 Add lwresd test 2000-06-21 01:28:44 +00:00
Brian Wellington
659bdaf3eb Start and stop lwresd if the test uses them 2000-06-21 01:25:02 +00:00
Brian Wellington
c8d268ec51 Check for clean.sh before running it 2000-06-21 01:24:19 +00:00
Brian Wellington
a37d1aa631 Set and export LWRESD variable 2000-06-21 01:23:36 +00:00
Brian Wellington
442d0f584f Build lwresd directory 2000-06-21 01:23:02 +00:00
Mark Andrews
c21646dcc2 grep ... > /dev/null 2000-06-21 01:18:20 +00:00
Mark Andrews
e7ddc97b45 Add stub test 2000-06-21 01:16:06 +00:00
Michael Sawyer
af8d5ca7c0 Use a program to test for socket availability instead of touched file. 2000-06-21 00:50:37 +00:00
Michael Graff
96e79f7ede Fully implement callback sources, and add a test program to test it. 2000-06-21 00:04:57 +00:00
David Lawrence
eb591bfe60 remove conf.sh when make distclean 2000-06-20 23:57:45 +00:00
Mark Andrews
3c671ac666 264. [func] Dispatch can not take TCP sockets in connecting
state.  Set DNS_DISPATCHATTR_CONNECTED when calling
                        dns_dispatch_createtcp() for connected TCP sockets
                        or call dns_dispatch_starttcp() when the socket is
                        connected.
2000-06-20 23:52:54 +00:00
James Brister
58c42ee18c 263. [func] New logging channel type 'stderr'
channel some-name {
                                        stderr;
                                        severity error;
                                }
2000-06-20 21:36:49 +00:00
David Lawrence
6a88ed7c3f fsaccess_test 2000-06-20 04:11:07 +00:00
David Lawrence
a904de0bc8 OS-independent filesystem permissions 2000-06-20 04:06:01 +00:00
Andreas Gustafsson
3428814217 be silent in the success case 2000-06-19 19:29:46 +00:00
David Lawrence
4c27b316ff ignore conf.sh 2000-06-19 19:15:25 +00:00
Michael Sawyer
978d58182e Typo 2000-06-19 19:06:47 +00:00
David Lawrence
41c2511119 return() from main 2000-06-19 17:49:54 +00:00
Michael Graff
7685c082c8 remove flags from source types. It was never used, and probably shouldn't be there. 2000-06-17 01:42:21 +00:00
Michael Graff
b1ef8f6401 s/addr_t/t_addr_t/ 2000-06-17 00:16:29 +00:00
Michael Graff
5f6f061e40 PASS or FAIL, not PASSED or FAILED. 2000-06-16 23:38:42 +00:00
Michael Graff
ab1b2bdc19 comment 2000-06-16 23:12:37 +00:00
Andreas Gustafsson
29f6dfa76c work around NetBSD shell bug bin/10379 2000-06-16 22:39:45 +00:00
Michael Graff
d53bdd194f add v6 multicast tests 2000-06-16 22:35:06 +00:00
Michael Graff
0111b7c5e1 enable multicast address check tests 2000-06-16 22:21:34 +00:00
Michael Graff
a802ec87b6 ignore this, too 2000-06-16 22:17:40 +00:00
Michael Graff
a453f5b98e start on basic network tests. In this case, isc_{net,sock}addr_ismulticast() 2000-06-16 22:17:11 +00:00
Michael Graff
83ea3fdeb5 start on network tests 2000-06-16 21:05:55 +00:00
Andreas Gustafsson
7beeb415ca minor editing 2000-06-16 19:51:34 +00:00
Michael Graff
efe2f579ba add LWRES_CONTEXT_SERVERMODE 2000-06-15 23:48:11 +00:00
James Brister
0d5d8e2bbf 259. [func] New random-device and random-seed-file statements
for global options block of named.conf. Both accept
                        a single string argument.
2000-06-15 23:38:16 +00:00
Michael Sawyer
0a673a3448 Add a delay after changing the views named.conf before sending the SIGHUP 2000-06-15 21:14:04 +00:00
Michael Graff
0177adc4f8 don't test dns_name_concatenate(), since all the test did was return UNTESTED. 2000-06-15 19:03:53 +00:00
Michael Graff
c3581e2bcc No need to destroy filesources -- they will clean up when the source is destroyed 2000-06-15 18:15:26 +00:00
Michael Sawyer
c4b2436565 Don't remove named.run files, to aid in debugging 2000-06-14 22:38:33 +00:00
Michael Sawyer
e2cb9ff071 Clean up "dead" named processes if the initial version.bind dig fails. 2000-06-14 20:55:52 +00:00
Michael Sawyer
3f7ab1762a Sleep a little longer after killing servers to give them a chance to fully
shutdown, in hopes of clearing up the test failure in Solaris.
2000-06-14 15:51:38 +00:00
Michael Sawyer
8f6e9f760b Give the servers a moment to start up before asking them for version.bind 2000-06-14 02:50:24 +00:00
Brian Wellington
ccd492e4ee Added transfer-source lines 2000-06-14 00:46:03 +00:00
Michael Sawyer
895c909651 typo 2000-06-13 23:44:05 +00:00
Michael Sawyer
03e8cb3f19 More attempts at getting the code lines on the test output right 2000-06-13 23:41:41 +00:00
Brian Wellington
126c8d0c08 Add listen-on-v6 {none;}; , since without it, v6 was binding v4 mapped
sockets and causing failures on some platforms
2000-06-13 22:45:20 +00:00
Michael Sawyer
ee6fe1d197 Remove port option from query-sources 2000-06-13 21:49:56 +00:00
Michael Sawyer
4e42045d2b Don't reset status halfway through the test 2000-06-13 21:36:27 +00:00
Michael Sawyer
ce745b87f2 Formatting change of output data so it will work with WPK's b9status.pl
script
2000-06-13 21:17:00 +00:00
Andreas Gustafsson
1e43538d55 don't forget to export the PERL and SUBDIRS variables 2000-06-13 20:03:43 +00:00
Michael Sawyer
5cca51c7c1 Use PERL env variable for execution of perl. 2000-06-13 19:41:59 +00:00
James Brister
e03329a387 253. [func] resolv.conf parser now recognises ';' and '#' as
comments (anywhere in line, not just as the beginning).

 252.   [bug]           resolv.conf parser mishandled masks on sortlists.
                        It slso aborted when an unrecognised keyword was seen,
                        now it silently ignores the entire line.
2000-06-13 17:52:58 +00:00
Andreas Gustafsson
3ecf3394e3 search for Perl at configure time, for use by the system
test scripts
2000-06-13 17:34:28 +00:00
Andreas Gustafsson
195c06df3e do not assume that an attempt to run a nonexistent shell command
returns an exit status of exactly 1
2000-06-13 17:13:20 +00:00
Andreas Gustafsson
76ce9fbe97 ns3 tried to use the same query-source address as ns1,
causing the notify test to fail on all(?) platforms
2000-06-13 16:46:19 +00:00
Andreas Gustafsson
87b3cb4ede support HP-UX 11 2000-06-13 01:18:10 +00:00
Andreas Gustafsson
413ce88331 support solaris2.8: 'plumb' virtual interfaces before
configuring them up; don't use whoami as it does not exist on solaris2.8
2000-06-13 01:02:31 +00:00
Michael Sawyer
52ea71106b Remove duplicate query-source 2000-06-13 01:02:02 +00:00
Michael Sawyer
483ecd44ab named 2000-06-13 00:57:49 +00:00
Michael Sawyer
5458e9245c Add query-source everywhere
Fix out output
2000-06-13 00:54:53 +00:00
Andreas Gustafsson
7cbfebb762 probe for ipv6 before using it 2000-06-13 00:39:35 +00:00
Andreas Gustafsson
bf45b1b5d6 cleanup of previous change; no functional change 2000-06-13 00:36:14 +00:00
Andreas Gustafsson
5926a0a45e probe for ipv6 before using it 2000-06-13 00:30:29 +00:00
Michael Sawyer
43a3b93022 Add sleep to xfr test
First try and use perl5, then perl, in setup.sh for xferquota.
2000-06-12 23:55:19 +00:00
Andreas Gustafsson
e1310f0e96 nonportable shell construct 2000-06-12 23:48:28 +00:00
Michael Sawyer
9a90646795 Add e: line to run. 2000-06-12 23:08:55 +00:00
Michael Sawyer
dec3e76636 Add (unused) NS1 server configuration, since directory didn't seem to want to go away in CVS. 2000-06-12 23:06:49 +00:00
Brian Wellington
8f239354a0 Added missing zone files 2000-06-12 22:55:52 +00:00
Andreas Gustafsson
0431c9d4d1 support AIX 2000-06-12 22:45:43 +00:00
Andreas Gustafsson
2525055c90 support Irix; don't touch/remove /var/run/system_test_ifsetup multiple times 2000-06-12 22:37:36 +00:00
Michael Graff
2124020751 make the test program work again, using /dev/random, not /tmp/foo. 2000-06-12 22:28:54 +00:00
Michael Sawyer
85db942a01 Missing file 2000-06-12 20:59:33 +00:00
Michael Sawyer
e6e0dadd30 Match output format to what scripts expect 2000-06-12 20:32:47 +00:00
Andreas Gustafsson
8a99c43727 no need to look for version.bind. on port 53 now that all tests
run at 5300
2000-06-12 20:20:02 +00:00
Andreas Gustafsson
a6ec6daa1a do not try to run the tests if the servers didn't start 2000-06-12 20:19:29 +00:00
Michael Sawyer
e7eba81696 Add missing zone file 2000-06-12 19:59:35 +00:00
Brian Wellington
b010c73cbc entropy & tkey updates 2000-06-12 19:01:10 +00:00
Brian Wellington
a9a7555a98 Make dst_test work again (use randomfile, look for errors in the right place) 2000-06-12 18:36:38 +00:00
Brian Wellington
ef09af8fa2 Make the random file bigger. 2000-06-12 17:42:18 +00:00
Michael Sawyer
03b5b5591c Change interface not set up return value to 1, getting rid of
"inspect" results of test (hopefully)
2000-06-12 17:41:06 +00:00
Brian Wellington
b869f35f43 t_dst now uses a file of precomputed randomness as well as /dev/random (if
/dev/random exists).  This should allow the test to run on all platforms.
Also, the null key tests were changed to check for non-success on
dst_context_create rather than dst_context_sign.
2000-06-12 07:15:43 +00:00
Brian Wellington
5006de6531 - Added query-source to each server.
- Added an insecure child of a secure parent (insecure.secure.example)
- Added a privately secure child of a secure parent (private.secure.example)
2000-06-10 01:45:32 +00:00
Andreas Gustafsson
7257176e6f added --keep option for leaving test servers running 2000-06-09 23:16:56 +00:00
Brian Wellington
79d91e9150 Use the entropy api 2000-06-09 22:34:40 +00:00
Michael Graff
f8b50c193f snapshot 2000-06-09 22:24:22 +00:00
Michael Sawyer
2003deb5d1 Properly fail to work on systems which don't have the interface set up. 2000-06-09 22:23:42 +00:00
James Brister
bedfa169b4 fixed handling of size+unit when value would be too large for internal
representation.

max-cache-size config option now takes a size-spec like 'datasize',
except 'default' is not allowed.
2000-06-09 22:13:23 +00:00
Michael Graff
79fdce6aff add blocking mode, and add a flag to indicate the input is a device 2000-06-09 21:36:51 +00:00
Andreas Gustafsson
2648954b6c fixed incorrect copyright years 2000-06-09 21:08:42 +00:00
Andreas Gustafsson
40cd552b5e whitespace changes in copyright message 2000-06-09 21:08:19 +00:00
Andreas Gustafsson
b9f92431d3 added blank line between copyright message and non-copyright comments 2000-06-09 21:03:53 +00:00
Andreas Gustafsson
07688d1883 removed the letters 'more' which had inexplicably appeared
as the first four characters of the file
2000-06-09 21:03:05 +00:00
Michael Sawyer
0d50da49ba Update README to show no longer need to run as root. 2000-06-09 19:51:10 +00:00
Michael Graff
b90f80957a use create/attach/detach semantics 2000-06-09 19:18:56 +00:00
Michael Sawyer
7236d89919 Fix dns_name_fromwire test 2000-06-09 18:44:30 +00:00
Michael Graff
630a955711 checkpoint 2000-06-09 17:48:08 +00:00
Michael Graff
bc48281e2f add distclean, too 2000-06-09 16:10:57 +00:00
James Brister
d85552c450 global lame-ttl option was not being printed when config structures were
written out.
2000-06-09 15:54:26 +00:00
James Brister
47c196192a Rename cache-size config option to max-cache-size and change argument
type to be strict integer (no 'default' or 'unlimited')..
2000-06-09 15:03:28 +00:00
James Brister
adf8222185 Rename global option cachesize to cache-size and add corresponding option
to view statement.
2000-06-09 08:48:42 +00:00
Michael Graff
c6e2d36708 snapshot 2000-06-09 02:00:22 +00:00
Michael Sawyer
7e2a4f6ad6 Minor Makefile changes 2000-06-09 00:44:12 +00:00
Brian Wellington
dbf0c4c5fb check for empty argument list 2000-06-09 00:37:56 +00:00
Michael Graff
9403a56228 checkpoint 2000-06-09 00:11:39 +00:00
Michael Sawyer
d8ecccc889 Add targets 2000-06-09 00:09:11 +00:00
Michael Graff
5c14b1acbe add entropy_test 2000-06-08 23:41:37 +00:00
Michael Sawyer
1d4080cebf Solaris 8's lo0 alias appears to be broken. 2000-06-08 22:56:53 +00:00
Michael Sawyer
10bc8ffed6 Make system test run as non-root (provided interface is set up) and add
to standard test script.
2000-06-08 22:41:37 +00:00
Brian Wellington
24a4a1954a check for empty arg list 2000-06-08 21:45:43 +00:00
David Lawrence
f6751e3b0e use a dns_dbtype_* identifier when assigning to a dns_dbttype_t, not an
isc_boolean_t
2000-06-08 20:49:46 +00:00
Andreas Gustafsson
e9918d6a9d some tests now run 5 name servers 2000-06-08 18:18:23 +00:00
Andreas Gustafsson
40689ca042 cut-and-paste-o in comment 2000-06-08 18:16:56 +00:00
Brian Wellington
d77d75c1c3 Conform to the updated DST API, only use 1 task instead of 2. 2000-06-08 17:24:44 +00:00
Andreas Gustafsson
bb8c4de35f soacount and nscount are gone 2000-06-08 17:00:52 +00:00
Andreas Gustafsson
e9f871a352 did not compile due to typo in previous change 2000-06-08 16:58:39 +00:00
James Brister
71a4339351 Empty named.conf file and empty options statement are now parsed properly.
New cachesize option for named.conf

Fixed incorrect warning about auth-nxdomain usage.
2000-06-08 12:04:56 +00:00
Mark Andrews
f357e4e87d Additional changes relating to the change to 3 db types. 2000-06-08 06:50:22 +00:00
Brian Wellington
8463f40039 Add ns5, a configuration with a bad trusted key. 2000-06-08 02:01:07 +00:00
Brian Wellington
12a4b33723 Put the bad trusted key in place on ns5 2000-06-08 01:58:04 +00:00
Brian Wellington
f3a7310c12 print the correct script name in error message 2000-06-08 01:57:41 +00:00
Brian Wellington
35a680bf40 5 hosts 2000-06-08 01:43:40 +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
a6733246ea 240. [func] databases now come in three flavours: zone, cache
and stub.
2000-06-07 02:38:41 +00:00
Michael Graff
fbb2ab3056 md5 endian doesn't seem to matter? 2000-06-07 02:21:39 +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
Michael Graff
3e1178f56e rename sha1_test to hash_test, and test md5 stuff too 2000-06-07 00:48:42 +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
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
Brian Wellington
b3ef06344a DST API updates 2000-06-06 22:01:49 +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
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
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
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
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
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
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
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
Michael Sawyer
ba80bec980 Add query-source 2000-06-01 18:07:48 +00:00
Michael Sawyer
a2b565626b Add additional test to determine if NOTIFY messages are properly handled
during zone transfers.
2000-06-01 17:56:40 +00:00
Michael Graff
d98c74e2ec set the default destination port in the view, and use it when returning addresses from the adb. 2000-06-01 00:30:58 +00:00
Andreas Gustafsson
c17ac5ad17 removed extraneous empty lines 2000-05-31 19:53:41 +00:00
Andreas Gustafsson
bd75e751a7 detach from dispatches and dispatch manager; use dns_name_format() and
isc_netaddr_format(); assign a name to the task; turn off memory debugging
2000-05-31 19:53:19 +00:00
Andreas Gustafsson
bfa633fc0e detach from dispatches and dispatch manager; use dns_name_format() and
isc_netaddr_format(); assign a name to the task; turn off memory debugging
2000-05-31 19:46:18 +00:00
James Brister
725a4773f5 Support also-notify and trusted-keys in a view statement.
Fixed error message when lexer couldn't open an input file.
2000-05-31 13:10:00 +00:00
Brian Wellington
3d3ce463d1 use the new TSIG api 2000-05-30 23:49:51 +00:00
Brian Wellington
60681e95fe include isc/buffer.h 2000-05-30 23:20:18 +00:00
Brian Wellington
402ba1a164 include isc/buffer.h, dns/name.h 2000-05-30 23:20:00 +00:00
Brian Wellington
c18648ca1c include dns/name.h 2000-05-30 23:16:47 +00:00
Andreas Gustafsson
95b41befcb conform to recent dispatch creation changes; still doesn't work 2000-05-30 18:01:19 +00:00
Brian Wellington
35fc29dd6d fixed a typo that prevented compiling 2000-05-26 01:28:46 +00:00
Brian Wellington
e1a972b32d Conform with recent API changes, lots of memory leaks fixed. 2000-05-26 00:17:56 +00:00
Brian Wellington
7285eed748 missing isc_buffer_add() calls 2000-05-25 18:00:08 +00:00
David Lawrence
11836b7a55 missing isc_buffer_add()s after isc_buffer_init()s on a string were causing
tests to fail
2000-05-25 16:21:36 +00:00
Brian Wellington
a9bc95f22e dst now stores the key name as a dns_name_t, not a char *. 2000-05-24 23:13:32 +00:00
David Lawrence
0af3cb7703 ignore Makefile 2000-05-24 21:46:46 +00:00
Michael Sawyer
c7868e2262 Modify dns_message_totext, dns_message_sectiontotext,
dns_message_pseudosectiontotext to use bitfields instead of flags
2000-05-24 18:17:53 +00:00
David Lawrence
20b20b2394 202. [func] isc_lex_getsourceline() changed from returning int
to returning unsigned long, the type of its underlying
                        counter.
2000-05-24 15:07:59 +00:00
David Lawrence
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
David Lawrence
e38d22f566 fixed closing comment error introduced by my last revision 2000-05-24 05:02:19 +00:00
Andreas Gustafsson
a89b06a49c sdig is gone 2000-05-24 04:03:05 +00:00
David Lawrence
da49cb62e0 these tests do not need anything from libdns 2000-05-24 03:47:37 +00:00
David Lawrence
fe56f2116b dns/result.h and dns/compress.h removed from t_api.h 2000-05-24 03:45:00 +00:00
David Lawrence
ba1245a855 fixed prototypes and removed unused global variable Tx_shutdownflag 2000-05-24 03:34:08 +00:00
David Lawrence
9f44e95160 fixed prototypes 2000-05-24 03:33:07 +00:00
David Lawrence
aae7ae64e7 pruned several unused stack variables 2000-05-24 03:32:02 +00:00
David Lawrence
114eea8ac3 fixed prototypes and other ISC style issues 2000-05-24 03:30:57 +00:00
David Lawrence
25844f9f3a used ISC_TF assigning to boolean.
prototype get_random().
prototype main().
wrap long lines.
2000-05-24 03:27:47 +00:00
Andreas Gustafsson
9d7c5c2c31 reduced number of test zones to 100 2000-05-23 04:48:04 +00:00
Michael Sawyer
df22852dcd Fix problem in notify test 2000-05-23 02:13:39 +00:00
Michael Sawyer
d81a745bbb Longer sleep needed for reliable fix to SIGHUP problem 2000-05-23 00:02:45 +00:00
Michael Sawyer
0334d82cad Workaround for SIGHUP-without-delay bug 2000-05-22 23:56:49 +00:00
Michael Sawyer
02bc88821c tests.sh 2000-05-22 22:19:07 +00:00
Andreas Gustafsson
a185ac41ac updated 2000-05-22 21:29:21 +00:00
Michael Graff
5d1bfe4ce1 make these compile. dispatch_test works; dispatch_tcp_test does not. Use dns_message_totext() rather than printmessage(). 2000-05-22 19:36:34 +00:00
Andreas Gustafsson
a228ba1fa4 conform to recent ratelimiter API changes 2000-05-22 18:32:51 +00:00
Andreas Gustafsson
87796a03ed added shell variable DIG containing the pathname of dig 2000-05-22 17:31:45 +00:00
Andreas Gustafsson
c512030111 style; improved error handling; set SOA timers to
lower values so that retries and refreshes can be observed
2000-05-22 16:35:36 +00:00
Andreas Gustafsson
9b50fc6648 style nits 2000-05-22 16:34:32 +00:00
Andreas Gustafsson
7fa1c9722b set a query source so that notify packets get sent with
the correct source address and are accepted by the slave as coming
from a master
2000-05-22 16:34:06 +00:00
Andreas Gustafsson
5b83a15556 new test data was written to the wrong file (a.example.db
instead of example.db); removed spurious semicolon from 'status=0' assignment
2000-05-22 16:32:20 +00:00
Mark Andrews
9f20f5913b add dns_rdata_fromstuct() 2000-05-22 12:31:39 +00:00
Michael Sawyer
3d02ab0d2d osf doesn't get path right. 2000-05-20 01:01:28 +00:00
Michael Sawyer
208c4f45c8 clean up test output 2000-05-19 23:55:37 +00:00
Michael Sawyer
d349843282 Add copyright entries 2000-05-19 22:45:47 +00:00
Michael Sawyer
344556c188 Add makefile.in in test suits 2000-05-19 21:55:31 +00:00
Michael Graff
46993e1d9d Merge the mlg-20000518 branch onto the mainline. Change summary:
dns_dispatch_create() no longer exists.  dns_dispatch_createtcp()
	and dns_dispatch_getudp() are the replacements.  _createtcp() takes
	a bound, connected TCP socket, while _getudp() will search for
	a sharable UDP socket, and if found, attach to it and return a
	pointer to it.  If one is not found, it will create a udp socket,
	bind it to a supplied local address, and create a new dispatcher
	around it.

	dns_dispatch_remove{request,response}() no longer take the dispatch
	as an argument.

	query-source can now be set per view.

	The dispatch manager holds onto three memory pools, one for
	allocating dispatchers from, one for events, and one for
	requests/replies.  The free list on these pools is hard-coded,
	but set to 1024.  This keeps us from having to dig into the
	isc_mem_t the pools draw from as often.

	dns_resolver_create() and dns_view_createresolver() require that
	valid dispatchers be passed in; dispatchers are no longer created
	for the caller.
2000-05-19 21:46:46 +00:00
Michael Sawyer
5a3e08cbb2 Add views test 2000-05-19 21:23:23 +00:00
Michael Sawyer
fa0d3114ae Typo 2000-05-19 20:46:24 +00:00
Michael Sawyer
bd334e0366 Add notify test suite 2000-05-19 18:01:27 +00:00
Mark Andrews
93d2839b39 additional dns_rdata_{tostruct,freestruct}() testing. 2000-05-19 13:29:46 +00:00
Mark Andrews
5fcf1b4f16 Add dns_rdata_tostruct() to tests suite -S 2000-05-19 01:49:19 +00:00
Brian Wellington
c50936eb40 changed dst_key_free() prototype, misc. dst cleanup 2000-05-19 00:20:59 +00:00
Michael Sawyer
a92428ecb8 Sweeping changes to system test suite 2000-05-18 22:49:29 +00:00
Andreas Gustafsson
95be83b467 DNSSEC tools now have a new home 2000-05-18 21:45:10 +00:00
Andreas Gustafsson
5b5039637d moving DNSSEC tools from bin/tests 2000-05-18 21:15:40 +00:00
David Lawrence
47e816aef7 isc_time_add() now returns isc_result_t. 2000-05-18 17:22:40 +00:00
David Lawrence
f23a324764 isc_time_add() and isc_time_subtract() now return isc_result_t. 2000-05-18 17:22:20 +00:00
Brian Wellington
245d9f25a7 better wildcard warning 2000-05-18 17:14:35 +00:00
Brian Wellington
e021965f29 Null keys were improperly generated. 2000-05-18 01:11:48 +00:00
Michael Sawyer
78ad076390 Fix typo in ifconfig script and add dnssec clean script 2000-05-17 23:15:32 +00:00
Brian Wellington
81ab85fd39 dst function name cleanup 2000-05-17 22:48:10 +00:00
Michael Sawyer
02fdafbf53 Add missing files 2000-05-17 22:38:50 +00:00
Michael Sawyer
d98372394f Addition of test suite. 2000-05-17 22:10:42 +00:00
Brian Wellington
7a152bdae3 Use a database to store the zone, not a zone object. 2000-05-17 19:58:15 +00:00
Andreas Gustafsson
5d545650bf KEYSIGNER variable was not set 2000-05-17 02:22:23 +00:00
Andreas Gustafsson
225edfe716 replaced nonportable case statement fallthrough syntax;
match all NetBSD versions and architectures
2000-05-17 00:52:08 +00:00
Michael Sawyer
5474061e76 Portibility additions to ifconfig.h
Addition of reply tests
2000-05-16 22:38:06 +00:00
Brian Wellington
6a285c816d better error reporting and miscellaneous cleanup 2000-05-16 18:41:00 +00:00
David Lawrence
2918b5bda6 ISC_LOG_PRINTTAG/isc_log_settag()/isc_log_gettag() added 2000-05-16 03:37:39 +00:00
Andreas Gustafsson
b04adaa782 simplified 2000-05-16 01:24:50 +00:00
Andreas Gustafsson
02b4e9aef2 be compatible with new dnssec tool command line argument
usage; bug fixes
2000-05-16 01:22:45 +00:00
Andreas Gustafsson
98225f5d5e added files missing from system test checkin 2000-05-16 01:20:39 +00:00
Brian Wellington
bb9b90250b additional sanity checking of input, better error reporting 2000-05-16 00:54:59 +00:00
Brian Wellington
3de75141d2 Modified commandline parameters 2000-05-16 00:02:39 +00:00
Andreas Gustafsson
c13b8351b4 typo 2000-05-15 23:09:42 +00:00
Andreas Gustafsson
0e9dcd5480 added system tests 2000-05-15 22:53:15 +00:00
Brian Wellington
ad418d66f8 style fixes, changes to output format, minor bug fixes 2000-05-15 21:06:41 +00:00
James Brister
4932a54ed6 - options named.conf statement *must* now come before any zone or view
statements.

- Post-load of named.conf check verifies a slave zone has non-empty list
  of masters defined.

- New per-zone boolean:

	enable-zone yes | no ;

- intended to let a zone be disabled without having to comment out the
  entire zone statement.

- New global and per-view option:

	max-cache-ttl number

- New global and per-view option:

	addition-data internal | minimal | maximal;
2000-05-15 12:36:33 +00:00
Andreas Gustafsson
9bd874cb27 keysigner identified itself as keysettool in usage message 2000-05-12 21:09:53 +00:00
Andreas Gustafsson
259d8f9420 style 2000-05-12 21:06:58 +00:00
Andreas Gustafsson
fd9f6afdff use the UNUSED() macro 2000-05-11 22:47:00 +00:00
Michael Graff
558ab0f6a8 adapt to the dispatch api changes 2000-05-10 23:43:48 +00:00
Andreas Gustafsson
42654cd6bb if keygen and signer are built by default, keysettool and keysigner
should be, too
2000-05-10 18:44:49 +00:00
Olafur Gudmundsson
ff8d15be4e Fixed 3 bugs in keygen,
it overwrote old keys if new key key-id conflicted
	It was generating non null-keys with id==0
	It was not able to generate DSA null keys.
I changed size of maximum RSA key to 2048.
2000-05-10 17:57:53 +00:00
David Lawrence
47b26abe77 ensure proper range for argument to ctype functions 2000-05-09 22:22:25 +00:00
David Lawrence
f675434978 return rather than exit from main() to shut up HP/UX 2000-05-08 20:12:46 +00:00
David Lawrence
8e591e2046 "do { ... } while (1)" to shut up HP/UX 2000-05-08 20:07:58 +00:00
David Lawrence
6028d1ce03 Needs string.h for function prototypes. For some reason gcc and other
compilers do not warn about the missing str*/mem* prototypes.
2000-05-08 19:23:32 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
David Lawrence
0e5b8234ba don't build sdig by default, now that a full-featured dig is available 2000-05-08 13:35:02 +00:00
James Brister
65c9645ca7 Support new 'database' statement in zone.
database "quoted-string";
2000-05-06 10:18:48 +00:00
Andreas Gustafsson
2e6c976751 include severity level in log messages printed on stderr 2000-05-06 00:50:41 +00:00
Andreas Gustafsson
b4780360a4 log dns library warnings to stderr even when not verbose;
do not prefix stderr messages with time stamp
2000-05-06 00:48:53 +00:00
Andreas Gustafsson
01757e5311 added check for missing domain name argument 2000-05-05 19:55:56 +00:00
Andreas Gustafsson
f830ac6764 dns_name_fromwire:5 test expected dns_name_fromwire() to
detect unwanted compression but did not set the 'strict' flag
2000-05-05 17:48:57 +00:00
Andreas Gustafsson
6d7909017d needs <dns/result.h> 2000-05-04 21:30:44 +00:00
Michael Graff
c90f5e8d1e Split dns_log_init() into dns_log_init() which sets up module and category names, and dns_log_setcontext() which sets the logging context. Call isc_log_setcontext(), dns_log_init(), and dns_log_setcontext(). 2000-05-03 21:11:40 +00:00
James Brister
e2cf9c2db3 support 'disabled' statement in zone config (causes
zone to be parsed and then ignored). Currently must
come after the 'type' clause.

support optional ports in masters and also-notify
statements:

	masters [ port xxx ] { y.y.y.y [ port zzz ] ; }

removed some unused arguments.

stop issuing some warnings about some features that
were not implemented, but now are.
2000-05-03 19:29:43 +00:00
Andreas Gustafsson
6ba0a8a5e7 eliminated compiler warnings on alpha 2000-05-03 18:25:52 +00:00
Michael Graff
58ff88cca7 use 'flags' rather than 'attributes' and rename pkt->flags to pkt->pktflags 2000-05-02 18:46:44 +00:00
David Lawrence
09f22ac5b0 Redundant header work, mostly removing <dns/result.h> from installed
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
Michael Graff
ebff64a8bd add a ; after a goto label, since it needs a statement after it.
Brian should look at this section of code, since I believe it will leak
a reference to 'keyset'
2000-05-01 21:59:05 +00:00
David Lawrence
c403d3f7d6 130. [cleanup] <isc/condition.h> does not need <pthread.h> or
<isc/boolean.h>, and now includes <isc/types.h>
                        instead of <isc/time.h>.
(does not need pthread.h because it *does* need isc/mutex.h, which
will be guaranteed to provide pthread.h)
2000-04-28 18:58:40 +00:00
Bob Halley
4cd67304c5 dns_name_fullcompare/compare contract change 2000-04-28 16:30:55 +00:00
Brian Wellington
abce4875c3 Import the parent zone key signature, create null keys for unsigned children
or set the zone status bit for signed children.
2000-04-28 15:47:36 +00:00
Brian Wellington
5e61e7ca28 Added keysettool and keysigner 2000-04-28 02:47:26 +00:00
Brian Wellington
38c60b442e dns_rdata_generic_sig_t -> dns_rdata_sig_t 2000-04-28 02:29:57 +00:00
Brian Wellington
7df0472d8a Added isc/util.h 2000-04-28 02:12:16 +00:00
Mark Andrews
b8dd48ecf8 119. [cleanup] structure definitions for generic rdata stuctures do
not have _generic_ in their names.
2000-04-28 02:08:37 +00:00
David Lawrence
6b7257f756 include config.h 2000-04-28 02:08:20 +00:00
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
David Lawrence
bd9d42a1a9 style lint 2000-04-27 22:31:20 +00:00
David Lawrence
8a0ba20b16 109. [bug] "make depend" did nothing for
bin/tests/{db,mem,sockaddr,tasks,timers}/.
2000-04-27 22:28:04 +00:00
Andreas Gustafsson
96eb58dd46 conform to buffer API changes 2000-04-27 22:09:59 +00:00
Bob Halley
dcb719f17d conform to buffer api changes 2000-04-27 20:29:26 +00:00
Brian Wellington
03f0e349d8 Added keysigner and keysettool 2000-04-27 19:15:16 +00:00
Brian Wellington
22e8a31981 Added verbose flag. Currently doesn't do anything, but it's consistent with
the other dnssec tools.
2000-04-27 18:24:26 +00:00
Brian Wellington
a15583c681 Conform to the dns_dnssec_verify api change 2000-04-27 18:17:27 +00:00
David Lawrence
6e49e91bd0 103. [func] libisc buffer API changes for <isc/buffer.h>:
Added:
                                isc_buffer_base(b)          (pointer)
                                isc_buffer_current(b)       (pointer)
                                isc_buffer_active(b)        (pointer)
                                isc_buffer_used(b)          (pointer)
                                isc_buffer_length(b)            (int)
                                isc_buffer_usedlength(b)        (int)
                                isc_buffer_consumedlength(b)    (int)
                                isc_buffer_remaininglength(b)   (int)
                                isc_buffer_activelength(b)      (int)
                                isc_buffer_availablelength(b)   (int)
                        Removed:
                                ISC_BUFFER_USEDCOUNT(b)
                                ISC_BUFFER_AVAILABLECOUNT(b)
                                isc_buffer_type(b)
                        Changed names:
                                isc_buffer_used(b, r) ->
                                        isc_buffer_usedregion(b, r)
                                isc_buffer_available(b, r) ->
                                        isc_buffer_available_region(b, r)
                                isc_buffer_consumed(b, r) ->
                                        isc_buffer_consumedregion(b, r)
                                isc_buffer_active(b, r) ->
                                        isc_buffer_activeregion(b, r)
                                isc_buffer_remaining(b, r) ->
                                        isc_buffer_remainingregion(b, r)

                        Buffer types were removed, so the ISC_BUFFERTYPE_*
                        macros are no more, and the type argument to
                        isc_buffer_init and isc_buffer_allocate were removed.
                        isc_buffer_putstr is now void (instead of isc_result_t)
                        and requires that the caller ensure that there
                        is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Andreas Gustafsson
1fd7c7ecb0 made rate limiter test conform to the new API 2000-04-26 17:11:56 +00:00
David Lawrence
b3eeac48ea include isc/time.h; minor style lint 2000-04-25 19:34:52 +00:00
David Lawrence
54d47fb18b lwres_conftest renamed to lwresconf_test for consistency.
ignore lwresconf_test binary.
2000-04-25 19:27:27 +00:00
Brian Wellington
32eeec8559 Rewrite of keygen. 2000-04-25 17:57:10 +00:00
David Lawrence
18b3d5d742 style lint 2000-04-24 22:47:14 +00:00
Andreas Gustafsson
2a3beab190 fixed uninitialized variable; use the UNUSED() macro 2000-04-20 21:42:12 +00:00
Michael Graff
0942b8e0d6 spit out informational messages more often 2000-04-20 18:41:47 +00:00
Michael Graff
08a768e82a Infrastructure to allow use of alternate openssl libraries. Default is still to use our internal, now renamed, version. 2000-04-20 18:27:43 +00:00
Andreas Gustafsson
de7787e364 added zone2_test to XTARGETS 2000-04-20 17:41:40 +00:00
Andreas Gustafsson
d1bdeae7bb moved typedef of dns_zone_callbackarg_t from <dns/types.h> to
bin/tests/zone2_test.c; it's obsolete and zone2_test.c is the only
place using it
2000-04-20 17:39:02 +00:00
Mark Andrews
f006f4a85f make compiler friendly. 2000-04-20 06:58:24 +00:00
Andreas Gustafsson
dddc91ab6a removed obsolete test program 2000-04-19 21:10:09 +00:00
Bob Halley
398b196682 db, dbtable api changes; find zonecut; noexact 2000-04-19 18:48:46 +00:00
Bob Halley
e2fe0815b3 conform to zt API change 2000-04-19 18:27:42 +00:00
Bob Halley
41c82f9355 conform to RBT API change 2000-04-19 18:27:24 +00:00
Michael Graff
e44487bfc2 convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc. 2000-04-17 19:22:44 +00:00
David Lawrence
fbfc25874f fixed typo in comment 2000-04-12 21:33:01 +00:00
Bob Halley
07e6bea35e add ndcconf_test 2000-04-12 18:55:33 +00:00
Bob Halley
e198cb953c apply logging API changes 2000-04-12 18:37:18 +00:00
Bob Halley
96d3f5b8ca remove res_test; add byaddr/byname_test 2000-04-12 18:33:47 +00:00
Bob Halley
56633eaa24 get rid of res_test.c 2000-04-12 18:32:02 +00:00
Bob Halley
6af51ff1a3 apply log API changes 2000-04-12 18:24:49 +00:00
Andreas Gustafsson
79728399b0 fixed some obvious bugs; still doesn't compile 2000-04-12 18:14:00 +00:00
Andreas Gustafsson
f73e404eb9 added missing #includes 2000-04-12 17:35:37 +00:00
Bob Halley
738b9aa3de isc_task_create() API change 2000-04-12 01:41:21 +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
James Brister
6abdc5c090 Changes necessary to support server statements inside a view statement. 2000-04-07 17:40:43 +00:00
James Brister
616ee4a3f7 Changes to support keys inside views. 2000-04-07 13:35:06 +00:00
Michael Graff
a4e2a43f79 s/DNS_R_/ISC_R_/ as needed 2000-04-07 03:50:33 +00:00
Michael Graff
927d494e07 s/DNS_R_/ISC_R_/ as needed 2000-04-07 03:35:58 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
David Lawrence
8b09428acb dns_parser category was removed; fixed categorybyname to find a valid category 2000-04-06 20:28:29 +00:00
James Brister
5ab3a02712 Example of new view class type. 2000-04-06 10:32:50 +00:00
James Brister
4549ed5847 Added new view fields. 2000-04-06 09:34:36 +00:00
Brian Wellington
b8fd630c4b better test todns/from dns routines 2000-04-05 22:21:17 +00:00
Bob Halley
d339787606 add headerdep_test.sh to distclean rule 2000-04-05 21:09:02 +00:00
Bob Halley
82f7b9a4c9 add headerdep_test.sh 2000-04-05 21:06:38 +00:00
Andreas Gustafsson
ee1078f3aa test cases contained illegal out-of-zone data, causing tests
to fail now that dns_db_load() ignores such data
2000-04-05 18:18:54 +00:00
Andreas Gustafsson
d4f67a6d13 created 2000-04-05 17:38:46 +00:00
James Brister
44b3d6bb6f Match-client test. 2000-04-05 15:40:41 +00:00
Andreas Gustafsson
ddfe394c06 need <isc/buffer.h> 2000-04-04 20:10:29 +00:00
Bob Halley
4907e46c8f do not try to use local compression 2000-04-04 18:30:55 +00:00
James Brister
8b49a0c526 Better usage message. 2000-03-30 17:18:03 +00:00
Brian Wellington
63e11cf5a8 Modified TSIG printing to work again after removing the TSIG pseudosection
in the message structure.
2000-03-29 05:14:04 +00:00
Brian Wellington
c85cd83147 TSIGs don't need to be explicitly rendered 2000-03-29 05:04:45 +00:00
James Brister
da47a1b896 Removed listen-on from views.
Changed syntax of grant/deny statements so they now must be inside an
'update-policy' block.

quote rr types when printing grant/deny statements as they can
clash with config file keywords.

Added rcs Id inside comment.
2000-03-28 22:58:25 +00:00
Bob Halley
dda4bfe649 update copyrights 2000-03-23 19:52:19 +00:00
Brian Wellington
b930c125ca Fixed missing braces reported on bind9-workers. The rewritten keygen should
hopefully go in just after b2.
2000-03-23 19:03:32 +00:00
David Lawrence
ecb6c5782e exorcized local compression 2000-03-23 05:18:46 +00:00
Bob Halley
f0558da29c AXFR and IXFR are not yet implemented; reject attempts to use
them.  [RT 74]
2000-03-22 21:39:07 +00:00
Andreas Gustafsson
afda57a68e changes from code review: use ISC_LIST_EMPTY(msg->sections[i])
rather than msg->counts[i] > 0 to determine whether a section is
empty, since the count field does not track pseudosections
2000-03-20 16:57:46 +00:00
James Brister
ad1b7dd6b9 sample usage of request-ixfr and provide-ixfr 2000-03-19 03:14:20 +00:00
David Lawrence
71f93ef065 Use task method for listener shutdown. 2000-03-18 00:54:07 +00:00
David Lawrence
7700639655 include <dns/result.h> 2000-03-18 00:42:07 +00:00
Andreas Gustafsson
2539896175 do not indent CVS ID comment 2000-03-17 17:49:37 +00:00
Andreas Gustafsson
91ae8a0e72 annotated 2000-03-16 01:09:32 +00:00
Andreas Gustafsson
5d097eee54 accept # comments in wire data input files 2000-03-16 01:09:13 +00:00
James Brister
4471cc539d Build ndc config parser tester. 2000-03-15 02:13:04 +00:00
James Brister
67ac79ed04 Sample ndc config file. 2000-03-15 02:12:22 +00:00
James Brister
c0536aa152 ndc config parser and test program 2000-03-15 02:11:57 +00:00
Brian Wellington
c7f88538d4 build keygen by default 2000-03-14 21:26:54 +00:00
David Lawrence
c889a8ac41 test signatures, listener shutdown callback 2000-03-14 04:03:05 +00:00
Michael Graff
d736db6dc5 lwres get-addr-by-name returns a linked list, not an array, of names. This
was needed to make adding the sortlist code, which will be checked in
in a few minutes.
2000-03-10 23:11:36 +00:00
Michael Graff
2311073ce0 handle resolv.conf 'search' line, client side. Also, fix a bug in lwresd that would return success, but no addresses, for NXDOMAIN or NXRRSET. 2000-03-10 22:11:14 +00:00
Brian Wellington
774d9e3de4 Sign the TKEY request message with a TSIG, since unsigned TKEY exchanges
violate the latest version of the TKEY draft.
2000-03-08 19:51:54 +00:00
Brian Wellington
4124057bf5 dst_result_t -> isc_result_t 2000-03-06 20:04:15 +00:00
Brian Wellington
2b71493ae6 Add an option (-a) to attempt to verify generated signatures 2000-03-06 18:16:49 +00:00
David Lawrence
711aef666e added isc_log_categorybyname and isc_log_modulebyname 2000-03-04 03:05:17 +00:00
James Brister
7135df4495 Include grant/deny statements in sample. 2000-03-02 20:38:58 +00:00
James Brister
9d612f10ec Change for new log api. 2000-03-02 03:52:28 +00:00
James Brister
b7fce30291 Fix syntax error. 2000-03-02 03:52:00 +00:00
David Lawrence
f028532a15 new test for ISC_LOG_DEBUGONLY 2000-03-02 01:52:47 +00:00
Brian Wellington
2e9fe863e1 Print a warning if we see a wildcard in a zone we're signing. 2000-03-01 21:23:46 +00:00
David Lawrence
7fe1fdea0d Number stderr lines for easier visual inspection.
Test ISC_LOG_DEBUGONLY used by default_debug.

Print a banner about the expected output.
2000-03-01 17:35:00 +00:00
David Lawrence
fd088dc8c8 remove xtargets with make clean/distclean; omapi_test needs DNSLIBS 2000-02-28 16:27:59 +00:00
David Lawrence
edcd1247ad isc_log_create now has three parameters, the additional one used to
return an isc_logconfig_t.  isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.

isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.

isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
2000-02-26 19:57:02 +00:00
Bob Halley
6c6d0a2a06 test dns_name_splitatdepth() and dns_name_depth() 2000-02-25 01:05:53 +00:00
Andreas Gustafsson
8dca197b5c use .@O@, not .o, in the (unused) zone2_test build rule 2000-02-23 17:36:36 +00:00
James Brister
e25765f84a Build new resolv.conf parser tester. 2000-02-16 17:47:37 +00:00
James Brister
ae32d75897 Tester for resolv.conf parser. 2000-02-16 17:46:18 +00:00
James Brister
de20d36fef sample resolv.conf for testing the parser. 2000-02-16 17:40:41 +00:00
Michael Graff
4e675038a0 pseudo-prime ip6.int using a fake query 2000-02-16 02:33:23 +00:00
Brian Wellington
2d478b7049 comments and logging changes 2000-02-14 23:38:31 +00:00
Michael Graff
8dd17056ff allow building everything via 'make all_tests' 2000-02-14 22:48:34 +00:00
Brian Wellington
46374d51a6 print usage in more situations, make usage fit in 24 lines 2000-02-14 22:34:08 +00:00
James Brister
31e471c6f1 Add test cases for new allow-update-forwarding statement 2000-02-14 17:22:11 +00:00
Andreas Gustafsson
78666b7543 added test cases for isc_netaddr_masktoprefixlen() 2000-02-09 22:57:05 +00:00
James Brister
71f6034b7e Add tests for transfer-source-v6 and query-source-v6 2000-02-09 16:36:59 +00:00
Brian Wellington
75f8396869 Pass covers field to dns_db_deleterdataset 2000-02-08 19:27:36 +00:00
Brian Wellington
683e95c97a Pass a ttl to dns_buildnxt. Uses 3600 now, but better code could be copied
from signer.c if nxtify is ever going to be used.
2000-02-08 19:04:36 +00:00
Brian Wellington
201b17e55f Determine the minimum ttl from the SOA and pass it into dns_buildnxt 2000-02-08 19:03:29 +00:00
Brian Wellington
3aa0851a58 more fixes relating to glue 2000-02-05 20:28:56 +00:00
Michael Graff
e24f605ad6 check in more test cases, no functional change 2000-02-04 01:09:48 +00:00
Olafur Gudmundsson
f4e90d4323 Memory leak plugged for log context 2000-02-04 00:34:37 +00:00
Bob Halley
ca41b452ed update copyrights 2000-02-03 23:08:31 +00:00
Bob Halley
0a92e5510e only build sdig, signer, and subdir tests by default. 2000-02-03 22:55:19 +00:00
Andreas Gustafsson
62e4837585 suppress compiler warning 2000-02-03 22:46:07 +00:00
Brian Wellington
14865492bc don't quit if dns_dnssec_findzonekeys returns ISC_R_NOTFOUND 2000-02-03 18:49:08 +00:00
Olafur Gudmundsson
85a932c4f4 enable logging from dns libraries 2000-02-03 17:50:08 +00:00
Brian Wellington
78524085b5 minor bugfixes 2000-02-03 16:58:54 +00:00
Michael Graff
1a0e33bc20 implement DNS_ADBFIND_GLUEOK, DNS_ADBFIND_HINTOK, and DNS_ADBFIND_IGNORELAME 2000-02-02 23:24:04 +00:00
Bob Halley
bd02a77484 add norecurse 2000-02-02 02:17:31 +00:00
Mark Andrews
9a79198176 lint 2000-02-02 01:09:56 +00:00
Mark Andrews
095c311c79 main(){exit(0);} -> main(){return (0);} 2000-02-02 01:06:27 +00:00
Mark Andrews
9682cdee53 return rather than exit 2000-02-02 01:02:59 +00:00
Bob Halley
c4f192b4d8 add copyright 2000-02-01 23:12:16 +00:00
Brian Wellington
af9cc9f133 ignore glue when generating SIGs and NXTs 2000-02-01 21:12:11 +00:00
Brian Wellington
b8df3e551a minor cleanups 2000-02-01 19:37:57 +00:00
David Lawrence
9506397424 use new omapi_protocol_listen sockaddr arg 2000-02-01 19:05:01 +00:00
Michael Graff
74889a341c Make the use of isc_mem_t optional, but on by default. The only
reason it is used at all is to detect memory leaks in the client-side code.
2000-02-01 02:58:55 +00:00
Mark Andrews
60e0b5df02 Add gxba_test 2000-02-01 01:39:23 +00:00
Michael Graff
ae7d0a4375 add getnamebyaddr test, and use a memory context only to discover memory leaks. 2000-02-01 00:29:03 +00:00
Brian Wellington
b72b07e79b rename variables to avoid linker errors on aa 2000-01-31 23:15:33 +00:00
Andreas Gustafsson
af22dc3723 include <string.h> 2000-01-31 21:59:02 +00:00
Michael Graff
d95e6b2631 add the byaddr bits I hacked on Friday 2000-01-31 19:04:58 +00:00
Andreas Gustafsson
8c2ff0cdc0 #include <isc/socket.h> 2000-01-31 18:46:41 +00:00
David Lawrence
9fac613f40 Allow -e flag to force an error from the client to the server, to test
the server's error response mechanism.

Test notify-object.

omapi_value_asint -> omapi_value_getint

omapi_string_totext API changed.

Process the additional text message in a "status" signal.

Shutdown the server side at a trigger value (hardwired at 32, or four
updates from the client.)

Test omapi_protocol_connect without asserting an error on failure.

Wait the server until shutdown so memory usage can be examined.
2000-01-31 15:17:11 +00:00
Mark Andrews
d875b1151d dns_zone_dump() -> dns_zone_dumptostream() 2000-01-31 02:16:13 +00:00
Mark Andrews
9618b7e8c2 add extra test 2000-01-31 01:55:24 +00:00
James Brister
7d9c38e052 New test fields 2000-01-29 00:12:34 +00:00
Brian Wellington
587368b247 couple of bug fixes, missed a few cases of verbosity-izing 2000-01-28 21:40:24 +00:00
Brian Wellington
a67fc7e1ff verbose option (-v) actually does something, infinite loop fix 2000-01-28 20:33:41 +00:00
Brian Wellington
19a3e16a9d Use zone routines to load/dump instead of db routines 2000-01-28 16:36:41 +00:00
Mark Andrews
94e0696f4b Dereference pointer. 2000-01-28 05:39:40 +00:00
Mark Andrews
939ac6c3fa return from main rather than exit. 2000-01-28 01:53:11 +00:00
Michael Graff
291b0d910d dump the contents of the returned packet. 2000-01-28 00:34:18 +00:00
Mark Andrews
76942b0fed checkpoint 2000-01-27 08:08:03 +00:00
Mark Andrews
f40036cbd6 link gxbn_test into build 2000-01-27 08:07:03 +00:00
Michael Graff
dafb96ea51 checkpoint 2000-01-27 02:15:50 +00:00
Bob Halley
e592dd7c34 conform to dns_rootns_create() API change 2000-01-27 01:56:28 +00:00
Bob Halley
5bd937c666 conform to dns_view_createresolver() API change 2000-01-26 16:59:05 +00:00
Mark Andrews
a49a1105bf Add gxbn_test 2000-01-26 02:59:56 +00:00
Mark Andrews
643168599f Test getipnodebyname() & gethostbyname() implementations. 2000-01-26 02:58:39 +00:00
Bob Halley
08af8bf5ad conform to dns_db_addrdataset() API change 2000-01-25 19:30:51 +00:00
Brian Wellington
7d86ce8dfc More TKEY updates and fixes... 2000-01-24 20:19:53 +00:00
Andreas Gustafsson
f93d33e24f separated BIND specific configuration code from rest
of TSIG/TKEY code; renamed TSIG/TKEY context create and destroy functions for
consistency with rest of library
2000-01-24 19:14:26 +00:00
David Lawrence
1658fd6760 build omapi_test 2000-01-24 05:38:39 +00:00
David Lawrence
5fd97de0fa unregister and dereference the message to free it after it has been sent.
use omapi_protocol_disconnect instead of omapi_connection_disconnect to
simplify things a little.

free the client connection manager.

initialize master_data's refcnt to 1 so the server does not try to free it.
2000-01-24 05:27:49 +00:00
Andreas Gustafsson
efa4ebbff3 use dns_rootns_create() from libdns 2000-01-22 02:03:19 +00:00
Andreas Gustafsson
2680c1bb61 log master file loading errors through the logging subsystem
by default
2000-01-22 01:38:58 +00:00
Bob Halley
808af43235 exit if no more addresses or an error occurs 2000-01-22 00:19:16 +00:00
David Lawrence
e0f30c15b6 checkpoint 2000-01-22 00:18:05 +00:00
Brian Wellington
b03de65d35 actually check the TSIG on the message 2000-01-21 22:59:20 +00:00
Brian Wellington
bf08eb90e4 use the new TSIG/TKEY code 2000-01-21 20:24:49 +00:00
Andreas Gustafsson
bf376bb9f4 create a zone manager; always disassociate bound rdatasets 2000-01-21 19:46:31 +00:00
Andreas Gustafsson
395130717a dns_zone_setorigin() now takes a dns_name_t *, not a char * 2000-01-21 19:21:14 +00:00
Bob Halley
99a9539ccd add byname_test.c 2000-01-21 02:51:51 +00:00
Bob Halley
6a68df334f conform to ADB API change 2000-01-21 02:51:29 +00:00
Andreas Gustafsson
588de173e3 program name was wrong in usage message 2000-01-20 23:07:01 +00:00
Andreas Gustafsson
67d762bfc4 need #include <dns/log.h> 2000-01-20 01:12:08 +00:00
Andreas Gustafsson
41ac1e406f needs #include <dns/log.h> 2000-01-20 00:38:49 +00:00
Bob Halley
f53f2fbfe4 add inter_test 2000-01-18 21:10:21 +00:00
Bob Halley
37392bc121 now works more like host 2000-01-18 19:07:04 +00:00
Bob Halley
2d80f690e0 add byaddr_test 2000-01-18 19:06:38 +00:00
Mark Andrews
a71f9502bf add interface iterator test 2000-01-18 05:43:21 +00:00
Mark Andrews
0857dced07 test code for interface iterator. 2000-01-18 05:41:06 +00:00
Bob Halley
d42634d8a3 add byaddr_test 2000-01-18 02:47:53 +00:00
Michael Graff
7dbf5a0b64 implement actual network I/O for lw resolver. All I/O is run through the
context, where the sockets are cached.  This means one context per thread.
2000-01-18 01:43:12 +00:00
Michael Graff
c05e003dce checkpoint 2000-01-17 21:38:54 +00:00
David Lawrence
4c9113533d checkpoint 2000-01-17 20:06:37 +00:00
James Brister
9ff3698b6d Change destination of generated config file. 2000-01-17 15:12:14 +00:00
James Brister
3bc687cb56 Add new options for testing. 2000-01-17 14:50:09 +00:00
Bob Halley
b765773e0b use dns_view_simplefind 2000-01-15 00:43:18 +00:00
David Lawrence
45d019f745 checkpoint 2000-01-14 23:10:04 +00:00
Michael Graff
e4f074a2c2 checkpoint 2000-01-14 21:55:44 +00:00
Michael Graff
8f510c28b8 ignore lwres_test 2000-01-14 20:24:24 +00:00
Michael Graff
a3ab70dae2 start on lwres test code 2000-01-14 20:22:28 +00:00
David Lawrence
f208c035a6 omapi_wait_for_completion renamed to omapi_connection_wait 2000-01-13 06:13:39 +00:00
David Lawrence
360ac43cac expanded test to update object on server 2000-01-11 01:50:05 +00:00
Michael Graff
0941f35ad9 Start moving the dispatcher code to allow it to be used for wire format as well as for lightweight resolver daemon stuff. 2000-01-07 01:17:47 +00:00
David Lawrence
904f1ab394 checkpoint 2000-01-06 23:56:51 +00:00
David Lawrence
0bd4e3591a reversing bogus checkin 2000-01-06 15:02:16 +00:00
David Lawrence
cc1b6f86f2 added ISC_RESULTCLASS_OMAPI 2000-01-06 14:47:39 +00:00
David Lawrence
e2125b01c2 wrong argv index was being atoi()d after conversion to isc/commandline.h 2000-01-06 14:47:36 +00:00
David Lawrence
5fbb225ee1 ignore omapi_test 2000-01-04 20:37:55 +00:00
David Lawrence
e5a7e236ff checkpoint 2000-01-04 20:20:39 +00:00
Michael Graff
3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
Michael Graff
733b16eb0b priority rendering 1999-12-22 03:22:59 +00:00
James Brister
c8ca2bc590 Use proper logging in test. 1999-12-17 18:28:03 +00:00
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00
Michael Graff
b24e559dee add <isc/util.h> 1999-12-16 22:47:38 +00:00
Michael Graff
440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Michael Graff
b8ef99c3a7 make the lfsr's real lfsr's, and use two of them to generate random-looking IDs 1999-12-16 00:07:21 +00:00
Michael Graff
0287710fe0 ignore lfsr_test 1999-12-15 22:38:43 +00:00
Michael Graff
607dc8013a make dispatcher hash sizes be primes, and provide an increment to help
resolve hash collisions
1999-12-15 17:14:52 +00:00
Michael Graff
696e95adba print out table of known lfsrs 1999-12-15 02:26:04 +00:00
Michael Graff
f4ce616539 add lfsr_test.c 1999-12-15 01:50:25 +00:00
James Brister
e8cf926e39 Fix (and test) for max-transfer statements inside zones. 1999-12-11 14:07:19 +00:00
James Brister
a5df621763 Added max-transfer-time-out max-transfer-idle-in and max-transfer-idle-out
tests.
1999-12-11 13:47:17 +00:00
James Brister
1ce5dcf1c8 Change config API to not take a isc_log_t but use dns_lctx extern. 1999-12-06 12:40:39 +00:00
Michael Graff
6149906644 ipv6 changes 1999-12-04 01:27:44 +00:00
Andreas Gustafsson
fd15c8e32e Views now have a 'cache' field. The 'cachedb' field still
exists as a convenience shortcut / backwards compatibility thing.
1999-12-02 22:38:34 +00:00
Andreas Gustafsson
0bc8af1f2a more descriptive assertion text 1999-12-01 18:56:10 +00:00
James Brister
29bf8316a3 - Hold list of pubkeys instead of a single pubkey in zones.
- Change dns_zone_copy to use pubkey list.
- MAGIC-number related fixes and miscellaneous defensive programing issues.
1999-12-01 16:29:00 +00:00
Andreas Gustafsson
e4ad4f5804 libt_api requires libdns after all 1999-11-30 22:19:26 +00:00
Andreas Gustafsson
fa6c5e38f4 dns_result_t -> isc_result_t 1999-11-30 22:14:39 +00:00
Andreas Gustafsson
7ef0c5d363 spelling 1999-11-29 20:27:38 +00:00
Andreas Gustafsson
bbee4ae2b3 Added DNS_INCLUDES to CINCLUDES. Hmm, why does t_api.h require DNS header files? 1999-11-29 20:16:50 +00:00
Andreas Gustafsson
683da0cd90 added isc_sockaddr_eqaddrprefix() tests 1999-11-29 20:09:23 +00:00
Andreas Gustafsson
00ce0291d1 added .cvsignore file 1999-11-29 20:06:20 +00:00
Bob Halley
e0cda0e4b9 dns_adb_insert() -> _dns_adb_insert() 1999-11-25 00:08:41 +00:00
Andreas Gustafsson
6eccd75f1f deleting the last NS should always succeed when not at the zone apex;
added explanatory comments
1999-11-19 19:06:18 +00:00
Bob Halley
2361fb6a16 add ratelimiter_test 1999-11-18 02:26:20 +00:00
Andreas Gustafsson
c93a2135fc fixed copyright year 1999-11-17 01:38:48 +00:00
Andreas Gustafsson
53c24d27c8 added ratelimiter_test 1999-11-17 01:36:11 +00:00
Brian Wellington
31b6349dbb added dns_tkey_destroy 1999-11-05 16:53:24 +00:00
James Brister
05f8abe795 Added some extras for testing. 1999-11-04 22:41:43 +00:00
Michael Graff
f942258b63 look up names, sleep for 5 seconds, dump db, sleep 5, look them up again. 1999-11-04 08:30:55 +00:00
Michael Graff
cebd449863 test more hosts, why not. 1999-11-03 00:43:50 +00:00
William King
270bb3aa7e change timeout to 30 minutes 1999-11-02 21:16:27 +00:00
Andreas Gustafsson
0caadaeafe initial checkin of dynamic update test suite 1999-11-02 18:59:43 +00:00
James Brister
3f8c638594 Support rfc2308-type1 options statement. 1999-11-02 09:13:48 +00:00
David Lawrence
2d5b778a19 Convert to ISC (doc/dev/coding.html) coding style.
Updated copyrights.
1999-11-02 04:05:26 +00:00
Michael Graff
78854e02c1 cleanup and fix a bug where finds will wait forever. 1999-11-01 20:16:35 +00:00
Bob Halley
9f9c0a0a33 make port 53 the default 1999-11-01 18:26:05 +00:00
William King
15a5f6eb8f lengthen timeout - some machines do this stuff really really slow ... 1999-10-31 19:28:41 +00:00
Bob Halley
4a73cf8ee0 update copyrights 1999-10-31 18:42:01 +00:00
Michael Graff
528829aa8a ipv6 AAAA queries work now. 1999-10-29 19:20:36 +00:00
Michael Graff
c803787146 replace all instances of 'handle' with 'find' since that's what they are now. 1999-10-29 18:30:48 +00:00
Michael Graff
2992344aac dns_adbhandle_t -> dns_adbfind_t 1999-10-29 18:07:32 +00:00
Michael Graff
897c9ddb4d implement dns_adb_cancelfind(), rename _done() to _destroyfind(), and _lookup to _createfind() 1999-10-29 18:00:31 +00:00
Brian Wellington
ffdcf33647 TSIG uses the new kdeflist accessor, other assorted TSIG/TKEY config updates 1999-10-29 13:56:56 +00:00
Mark Andrews
90adbb5f1c Remove various "enumerated type mixed with another type" warnings.
More still to be removed.
#define ISC_TF(x) to covert logical result to isc_boolean_t
1999-10-29 12:56:58 +00:00
James Brister
6b44a05a4d File for testing config library. Run as:
./nconf_test named.conf
1999-10-29 11:40:25 +00:00
Mark Andrews
93a3bb12e0 Fix ctype macro args 1999-10-29 08:27:34 +00:00
Mark Andrews
5b17e01f2d fix call to ctype macro 1999-10-29 08:18:06 +00:00
Bob Halley
9cef6ad3b6 add tkey_test 1999-10-29 03:43:12 +00:00
Michael Graff
ff9bb3fc54 more v4/v6 splitting out 1999-10-29 01:26:45 +00:00
Mark Andrews
006652999a INADDR_LOOPBACK does not exist on all platforms. 1999-10-29 00:11:07 +00:00
Michael Graff
1f90c10828 start on ipv6 bits 1999-10-28 21:50:27 +00:00
Brian Wellington
dbb7554504 Added a lame TKEY test and the keys necessary to run the client. 1999-10-28 20:20:47 +00:00
Michael Graff
d4d2a13916 add plink 1999-10-28 20:09:51 +00:00
Michael Graff
36ca83769d clean up test program 1999-10-28 18:50:59 +00:00
William King
bf04258ed1 been having trouble with the FreeeBSD system - wait, waitpid and family
act totally broken, but only for programs run from cron. the waitpid
loop in t_api.c times out eventually, and the testcases are killed
and reaped, but the net effect of the problem is to cause
each testcase to take 60 seconds, which is the default timeout. As
a result, the tests take forever to run and often don't finish before
the report generator is run, causing the report generator to incorrectly
reports an overall test status based on an incomplete journal ...

so ... I've added some more simplistic journal correctness checking
for now so that the FreeBSD test status is correctly reported - if
a journal doesn't end with the correct end stanza, a test result of
inspect(incomplete journal) is reported.

obviously, at some point in the future, a test case count needs added
so that the report generator can do more complete correctness checking
of the journal.
1999-10-28 03:21:27 +00:00
Andreas Gustafsson
0e42fb6588 ISC_NET_HAVESALEN -> ISC_PLATFORM_HAVESALEN 1999-10-28 01:36:36 +00:00
William King
4bbf3aa4b5 lengthen test timeout to 5 minutes ... 1999-10-27 22:47:25 +00:00
Michael Graff
2bcb48cfca adb does fetches for A records now. Has a memory leak still. 1999-10-27 22:24:40 +00:00
David Lawrence
f3ff03fc48 initial copy from the DHCP source pool 1999-10-27 22:24:32 +00:00
Brian Wellington
a61063ca9c Added the keys used in the Diffie-Hellman tests 1999-10-27 21:41:13 +00:00
Brian Wellington
7c37bc1a67 Added Diffie-Hellman tests 1999-10-27 21:26:08 +00:00
Michael Graff
1c3bc66ada snapshot; nearly all fetch infrastructure is in place. 1999-10-27 19:36:58 +00:00
Bob Halley
18670af94d fix memory corruption problem 1999-10-27 16:37:34 +00:00
William King
2fa4747b9b changed test timeout to 5 minutes for slow systems 1999-10-27 02:01:47 +00:00
William King
2768168c72 changed assertion number of test 2 to 2 from 3 ... 1999-10-27 01:21:51 +00:00
William King
21aaaeddab lengthen timeout on memory exercise tests 1999-10-26 23:49:44 +00:00
William King
3b70941ff5 just a couple of little ones ... 1999-10-26 23:35:20 +00:00
William King
2644902ba9 just a couple a little ones ... 1999-10-26 23:20:21 +00:00
William King
7ce0230110 typo 1999-10-26 22:06:07 +00:00
William King
0487257980 lengthen test timeout to 2 minutes from default of 1 minute 1999-10-26 19:20:37 +00:00
William King
d7f2dce8c2 host generic b9t.cron cron job 1999-10-26 19:16:12 +00:00
William King
606f8d53d4 b9t cron job on master host 1999-10-26 19:15:51 +00:00
William King
3dda1bbfec use tarball method of source distribution 1999-10-26 19:15:12 +00:00
Bob Halley
7f0b013f7f Eliminate race to destroy mutexes and condition variables that was causing
failures on multiprocessors.
1999-10-26 17:06:19 +00:00
Bob Halley
dd93d455c1 fix tests 1999-10-26 01:53:45 +00:00
Michael Graff
fc4fe6e5e6 start on name expiration times 1999-10-26 00:16:36 +00:00
Bob Halley
24a182d59f add missing test data 1999-10-26 00:14:46 +00:00
Bob Halley
eaf3e2217c fix purge test bug 1999-10-25 23:56:24 +00:00
Bob Halley
0f518ce129 test fixes 1999-10-25 23:43:56 +00:00
Bob Halley
e098b34f39 get rid of NXGLUE 1999-10-25 23:04:55 +00:00
Michael Graff
3ac63b4720 start on cleanup timer/task 1999-10-25 22:53:15 +00:00
David Lawrence
026401c204 test isc_log_write1() and isc_log_setduplicateinterval()
usage message if command line errors.
1999-10-25 19:55:49 +00:00
Mark Andrews
3449209bf6 Suppress benign error message about unused parameter 'view' 1999-10-25 11:19:22 +00:00
Michael Graff
970cccf46e forgot to commit this. Changes to match the API, and more test cases. 1999-10-23 04:02:05 +00:00
William King
c34b793ca8 perl test api equivalent to the C api used in the regression tests 1999-10-23 01:26:41 +00:00
William King
2f8898fa5e just saw a bizarre case on RH-6.0 where a second call into the dst library
in test2 of bin/tests/dst/t_dst looked like it either messed up the
stack or there is a compiler bug of some sort because the results
didn't get reported, ie code got skipped. this changed causes the
report generator to flag tests that don't report results.
1999-10-22 02:04:30 +00:00
Michael Graff
e45d323a2a s/address/adb/ 1999-10-22 01:02:38 +00:00
Michael Graff
efc8a09e19 create a resolver and a cache, and load hints from the built-in string. Look up f.root-servers.net. 1999-10-21 23:09:41 +00:00
Michael Graff
29f28fe573 database lookups 1999-10-21 01:18:06 +00:00
William King
e88eae12e7 current incarnation 1999-10-20 23:31:17 +00:00
Michael Graff
f181f94ec8 snapshot 1999-10-20 23:26:06 +00:00
Brian Wellington
a7d792804f dst error code cleanup 1999-10-20 22:14:15 +00:00
Brian Wellington
1bdc3fd29a dst_random -> dst_random_get 1999-10-20 19:08:57 +00:00
William King
b7828bc2ce name changed from b9tsummary.pl to b9status.pl plus changes necessary to
support flexible build directory location
1999-10-20 17:21:44 +00:00
William King
35ce81690f name change to b9status.pl plus changes to support local or remote builds 1999-10-20 17:20:24 +00:00
Michael Graff
beb2b4f196 Allow the srtt value to be adjusted, and update the goodness and srtt when they are modified 1999-10-19 22:21:27 +00:00
Michael Graff
f00d96a15c make lameness work, now. Grr. 1999-10-19 21:28:09 +00:00
Michael Graff
30251e07d1 snapshot ; external and internal reference counts are separated out,
and everything but fetches work.
1999-10-19 01:37:22 +00:00
David Lawrence
e9dd5da241 use isc/netdb.h instead of netdb.h 1999-10-18 00:23:07 +00:00
William King
e5966f9b9a added test for signature stability wrt algorithm changes, etc 1999-10-17 21:18:57 +00:00
William King
c377272e65 test data for test 2 1999-10-17 21:18:13 +00:00
William King
5ed06e4003 test data for test 2, signature stability 1999-10-17 21:16:34 +00:00
David Lawrence
5d5ea8cf11 more descriptive "nuking" message 1999-10-16 20:35:19 +00:00
Michael Graff
86944a4c80 snapshot; everything works other than fetches and database lookups. 1999-10-16 00:38:21 +00:00
William King
14500999f2 remove NOKEY flag 1999-10-15 21:23:51 +00:00
William King
0fb72a41e5 test 7 data 1999-10-15 21:21:39 +00:00
William King
3adfe0fdbc added another KEY RR case 1999-10-15 21:20:27 +00:00
William King
12fc008a63 KEY RR test data 1999-10-15 19:27:46 +00:00
William King
35e7b00e01 added KEY RR test 1999-10-15 19:25:40 +00:00
William King
e518a08aa3 fixed octal bitlabel usage problem 1999-10-15 17:08:02 +00:00
William King
be9258d15b fixed exceptions 1999-10-15 17:07:21 +00:00
Bob Halley
9358d9cb3c do not build zone2_test 1999-10-15 01:55:05 +00:00
Bob Halley
209235102a add zone2_test 1999-10-15 01:52:39 +00:00
David Lawrence
7c6ed85281 level_matches and level_count will not be negative. 1999-10-14 01:03:02 +00:00
Michael Graff
6d14fe95e9 snapshot: dns_adb_done() partial implementation, handles mostly work, but
no fetches are started yet.
1999-10-14 00:50:00 +00:00
Mark Andrews
6c84013b24 apply dns_zone_getdb() changes 1999-10-13 23:05:17 +00:00
Mark Andrews
8b7bf798c1 add zone2_test to build 1999-10-13 23:03:41 +00:00
Mark Andrews
db0a8db17b Tests loading of zones from a conf file via dns_zone_callback(). 1999-10-13 21:58:12 +00:00
James Brister
1c3cf2dbe6 Use new function signature for config parsing. 1999-10-13 17:51:28 +00:00
Mark Andrews
f82c4ea3f5 Adjust reported operation to reflect command performed. "nuck" was
reporting "deleting" not "nuking".
1999-10-13 01:21:58 +00:00
Brian Wellington
86ff74ccf6 remove unsigned warning in signer 1999-10-12 18:26:17 +00:00
David Lawrence
21d44935b2 "c"heck now outputs the chain's level_matches and level_count info. 1999-10-12 14:23:06 +00:00
David Lawrence
51e416ea19 print the chain's level_matches and level_count for "c"heck command. 1999-10-12 14:22:31 +00:00
Michael Graff
a9ece9973c snapshot 1999-10-12 02:06:08 +00:00
William King
d0d04a61ec UNRESOLVED results now display in yellow
fixed problem with test case output affecting html formatting
host name now follows OS identifier in 'host' column of status display
1999-10-11 20:45:42 +00:00
William King
b5fd67d43f added test case info to dns_name_getlabel test 1999-10-11 19:03:52 +00:00
William King
1ff711e2b7 just a couple of little things ... 1999-10-11 00:01:11 +00:00
William King
a8cd7b78f5 fixed a test 1999-10-10 23:11:06 +00:00
William King
b24b86e1fa feature evolution, formatted test info, bug fixes 1999-10-10 23:02:30 +00:00
William King
e1bb80ea30 changed default T2_TASKS_MIN to 10k in test 2 1999-10-10 19:42:26 +00:00
William King
91bc98e0bb reinstated t_tasks 1999-10-10 19:40:54 +00:00
William King
93a1670138 fixed problem with infinite recursion in test 2 1999-10-10 19:39:40 +00:00
William King
f4dc92e99d temporarily suppress t_tasks from running at request of RJH due to mem usage 1999-10-10 18:11:00 +00:00
Bob Halley
82e9817a18 lint 1999-10-10 17:13:29 +00:00
Bob Halley
82a083ceb7 create view 1999-10-10 17:13:21 +00:00
William King
2eb827695d isc standard php look and feel treatment, evolution of features, fixes 1999-10-09 02:47:33 +00:00
William King
8f24b2c47a remove old .(clean|build|test)-last files before shuffle 1999-10-09 02:46:35 +00:00
David Lawrence
c736c1a599 use isc_time_now()/isc_time_microdiff() instead of gettimeofday/struct timeval 1999-10-09 02:42:55 +00:00
Bob Halley
b0b97ac8a4 eliminate .SILENT 1999-10-09 00:57:54 +00:00
William King
e8f6c68c44 added .SILENT to suppress spurious make message on stdout 1999-10-08 22:43:47 +00:00
William King
746e7fb32f fixed a test case 1999-10-08 19:04:56 +00:00
William King
e582897ab4 silenced make action echo for target test: 1999-10-08 18:43:15 +00:00
William King
43383e3599 fixed expected result of one test 1999-10-08 18:38:55 +00:00
Mark Andrews
41a28deee4 Need to take address of signer. 1999-10-08 06:54:23 +00:00
William King
fa20568962 *** empty log message *** 1999-10-07 21:23:59 +00:00
William King
69f5e6b73b changed dependencies 1999-10-07 21:12:54 +00:00
Bob Halley
92d5e65479 add adb_test and nconf_test 1999-10-07 19:45:19 +00:00
Bob Halley
33fdc68000 do not build res_test for now 1999-10-07 19:37:40 +00:00
William King
02cae3f325 added -b option 1999-10-07 14:36:45 +00:00
William King
b747f448c1 modify to error scanning algorithms
added host specific regex file and patterns with assigned severity levels
report fatal errors separate from other errors
suppress duplicate messages
various other minor features
1999-10-07 00:20:33 +00:00
William King
7bdfc3914a i think we have it right now ... 1999-10-07 00:13:53 +00:00
William King
5f121757c6 missing parenthesis on make variable in test target ... 1999-10-06 22:53:21 +00:00
Michael Graff
da547174e2 main has arguments. Get rid of the warnings using (void)argc; and (void)argv; instead. 1999-10-06 22:12:04 +00:00
David Lawrence
d7f6fcf0f1 libt_api.a depends on libisc.a for isc_commandline_parse 1999-10-06 20:12:00 +00:00
David Lawrence
e9c6a07ee3 lint: removed argc/argv parameters from main() because not used in body 1999-10-06 20:08:42 +00:00
David Lawrence
6a759e3869 use isc_commandline_parse instead of getopt 1999-10-06 20:07:25 +00:00
David Lawrence
626100a123 do subdirs alphabetically 1999-10-06 20:00:05 +00:00
William King
37aab7fc21 added test target 1999-10-06 16:37:34 +00:00
William King
504223b18b initial commit of bind9 cron-driven multi-host makefile 1999-10-06 15:01:48 +00:00
William King
1f54fe71f1 initial commit of build reporting tool 1999-10-06 14:59:35 +00:00
Michael Graff
e51511aa32 snapshot 1999-10-05 23:50:43 +00:00
Bob Halley
0375efcb89 AD and CD support 1999-10-05 21:19:41 +00:00
Bob Halley
bb68c34181 allow EDNS buffer size to be set; print count received 1999-10-05 21:19:28 +00:00
Bob Halley
51917258db build system cleanups; improved include handling 1999-10-05 19:52:30 +00:00
Brian Wellington
2637aa6ccd add trailing dot to origin, add missing allocation 1999-10-05 14:56:56 +00:00
Michael Graff
910df98b0e Add the file, sorry :) 1999-10-04 20:25:05 +00:00
James Brister
e2ab74e3bf Added nconf_test to build 1999-10-02 21:16:57 +00:00
James Brister
c2ea2b433c Changed API to config data structure functions. 1999-10-02 21:12:44 +00:00
David Lawrence
a252c2771f include isc/net.h, do not include sys/socket.h, netinet/in.h or arpa/inet.h,
and/or use type in_port_t instead of unsigned int for ports
1999-10-02 02:54:16 +00:00
Michael Graff
64828244e0 Many changes.
o added adb_test.c to test the functions already written.

	o added code to delete names and all associated addresses.

	o added a database dumper which will currently print the adb
	  in a human (or at least developer) readable format.

	o found and fixed many twisted little locking issues.
1999-10-02 01:59:09 +00:00
Brian Wellington
2c02fd5316 parsing fixes, empty sig set fixes 1999-10-01 16:14:18 +00:00
David Lawrence
fd35453765 use AR, ARFLAGS, O and A macros 1999-09-30 20:10:31 +00:00
Brian Wellington
9b9a2770b1 fix silly infinite loop bug 1999-09-30 02:44:49 +00:00
Brian Wellington
803e1f0c55 doc update, bug fixes 1999-09-28 15:20:45 +00:00
Brian Wellington
4d8edd30dc correcty handle sigs in the future 1999-09-27 18:48:23 +00:00
Brian Wellington
106b97eebd support for Diffie-Hellman keys 1999-09-27 17:11:41 +00:00
Brian Wellington
aae99f6890 missing dependency check 1999-09-27 17:10:15 +00:00
William King
1a1999555d updated test target to be compatable with automated build/test system 1999-09-24 18:37:24 +00:00
William King
5f5daed99a updated test target to be compatable with automated build system 1999-09-24 18:35:10 +00:00
Bob Halley
c2478f3e43 ifdef out broken resolver calls 1999-09-24 04:03:42 +00:00
Bob Halley
1c6161504c include unistd.h to get getopt 1999-09-23 23:56:35 +00:00
Brian Wellington
bf5582ad4b First cut at 'real' signer. Not tested too much yet. 1999-09-23 22:25:35 +00:00
Bob Halley
271d5bfc5c conforming changes for task API simplification 1999-09-23 21:31:03 +00:00
David Lawrence
31b2823833 ignore log_test 1999-09-23 17:47:03 +00:00
David Lawrence
fc80027fb5 logging interface & test program. not yet NT portable because of syslog. 1999-09-23 17:43:51 +00:00
Bob Halley
8bbdf6fed6 conform to api change 1999-09-22 20:24:53 +00:00
James Brister
91cf68b183 Config file parser tester. 1999-09-17 14:29:20 +00:00
Michael Graff
5f0e2c8913 update copyright text 1999-09-16 00:02:20 +00:00
Michael Graff
f690123c15 update copyright text 1999-09-15 23:53:18 +00:00
Michael Graff
6d26a0067d use a lock in testing 1999-09-15 17:47:44 +00:00
Bob Halley
cbf943ad4a add keygen 1999-09-14 00:16:30 +00:00
Brian Wellington
b18192fd96 more immaterial key fixes 1999-09-13 20:00:00 +00:00
Bob Halley
3dabf636a0 NXGLUE support 1999-09-13 18:26:12 +00:00
Brian Wellington
3d452d4366 better handling of immaterial signatures 1999-09-13 17:30:18 +00:00
Michael Graff
8aa6d34be7 use the new API rules for dns_message_t and names 1999-09-10 20:25:51 +00:00
Brian Wellington
b87a704401 added key generator 1999-09-10 19:52:56 +00:00
James Brister
9f27447cae Fix includes for when buildtree != sourcetree 1999-09-09 22:24:34 +00:00
Andreas Gustafsson
ae83dbc881 eliminate signed/unsigned warning on Alpha 1999-09-09 09:27:47 +00:00
Andreas Gustafsson
e6dbac5500 build_nxt() is now a library function 1999-09-09 09:03:50 +00:00
Andreas Gustafsson
021de83ee3 build_nxt() and find_keys() are now library functions 1999-09-09 08:59:01 +00:00
Brian Wellington
49f7148b1e if set is signed, resign with the same keys 1999-09-08 18:28:39 +00:00
William King
1aeb587095 changed the default timeout to a longer interval to allow tests
to run to completion without timing out
1999-09-08 01:53:34 +00:00
Bob Halley
aaa4ab9c27 get rid of debugging code 1999-09-08 01:22:29 +00:00
Bob Halley
0b157747b3 findrdataset can now return a sig 1999-09-08 01:10:08 +00:00
Brian Wellington
b20de477c2 multiple zone key support 1999-09-07 20:23:53 +00:00
Bob Halley
6181350b1a init bufferlist 1999-09-07 01:55:54 +00:00
Bob Halley
83ea7ab7e0 add signer and zone_test 1999-09-07 01:34:21 +00:00
Michael Graff
da329abe35 Teach sdig to use the new sendtov() and recvv() calls 1999-09-06 04:47:35 +00:00
Mark Andrews
658c72a46e Add zone(), zone_test to build. 1999-09-04 01:07:06 +00:00
Brian Wellington
f104fbbe4e toy signer 1999-09-03 19:11:55 +00:00
Mark Andrews
29ed825602 Changes for the introduction of 'covers' and dns_db_find returning
the sig RRset.
1999-09-03 13:21:30 +00:00
Michael Graff
d213c95024 Fetch an URL that exists 1999-09-02 20:52:13 +00:00
Bob Halley
b97146d92b use database origin for seekname 1999-09-02 16:52:14 +00:00
Bob Halley
065273f52a add _last, _prev, and _seek for dbiterators 1999-09-02 16:43:45 +00:00
Brian Wellington
d92543b360 more constant renaming 1999-09-02 15:56:33 +00:00
Bob Halley
ac77fece9a EDNS0 1999-09-02 01:52:31 +00:00
Bob Halley
bf555703f2 OPT support 1999-09-01 20:50:34 +00:00
Bob Halley
8d0470dbdb DST_R_NULL_KEY is now DST_R_NULLKEY 1999-09-01 20:49:08 +00:00
Bob Halley
732e0731de SIG support 1999-08-31 22:14:06 +00:00
Bob Halley
e95d71d749 add serial_test 1999-08-31 22:13:42 +00:00
Mark Andrews
f9efe0ad50 Remove lint from serial.c
Remove reference to test_zone.o from Makefile.in
1999-08-30 15:08:56 +00:00
Mark Andrews
60650dd537 Add 32 bit serial arithmetic test code. 1999-08-30 15:00:52 +00:00
Mark Andrews
686b27bfd3 Initial zone code. Minimally functional. 1999-08-30 14:37:45 +00:00
Michael Graff
c9b758b7c3 ipv4/ipv6 changes 1999-08-28 04:29:04 +00:00
Bob Halley
9d783750e5 ignore .libs 1999-08-27 20:19:40 +00:00
Bob Halley
f508da4200 libtoolize 1999-08-27 20:18:03 +00:00
Bob Halley
35a7ec9864 downcase testing 1999-08-26 21:08:13 +00:00
Brian Wellington
4dc6a937d6 DST_SIG_MODE -> DST_SIGMODE 1999-08-26 20:41:54 +00:00
Bob Halley
732e537cdc NXDOMAIN NXT support 1999-08-26 07:00:43 +00:00
Michael Graff
5926ac3528 assume success 1999-08-25 23:50:03 +00:00
Brian Wellington
9416726274 add dns/sec/dst to the include path 1999-08-20 19:01:30 +00:00
Brian Wellington
29c5e3b873 Initialize and destroy the TSIG subsystem 1999-08-20 19:00:49 +00:00
Andreas Gustafsson
095f11eab4 need <config.h> to disable inline on Irix 1999-08-20 07:01:04 +00:00
Andreas Gustafsson
8dec0e1a3e dns_message_parse now takes new argument 'preserve_order' 1999-08-20 06:09:46 +00:00
Bob Halley
f44644abd4 dns_rdataset_totext() now adds CR after each question 1999-08-20 01:19:41 +00:00
Bob Halley
ff5fcd9e67 NXRRSET NXT support 1999-08-19 20:46:59 +00:00
Bob Halley
c19437944f add nxtify 1999-08-19 20:46:47 +00:00
Bob Halley
f56a8f6b5e cversion not needed 1999-08-19 18:26:48 +00:00
Bob Halley
20eb22375f add nxtify 1999-08-19 17:57:23 +00:00
Andreas Gustafsson
4033d792a8 NetBSD needs 'extern int h_errno;' 1999-08-17 05:55:55 +00:00
Bob Halley
1cbcfd23d3 create socket with the right protocol family 1999-08-17 02:50:09 +00:00
Bob Halley
af6d447524 fix bad 'if' 1999-08-17 02:11:04 +00:00
Bob Halley
3d3144b970 add hex dumping if message parsing fails 1999-08-17 01:25:36 +00:00
Bob Halley
1a638f641b fix more buglets 1999-08-17 01:21:21 +00:00
Bob Halley
27a5e02b8b fix buglets 1999-08-17 01:18:59 +00:00
Bob Halley
74c57982c1 make output more dig-like 1999-08-17 01:04:59 +00:00
Bob Halley
7732d70d2f add sdig 1999-08-17 01:04:45 +00:00
Bob Halley
ea4d349e2b add dns_name_iswildcard() test 1999-08-12 07:52:09 +00:00
Bob Halley
4bf3395d14 allow DNS_DBFIND_NOWILD to be toggled 1999-08-12 07:51:50 +00:00
Bob Halley
27ffc5a697 dns_master_load() is now _loadfile() 1999-08-05 22:12:38 +00:00
Bob Halley
0e919917cc class to rdclass 1999-08-02 22:19:30 +00:00
Bob Halley
00a0660f7a update 1999-07-30 23:34:13 +00:00
Bob Halley
898bd097ef update 1999-07-30 23:33:39 +00:00
Bob Halley
a01f52a731 callback structure changes 1999-07-30 23:33:15 +00:00
Bob Halley
53b4007947 add 1999-07-30 19:50:52 +00:00
Brian Wellington
bedd7377db updated to compile after dst changes 1999-07-30 15:21:24 +00:00
Andreas Gustafsson
ced719e92b DEPLIBS 1999-07-30 13:58:00 +00:00
Michael Graff
11e2a221f1 hack on socket code more, trying to track down a bug 1999-07-28 23:04:33 +00:00
Michael Graff
d524cd03ec make the isc_socket_recv() partial flag be a byte count instead, which allows
us to say "read at least 2 bytes" for things like a DNS packet over TCP.
1999-07-28 21:30:37 +00:00
William King
84bf177d7d added dependency on libs for t_dst and changed to ensure that only t_dst links with libt_api.a 1999-07-27 22:36:08 +00:00
William King
1e2bfb4ebb needed sys/types.h for dirent.h 1999-07-27 22:25:12 +00:00
William King
1929410424 fixed specification of path to libt_api.a 1999-07-27 22:14:41 +00:00
William King
53f06462e8 added mem and dst subdirs 1999-07-27 22:13:09 +00:00
William King
615eff12e0 first commit of bin/tests/dst/dst_test.c t_api conversion 1999-07-27 22:01:22 +00:00
William King
b47fd46ad9 first commit of bin/tests/mem_test.c t_api conversion 1999-07-27 22:00:38 +00:00
William King
27eaf516e4 added rules to build new target t_dst 1999-07-27 21:35:39 +00:00
William King
fccb930434 original commit of bind9/bin/tests/mem_test.c t_api conversion 1999-07-27 21:34:37 +00:00
Andreas Gustafsson
f3b5ca5aae DEPLIBS 1999-07-24 09:06:44 +00:00
Bob Halley
aa23c665d8 resolver checkpoint 1999-07-24 01:26:18 +00:00
Bob Halley
71d8c33fef dns_message_create() API change 1999-07-24 00:55:35 +00:00
Bob Halley
e10dee7ed7 add 1999-07-24 00:54:17 +00:00
William King
e29e7a7e7e data for rbtnodechain regression tests initial commit 1999-07-22 15:34:35 +00:00
William King
23768c88a7 added regression tests for:
dns_rbtnodechain_init
	dns_rbtnodechain_first
	dns_rbtnodechain_last
	dns_rbtnodechain_prev
	dns_rbtnodechain_next
1999-07-22 15:31:37 +00:00
William King
2d4e681f8d data for dns_name_towire test 1999-07-22 15:29:20 +00:00
William King
283a214825 dns_name_towire tests added 1999-07-22 15:28:10 +00:00
William King
965c0d590d added subdirs for db tasks and timers regression tests 1999-07-22 15:18:29 +00:00
William King
0c476bd3bc timers regression test initial commit 1999-07-22 15:16:14 +00:00
William King
99e2078097 tasks regression test initial commit 1999-07-22 15:15:14 +00:00
William King
58042eafd0 db regression test initial commit 1999-07-22 15:13:26 +00:00
Michael Graff
3ec19924bc make ^C work 1999-07-22 10:23:50 +00:00
Michael Graff
6f1422b81e fix many bugs. 1999-07-22 01:34:31 +00:00
Bob Halley
c47a1b1db3 isc_net_haveipvN is now is_net_probeipvN 1999-07-19 23:55:01 +00:00
Bob Halley
2f3cfa8c02 isc_net_haveipvN to isc_net_probeipvN 1999-07-19 23:54:09 +00:00
Bob Halley
f2a9187b84 eliminate isc/inet.h 1999-07-16 00:47:22 +00:00
Bob Halley
8ddad82fa3 look for .h files in build lib/isc/unix/include 1999-07-15 20:19:09 +00:00
Bob Halley
eb5670c09e isc_socket_create() API update 1999-07-15 20:18:43 +00:00
Bob Halley
6e9eb94521 use IPv6 sockets if we have them 1999-07-15 20:16:48 +00:00
Bob Halley
7243506104 add printmsg.c 1999-07-13 21:57:00 +00:00
Bob Halley
56b40c0185 depend support 1999-07-13 21:56:59 +00:00
Bob Halley
0706cb4ae9 lint 1999-07-13 02:05:01 +00:00
Bob Halley
2a28c946eb update isc_sockettype_t enum names 1999-07-13 02:04:39 +00:00
Bob Halley
b6412b0788 add 1999-07-13 01:53:40 +00:00
Bob Halley
ef4b66d355 update isc_sockettype_t enum names 1999-07-13 01:49:33 +00:00
Michael Graff
9c43547b3a ignore another file 1999-07-13 00:40:22 +00:00
Michael Graff
2743e0ce08 s/dns_dispatch_destroy()/dns_dispatch_detach()/g 1999-07-13 00:25:21 +00:00
Michael Graff
6398113e18 hex dump packet 1999-07-12 23:46:05 +00:00
Michael Graff
adde461254 make the TCP dispatch test program. Needs work. 1999-07-12 23:45:54 +00:00
Brian Wellington
65c4736d9c Added underlying DNSSEC support (dst and crypto libraries) 1999-07-12 20:08:42 +00:00
Bob Halley
b677cd01b0 test implicit shutdown and antizombie code 1999-07-10 01:13:59 +00:00
Bob Halley
2d98b57c87 fetch structure no longer has a tag 1999-07-10 01:10:12 +00:00
Bob Halley
f26747f494 event tags are now void * 1999-07-10 01:05:54 +00:00
Michael Graff
71bb81ed46 sa_len fix 1999-07-09 21:10:40 +00:00
Michael Graff
23bf6e20ec shut up the compiler 1999-07-09 20:45:58 +00:00
Michael Graff
6c8477058c checkpoint 1999-07-09 20:34:33 +00:00
Michael Graff
ce04ac2008 clean up 1999-07-09 17:45:06 +00:00
Michael Graff
7cde036518 move printmessage() into its own file, and link it in where needed. 1999-07-09 17:23:54 +00:00
Michael Graff
6fe411037d checkpoint 1999-07-09 02:47:55 +00:00
Michael Graff
58efc48a96 checkpoint 1999-07-09 01:57:55 +00:00
Michael Graff
d1ba6e9180 snapshot 1999-07-09 00:51:08 +00:00
Michael Graff
0b14ebe313 checkpoint 1999-07-08 22:12:37 +00:00
Michael Graff
919737e255 ignore dispatch_test 1999-07-08 03:16:34 +00:00
Michael Graff
706f4a2b36 checkpoint 1999-07-08 03:16:00 +00:00
Bob Halley
059f242a0a test isc_net_haveipv[46] 1999-07-08 02:43:47 +00:00
Bob Halley
f21dcf7d07 conform to revised socket api 1999-07-07 02:02:52 +00:00
Bob Halley
f74b7e5aae make return type of main() int 1999-07-03 21:15:06 +00:00
Bob Halley
64e41159a9 shared library support 1999-07-03 21:07:10 +00:00
Bob Halley
a29e9205d7 make main() return an int 1999-07-03 21:04:35 +00:00
Bob Halley
ea14a39d2d checkpoint 1999-07-03 21:04:02 +00:00
Bob Halley
1292abfde9 add res_test 1999-06-28 23:35:03 +00:00
William King
1ec5ceb5b2 changes due to dns_master_load syntax change 1999-06-21 00:03:24 +00:00
William King
dc36754d36 changed due to dns_master_load syntax change 1999-06-21 00:02:58 +00:00
William King
e063c8b050 updated due to dns_master_load syntax change 1999-06-20 23:55:27 +00:00
Bob Halley
5b643b5d10 eliminate warnings 1999-06-18 22:53:15 +00:00
Bob Halley
177211ef1b only use isc_result_t 1999-06-18 22:46:46 +00:00
Bob Halley
ca67883a66 cache trust level support 1999-06-16 23:47:09 +00:00
Bob Halley
5247117a5b Remove a call to dns_result_register() that was committed before it should
have been.
1999-06-16 23:10:44 +00:00
Bob Halley
21bec6f6fb Silence annoying compiler warning 1999-06-16 21:04:30 +00:00
Bob Halley
f8c597fd51 conform to API changes 1999-06-16 21:03:35 +00:00
Bob Halley
bf5b46f26b purgerange api change 1999-06-15 23:37:31 +00:00
Bob Halley
663ee1b903 conform to latest timer code 1999-06-12 01:12:35 +00:00
Bob Halley
121ac7295f deal with new event structure 1999-06-09 23:30:46 +00:00
Andreas Gustafsson
c1bfdd2995 turn on ISC_LEXOPT_ESCAPE 1999-06-09 11:56:45 +00:00
Mark Andrews
1feace57f7 A ${CFLAGS} to link stage so that debuggers work. 1999-06-09 07:35:34 +00:00
Michael Graff
4620aac3c1 ignore another file 1999-06-08 21:57:15 +00:00
James Brister
c11f8f20d9 Support new arg to isc_symtab_create 1999-06-08 13:15:25 +00:00
Andreas Gustafsson
5fc7ba3e1a added dns_db_dump(), $DATE, and supporting changes 1999-06-08 10:35:23 +00:00
Michael Graff
60804eec9b build mempool_test, and clean up so things that don't need libdns don't link
or depend on them
1999-06-08 02:37:38 +00:00
Michael Graff
bb3aa9b6eb memory pool testing 1999-06-08 02:37:12 +00:00
Michael Graff
f12aba1ef8 fix. Grr. 1999-05-31 20:56:54 +00:00
Michael Graff
7bf75b4ca4 socket test cleanup, round 4 1999-05-25 23:18:16 +00:00
Michael Graff
300cb0a397 clean up quite a bit 1999-05-22 10:42:55 +00:00
Michael Graff
a796a22063 output nit 1999-05-21 00:47:49 +00:00
Bob Halley
a8e12a9194 test dns_name_equal() 1999-05-18 22:06:27 +00:00
Michael Graff
97e7d389d5 Clean up after code review 1999-05-14 17:52:11 +00:00
Michael Graff
afe7967b83 initialize variables 1999-05-12 19:47:43 +00:00
Michael Graff
2726950412 parse dynamic updates, and tsig's right 1999-05-12 19:32:13 +00:00
Bob Halley
9a2eda6f8e add shutdown_test 1999-05-12 09:48:12 +00:00
Bob Halley
137ef1611e switch to dns_dbtable_detach 1999-05-12 09:47:59 +00:00
Bob Halley
a0850cd42d use isc_task_purgerange() 1999-05-10 23:01:05 +00:00
Bob Halley
7f705ac9a2 addrdataset now optionally returns the added rdataset 1999-05-05 22:57:20 +00:00
Bob Halley
9104e9a3e2 lint 1999-05-03 19:57:33 +00:00
Bob Halley
a85c8737f7 get rid of obsolete MAXDBS define 1999-05-03 19:57:22 +00:00
Mark Andrews
c1e7aff941 Implement compression pointer rollback.
dns_compress_backout() -> dns_compress_rollback()
1999-05-03 03:07:16 +00:00
Michael Graff
b02262cbcd Fix up the condition where buffers are expended 1999-05-01 17:18:47 +00:00
Bob Halley
44aae046c3 basic test support 1999-05-01 01:41:14 +00:00
Michael Graff
823e45c127 checkpoint 1999-04-30 22:35:49 +00:00
Michael Graff
ddd035637d snapshot 1999-04-30 21:52:40 +00:00
Michael Graff
8d6024e7cf Move the flags on dns_rdataset_totext() to be together, and make a
matching change to dns_rdataset_towire()
1999-04-30 21:15:02 +00:00
Michael Graff
e690d225ad Make named compile, and start on using message code. This isn't done yet. 1999-04-30 05:42:06 +00:00
Michael Graff
597bdfef60 Make this compile again after the dns_rdataset_totext() 1999-04-30 02:09:28 +00:00
Michael Graff
fbb0d4e811 add more wire tests, yeay 1999-04-30 01:56:52 +00:00
Michael Graff
fccf7905e8 snapshot working message parsing 1999-04-30 00:17:15 +00:00
Mark Andrews
a41d348e14 Local compression fixes to use rbt bitstrings. 1999-04-28 03:03:56 +00:00
Bob Halley
075a8494bd convert to fgets 1999-04-28 00:30:23 +00:00
Bob Halley
f810b40189 allow memory quota to be specified 1999-04-27 23:20:27 +00:00
Bob Halley
802a7c6d87 improve error handling 1999-04-27 00:05:33 +00:00
David Lawrence
72bdc2bf3a Test iteration & bitstring labels. 1999-04-23 05:01:05 +00:00
David Lawrence
4997d113e1 Don't catenate an absolute name with "." in the detail() function's
check of dns_rbtnodechain_current().
1999-04-23 05:00:38 +00:00
Bob Halley
1e4a63c406 add class 1999-04-20 22:27:27 +00:00
Bob Halley
d41e7a38de further incremental iterator support 1999-04-19 22:53:33 +00:00
Bob Halley
b975721c0c fix versioning; iterator support 1999-04-17 01:38:04 +00:00
David Lawrence
737807299d added "check" command to test dns_rbt_findnode and dns_rbtnodechain_current.
input can now have comments.
1999-04-16 16:18:01 +00:00
David Lawrence
266655efae When using chains, the foundname does not need to be a fixedname, just
a regular dns_name_t.
1999-04-14 14:24:51 +00:00
David Lawrence
c0dc77bd4a Test forward/backward iteration. 1999-04-14 12:37:00 +00:00
David Lawrence
1adfd0a911 Top level tree always has an origin of "." and all names are relative to "."
in it.

chain _first and _last now work.

Other stuff I can't recall.  Lots of little fiddling with chains.
1999-04-14 12:03:18 +00:00
Bob Halley
b8a07403d1 dbtable support; loading of multiple zones now works 1999-04-14 02:37:44 +00:00
Bob Halley
a7fbdbf0aa add holdmode and VC command 1999-04-09 19:18:52 +00:00
David Lawrence
7bd28cb40b Preliminary testing of new iterator methods. 1999-04-09 15:17:57 +00:00
Bob Halley
6a6a1f94df quiet mode; timing; glue validation; update db interfaces 1999-04-09 01:15:12 +00:00
Bob Halley
21f835803a add DNS_R_ZONECUT 1999-04-05 20:56:03 +00:00
Bob Halley
92b34d1853 Support for dns_db_find().
Allow creation of a database with cache semantics.
Allow search rdata type to be specified.
Allow glue to be retrieved.
Make output nicer looking by adding whitespace.
1999-04-01 04:14:25 +00:00
Michael Graff
4a9478d4ca make the test really print out all the characters again. Ooops. 1999-03-30 06:37:00 +00:00
David Lawrence
bbf390959d Test new foundname parameter to dns_rbt_findname. 1999-03-16 16:27:41 +00:00
David Lawrence
31d3fd0769 Test very long names. 1999-03-11 22:31:24 +00:00
Bob Halley
20c5672ca6 include unistd.h to get getopt 1999-03-11 20:00:13 +00:00
David Lawrence
bfa370f29d Option to show final memory stats (-m). 1999-03-11 19:20:34 +00:00
Bob Halley
7cb9c09a7b support any type 1999-03-11 06:02:50 +00:00
Bob Halley
1fdbe90dc4 add -a and -c switches 1999-03-11 00:45:03 +00:00
Bob Halley
af24ac2d39 used fixed names 1999-03-08 18:55:58 +00:00
Bob Halley
19de822a35 update 1999-03-06 18:50:15 +00:00
Bob Halley
c46bcd7c69 update copyright 1999-03-06 03:55:54 +00:00
Bob Halley
ff9104607c add deletion 1999-03-06 00:51:12 +00:00
Bob Halley
225d490b47 versioning test code 1999-03-05 23:26:47 +00:00
Mark Andrews
21b841232c Disable bit string tests until rbt supports them. Use -b in the
mean time to get them.
1999-03-04 22:40:05 +00:00
David Lawrence
b63865d6df A couple of new search tests. 1999-03-04 21:04:51 +00:00
David Lawrence
ec40d2ec68 use dns_rbt_findname instead of dns_rbt_findnode, and adjust tests for
possible return values.
1999-03-04 21:04:33 +00:00
Mark Andrews
496e9c2a55 Added -v 1999-03-04 06:50:05 +00:00
Bob Halley
904a573437 C++ compatibility 1999-03-04 02:48:47 +00:00
David Lawrence
7f40165c89 include the root label in names that have it, for extra clarity (especially
when the root label is the entire name).
1999-03-03 19:55:03 +00:00
Mark Andrews
1ef8965366 Add decompression. 1999-02-24 06:31:35 +00:00
Mark Andrews
52637f592f Add wire compression. 1999-02-22 07:24:05 +00:00
Bob Halley
6d5dcd0dc9 Make multiple build directories work again 1999-02-18 01:24:32 +00:00
Bob Halley
30ff476f61 use dns_name_fullcompare() 1999-02-16 08:19:18 +00:00
Mark Andrews
19d365e444 Added missing REQUIRE()'s to dns_rdata_*().
Restored origin to dns_rdata_totext().

	Made include file comments more relevent.
1999-02-16 02:54:18 +00:00
Mark Andrews
b5819ca3eb dns_name_fromwire() should have been using up to the end of the
active region, not the end of the remaining region.

	bin/named/wire_debug.c bin/tests/wire_test.c adjusted for above
	change.

	dns_name_fromwire() was not computing nrem and nused correctly
	for bitstream labels.
1999-02-15 23:59:36 +00:00
Michael Graff
882350d11c Clean up many compiler warnings. 1999-02-11 06:38:12 +00:00
Bob Halley
c9978f9dce allow db_type to be specified 1999-02-11 04:56:56 +00:00
Mark Andrews
fdd04623a6 Convert to user error / warn callbacks. 1999-02-10 05:25:37 +00:00
Mark Andrews
82d0558893 Pass multiple callbacks in dns_rdatacallbacks_t.
Call UNEXPECTED_ERROR() when returning DNS_R_UNEXPECTED.
1999-02-09 08:02:21 +00:00
Bob Halley
b5fd61fd19 conforming changes 1999-02-06 01:28:15 +00:00
Bob Halley
f72d27a58e add loaded message 1999-02-06 01:28:08 +00:00
Mark Andrews
e4653123ec isc_lex_getsourcename()
isc_lex_getsourceline()
	convert uint#_tobuffer() to use isc_buffer_putuint#()
1999-02-05 06:41:21 +00:00
Mark Andrews
bd72c68a44 Allow specification of class 1999-02-04 01:04:55 +00:00
David Lawrence
4c4f13cea3 rbt_test.txt now checks more conditions in the deletion algorithm.
rbt_test.out is what the output should be.
1999-01-31 18:45:34 +00:00
David Lawrence
0d73b3fffe test the data deleter callback by making the data pointer for each node be
dynamic memory.

have 'search' print the name stored at the node's data pointer.
1999-01-31 16:45:48 +00:00
David Lawrence
fbcd8c7a5c delete does not now do recursive deletion.
new function nuke does what delete did.

fixed up some changed interfaces to the dns_rbt library.
1999-01-31 00:54:14 +00:00
Bob Halley
a2f5b51dff allow type and zone to be specified 1999-01-29 23:36:41 +00:00
Bob Halley
22c4f0162f look for and print ns rdatasets 1999-01-29 22:21:35 +00:00
Mark Andrews
2bc0da0cd8 Added NXT
Debugged SIG
1999-01-29 08:04:13 +00:00
Bob Halley
7c0eb86a80 checkpoint 1999-01-29 07:05:09 +00:00
Bob Halley
e535faecc7 add db_test 1999-01-28 23:53:36 +00:00
Mark Andrews
923e2ea400 dns_load_master()'s callback last arguement is now void * rather
than isc_mem_t * to provide a general mechanism to pass context to
	the call back.  dns_load_master() has an additional arguement to
	support this.  to get the old behaviour set the arguement, private,
	to the same value as mctx.
1999-01-28 22:32:45 +00:00
James Brister
1453fd8dde Files supportting the zoneinfo structure. 1999-01-28 17:18:09 +00:00
Bob Halley
01cc5813ca reflect latest lexer changes 1999-01-28 08:51:53 +00:00
Mark Andrews
0c67279acb Added soacount and nscount 1999-01-28 05:03:25 +00:00
Mark Andrews
3ff55a3111 dns_master.c:
fix 2 infinite while loops.
		use a pool of 5 buffers for dns_name_fromtext target.
	add master_test.c:
1999-01-27 23:17:57 +00:00
David Lawrence
0fb1c498ec Enable the deletion test. 1999-01-27 02:04:28 +00:00
Bob Halley
941f41d613 new number printing; ISC_LEXOPT_MULTILINE support 1999-01-26 08:23:18 +00:00
David Lawrence
9e4292a2b4 New rbt_test program for the red/black trees. Sample test instructions
in rbt_test.txt.
1999-01-26 03:30:25 +00:00
Bob Halley
5a5eec9601 remove ANY hack 1999-01-25 21:41:52 +00:00
Mark Andrews
2192b44973 HINFO and TXT now handle quoted strings. 1999-01-22 01:27:30 +00:00
Mark Andrews
deaaf94332 dns_rdata_compare checked for RFC 1035 types
converted frometext* to use gettoken()
	converted:
		result = foo();
		if (result != DNS_R_SUCCESS)
			return (result);
	to
		RETERR(foo());
1999-01-22 00:36:59 +00:00
Mark Andrews
44a966dff6 Added WKS. 1999-01-21 06:02:15 +00:00
Bob Halley
3b1da4f989 print type and class as text instead of as numbers 1999-01-20 07:49:50 +00:00
Mark Andrews
a98551ef59 Implemented dns_rdatatype_fromtext(), dns_rdatatype_totext(),
dns_rdataclass_fromtext() and dns_rdataclass_totext().
1999-01-20 06:51:30 +00:00
Mark Andrews
3d5cad69ec Adjusted error codes.
txt_fromwire() was not coping with a zero length active buffer.
1999-01-20 05:20:24 +00:00
Bob Halley
c850b56ee0 lint 1999-01-20 02:46:19 +00:00
Bob Halley
2d9007c942 working rdata decoding 1999-01-20 02:43:23 +00:00
Bob Halley
e9c5fcab9b add rdata_test 1999-01-20 02:42:54 +00:00
Michael Graff
14b50c163e cleanup, remove warnings 1999-01-19 19:50:10 +00:00
Michael Graff
f8c2070073 make quick changes to steal code from Bob's wire_test 1999-01-19 06:35:54 +00:00
Mark Andrews
5d51e67c3b Initial "rdata" support. RFC 1035 RR types minus WKS
totext/fromtext should all work
	towire/fromwire mostly work
	tostruct/fromstruct return DNS_R_NOTIMPLEMENTED
	compare untested
1999-01-19 02:20:26 +00:00
Bob Halley
74bc3f2a36 optional use of initial whitespace 1999-01-15 20:02:22 +00:00
Bob Halley
51ae92e447 use dns_rdataset_totext 1999-01-15 19:36:33 +00:00
Bob Halley
a70536420c add getmessage 1999-01-15 08:04:27 +00:00
Bob Halley
841988cf57 rdatalist is now in its own .h file 1999-01-15 03:30:36 +00:00
Bob Halley
2c711cbace new task stuff 1999-01-15 01:38:28 +00:00
Bob Halley
a4e4169138 minor output fix 1999-01-13 19:58:40 +00:00
Bob Halley
2925c2bfb3 eliminate whitespace from input 1999-01-13 19:57:13 +00:00
Bob Halley
25657e31a3 checkpoint 1999-01-13 19:50:05 +00:00
Bob Halley
8198371caa checkpoint 1999-01-13 19:11:26 +00:00
Bob Halley
08dbab20ef lint 1999-01-09 02:39:39 +00:00
Bob Halley
28fb4b818b non-portable but useful getopt usage 1999-01-09 01:21:11 +00:00
Bob Halley
011021d301 fix typo; make compname be relative to origin if not absolute 1999-01-09 01:00:52 +00:00
Bob Halley
e5a56e1fd5 must init name now 1999-01-09 00:41:55 +00:00
Bob Halley
514a93f41f offsets are now optional 1999-01-09 00:34:18 +00:00
Bob Halley
b05c81bffc convert to isc_buffer_getuint16 1999-01-07 02:08:05 +00:00
Bob Halley
8f34db7d4e update 1999-01-06 20:31:20 +00:00
Bob Halley
1d9b3491ab convert to RUNTIME_CHECK 1999-01-06 20:26:18 +00:00
Bob Halley
468ff4555b add decompression context 1999-01-06 20:05:09 +00:00
Bob Halley
c40d5a7080 add 1999-01-06 17:46:00 +00:00
Bob Halley
8423b96689 add wire_test 1999-01-06 05:42:58 +00:00
Bob Halley
4bc30f45a2 conforming changes 1999-01-06 05:42:42 +00:00
Bob Halley
3d7e707dd6 add wire_test; remove generated targets on distclean 1999-01-06 05:42:26 +00:00
Bob Halley
c23afd025e update copyright 1999-01-06 05:33:05 +00:00
Bob Halley
d386111bff case sensitive switch for symbol tables 1999-01-04 22:30:28 +00:00
Bob Halley
94d102893a update copyrights 1999-01-04 19:47:40 +00:00
Bob Halley
38d2d0e932 eliminate dns_ types that duplicate isc_ types 1999-01-04 19:14:00 +00:00
Bob Halley
8afa9d1fcb fix text region typing 1999-01-02 21:20:03 +00:00
Bob Halley
68d6549309 add lex_test 1998-12-30 22:07:51 +00:00
Bob Halley
d22c1a18db add unistd.h (for getopt) 1998-12-30 22:07:20 +00:00
Bob Halley
ff0e32ceea convert to isc_mem_strdup 1998-12-30 20:19:14 +00:00
Bob Halley
ea6ace7d0d fix memory leak 1998-12-19 00:22:00 +00:00
Bob Halley
95bcf47ff9 exists policy 1998-12-19 00:13:59 +00:00
Michael Graff
22c7e1fbca use inet_addr() rather than the newer (and beter) inet_aton(). Solaris
doesn't have inet_aton(), and this was quick enough for a test program.
1998-12-18 22:51:42 +00:00
Michael Graff
dfd9b3fa62 Make this go on aa 1998-12-18 22:02:41 +00:00
Bob Halley
2c395a842b undefine action support 1998-12-18 21:16:45 +00:00
Bob Halley
8dcce6f922 change memctx to mem 1998-12-18 19:14:37 +00:00
Bob Halley
c9f9dd2dd2 add sym_test 1998-12-18 19:07:29 +00:00
Michael Graff
222b564ebb clean up memory leaks 1998-12-18 04:03:11 +00:00
Bob Halley
0ab04d76c8 conforming changes for task API revision 1998-12-16 02:05:38 +00:00
Bob Halley
3740b569ae the great type change 1998-12-13 23:45:21 +00:00
Bob Halley
26ec6d6655 delete 1998-12-13 22:49:08 +00:00
Bob Halley
0d38079bdf depend upon libisc.a and libdns.a 1998-12-13 01:59:36 +00:00
Bob Halley
1633838b82 update copyrights 1998-12-12 20:48:14 +00:00
Bob Halley
d25afd60ee include config.h 1998-12-12 19:25:20 +00:00
Bob Halley
f41f183f62 fix srcdir problems 1998-12-12 02:00:01 +00:00
Bob Halley
d0ad004424 simplify Makefiles 1998-12-12 01:35:38 +00:00
Bob Halley
863beba874 add .cvsignore files 1998-12-11 21:09:59 +00:00
Bob Halley
c4ad98f33e get rid of some warnings 1998-12-11 21:09:34 +00:00
Bob Halley
6792dd6d22 conforming changes for new pool 1998-12-11 20:38:46 +00:00
Bob Halley
a5d43b7241 BIND9 Pool Creation 1998-12-11 20:10:26 +00:00
Michael Graff
7251d77646 snapshot 1998-12-05 00:28:13 +00:00
Bob Halley
c50fd34a4e add 1998-12-04 02:27:01 +00:00
Bob Halley
d5d8c6b756 run both run1 and run2 1998-12-04 00:09:24 +00:00
Michael Graff
a21e2e7fea connect works; snapshot 1998-11-26 00:10:33 +00:00
Michael Graff
4095b36415 try to get the address put into the returned structure, but no go yet 1998-11-15 11:48:21 +00:00
Bob Halley
d2cb9efe81 increase max workers to 100; still a good idea to clamp nworkers 1998-11-12 23:31:42 +00:00
Bob Halley
274043cd54 do not clamp nworkers 1998-11-12 22:28:43 +00:00
Bob Halley
994ba9c913 add write quota 1998-11-12 22:27:30 +00:00
Bob Halley
c8e7460242 add 1998-11-12 02:02:52 +00:00
Michael Graff
3d8e572880 writing works now, too. 1998-11-11 00:43:14 +00:00
Michael Graff
8871894f2d checkpoint. listen and read works, now. 1998-11-10 11:37:54 +00:00
Michael Graff
bb039bc91e snapshot 1998-11-10 01:56:44 +00:00
Michael Graff
7f9e707684 checkpoint 1998-11-06 01:45:35 +00:00
Michael Graff
6d05b41aae Commit socket code so far -- nowhere near done, but I don't wanna loose work. 1998-11-03 00:54:47 +00:00
Bob Halley
b32248301c the event action is now responsible for freeing the event memory 1998-10-28 01:45:43 +00:00
Bob Halley
db1e643c60 isc_interval_t conversion 1998-10-23 23:00:40 +00:00
Bob Halley
0bbadb0a2f portability 1998-10-22 01:59:50 +00:00
Bob Halley
bf6d2e3912 more renaming 1998-10-22 01:33:20 +00:00
Bob Halley
de9282a1ea rename memcluster 1998-10-21 22:01:08 +00:00
Bob Halley
c92ba07101 more renaming 1998-10-21 02:26:57 +00:00
Bob Halley
5f74ac33a0 more renaming 1998-10-21 01:57:35 +00:00
Bob Halley
f47bb8d1f3 many name conversions 1998-10-21 01:13:50 +00:00
Bob Halley
b07f8da9cd eliminate timer_shutdown; add purging option to timer_reset 1998-10-16 23:57:51 +00:00
Bob Halley
918bae0f4b update 1998-10-16 21:41:30 +00:00
Bob Halley
a75f433c83 udpate 1998-10-16 20:20:31 +00:00
Bob Halley
becb0b307c update 1998-10-16 07:44:31 +00:00
Bob Halley
82ebb6cf50 update 1998-10-16 01:54:25 +00:00
Bob Halley
2985234619 checkpoint 1998-10-16 01:18:31 +00:00
Bob Halley
232548d5d7 add event purging 1998-10-13 20:22:22 +00:00
Bob Halley
26d7020e2e update 1998-08-19 23:36:12 +00:00
Bob Halley
94123b5120 checkpoint 1998-08-19 21:46:15 +00:00
Bob Halley
50f339a799 update 1998-08-18 19:28:30 +00:00
Bob Halley
d6da3b9e10 update 1998-08-18 08:05:45 +00:00
Bob Halley
e7b7e6e746 checkpoint 1998-08-18 00:47:55 +00:00
Bob Halley
0dbe3d9c27 checkpoint 1998-08-18 00:29:57 +00:00
Bob Halley
3a6202f163 checkpoint 1998-08-17 23:15:50 +00:00
Bob Halley
7ee52cc7d1 base 1998-08-17 22:05:58 +00:00