Commit graph

3684 commits

Author SHA1 Message Date
Evan Hunt
ac21f918f2 3109. [func] The also-notify option now uses the same syntax
as a zone's masters clause.  This means it is
			now possible to specify a TSIG key to use when
			sending notifies to a given server, or to include
			an explicit named masters list in an also-notfiy
			statement.  [RT #23508]
2011-05-06 21:23:51 +00:00
Evan Hunt
485522d7e1 3108. [cleanup] dnssec-signzone: Clarified some error and
warning messages; removed #ifdef ALLOW_KSKLESS_ZONES
			code (use -P instead). [RT #20852]

3107.	[bug]		dnssec-signzone: Report the correct number of ZSKs
			when using -x. [RT #20852]
2011-05-06 21:08:33 +00:00
Automatic Updater
a30e1b26b4 update copyright notice 2011-05-05 23:47:17 +00:00
Scott Mann
b2b3209149 added g 2011-05-05 23:15:56 +00:00
Scott Mann
101e493844 remove trailing whitespace from pid (RT 24388) 2011-05-05 23:10:24 +00:00
Scott Mann
58d7c91b65 remove trailing newline from pid (RT #24388) 2011-05-05 22:56:55 +00:00
Evan Hunt
d454a60f56 3103. [bug] Configuring 'dnssec-validation auto' in a view
instead of in the options statement could trigger
			an assertion failure in named-checkconf. [RT #24382]
2011-05-05 16:13:35 +00:00
Mark Andrews
83bf223210 explictly kill the process if the server fails to start, check for a non zero length pid file 2011-05-05 04:47:45 +00:00
Mark Andrews
46d3c6cf40 grep was not precise enough leading to test failure 2011-05-03 16:07:44 +00:00
Mark Andrews
f1d4986b83 treat asb(x) < 500ms as 0 2011-05-02 23:56:59 +00:00
Mark Andrews
65043f48f2 force numeric comparision 2011-05-02 05:05:05 +00:00
Mark Andrews
07907fa31a handle end of day 2011-05-02 01:35:04 +00:00
Mark Andrews
bbf46f1aa2 fix expression 2011-05-01 21:36:33 +00:00
Mark Andrews
f83682f368 awk -v is not portable, add floating point arithmetic effects 2011-05-01 11:29:20 +00:00
Automatic Updater
54968ae88e update copyright notice 2011-04-29 23:47:18 +00:00
Evan Hunt
39f2d1a96a 3102. [func] New 'dnssec-loadkeys-interval' option configures
how often, in minutes, to check the key repository
			for updates when using automatic key maintenance.
			Default is every 60 minutes (formerly hard-coded
			to 12 hours). [RT #23744]

3101.	[bug]		Zones using automatic key maintenance could fail
			to check the key repository for updates. [RT #23744]
2011-04-29 21:37:15 +00:00
Evan Hunt
76db58eb81 3100. [security] Certain response policy zone configurations could
trigger an INSIST when receiving a query of type
			RRSIG. [RT #24280]
2011-04-27 17:46:47 +00:00
Automatic Updater
7021f2faa0 update copyright notice 2011-04-19 23:47:52 +00:00
Evan Hunt
7a2173839c 3099. [test] "dlz" system test now runs but gives R:SKIPPED if
not compiled with --with-dlz-filesystem.  [RT #24146]

3098.	[bug]		DLZ zones were answering without setting the AA bit.
			[RT #24146]
2011-04-19 22:30:52 +00:00
Evan Hunt
c92122485d 3097. [test] Add a tool to test handling of malformed packets.
[RT #24096]
2011-04-15 01:02:08 +00:00
Scott Mann
c7e1812d02 a few more "--with-gssapi" as default fixes to correct problems on test
systems
2011-04-05 19:16:54 +00:00
Scott Mann
80593d9802 one character typo. 2011-04-05 16:10:39 +00:00
Evan Hunt
4e5fc672bc Corrected a bug in the dnssec test introduced in change #3046. 2011-03-31 15:58:51 +00:00
Automatic Updater
e2d4cd0ae4 update copyright notice 2011-03-30 23:47:12 +00:00
Scott Mann
761fa7d770 Fixes for various OS/environs for RT #23836 (--with-gssapi as default). 2011-03-30 15:48:41 +00:00
Mark Andrews
779c84fb32 style 2011-03-28 05:14:51 +00:00
Mark Andrews
4768c1d9a4 while (1) -> for (;;) 2011-03-28 05:11:43 +00:00
Evan Hunt
eb08f01b96 Forgot to add a data file for the autosign test. 2011-03-26 01:19:03 +00:00
Evan Hunt
319b8a1488 3092. [bug] Signatures for records at the zone apex could go
stale due to an incorrect timer setting. [RT #23769]

3091.	[bug]		Fixed a bug in which zone keys that were published
			and then subsequently activated could fail to trigger
			automatic signing. [RT #22991]
2011-03-25 23:53:02 +00:00
Mark Andrews
0a82492610 3089. [func] dnssec-dsfromkey now supports reading keys from
standard input "dnssec-dsfromkey -f -". [RT# 20662]
2011-03-24 02:10:23 +00:00
Automatic Updater
4f06155c8f update copyright notice 2011-03-22 23:47:30 +00:00
Scott Mann
1760d5e5f2 For some reason, this didn't get removed before (RT #23687) 2011-03-22 17:20:03 +00:00
Scott Mann
95759de490 Remove bin/tests/system/logfileconfig/ns1/named.conf and add setup.sh
in order to resolve changing named.conf issue.  [RT #23687]
2011-03-22 16:51:50 +00:00
Evan Hunt
c2255e8614 Fixed a bug that was exposed by change #3085. 2011-03-22 03:19:38 +00:00
Mark Andrews
e706901292 add test numbers 2011-03-22 00:41:53 +00:00
Automatic Updater
6333ba02a5 update copyright notice 2011-03-21 23:47:21 +00:00
Mark Andrews
c2265bd341 adjust rt23702 test to take less time 2011-03-21 20:31:22 +00:00
Evan Hunt
0994d3a21b 3087. [bug] DDNS updates using SIG(0) with update-policy match
type "external" could cause a crash. [RT #23735]
2011-03-21 19:54:03 +00:00
Evan Hunt
1063914c30 Fixed some problems from change #3084 that turned up after committing it;
"freeze" and "thaw" weren't working quite right when used without a
specific zone name.
2011-03-21 18:38:40 +00:00
Evan Hunt
cf0d508b1e Forgot to add rndc test dir when committing "rndc sync" change to HEAD 2011-03-21 18:06:07 +00:00
Evan Hunt
36b2d5f93c use "rndc sync" instead of freeze/thaw cycle to dump zones, now that it's
available.
2011-03-21 16:53:44 +00:00
Evan Hunt
10a759cee6 3086. [bug] Running dnssec-settime -f on an old-style key will
now force an update to the new key format even if no
			other change has been specified, using "-P now -A now"
			as default values.  [RT #22474]
2011-03-21 15:56:35 +00:00
Evan Hunt
35f1a4fc93 3085. [func] New '-R' option in dnssec-signzone forces removal
of signatures which have not yet expired but
			were generated by a key that no longer exists.
			[RT #22471]
2011-03-21 07:26:47 +00:00
Mark Andrews
5f49da42fe wait longer for the nsec3chain generation to complete 2011-03-21 03:30:48 +00:00
Mark Andrews
5095e72ac3 3083. [bug] NOTIFY messages were not being sent when generating
a NSEC3 chain incrementally. [RT #23702]
2011-03-21 01:02:39 +00:00
Mark Andrews
653cad790b 3082. [port] strtok_r is threads only. [RT #23747] 2011-03-21 00:30:18 +00:00
Mark Andrews
7dc5273a3e skip not untested 2011-03-20 09:03:47 +00:00
Automatic Updater
7885190562 update copyright notice 2011-03-18 23:47:36 +00:00
Francis Dupont
f3bb08a519 add 23591 no-regression 2011-03-18 21:14:20 +00:00
Mark Andrews
cbf59e5887 3079. [bug] Handle isc_event_allocate failures in t_tasks.
[RT #23572]
2011-03-18 07:40:25 +00:00
Evan Hunt
1853c5eaf7 ignore SIGPIPE in ans.pl; this is needed for debian. 2011-03-18 04:41:15 +00:00
Evan Hunt
ea5334a36e fixed a missing / in /dev/null 2011-03-18 02:08:45 +00:00
Automatic Updater
207cee019e update copyright notice 2011-03-17 23:47:30 +00:00
Francis Dupont
50f64cf0e5 silent compiler warnings for DLZ exernal driver support and example 2011-03-17 09:25:54 +00:00
Evan Hunt
61bcc23203 3076. [func] New '-L' option in dnssec-keygen, dnsset-settime, and
dnssec-keyfromlabel sets the default TTL of the
			key.  When possible, automatic signing will use that
			TTL when the key is published.  [RT #23304]
2011-03-17 01:40:40 +00:00
Francis Dupont
92f2688155 silent clang analyzer 2011-03-14 14:13:10 +00:00
Automatic Updater
71d0d898fb update copyright notice 2011-03-13 23:47:36 +00:00
Mark Andrews
26b49e8459 3074. [bug] Make the adb cache read through for zone data and
glue learn for zone named is authoritative for.
                        [RT #22842]
2011-03-13 02:49:28 +00:00
Automatic Updater
8ac903147f update copyright notice 2011-03-12 23:47:42 +00:00
Mark Andrews
69e617cf88 test for Net::DNS 2011-03-12 21:24:52 +00:00
Automatic Updater
c1aef54e14 update copyright notice 2011-03-12 04:59:49 +00:00
Evan Hunt
4fbaf0202b link driver.so from the .o file instead of the .lo file when building
with libtool.
2011-03-11 07:11:07 +00:00
Mark Andrews
0874abad14 3069. [cleanup] Silence warnings messages from clang static analysis.
[RT #20256]
2011-03-11 06:11:27 +00:00
Mark Andrews
2d96b63d31 3067. [bug] ixfr-from-differences {master|slave}; failed to
select the master/slave zones.  [RT #23580]
2011-03-11 00:43:54 +00:00
Automatic Updater
cf786a52ce update copyright notice 2011-03-10 23:47:50 +00:00
Evan Hunt
422009fe5b 3066. [func] The DLZ "dlopen" driver is now built by default,
no longer requiring a configure option.  To
			disable it, use "configure --without-dlopen".
                        Driver also supported on win32.  [RT #23467]
2011-03-10 04:36:16 +00:00
Mark Andrews
198be130e2 remove exit 2011-03-07 14:03:49 +00:00
Automatic Updater
0e27506ce3 update copyright notice 2011-03-05 23:52:31 +00:00
Evan Hunt
9a859983d7 3062. [func] Made several changes to enhance human readability
of DNSSEC data in dig output and in generated
			zone files:
			 - DNSKEY record comments are more verbose, no
			   longer used in multiline mode only
			 - multiline RRSIG records reformatted
			 - multiline output mode for NSEC3PARAM records
			 - "dig +norrcomments" suppresses DNSKEY comments
			 - "dig +split=X" breaks hex/base64 records into
			   fields of width X; "dig +nosplit" disables this.
			[RT #22820]
2011-03-05 19:39:07 +00:00
Mark Andrews
eff7f78bc6 3061. [func] New option "dnssec-signzone -D", only write out
generated DNSSEC records. [RT #22896]
2011-03-05 06:35:41 +00:00
Evan Hunt
61271cdee6 3060. [func] New option "dnssec-signzone -X <date>" allows
specification of a separate expiration date
			for DNSKEY RRSIGs and other RRSIGs. [RT #22141]
2011-03-04 22:20:21 +00:00
Evan Hunt
c2f051aaaa 3059. [test] Added a regression test for change #3023. 2011-03-04 22:01:01 +00:00
Scott Mann
be59d1eb72 Adding missing files for RT22771. 2011-03-04 14:43:58 +00:00
Scott Mann
32babe43eb Ensure that log files are plain files. (RT #22771) 2011-03-04 14:07:03 +00:00
Automatic Updater
7d9d170dbb update copyright notice 2011-03-03 23:47:32 +00:00
Evan Hunt
f385bac3b9 3057. [bug] "rndc secroots" would abort after the first error
and so could miss some views. [RT #23488]
2011-03-03 16:16:47 +00:00
Francis Dupont
9fe8cca065 add URI support 2011-03-03 14:10:27 +00:00
Francis Dupont
624664e504 Fixed last autosign test report [RT #23256] 2011-03-02 09:03:45 +00:00
Mark Andrews
be789bc7eb 3045. [removed] Replaced by change #3050. 2011-03-02 04:52:25 +00:00
Mark Andrews
d819823fee 3051. [bug] NS records obsure DS records at the bottom of the
zone if both are present. [RT #23035]
2011-03-02 04:49:05 +00:00
Mark Andrews
c1ced49662 3051. [bug] NS records obsure DS records at the bottom of the
zone if both are present. [RT #23035]
2011-03-02 04:20:34 +00:00
Mark Andrews
ba88bcf08b 3050. [bug] The autosign system test was timing dependent.
Wait for the initial autosigning to complete
                        before running the rest of the test. [RT #23035]
2011-03-02 04:08:58 +00:00
Automatic Updater
c8175ece69 update copyright notice 2011-03-01 23:48:07 +00:00
Mark Andrews
4c05f9a6a3 3048. [bug] Fully seperate view key mangement. [RT #23419] 2011-03-01 22:44:04 +00:00
Scott Mann
d31740ce28 Fixed DNSKEY NODATA responses not cached (RT #22908). 2011-03-01 14:40:39 +00:00
Automatic Updater
bc171df6ca update copyright notice 2011-02-28 23:47:39 +00:00
Francis Dupont
664917beda Use RRSIG original TTL in validated RRset TTL [RT #23332] 2011-02-28 14:21:35 +00:00
Francis Dupont
17bc56e321 ove the testsock.pl sleep to autosign test suite [RT #23400] 2011-02-28 14:08:36 +00:00
Mark Andrews
2f09e7c3fc 3041. [bug] dnssec-signzone failed to generate new signatures on
ttl changes. [RT #23330]
2011-02-24 03:04:43 +00:00
Mark Andrews
4f07b2b00c 3040. [bug] Named failed to validate insecure zones where a node
with a CNAME existed between the trust anchor and the
                        top of the zone. [RT #23338]
2011-02-23 11:30:35 +00:00
Mark Andrews
0e507dbb81 2039. [func] Redirect on NXDOMAIN support. [RT #23146] 2011-02-23 03:08:11 +00:00
Scott Mann
3b46648b02 Revert the previous commit...made on wrong branch. 2011-02-22 22:57:23 +00:00
Scott Mann
44b49a34b1 Added some comments. 2011-02-22 22:50:45 +00:00
Mark Andrews
b795de862b 2036. [bug] Check built-in zone arguments to see if the zone
is re-usable or not. [RT #21914]
2011-02-22 04:14:30 +00:00
Automatic Updater
c41b2924a5 update copyright notice 2011-02-15 23:47:36 +00:00
Mark Andrews
b1b42b03b7 3020. [bug] auto-dnssec failed to correctly update the zone when changing the DNSKEY RRset. [RT #23232] 2011-02-15 22:02:36 +00:00
Mark Andrews
c5fa370695 3019. [func] Test: check apex NSEC3 records after adding DNSKEY
record via UPDATE. [RT #23229]
2011-02-14 23:53:44 +00:00
Automatic Updater
56748bc3d1 update copyright notice 2011-02-08 23:10:07 +00:00
Mark Andrews
37b017f2ca Regression test for:
3018.   [bug]           Named failed to check for the "none;" acl when deciding
                        if a zone may need to be re-signed. [RT #23120]
2011-02-08 03:47:02 +00:00
Automatic Updater
784a904bd0 update copyright notice 2011-02-03 12:18:12 +00:00
Mark Andrews
c1ee8bb4ba 3013. [bug] The DNS64 ttl was not always being set as expected.
[RT #23034]
2011-02-03 07:35:56 +00:00
Mark Andrews
16cc4a1f56 3012. [bug] Remove DNSKEY TTL change pairs before generating
signing records for any remaing DNSKEY changes.
                        [RT #22590]
2011-02-03 06:03:15 +00:00
Mark Andrews
000a8970f8 3011. [func] Change the default query timeout from 30 seconds
to 10.  Allow setting this in named.conf using the new
                        'resolver-query-timeout' option, which specifies a max
                        time in seconds.  0 means 'default' and anything longer
                        than 30 will be silently set to 30. [RT #22852]
2011-02-03 05:41:55 +00:00
Evan Hunt
439a6b2fbf created cvsignore 2011-02-01 20:12:16 +00:00
Automatic Updater
a09fff7051 update copyright notice 2011-01-14 00:51:43 +00:00
Mark Andrews
638614fe02 silence: warning: format not a string literal and no format arguments 2011-01-14 00:44:53 +00:00
Evan Hunt
5645e0c82a Automatically-added copyright text was breaking the RPZ test. 2011-01-13 19:30:41 +00:00
Automatic Updater
9cee5bb028 update copyright notice 2011-01-13 04:59:26 +00:00
Mark Andrews
87708bde16 3008. [func] Response policy zones (RPZ) support. [RT #21726] 2011-01-13 01:59:28 +00:00
Automatic Updater
135bcc2e42 update copyright notice 2011-01-11 23:47:14 +00:00
Michael Graff
59b600ae73 commit Makefile.in, not Makefile 2011-01-11 21:40:35 +00:00
Michael Graff
beb52a4b18 add tests for isc_atomic_xadd() and isc_atomic_xaddq() since there is some suspicion that they may not be working properly on all platforms. This is committed direclty to the mainline as it's only a test. I did not regenerate configure from configure.in, but just added the one Makefile line. Evan will take a quick look at this after it's committed. 2011-01-11 21:36:22 +00:00
Mark Andrews
b053854c20 call dns_tsigkeyring_detach(&ring) 2011-01-10 13:09:49 +00:00
Mark Andrews
fc5e97963d Check that ::1 is configured 2011-01-10 05:08:49 +00:00
Evan Hunt
b156001ec1 Oops, omitted some commits from change #3005. 2011-01-08 01:26:01 +00:00
Evan Hunt
8a743600dd 3005. [port] Solaris: Work around the lack of
gsskrb5_register_acceptor_identity() by setting
			the KRB5_KTNAME environment variable to the
			contents of tkey-gssapi-keytab.  Also fixed
			test errors on MacOSX.  [RT #22853]
2011-01-08 00:33:12 +00:00
Automatic Updater
93235c1cba update copyright notice 2011-01-07 23:47:07 +00:00
Evan Hunt
f686c5d700 Added missing .cvsignore entries 2011-01-07 07:10:34 +00:00
Evan Hunt
c23a9eed3e - Missed out authsock.pl when committing 3003.
- Remove auth.sock in clean.sh.
2011-01-07 07:01:58 +00:00
Mark Andrews
dc4fa197dd 3004. [func] DNS64 reverse support. [RT #22769] 2011-01-07 04:31:39 +00:00
Automatic Updater
db69d5d53c update copyright notice 2011-01-06 23:47:00 +00:00
Evan Hunt
3916872f37 3003. [experimental] Added update-policy match type "external",
enabliing named to defer the decision of whether to
			allow a dynamic update to an external daemon.
			(Contributed by Andrew Tridgell.) [RT #22758]
2011-01-06 23:24:39 +00:00
Automatic Updater
1da9dbcf48 update copyright notice 2011-01-04 23:47:14 +00:00
Evan Hunt
79bf7c874b 3001. [func] Added a default trust anchor for the root zone, which
can be switched on by setting "dnssec-validation auto;"
			in the named.conf options. [RT #21727]
2011-01-03 23:45:08 +00:00
Mark Andrews
ac78c47210 ! test -n -> test -z 2010-12-27 13:38:43 +00:00
Automatic Updater
6764a1403a update copyright notice 2010-12-24 23:47:05 +00:00
Mark Andrews
cd86950664 exit 255 2010-12-24 07:27:15 +00:00
Evan Hunt
d9ad0a55bb 3000. [bug] More TKEY/GSS fixes:
- nsupdate can now get the default realm from
			   the user's Kerberos principal
			 - corrected gsstest compilation flags
			 - improved documentation
			 - fixed some NULL dereferences
			[RT #22795]
2010-12-24 02:20:47 +00:00
Mark Andrews
37dee1ff94 2999. [func] Add GOST support (RFC 5933). [RT #20639] 2010-12-23 04:08:00 +00:00
Automatic Updater
ca103999e6 update copyright notice 2010-12-20 23:47:21 +00:00
Evan Hunt
950aa1d752 When a prereq.sh file determines that a test can't run because the feature
to be tested was not configured in at build time, it can now return 255,
and run.sh will print "R:SKIPPED" instead of "R:UNTESTED".  Robie will be
able to flag this as green rather than yellow.
2010-12-20 21:35:45 +00:00
Evan Hunt
8fda09fc85 Changed $(command) to command in tests.sh for compatibility with
older bourne shells.
2010-12-20 18:37:07 +00:00
Mark Andrews
e11d10bbcc example.nil.zone -> example.nil.db 2010-12-19 23:39:28 +00:00
Automatic Updater
941c0792f2 update copyright notice 2010-12-18 23:47:11 +00:00
Evan Hunt
6c3eff861d tsiggss test needed a prereq.sh file. (Committing without review because
the script is simple, no one is available, and I want to shut robie up.)
2010-12-18 16:48:41 +00:00
Mark Andrews
0faa11ab77 clean first 2010-12-18 11:45:01 +00:00
Evan Hunt
af903e5008 Added files to clean.sh scripts that have been left around after tests run.
Skipping the ticket/review steps because the change is trivial.
2010-12-18 02:12:44 +00:00
Evan Hunt
71bd858d8e 2989. [func] Added support for writable DLZ zones. (Contributed
by Andrew Tridgell of the Samba project.) [RT #22629]

2988.	[experimental]	Added a "dlopen" DLZ driver, allowing the creation
			of external DLZ drivers that can be loaded as
			shared objects at runtime rather than linked with
			named.  Currently this is switched on via a
			compile-time option, "configure --with-dlz-dlopen".
			Note: the syntax for configuring DLZ zones
			is likely to be refined in future releases.
			(Contributed by Andrew Tridgell of the Samba
			project.) [RT #22629]

2987.	[func]		Improve ease of configuring TKEY/GSS updates by
			adding a "tkey-gssapi-keytab" option.  If set,
			updates will be allowed with any key matching
			a principal in the specified keytab file.
			"tkey-gssapi-credential" is no longer required
			and is expected to be deprecated.  (Contributed
			by Andrew Tridgell of the Samba project.)
			[RT #22629]
2010-12-18 01:56:23 +00:00
Mark Andrews
273757406a .zone -> .db 2010-12-17 00:57:39 +00:00
Tatuya JINMEI 神明達哉
743bbdc18f 2947. [func] Add new zone type "static-stub". It's like a stub
zone, but the nameserver names and/or their IP
			addresses are statically configured. [RT #21474]

(for 9.8.0)
2010-12-16 09:51:30 +00:00
Evan Hunt
bbedadf76a 2985. [bug] Add a regression test for change #2896. [RT #21324] 2010-12-15 18:44:37 +00:00
Mark Andrews
9f9b7f0e8d 2982. [bug] Reference count dst keys. dst_key_attach() can be used
increment the reference count.

                        Note: dns_tsigkey_createfromkey() callers should now
                        always call dst_key_free() rather than setting it
                        to NULL on success. [RT #22672]
2010-12-09 00:54:34 +00:00
Automatic Updater
b8a9a7bef2 update copyright notice 2010-12-08 23:51:56 +00:00
Mark Andrews
b9f2d007c5 2981. [func] Partial DNS64 support (AAAA synthesis). [RT #21991] 2010-12-08 05:01:00 +00:00
Mark Andrews
e334405421 2981. [func] Partial DNS64 support (AAAA synthesis). [RT #21991] 2010-12-08 02:46:17 +00:00
Automatic Updater
a4b8846651 update copyright notice 2010-12-07 23:47:02 +00:00
Mark Andrews
8aee18709f 2980. [bug] named didn't properly handle UPDATES that changed the
TTL of the NSEC3PARAM RRset. [RT #22363]
2010-12-07 02:53:34 +00:00
Mark Andrews
82f0630bae 2977. [bug] 'nsupdate -l' report if the session key is missing.
[RT #21670]
2010-12-03 00:37:33 +00:00
Automatic Updater
326a702a35 update copyright notice 2010-12-02 23:46:56 +00:00
Mark Andrews
c87f15dac8 2976. [bug] named die on exit after negotiating a GSS-TSIG key. [RT #3415] 2010-12-02 23:22:42 +00:00
Automatic Updater
e085624e0f update copyright notice 2010-11-30 23:46:55 +00:00
Evan Hunt
b5b934a0bb 2974. [bug] Some vaild UPDATE requests could fail due to a
consistency check examining the existing version
			of the zone rather than the new version resulting
			from the UPDATE. [RT #22413]
2010-11-30 02:27:08 +00:00
Automatic Updater
33cc94f04c update copyright notice 2010-11-17 23:47:09 +00:00
Mark Andrews
d48730a446 2970. [security] Adding a NO DATA negative cache entry failed to clear
any matching RRSIG records.  A subsequent lookup of
                        of NO DATA cache entry could trigger a INSIST when the
                        unexpected RRSIG was also returned with the NO DATA
                        cache entry.  [RT #22288]
2010-11-16 06:46:44 +00:00
Shawn Routhier
380c874925 Fix acl type processing so that allow-query works in options and view
statements.  Also add a new set of tests to verify proper functioning.
[RT #22418]
2010-11-16 01:37:39 +00:00
Mark Andrews
a27b3757fd 2968. [security] Named could fail to prove a data set was insecure
before marking it as insecure.  One set of conditions
                        that can trigger this occurs naturally when rolling
                        DNSKEY algorithms.  [RT #22309]
2010-11-16 01:14:51 +00:00
Mark Andrews
13dae6ff58 silence 'Null terminator in string initializer ignored.' warning 2010-10-04 22:27:41 +00:00
Automatic Updater
9b367fcfe6 update copyright notice 2010-09-29 23:47:05 +00:00
Mark Andrews
34f010449c #include <isc/print.h> 2010-09-29 04:30:13 +00:00
Mark Andrews
2015023399 2965. [func] Test HMAC functions using test data from RFC 2104 and RFC 4634. [RT #21702] 2010-09-29 04:00:16 +00:00
Mark Andrews
ed83fa75f5 2963. [security] The allow-query acl was being applied instead of the
allow-query-cache acl to cache lookups. [RT #22114]
2010-09-24 05:09:03 +00:00
Mark Andrews
165501a801 simplify grep 2010-09-15 23:22:02 +00:00
Evan Hunt
cff5da57d6 The "resolver" test was failing on systems with old versions of "grep". 2010-09-15 15:45:07 +00:00
Automatic Updater
3255640981 update copyright notice 2010-09-15 12:38:36 +00:00
Mark Andrews
082f42dcf2 2960. [func] Check that named accepts non-authoritative answers.
[RT #21594]
2010-09-15 12:07:56 +00:00
Mark Andrews
c75523bcb3 2959. [func] Check that named starts with a missing masterfile.
[RT #22076]

2958.   [bug]           named failed to start with a missing master file.
                        [RT #22076]
2010-09-15 03:32:34 +00:00
Mark Andrews
240a7dc59d 2951. [bug] named failed to generate a correct signed response
in a optout, delegation only zone with no secure
                        delegations. [RT #22007]
2010-09-07 00:58:36 +00:00
Automatic Updater
dac2623103 update copyright notice 2010-08-25 23:46:37 +00:00
Mark Andrews
17be07ab81 2948. [port] MacOS: provide a mechanism to configure the test
interfaces at reboot. See bin/tests/system/README
                        for details.
2010-08-25 04:51:51 +00:00
Automatic Updater
7202b5cf66 update copyright notice 2010-08-17 23:46:46 +00:00
Mark Andrews
e0c50ca36a update default id range to match that used (1..7) 2010-08-17 04:08:57 +00:00
Mark Andrews
c6f4972c74 2943. [func] Add support to load new keys into managed zones
without signing immediately with "rndc loadkeys".
                        Add support to link keys with "dnssec-keygen -S"
                        and "dnssec-settime -S".  [RT #21351]
2010-08-16 22:21:07 +00:00
Mark Andrews
8bc194b266 2941. [bug] sdb and sdlz (dlz's zone database) failed to support
DNAME at the zone apex.  [RT #21610]
2010-08-16 04:49:14 +00:00
Automatic Updater
2b43d1d8c5 update copyright notice 2010-08-13 23:47:04 +00:00
Mark Andrews
c73d8c1b72 2938. [bug] When skipping NSEC3 records that don't match the
current NSEC3PARAM record in use for zone named
                        could dereference a uninitialised pointer attempting
                        to obtain a lock. [RT# 21868]
2010-08-13 06:46:25 +00:00
Francis Dupont
bf22bad528 removing unused 2010-08-12 09:52:35 +00:00
Francis Dupont
13f0ecd037 re-indent 2010-08-12 09:31:50 +00:00
Mark Andrews
bde46569f3 .orig -> .in as .orig is used by patch 2010-08-12 01:31:36 +00:00
Evan Hunt
cfd262045c 2936. [func] Improved configuration syntax and multiple-view
support for addzone/delzone feature (see change
			#2930).  Removed "new-zone-file" option, replaced
			with "allow-new-zones (yes|no)".  The new-zone-file
			for each view is now created automatically, with
			a filename generated from a hash of the view name.
			It is no longer necessary to "include" the
			new-zone-file in named.conf; this happens
			automatically.  Zones that were not added via
			"rndc addzone" can no longer be removed with
			"rndc delzone". [RT #19447]
2010-08-11 18:14:20 +00:00
Evan Hunt
cb933b69ff 2932. [cleanup] Corrected a numbering error in the "dnssec" test.
[RT #21597]
2010-08-09 22:34:56 +00:00
Tatuya JINMEI 神明達哉
f1f39b7e07 2931. [bug] Temporarily and partially disable change 2864
because it would cause inifinite attempts of RRSIG
			queries.  This is an urgent care fix; we'll
			revisit the issue and complete the fix later.
			[RT #21710]
2010-07-15 01:17:45 +00:00
Evan Hunt
5312c2ffbe dnssec and dlv tests included master zones whose master files were missing.
this was a bug that hadn't been noticed before, but 19447 added a test for
that condition and it caused test failures.
2010-07-11 01:18:24 +00:00
Mark Andrews
a7d2b922ee match the dig.out.ns#.$n to the nameserver 2010-06-28 01:34:11 +00:00
Mark Andrews
8fa6ca58b6 check that we have non-cachable answers to test against 2010-06-28 01:31:49 +00:00
Automatic Updater
1b67d9b719 update copyright notice 2010-06-26 23:46:49 +00:00
Mark Andrews
810656a187 2925. [bug] Named failed to accept uncachable negative responses
from insecure zones. [RT# 21555]
2010-06-25 23:50:13 +00:00
Automatic Updater
cf309ffeee update copyright notice 2010-06-25 23:46:51 +00:00
Mark Andrews
f35a87f58f remove leading zeros on keyid
account for trusted keys not applying to _bind anymore
2010-06-25 07:28:46 +00:00
Mark Andrews
bf13e709db 2924. [func] 'rndc secroots' dump a combined summary of the
current managed keys combined with trusted keys.
                        [RT #20904]
2010-06-25 03:24:05 +00:00
Automatic Updater
b8d4e96e95 update copyright notice 2010-06-23 23:46:58 +00:00
Automatic Updater
b61690dbad update copyright notice 2010-06-22 23:46:52 +00:00
Mark Andrews
48dfee7150 2920. [func] Allow 'filter-aaaa-on-v4' to be applied selectively
to IPv4 clients.  New acl 'filter-aaaa' (default any).
2010-06-22 04:03:38 +00:00
Automatic Updater
c7c7ba3977 update copyright notice 2010-06-21 23:46:48 +00:00
Mark Andrews
718c4becc5 2919. [func] Add autosign-ksk and autosign-zsk virtual time tests.
[RT #20840]
2010-06-21 02:31:46 +00:00
Automatic Updater
efa460418c update copyright notice 2010-06-18 23:46:43 +00:00
Mark Andrews
43c770b998 2917. [func] Virtual time test framework. [RT #20801] 2010-06-17 05:39:19 +00:00
Automatic Updater
263874836b update copyright notice 2010-06-11 23:46:49 +00:00
Mark Andrews
96fae19c97 restore export of PERL PK11GEN PK11LIST PK11DEL 2010-06-11 01:57:36 +00:00
Mark Andrews
9a56f03c4c 2916. [func] Add framework to use IPv6 in tests.
fd92:7065:b8e:ffff::1 ... fd92:7065:b8e:ffff::7
2010-06-10 06:19:52 +00:00
Automatic Updater
ad0471f93b update copyright notice 2010-06-08 23:50:24 +00:00
Mark Andrews
e24ccb512c 2914. [bug] Make the "autosign" system test more portable.
[RT #20997]
2010-06-07 04:45:43 +00:00
Mark Andrews
63af1a646a 2913. [func] Add pkcs#11 system tests. [RT #20784] 2010-06-07 03:42:37 +00:00
Mark Andrews
5ee4d3f2ee iterations is -H 2010-06-04 00:04:39 +00:00
Automatic Updater
6e13ffa218 update copyright notice 2010-06-03 23:51:05 +00:00
Mark Andrews
e74c3a0f59 specify NSEC3 iterations 2010-06-03 21:44:49 +00:00
Mark Andrews
10acc63770 2911. [bug] dnssec-signzone didn't handle out of zone records well.
[RT #21367]
2010-06-03 06:29:03 +00:00
Mark Andrews
675cc80975 2911. [bug] dnssec-signzone didn't handle out of zone records well.
[RT #21367]
2010-06-03 03:13:32 +00:00
Automatic Updater
a2d2fc17b0 update copyright notice 2010-06-02 01:28:40 +00:00
Mark Andrews
a27bbd21cf 2909. [bug] named-checkzone -p could die if "update-policy local;"
was specified in named.conf. [RT #21416]
2010-06-02 01:07:47 +00:00
Automatic Updater
248b9ab0b0 update copyright notice 2010-05-27 23:51:08 +00:00
Automatic Updater
051dec6fb7 update copyright notice 2010-05-26 23:50:47 +00:00
Mark Andrews
b4c6ce22d0 call sign.sh robustly 2010-05-26 07:00:37 +00:00
Mark Andrews
e27d55e3ee 2904. [bug] When using DLV, sub-zones of the zones in the DLV,
could be incorrectly marked as insecure instead of
                        secure leading to negative proofs failing.  This was
                        a unintended outcome from change 2890. [RT# 21392]
2010-05-26 06:28:00 +00:00
Automatic Updater
15c961a1dd update copyright notice 2010-05-19 09:33:50 +00:00
Mark Andrews
5ae2eac4c1 2902. [func] Add regression test for change 2897. [RT #21040] 2010-05-19 07:45:38 +00:00
Mark Andrews
b667946fa5 2900. [bug] The placeholder negative caching element was not
properly constructed triggering a INSIST in
                        dns_ncache_towire(). [RT #21346]
2010-05-19 06:39:50 +00:00
Mark Andrews
44f175a90a 2892. [bug] Handle REVOKED keys better. [RT #20961] 2010-05-14 04:38:52 +00:00
Mark Andrews
f2ae969065 handle revoke changes 2010-05-06 11:28:20 +00:00
Automatic Updater
4d42b714be update copyright notice 2010-03-04 23:50:34 +00:00
Mark Andrews
56c2c3835f 10.53.0.1 through 10.53.0.5 -> 10.53.0.1 through 10.53.0.7 2010-03-04 20:34:16 +00:00
Evan Hunt
ecde9a1cd5 smartsign fails on slow machines. delay the timing-sensitive
dnssec-settime call as long as possible.
2010-01-19 15:54:45 +00:00
Automatic Updater
6bb1560124 update copyright notice 2010-01-18 23:48:40 +00:00
Evan Hunt
e11a0c114c 2841. [func] Added "smartsign" and improved "autosign" and
"dnssec" regression tests. [RT #20865]
2010-01-18 19:19:31 +00:00
Automatic Updater
5bdf8cd3c2 update copyright notice 2010-01-13 23:48:59 +00:00
Evan Hunt
20624f43c3 removed lines inadvertently committed 2010-01-13 19:29:38 +00:00
Automatic Updater
65d1486535 update copyright notice 2010-01-11 23:48:37 +00:00
Francis Dupont
a91029a00e Prevent Linux spurious warnings about fwrite(). [RT #20812] 2010-01-11 10:49:14 +00:00
Automatic Updater
a30c7003af update copyright notice 2010-01-07 23:48:54 +00:00
Evan Hunt
597642c0ba 2831. [security] Do not attempt to validate or cache
out-of-bailiwick data returned with a secure
			answer; it must be re-fetched from its original
			source and validated in that context. [RT #20819]
2010-01-07 16:48:23 +00:00
Tatuya JINMEI 神明達哉
d8680445d6 2828. [security] Cached CNAME or DNAME RR could be returned to clients
without DNSSEC validation. [RT #20737]

9.4-ESV, 9.5.3, 9.6.2, 9.7.0, 9.8.0(?)
2009-12-30 08:02:23 +00:00
Evan Hunt
f766024a27 change all keys from rsasha1 to nsec3rsasha1 so that the nsec->nsec3
transitions work correctly.  (they worked before, but weren't supposed
to; when that bug was fixed, the test broke.)
2009-12-19 17:30:31 +00:00
Automatic Updater
8b82c01d74 update copyright notice 2009-12-06 23:48:29 +00:00
Evan Hunt
0d796b1aaa improve cleanup and add named.run to .cvsignore files 2009-12-06 03:04:39 +00:00
Evan Hunt
12178c8652 2805. [bug] Fixed namespace problems encountered when building
external programs using non-exported BIND9 libraries
			(i.e., built without --enable-exportlib). [RT #20679]
2009-12-05 23:31:41 +00:00
Automatic Updater
4b6dc226f7 update copyright notice 2009-12-04 22:06:37 +00:00
Mark Andrews
5d850024cb 2800. [func] Reject zones which have NS records which refer to
CNAMEs, DNAMEs or don't have address record (class IN
                        only).  Reject UPDATEs which would cause the zone
                        to fail the above checks if committed. [RT #20678]
2009-12-04 03:33:15 +00:00
Mark Andrews
ecbbb29519 add copyright 2009-12-03 04:51:41 +00:00
Evan Hunt
6a4d6e3379 adapted to the special needs of solaris's really old awk 2009-12-02 17:54:45 +00:00
Evan Hunt
095810f8cb fixed autosign/metadata brokenness on solaris [rt20685] 2009-12-02 05:42:15 +00:00
Automatic Updater
ffd297db79 update copyright notice 2009-11-30 23:48:02 +00:00
Evan Hunt
7511904837 add cvsignore files 2009-11-30 21:03:17 +00:00
Evan Hunt
75b8de8787 Create automatic tests "autosign" and "metadata". [rt19946] 2009-11-30 21:00:48 +00:00
Automatic Updater
fe2b9bf570 update copyright notice 2009-11-18 23:48:07 +00:00
Mark Andrews
a39a5f4d81 2772. [security] When validating, track whether pending data was from
the additional section or not and only return it if
                        validates as secure. [RT #20438]
2009-11-17 23:55:18 +00:00
Mark Andrews
0a30185f80 2748. [func] Identify bad answers from GTLD servers and treat them
as referrals. [RT #18884]
2009-11-04 02:15:30 +00:00
Mark Andrews
c6d2578fd6 2741. [func] Allow the dnssec-keygen progress messages to be
suppressed (dnssec-keygen -q).  Automatically
                        suppress the progress messages when stdin is not
                        a tty. [RT #20474]
2009-10-28 00:27:10 +00:00
Automatic Updater
990dca4605 update copyright notice 2009-10-27 23:47:45 +00:00
Mark Andrews
e09cdbac08 2738. [func] Add RSASHA256 and RSASHA512 tests to the dnssec system
test. [RT #20453]
2009-10-27 22:25:37 +00:00
Evan Hunt
72cfcb48a7 cleanup ddns.key after nsupdate test 2009-10-27 05:57:06 +00:00
Evan Hunt
0ce9fba8f0 cleanup DLV test 2009-10-27 05:49:50 +00:00
Evan Hunt
fb596cc9af 2691. [func] dnssec-signzone: retain the existing NSEC or NSEC3
chain when re-signing a previously-signed zone.
			Use -u to modify NSEC3 parameters or switch
			between NSEC and NSEC3. [RT #20304]
2009-09-25 06:47:50 +00:00
Evan Hunt
30a60d2aff On some slower systems the startup is delayed and this causes an
apparent transfer failure on the initial calls to dig.  Adding a test
here to make sure the zones are fully loaded before attempting to query
them.
2009-09-04 17:14:58 +00:00
Automatic Updater
d7201de09b update copyright notice 2009-09-02 23:48:03 +00:00
Automatic Updater
823ca3c14f update copyright notice 2009-09-01 23:47:45 +00:00
Tatuya JINMEI 神明達哉
ee537376ad avoid using @< (which some make don't seem to understand) for portability 2009-09-01 22:30:28 +00:00
Evan Hunt
93ebf0fc08 - add .cvsignore files
- silence tinderbox warnings about missing config.h in a few files.
2009-09-01 20:13:44 +00:00
Tatuya JINMEI 神明達哉
a27fe4c990 2667. [func] Add support for logging stack backtrace on assertion
failure (not available for all platforms). [RT #19780]
9.7.0
2009-09-01 18:40:25 +00:00
Tatuya JINMEI 神明達哉
307d208450 2660. [func] Add a new set of DNS libraries for non-BIND9
applications.  See README.libdns. [RT #19369]
2009-09-01 00:22:28 +00:00
Evan Hunt
4103d428a9 use genrandom to produce random data for input to ddns-confgen 2009-07-30 15:11:41 +00:00
Automatic Updater
0282f038eb update copyright notice 2009-07-29 23:47:43 +00:00
Evan Hunt
9069215eac 2641. [bug] Fixed an error in parsing update-policy syntax,
added a regression test to check it. [RT #20007]
2009-07-29 17:52:00 +00:00
Automatic Updater
26d8ffe715 update copyright notice 2009-07-19 23:47:55 +00:00
Evan Hunt
553ead32ff 2636. [func] Simplify zone signing and key maintenance with the
dnssec-* tools.  Major changes:
			- all dnssec-* tools now take a -K option to
			  specify a directory in which key files will be
			  stored
			- DNSSEC can now store metadata indicating when
			  they are scheduled to be published, acttivated,
			  revoked or removed; these values can be set by
			  dnssec-keygen or overwritten by the new
			  dnssec-settime command
			- dnssec-signzone -S (for "smart") option reads key
			  metadata and uses it to determine automatically
			  which keys to publish to the zone, use for
			  signing, revoke, or remove from the zone
			[RT #19816]
2009-07-19 04:18:05 +00:00
Automatic Updater
6815ef40df update copyright notice 2009-06-26 23:47:58 +00:00
Mark Andrews
870332fb6d 2617. [bug] ifconfig.sh failed to emit an error message when
run from the wrong location. [RT #19375]
2009-06-26 06:08:40 +00:00
Automatic Updater
39844d4710 update copyright notice 2009-06-04 02:56:47 +00:00
Mark Andrews
2534a73a59 2608. [func] Perform post signing verification checks in
dnssec-signzone.  These can be disabled with -P.

                        The post sign verification test ensures that for each
                        algorithm in use there is at least one non revoked
                        self signed KSK key.  That all revoked KSK keys are
                        self signed.  That all records in the zone are signed
                        by the algorithm.  [RT #19653]
2009-06-04 02:13:37 +00:00
Automatic Updater
e6ada020f5 update copyright notice 2009-05-29 23:47:49 +00:00
Tatuya JINMEI 神明達哉
40d0f115a6 2604. [func] Add support for DNS rebinding attack prevention through
new options, deny-answer-addresses and
			deny-answer-aliases.  Based on contributed code from
			JD Nurmi, Google. [RT #18192]
2009-05-29 22:22:37 +00:00
Automatic Updater
4f91bcae43 update copyright notice 2009-03-02 23:47:43 +00:00
Evan Hunt
ca42dcc068 2569. [func] Move journalprint, nsec3hash, and genrandom
commands from bin/tests into bin/tools;
                        "make install" will put them in $sbindir. [RT #19301]
2009-03-02 03:54:10 +00:00
Mark Andrews
1cac6c196f report and abort on getcwd() failures 2009-03-02 02:48:02 +00:00
Mark Andrews
56fe846d21 report write error. [RT #19360] 2009-03-02 02:42:50 +00:00
Mark Andrews
e4c6491bbf 2565. [func] Add support for HIP record. Includes new functions
dns_rdata_hip_first(), dns_rdata_hip_next()
                        and dns_rdata_hip_current().  [RT #19384]
2009-02-26 06:09:19 +00:00
Automatic Updater
53f0234c3e update copyright notice 2009-02-06 23:47:42 +00:00
Francis Dupont
c1d7e0562f OpenSSL hashes 2009-02-06 12:26:23 +00:00
Automatic Updater
8b835581b4 update copyright notice 2009-01-30 23:47:50 +00:00
Mark Andrews
14810640b7 2539. [security] Update the interaction between recursion, allow-query,
allow-query-cache and allow-recursion.  [RT #19198]
2009-01-30 08:19:00 +00:00
Automatic Updater
3319413a67 update copyright notice 2009-01-22 23:47:54 +00:00
Mark Andrews
f148f53794 2536. [cleanup] Silence some warnings when -Werror=format-security is
specified. [RT #19083]
2009-01-22 05:39:29 +00:00
Automatic Updater
83b86f3936 update copyright notice 2009-01-21 23:47:27 +00:00
Mark Andrews
31b7a2fed6 2534. [func] Check NAPTR records regular expressions and
replacement strings to ensure they are syntaxically
                        valid and consistant. [RT #18168]
2009-01-21 05:37:55 +00:00
Evan Hunt
95de316a5d suppress an error message on solaris. [rt18253] 2008-10-09 21:27:52 +00:00
Mark Andrews
6edc665a3d return rather than exit from main 2008-09-26 01:31:19 +00:00
Automatic Updater
3398334b3a update copyright notice 2008-09-25 04:02:39 +00:00
Mark Andrews
5737b74d34 2453. [bug] Remove NULL pointer dereference in dns_journal_print().
[RT #18316]

2452.   [func]          Improve bin/test/journalprint. [RT #18316]
2008-09-25 02:01:45 +00:00
Mark Andrews
6098d364b6 2448. [func] Add NSEC3 support. [RT #15452] 2008-09-24 02:46:23 +00:00
Francis Dupont
cbb8a1b7cb Support Solaris 2.11 and over. [RT #18362] 2008-07-25 20:40:07 +00:00
Mark Andrews
240e53b132 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
part 2
2008-07-23 23:27:54 +00:00
Automatic Updater
1d16cf8bb8 update copyright notice 2008-07-22 23:47:04 +00:00
Mark Andrews
9de0f9b0ae 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
2008-07-22 03:43:04 +00:00
Evan Hunt
7ed4399c65 remove 'grep -q' from acl test script, some platforms don't
support it. [rt18253]
2008-07-19 00:02:14 +00:00
Mark Andrews
862015b91f cleanup 2008-07-17 01:15:34 +00:00
Automatic Updater
ebce5dc2fe update copyright notice 2008-05-19 23:47:03 +00:00
Mark Andrews
b3ac666ce5 silence linker warning: add ${LDFLAGS} 2008-05-19 00:36:14 +00:00
Automatic Updater
1dd754dcdf update copyright notice 2008-04-24 23:46:59 +00:00
Evan Hunt
66e50468dd Change rrsetorder test two ways:
1) only test "fixed" ordering if it was compiled in
2) test whether "cyclic" ordering is cyclic, but don't
   rely on the initial state being predictable
[rt17977]
2008-04-24 21:50:27 +00:00
Automatic Updater
a687db7ce8 update copyright notice 2008-04-02 23:46:58 +00:00
Mark Andrews
3f42cf2f3e 2349. [func] Provide incremental re-signing support for secure
dynamic zones. [RT #1091]

back out incorrect branch rt1091 and apply correct branch rt1091a.
2008-04-02 02:37:42 +00:00
Automatic Updater
0a7e6db2db update copyright notice 2008-03-20 23:47:00 +00:00
Mark Andrews
ea8564f68a 2342. [func] Use getifaddrs() if available under Linux. [RT #17224] 2008-03-20 04:51:00 +00:00
Automatic Updater
f9760f7b6a update copyright notice 2008-03-03 23:47:02 +00:00
Mark Andrews
d9936b218d 2340. [port] openbsd: interface configuration. [RT #17700] 2008-03-03 01:20:03 +00:00
Evan Hunt
262c39b236 IPv6 addresses could match IPv4 ACL entries and vice versa. [RT #17462] 2008-01-21 20:38:54 +00:00
Automatic Updater
2f012d936b update copyright notice 2008-01-18 23:46:58 +00:00
Automatic Updater
9d5ed744c4 update copyright notice 2008-01-14 23:46:56 +00:00
Mark Andrews
034f775ae1 2301. [bug] Remove resource leak and fix error messages in
bin/tests/system/lwresd/lwtest.c. [RT #17474]
2008-01-14 12:02:11 +00:00
Mark Andrews
80f20cb452 2300. [bug] Fixed failure to close open file in
bin/tests/names/t_names.c. [RT #17473]
2008-01-14 11:47:48 +00:00
Automatic Updater
c5d57a13ac update copyright notice 2008-01-12 23:47:13 +00:00
Mark Andrews
494143860b 2298. [bug] isc_mutex_lock() failure not caught in
bin/tests/timers/t_timers.c. [RT #17468]
2008-01-12 21:58:25 +00:00
Mark Andrews
400a1b6604 2297. [bug] isc_entropy_createfilesource() failure not caught in
bin/tests/dst/t_dst.c. [RT #17467]
2008-01-12 21:48:37 +00:00
Automatic Updater
6f2e211d39 update copyright notice 2008-01-10 23:47:01 +00:00
Mark Andrews
1c9f629c18 2293. [func] Add ACL regression test. [RT #17375] 2008-01-10 01:10:01 +00:00
Automatic Updater
1da14e066c update copyright notice 2008-01-02 23:47:02 +00:00
Mark Andrews
f5d0f49584 2285. [func] Test framework for client memory context management.
[RT #17377]
2008-01-02 05:03:07 +00:00
Mark Andrews
604419a812 2282. [bug] Acl code fixups. [RT #17346] 2007-12-20 01:48:29 +00:00
Mark Andrews
8b6418238d remove ns2/dlv.db when cleaning 2007-10-30 23:56:09 +00:00
Mark Andrews
a1e2170ad5 2250. [func] New flag 'memstatistics' to state whether the
memory statistics file should be written or not.
                        Additionally named's -m option will cause the
                        statistics file to be written. [RT #17113]
2007-09-26 03:22:45 +00:00
Mark Andrews
8c76634f88 2246. [bug] Make the startup of test servers (ans.pl) more
robust. [RT #17147]
2007-09-24 04:13:25 +00:00
Mark Andrews
12e0477d4e Part 2 of:
2233.   [func]          Add support for O(1) ACL processing, based on
                        radix tree code originally written by kevin
                        brintnall. [RT #16288]
2007-09-14 01:46:06 +00:00
Evan Hunt
d468b1b7b2 Fix compiler warnings on SCO OSr5 2007-09-13 04:45:18 +00:00
Automatic Updater
70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Automatic Updater
db529702d0 update copyright notice 2007-05-15 23:46:57 +00:00
Mark Andrews
fe3220466e 2180. [cleanup] Remove bit test from 'compress_test' as they
are no longer needed. [RT #16497]
2007-05-15 05:39:59 +00:00
Automatic Updater
db100c22d6 update copyright notice 2007-04-26 23:46:52 +00:00
Mark Andrews
429e23d2f5 2170. [func] Add acache processing to test suite. [RT #16711] 2007-04-26 04:06:50 +00:00
Automatic Updater
1b5a345334 update copyright notice 2007-03-06 02:12:39 +00:00
Mark Andrews
a56f5ada43 2157. [func] dns_db_transfernode() created. [RT #16685]
2156.   [bug]           Fix node reference leaks in lookup.c:lookup_find(),
                        resolver.c:validated() and resolver.c:cache_name().
                        Fix a memory leak in rbtdb.c:free_noqname().
                        Make lookup.c:lookup_find() robust against
                        event leaks. [RT #16685]
2007-03-06 00:38:58 +00:00
Automatic Updater
3ee5ba2a22 update copyright notice 2007-02-27 23:46:48 +00:00
Mark Andrews
b53871d859 2151. [bug] Missing newline in usage message for journalprint.
[RT #16679]
2007-02-27 00:39:37 +00:00
Mark Andrews
92f56936fb update copyright notice 2007-01-09 03:11:16 +00:00
Mark Andrews
7acb804e7f update copyright notice 2007-01-09 02:44:24 +00:00
Mark Andrews
1814d2108d update copyright notice 2006-12-07 23:57:59 +00:00
Mark Andrews
d85db585c6 remove DNS_R_TOOMANYHOPS test 2006-12-07 13:23:14 +00:00
Mark Andrews
a8df4b078b specify libtool mode 2006-12-05 23:12:50 +00:00
Mark Andrews
377231eb95 update copyright notice 2006-12-05 00:13:48 +00:00
Mark Andrews
81a8c6c938 @DST_GSSAPI_INC@ should not be on a line by itself and it breaks some makes 2006-12-04 22:09:50 +00:00
Mark Andrews
08527676bf t_lib not needed 2006-12-04 05:54:16 +00:00
Mark Andrews
a7449c24fb handle eof 2006-12-04 05:53:49 +00:00
Mark Andrews
ea661eaf4e gsstest doesn't need t_libMakefile.in 2006-12-04 05:39:39 +00:00
Mark Andrews
289ae548d5 2105. [func] GSS-TSIG support (RFC 3645). 2006-12-04 01:54:53 +00:00
Mark Andrews
896e6a0e44 update copyright notice 2006-08-25 05:25:52 +00:00
Mark Andrews
c781727055 2076. [bug] Several files were missing #include <config.h>
causing build failures on OSF. [RT #16341]
2006-08-24 00:17:54 +00:00
Mark Andrews
458bcfaee0 update copyright notice 2006-08-16 23:54:35 +00:00
Mark Andrews
02ced31b6a 2072. [bug] We were not generating valid HMAC SHA digests.
[RT #16320]
2006-08-16 03:15:09 +00:00
Mark Andrews
7ad89b5ecd update copyright notice 2006-07-21 02:05:58 +00:00
Mark Andrews
be515937fe 2054. [port] freebsd: do not explicitly link against -lpthread.
[RT #16170]
2006-07-20 05:42:09 +00:00
Mark Andrews
d6b5e0b0e8 update copyright notice 2006-03-10 00:23:21 +00:00
Mark Andrews
cfe92110ce 2007. [func] It is now possible to explicitly enable DNSSEC
validation.  default dnssec-validation no; to
                        be changed to yes in 9.5.0.  [RT #15674]
2006-03-09 23:21:54 +00:00
Mark Andrews
59d84d1b07 2001. [func] Check the KSK flag when updating a secure dynamic zone.
New zone option "update-check-ksk yes;".  [RT #15817]
2006-03-06 01:27:52 +00:00
Mark Andrews
ea8874ec35 update copyright notice 2006-03-05 23:58:52 +00:00
Mark Andrews
d76ed813a5 1999. [func] Implement "rrset-order fixed". [RT #13662] 2006-03-03 00:43:35 +00:00
Mark Andrews
8131d4ed6d update copyright notice 2006-02-26 23:49:50 +00:00
Mark Andrews
95b484c958 fix minor typos 2006-02-26 22:57:18 +00:00
Mark Andrews
26e2a07a0b update copyright notice 2006-01-27 23:57:46 +00:00
Mark Andrews
c6d4f78152 1973. [func] TSIG HMACSHA1, HMACSHA224, HMACSHA256, HMACSHA384 and
HMACSHA512 support. [RT #13606]
2006-01-27 02:35:15 +00:00
Mark Andrews
141132c272 update copyright notice 2006-01-07 00:23:35 +00:00
Mark Andrews
08c58709fa specify -D as libtool does not preserve argv0. 2006-01-06 06:55:28 +00:00
Mark Andrews
b44f48a31a remove ns1/example.db.raw 2006-01-06 06:53:57 +00:00
Mark Andrews
35da39a7f1 update copyright notice 2006-01-04 00:37:24 +00:00
Mark Andrews
2a90390dee 1945. [cleanup] dnssec-keygen: RSA (RSAMD5) is nolonger recommended.
To generate a RSAMD5 key you must explictly request
                        RSAMD5. [RT #13780]
2006-01-03 06:06:04 +00:00
Mark Andrews
5c6e60df66 update copyright notice 2005-11-30 23:52:54 +00:00
Mark Andrews
2674e1a455 1940. [bug] Fixed a number of error conditions reported by
Coverity.
2005-11-30 03:33:49 +00:00
Mark Andrews
e6d667397a update copyright notice 2005-11-03 00:02:56 +00:00
Mark Andrews
d29c05346a address timing issue in tests 2005-11-02 04:56:49 +00:00
Mark Andrews
3a58ea619a update copyright notice 2005-09-30 00:39:50 +00:00
Mark Andrews
80a609bf44 1919. [bug] The cache memory context array was too small to
have the desired performance characteristics.
                        [RT #15454]

stop.pl Increase amount of time allowed for named to stop before aborting the
server.
2005-09-28 04:36:06 +00:00
Mark Andrews
c5f4c17c4c update copyright notice 2005-09-13 00:35:29 +00:00
Mark Andrews
4cabb8becd fix cleanup 2005-09-12 22:35:05 +00:00
Mark Andrews
675d696977 update copyright notice 2005-09-06 03:51:37 +00:00
Mark Andrews
03e200df5d 1913. [func] Integrate contibuted DLZ code into named. [RT #11382] 2005-09-05 00:12:29 +00:00
Mark Andrews
5be3685b0e 1919. [bug] dig's +sigchase code overhauled. [RT #14933]
1918.   [bug]           The DLV code has been re-worked to make no longer
                        query order sensitive. [RT #14933]
2005-08-25 00:56:08 +00:00
Mark Andrews
2c15fcdeac seperate out sibling glue checks 2005-08-24 23:54:04 +00:00
Mark Andrews
4e1d3e67cd 1914. [bug] Strings returned from cfg_obj_asstring() should be
treated as read-only.  The prototype for
                        cfg_obj_asstring() has been updated to reflect this.
                        [RT #15256]
2005-08-23 02:36:11 +00:00
Mark Andrews
ec8f4b0adb remove white space 2005-07-27 04:12:00 +00:00
Mark Andrews
54a5ca24e1 uintptr_t is in <inttypes.h> on some platforms 2005-07-19 05:57:12 +00:00
Mark Andrews
b0ceeb82e5 update copyright notice 2005-07-18 23:59:36 +00:00
Mark Andrews
6e9efadbea 1902. [port] Use uintptr_t if available. [RT #14606] 2005-07-18 05:07:17 +00:00
Mark Andrews
aa0f0779d1 1901. [func] Support for SPF rdata type. [RT #15033] 2005-07-14 06:46:44 +00:00
Mark Andrews
9297259c7a make adb_test and byname_test compile and run 2005-06-23 23:49:35 +00:00
Mark Andrews
2bef371309 1890. [func] Add a system test for named-checkconf. [RT #14931] 2005-06-23 06:52:23 +00:00
Mark Andrews
618e5825c5 update copyright notice 2005-06-22 00:10:30 +00:00
Mark Andrews
a903095bf4 1817. [func] add support for additional zone file formats for
improving loading performance.  The masterfile-format
                        option in named.conf can be used to specify a
                        non-default format.  A new separate command
                        named-compilezone was provided to generate zone files
                        in a new format.
2005-06-20 01:05:33 +00:00
Mark Andrews
94271b0d99 extent timeout now that we are have memrecord on 2005-06-19 05:49:22 +00:00
Mark Andrews
f2daad8ac3 update copyright notice 2005-06-12 00:03:20 +00:00
Mark Andrews
d4d68515d2 1885. [func] Additional memory debugging support to track size
and mctx arguements. [RT #14814]
2005-06-10 07:00:20 +00:00
Mark Andrews
e7fb847ed5 1883. [port] sunos: portability fixes. [RT #14814] 2005-06-08 02:09:18 +00:00
Mark Andrews
0c545eb705 update copyright notice 2005-05-30 02:00:39 +00:00
Mark Andrews
e123ebc1aa integrity check cleanup 2005-05-24 04:30:10 +00:00
Mark Andrews
172d748152 update copyright notice 2005-05-20 01:09:36 +00:00
Mark Andrews
c5223c9cb7 1862. [func] Add additional zone data constancy checks.
named-checkzone has extended checking of NS, MX and
                        SRV record and the hosts they reference.
                        named has extended post zone load checks.
                        New zone options: check-mx and integrity-check.
                        [RT #4940]
2005-05-19 04:59:05 +00:00
Mark Andrews
69fe9aaafd update copyright notice 2005-04-29 00:24:12 +00:00
Rob Austein
ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews
9f069b2771 update copyright notice 2005-03-17 03:56:12 +00:00
Mark Andrews
b6b21d8045 silence compiler warnings 2005-03-16 22:22:31 +00:00
Mark Andrews
bf2a612889 1836. [cleanup] Silence compiler warnings in hash_test.c 2005-03-16 19:56:29 +00:00
Mark Andrews
ac47be4d71 1836. [cleanup] Silence compiler warnings in hash_test.c 2005-03-16 19:45:45 +00:00
Mark Andrews
5c9d44a068 conflict w/ builtin, log -> lctx. 2005-03-16 13:52:51 +00:00
Mark Andrews
36ff1620e4 missing ${LIBTOOL_MODE_LINK} 2005-03-16 13:43:59 +00:00
Mark Andrews
c553b3308e 1836. [cleanup] Silence compiler warnings in hash_test.c. 2005-03-16 13:40:14 +00:00
Mark Andrews
a5bb4ad5db 1834. [bug] Bad memset in rdata_test.c. [RT #13658] 2005-03-16 02:44:05 +00:00
Mark Andrews
3002b5952d cleanup a couple more files 2004-12-14 01:02:50 +00:00
Mark Andrews
a36db48f57 1789. [bug] Prerequisite test for tkey and dnssec could fail
with "configure --with-libtool".
2004-12-08 06:10:49 +00:00
Mark Andrews
850a31f07e update copyright notices 2004-11-24 23:50:57 +00:00
Mark Andrews
6c52944ef2 1763. [func] Perform sanity checks on NS records which refer to
'in zone' names. [RT #13002]
2004-11-23 05:23:46 +00:00
Mark Andrews
40e7c805a8 1740. [bug] Replace rbt's hash algorithm as it performed badly
with certain zones. [RT #12729]
2004-10-25 01:27:54 +00:00
Mark Andrews
43fe2897fc 1731. [port] darwin: relax version test in ifconfig.sh.
[RT #12581]

1730.   [port]          Determine the length type used by the socket API.
                        [RT #12581]
2004-10-05 03:17:18 +00:00
Mark Andrews
ca155b1321 aix5 2004-09-24 05:38:01 +00:00
Mark Andrews
3b9a0696f9 1723. [cleanup] Silence compiler warnings from t_tasks.c. [RT #12493] 2004-09-21 02:12:08 +00:00
Mark Andrews
86c3e4bb96 1717. [port] solaris: ifconfig.sh did not support Solaris 10.
"ifconfig.sh down" didn't work for Solaris 9.
2004-09-09 01:02:12 +00:00
Mark Andrews
756f078904 clean up */dsset-*, */dlvset-* and ns2/dlv.db 2004-09-07 04:14:44 +00:00
Mark Andrews
16a68807e1 1704. [port] lwres needed a snprintf() implementation for
platforms without snprintf().  Add missing
                        "#include <isc/print.h>". [RT #12321]
2004-08-28 06:20:14 +00:00
Mark Andrews
d7a8ba373d copyright 2004-08-19 04:44:08 +00:00
Mark Andrews
9f7d51ee32 1688. [bug] LDFLAGS was not supported. 2004-07-20 07:13:43 +00:00
Mark Andrews
1d8abe0521 1671. [cleanup] Tests which only function in a threaded build
now return R:THREADONLY (rather than R:UNTESTED)
                        in a non-threaded build.
2004-06-21 05:36:41 +00:00
Mark Andrews
23fdb6a5a3 1654. [bug] isc_result_totext() contained array bounds read
error.

1653.   [func]          Add key type checking to dst_key_fromfilename(),
                        DST_TYPE_KEY should be used to read TSIG, TKEY and
                        SIG(0) keys.

1652.   [bug]           TKEY still uses KEY.
2004-06-11 00:27:06 +00:00
Mark Andrews
c315e5cfea 1648. [func] Update dnssec-lookaside named.conf syntax to support
multiple dnssec-lookaside namespaces (not yet
                        implemented).
2004-06-04 02:31:43 +00:00
Mark Andrews
2cd8fa3ef9 1639. [func] Initial dlv system test. 2004-05-14 04:58:24 +00:00
Mark Andrews
38e8022ace 1625. [bug] named failed to load/transfer RFC2535 signed zones
which contained CNAMES. [RT# 11237]
2004-05-05 01:32:58 +00:00
Mark Andrews
8d414d1559 1600. [bug] Duplicate zone pre-load checks were not case
insensitive.

1599.   [bug]           Fix memory leak on error path when checking named.conf.

1598.   [func]          Specify that certain parts of the namespace must
                        be secure (dnssec-must-be-secure).
2004-04-15 23:40:27 +00:00
Mark Andrews
f38cee6326 remove stray nbits reference. 2004-04-13 03:31:14 +00:00
Mark Andrews
1676408640 pullup silence compiler fixes
ifconfig.sh for Solaris 9
README updates
2004-03-18 02:58:08 +00:00
Mark Andrews
28b863e609 pullup fixed from 9.3 2004-03-16 05:52:24 +00:00
Mark Andrews
50105afc55 1589. [func] DNSSEC lookaside validation.
enable-dnssec -> dnssec-enable
2004-03-10 02:19:58 +00:00
Mark Andrews
fa7ee558e0 1584. [bug] "make test" failed with a readonly source tree.
[RT #10461]
2004-03-10 01:06:06 +00:00
Mark Andrews
3b7dadafad update copyrights 2004-03-05 12:46:14 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
821644d49b 1574. [bug] Don't attempt to open the controls socket(s) when
running tests. [RT #9091]
2004-03-02 02:01:41 +00:00
Mark Andrews
362a27e81e 1586. [func] "check-names" is now implemented. 2004-02-27 20:44:09 +00:00
Mark Andrews
2047977ce2 1586. [func] "check-names" is now implemented. 2004-02-27 20:41:51 +00:00
Mark Andrews
74cb99072c 1573. [port] linux: update to libtool 1.5.2 so that
"make install DESTDIR=/xx" works with
                        "configure --with-libtool".  [RT #9941]
2004-02-24 01:41:28 +00:00
Mark Andrews
89783da064 1581. [func] Disable DNSSEC support by default. To enable
DNSSEC specify "enable-dnssec yes;" in named.conf.
2004-02-17 03:40:23 +00:00
Mark Andrews
4230c2e85e lookup RRSIG (46) not SIG (24) in getrrsetbyname test. 2004-02-17 03:34:55 +00:00
Mark Andrews
daa73eae70 silence punned messages 2004-02-03 00:59:05 +00:00
Mark Andrews
148d848bbc NSEC does not support raw type numbers 2004-01-27 04:39:29 +00:00
Mark Andrews
8d1374958f create/destroy hash 2004-01-27 04:25:36 +00:00
Mark Andrews
841ed46de5 1558. [func] New DNSSEC 'disable-algorithms'. Support entry into
child zones for which we don't have a supported
                        algorithm.  Such child zones are treated as unsigned.
2004-01-15 04:09:17 +00:00
Mark Andrews
35541328a8 1558. [func] New DNSSEC 'disable-algorithms'. Support entry into
child zones for which we don't have a supported
                        algorithm.  Such child zones are treated as unsigned.

1557.   [func]          Implement missing DNSSEC tests for
                        * NOQNAME proof with wildcard answers.
                        * NOWILDARD proof with NXDOMAIN.
                        Cache and return NOQNAME with wildcard answers.
2004-01-14 02:06:51 +00:00
Mark Andrews
b7e6fb4e84 whitespace 2003-10-26 21:33:47 +00:00
Tatuya JINMEI 神明達哉
e407562a75 1528. [cleanup] Simplify some dns_name_ functions based on the
deprecation of bitstring labels.
2003-10-25 00:31:12 +00:00
Mark Andrews
b6d52ee5be 1524. [port] AIX needs to be able to resolve all symbols when
creating shared libraries (--with-libtool).
2003-10-08 06:36:13 +00:00
Mark Andrews
ea72ae09ff print out zone if set 2003-10-02 02:59:58 +00:00
Mark Andrews
93d6dfaf66 1516. [func] Roll the DNSSEC types to RRSIG, NSEC and DNSKEY. 2003-09-30 06:00:40 +00:00
Mark Andrews
5e9f612524 1498. [port] bsdos: 5.x support. 2003-07-30 01:43:28 +00:00
Mark Andrews
a947b0145f convert bit-string labels to nibbles. 2003-07-08 05:17:20 +00:00
Mark Andrews
21f1794606 1474. [port] Provide strtoul() and memmove() for platforms
without them.
2003-06-24 05:11:53 +00:00
Mark Andrews
f4cbe536b1 cygwin support 2002-12-27 03:29:37 +00:00
Mark Andrews
5b76a09697 1405. [func] Use arc4random() if available.
from: jakob@crt.se
reviewed: marka
2002-12-04 01:19:28 +00:00
Mark Andrews
49a940dc68 1402. [cleanup] A6 has been moved to experimental and is no longer
fully supported.
developer: jinmei
reviewer: marka
2002-11-27 09:52:58 +00:00
Michael Graff
994bc04060 merge 3907 2002-11-12 23:42:38 +00:00
Mark Andrews
b6309ed962 developer: jinmei
reviewer: marka
1368.   [func]          remove support for bitstring labels.
2002-08-27 04:53:43 +00:00
Mark Andrews
0f042c7c44 - improves tests of negative insecurity proofs, including tests for the
SOA TTL 0 hack.
- adds +noauth to a few invocations of dig where the authority section is
  not important.
- removes the bogus first half of the dynamic zone test, which didn't
  do anything other than make the test suite fail if run twice.
- fixed the fact that the keyless.example zone wasn't being securely
  delegated.
bwelling
2002-07-19 06:20:24 +00:00
Mark Andrews
5af560664d 1342. [port] darwin: ifconfig.sh now supports darwin. 2002-07-06 21:54:44 +00:00
Mark Andrews
0b09763c35 1328. [func] DS (delegation signer) support. 2002-06-17 04:01:37 +00:00
Mark Andrews
acc8b7ac3d 1299. [port] Darwin uses (unsigned long) for size_t. [RT #2590] 2002-05-23 04:32:30 +00:00
Mark Andrews
57e0f58b3f 1289. [port] Openserver: ifconfig.sh support. 2002-05-13 04:18:07 +00:00
Mark Andrews
26cf4737b3 1288. [port] Openserver: the value FD_SETSIZE depends on whether
<sys/param.h> is included or not.  Be consistant.
2002-05-10 06:41:55 +00:00
Mark Andrews
a04a323f9a 1273. [bug] The dnssec system test failed to remove the correct
files.
2002-04-24 00:46:25 +00:00
Mark Andrews
feb8ae0931 1220. [func] Support for APL rdata type. 2002-03-06 07:41:25 +00:00
Mark Andrews
3561e645d7 1215. [port] solaris: add support to ifconfig.sh for x86 2.5.1 2002-03-01 11:28:28 +00:00
Mark Andrews
a7038d1a05 copyrights 2002-02-20 03:35:59 +00:00
Brian Wellington
4014b6a8ae although a privately secure zone was signed, it was never tested. 2002-02-13 01:32:12 +00:00
Brian Wellington
64ea670052 the dynamic zone test wasn't working as expected since the child zone wasn't
securely delegated.
2002-02-06 03:28:59 +00:00
Brian Wellington
4ca54c8f3b ns5 is the incorrectly configured server, not ns4. 2002-02-01 01:56:00 +00:00
Andreas Gustafsson
473ca0bf8c Added RT #2399 regression test 2002-01-22 22:27:29 +00:00
Andreas Gustafsson
669e9657c7 Split off the named.conf grammar into a source module separate
from the configuration parser, to facilitate reuse of the latter for
parsing non-BIND configuration files
2002-01-04 02:32:16 +00:00
Mark Andrews
da5d1cf1b1 1164. [bug] "Not Implemented" should be reported as NOTIMP. 2001-12-19 12:16:47 +00:00
Mark Andrews
2c63b97c09 update tests for MD and MF know longer being loadable 2001-12-12 06:24:11 +00:00
Andreas Gustafsson
1f1d36a87b Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Andreas Gustafsson
91cd0f93ad sizeof style 2001-11-27 01:56:32 +00:00
Andreas Gustafsson
f1b6872550 Do not put a space before ';' when terminating a statement or in a 'for' statement. 2001-11-27 00:56:32 +00:00
Brian Wellington
0e40083fdd @DNS_OPENSSL_LIBS@ -> @DNS_CRYPTO_LIBS@ 2001-11-06 20:05:13 +00:00
Brian Wellington
78baa4ccb8 some files weren't being removed. 2001-11-06 19:32:54 +00:00
Mark Andrews
72499be79f 1103. [port] OpenUNIX 8 support (ifconfig.sh). [RT #1970] 2001-11-05 04:19:56 +00:00
Andreas Gustafsson
17b687ef36 1080. [bug] BIND 8 compatibility: accept bare IP prefixes
as the second element of a two-element top level
                        sort list statement. [RT #1964]
2001-10-30 20:19:34 +00:00
Brian Wellington
e7468041e7 silence compiler warning 2001-10-22 23:50:31 +00:00
Andreas Gustafsson
1c31f17f89 added regression test for RT #1866, #1869 2001-10-09 22:58:24 +00:00
Andreas Gustafsson
06365907a0 don't assume perl is in the path 2001-10-09 22:31:39 +00:00
Andreas Gustafsson
094d1d9a27 the tkey test would randomly fail due to key IDs with a leading
zero being interpreted as octal numbers
2001-10-09 22:24:24 +00:00
Andreas Gustafsson
93b9133cfa The -t option of wire_test now causes it to use, not just ignore,
the length field of a TCP message, and to process multiple
TCP messages if present.
2001-09-29 18:23:56 +00:00
Andreas Gustafsson
8bd6c39d5e clean more files 2001-09-26 23:33:19 +00:00
Andreas Gustafsson
99f08fc172 ignore more files 2001-09-26 23:29:12 +00:00
Andreas Gustafsson
83515c3462 ifconfig.sh can now be invoked either from bin/tests/system or from the top level directory [RT #1758] 2001-09-26 23:16:26 +00:00
Andreas Gustafsson
f8d86ef2f6 if network interfaces are not not configured,
urge the user to configure them [RT #1757]
2001-09-22 01:10:41 +00:00
Andreas Gustafsson
589a8a85b3 clarified messages 2001-09-22 01:10:03 +00:00
Andreas Gustafsson
2e189b0677 if a server does not die when sent a SIGTERM, kill it using
SIGABRT, not SIGKILL, so that we get a core file to analyze.  Also make
sure we return with a nonzero exit status in this case.
2001-09-20 18:33:51 +00:00
Mark Andrews
c2bc56dc65 Move configuration checking to libbind9. 2001-09-20 15:17:07 +00:00
Andreas Gustafsson
e4b5f088ca Added RT #1763 regression test 2001-09-19 21:19:52 +00:00
Andreas Gustafsson
1301637cc5 check that negative validation fails with a misconfigured trusted key 2001-09-19 20:47:02 +00:00
Andreas Gustafsson
e1e635578d use ifconfig.sh up, not ifconfig.sh start, to be
consistent with the ifconfig.sh usage message [RT #1758]
2001-09-17 21:42:47 +00:00
Andreas Gustafsson
66870de523 support 'make check' as an alias for 'make test' 2001-09-17 20:47:51 +00:00
Andreas Gustafsson
f4f9761c84 note that ifconfig.sh must be run as root 2001-09-17 20:33:54 +00:00
Brian Wellington
81b172466c *** empty log message *** 2001-09-17 17:47:20 +00:00
Brian Wellington
206bced36f order the parameters to dnssec-keygen consistently. 2001-09-17 17:42:04 +00:00
Andreas Gustafsson
99f467f016 test the ixfr-from-differences option 2001-09-08 00:24:33 +00:00
Andreas Gustafsson
260696e5e3 cleaned up xfer system test in preparation for adding
ixfr-from-differences tests
2001-09-07 23:29:52 +00:00
Andreas Gustafsson
f3bbe7772f added script for generating zone data, for use in system
tests so that they don't all need to have their own (duplicated)
zone data
2001-09-07 23:29:03 +00:00
Andreas Gustafsson
4b8b883127 Dollar sign in $TTL needs to be escaped; 80 columns 2001-09-07 00:57:25 +00:00
Andreas Gustafsson
7aac53eb69 Actually, this file should not be in CVS at all since it's machine
generated by setup.sh.
2001-09-07 00:49:03 +00:00
Andreas Gustafsson
f56cdc894f reverted unintentional commit 2001-09-07 00:35:40 +00:00
Andreas Gustafsson
b39ad8a69b when assigning to isc_mem_debugging, use symbolic names for
the flags, not magic integer constants
2001-09-06 23:14:42 +00:00
Andreas Gustafsson
b4636f4587 update_copyrights 2001-08-09 00:33:47 +00:00
Andreas Gustafsson
f4909f01a7 the test outcome should not depend on the dig version printed 2001-08-09 00:10:56 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Andreas Gustafsson
2627aca3bb oops, one too may CFLAGS snuck in 2001-08-01 22:16:06 +00:00
Andreas Gustafsson
0a53284205 951. [bug] CFLAGS was not passed to the linker when
linking some of the test programs under
                        bin/tests. [RT #1555].
2001-08-01 22:06:29 +00:00
Andreas Gustafsson
e0315f2160 added 'masterfile' system test to make sure
rt #1558 does not happen again
2001-08-01 19:01:02 +00:00
Brian Wellington
a781910430 #define PATH_MAX if it's not already defined (such as on HURD) [RT #1543] 2001-07-26 22:09:25 +00:00
Andreas Gustafsson
113b83a9e2 always build cfg_test, since it is now needed when
regenerating the documentation
2001-07-26 21:33:28 +00:00
Andreas Gustafsson
accf0d5f29 updated usage message 2001-07-23 18:57:53 +00:00
Andreas Gustafsson
07dcadc6e2 update_copyrights 2001-07-17 20:29:36 +00:00
Andreas Gustafsson
25525110c1 fixed and simplified 2001-07-13 18:29:00 +00:00
Brian Wellington
20d13d8975 remove generated file 2001-07-12 01:20:56 +00:00
Brian Wellington
828bd291c6 Only remove generated files. 2001-07-12 00:20:57 +00:00
Brian Wellington
17f04ff2e7 don't test dst if configured without openssl 2001-07-11 21:46:32 +00:00
Brian Wellington
f4d26dbdb6 fix redirection 2001-07-11 19:02:16 +00:00
Brian Wellington
1a8002871e require a build with openssl to run dnssec & tkey tests 2001-07-10 21:41:14 +00:00
Andreas Gustafsson
7c66a4555d spacing 2001-07-09 22:39:27 +00:00
Andreas Gustafsson
f0b6aa146e avoid using .orig as a filename extension, as it will be ignored by cvs import 2001-07-03 00:05:15 +00:00
Andreas Gustafsson
97e1692460 New function cfg_print_grammar(), which generates a human-readable
summary of the grammar for a given configuration type from its syntax
tables.  Running bin/tests/cfg_test --grammar --named will print a
named.conf grammar summary, and bin/tests/cfg_test --grammar --rndc
will print the rndc.conf grammar summary.
2001-06-29 18:36:13 +00:00
Andreas Gustafsson
cf2e85ee9c typo 2001-06-14 22:24:16 +00:00
Andreas Gustafsson
3446187a42 consistently assume ifconfig is in path regardless of
platform and regardless of whether configuring interfaces up or down
2001-06-14 14:10:32 +00:00
Andreas Gustafsson
1c8409706f consistent ordering 2001-06-14 14:08:51 +00:00
Andreas Gustafsson
ddae6fe9c7 simplified 2001-06-14 14:06:04 +00:00
Mark Andrews
ef8d97818f 901. [bug] More Unixware config.guess related changes. 2001-06-14 04:52:39 +00:00
Olafur Gudmundsson
112d9875bf config.guess update changed FreeBSD system identifier 2001-06-12 03:34:01 +00:00
Andreas Gustafsson
c380c1a78a test 'severity debug;' 2001-06-08 19:06:22 +00:00
David Lawrence
d716e83021 initialize "type" to quiet compiler warning 2001-05-31 11:00:40 +00:00
Brian Wellington
1969ab5360 copyright updates 2001-05-30 20:31:08 +00:00
Mark Andrews
4fbd6a13a5 #838 7.1.1 -> 7.x.x 2001-05-24 23:58:24 +00:00
Mark Andrews
761a21dfab 838. [port] UnixWare 7.1.1 is now suported by
bin/tests/system/ifconfig.sh.
2001-05-24 23:55:48 +00:00
Andreas Gustafsson
508d17362c 834. [func] Accept (but warn about) master files beginning with
an SOA record without an explicit TTL field and
			lacking a $TTL directive, by using the SOA MINTTL
			as a default TTL.  This is for backwards compatibility
			with old versions of BIND 8, which accepted such
			files without warning although they are illegal
			according to RFC1035.
2001-05-22 01:44:37 +00:00
Bob Halley
c209cc1ebd update test to check for new behavior of ANY queries at zone cut points 2001-05-15 05:32:53 +00:00
Andreas Gustafsson
b56607d483 the ixfr test requires Net::DNS 2001-05-14 22:35:57 +00:00
Andreas Gustafsson
13b9abae18 uninitialized variable 2001-05-10 19:05:00 +00:00
Andreas Gustafsson
c6c5f2db75 added .cvsignore file 2001-05-10 19:01:51 +00:00
Andreas Gustafsson
89485c1d71 added incremental zone transfer test 2001-05-10 18:29:09 +00:00
Andreas Gustafsson
67a3554aa6 use $PERL 2001-05-10 16:28:57 +00:00
Andreas Gustafsson
73a0d5c6ec do not assume . is in $PATH 2001-05-09 21:55:44 +00:00
Brian Wellington
08116c0bbd -t now works 2001-05-09 18:59:55 +00:00
Brian Wellington
fdd2f4e5d0 Add an option to ignore the first 2 bytes (for TCP messages) 2001-05-09 18:56:29 +00:00
Brian Wellington
110c0fae7f add some commandline flags. 2001-05-09 18:51:44 +00:00
Brian Wellington
08a0525d92 Use a 64K buffer, not a 4K buffer. 2001-05-09 18:47:49 +00:00
Brian Wellington
1448a52296 the output buffer should be 64K, not 4000 bytes. 2001-05-09 00:16:48 +00:00
Andreas Gustafsson
c62314bc9c removed sample configuration access code, now that we have
real configuration access code in bin/named/server.c and bin/named/*conf.c
2001-05-02 17:43:42 +00:00
Andreas Gustafsson
e23d2b98b7 don't include the now nonexistent <dns/namedconf.h> 2001-05-02 17:41:24 +00:00
Andreas Gustafsson
38db299051 make rwlock_test compile without threads 2001-05-02 17:35:52 +00:00
Andreas Gustafsson
54b4a8d345 reduced busy loop iteration count to avoid the test timing out on hp1020a 2001-04-25 01:23:13 +00:00
Andreas Gustafsson
4c110ccec1 t12() requires threads 2001-04-24 22:57:36 +00:00
Andreas Gustafsson
3ee7b0d2cd set the SO_REUSEADDR socket option, like named itself does 2001-04-24 01:52:16 +00:00
Andreas Gustafsson
7f4bf5aaac 8-columns indentation and consistent spacing 2001-04-24 01:23:28 +00:00
Andreas Gustafsson
fa1a39a514 avoid unnecessary auto array initialization 2001-04-16 17:23:34 +00:00
David Lawrence
95799c090c a cleaner approach to the whole issue of shutting up warnings for threaded
vs non-threaded builds.  both compile without any warnings now.
2001-04-13 02:19:37 +00:00
David Lawrence
afe871339a move stack variable declaration within the ISC_PLATFORM_USETHREADS conditional
blocks.
2001-04-12 22:56:02 +00:00
David Lawrence
4f30524203 clean up numerous "statement not reached" errors on a few platforms 2001-04-12 21:31:38 +00:00
Brian Wellington
d4ef65050f copyright updates
(note - this doesn't touch lib/bind at all.  Mark, whenever you're done with
lib/bind, make sure to do the copyright magic)
2001-04-10 21:52:17 +00:00
Brian Wellington
0e528248ab missed removing this file in the key id fix. 2001-04-10 21:35:35 +00:00
Brian Wellington
daad43e5a4 802. [bug] DNSSEC key tags were computed incorrectly in almost
all cases. [RT #1146]
2001-04-04 02:02:58 +00:00
Brian Wellington
08a0b6d8a0 tabify 2001-03-28 02:43:44 +00:00
Brian Wellington
668f8d91db 795. [func] Add the +multiline option to dig.
(which requires dns_message_totext(), etc. to take a style parameter)
2001-03-28 02:42:56 +00:00
Brian Wellington
badf66abe0 Remove OMAPI. 2001-03-27 00:53:58 +00:00
Brian Wellington
734ae1f7c6 isc_{base64|hex}_decodestring took an unused mctx. Remove the mctx. 2001-03-22 00:07:07 +00:00
Brian Wellington
298273b535 The updated config.guess now calls linux "linux" instead of "linux-gnu" 2001-03-16 21:44:35 +00:00
Andreas Gustafsson
89752c3cb7 test more variants of the inet controls channel syntax,
'notify explicit', and various types of file log channels
2001-03-13 03:03:06 +00:00
Brian Wellington
f746db7665 pass the compression context to dns_message_renderbegin (the change last week
was incomplete, but these tests are not built by default)
2001-03-13 02:48:54 +00:00
Brian Wellington
3b2634e9b9 remove nconf_test, since it used the old config parser. 2001-03-13 02:47:18 +00:00
Brian Wellington
bbbcb61fb2 Add one more test; make sure configuration files are legal. 2001-03-09 18:49:57 +00:00
Andreas Gustafsson
f0a1134d33 updated 2001-03-08 18:44:59 +00:00
David Lawrence
8423f8296a added cacheclean to SUBDIRS to have its test execute with runall.sh 2001-03-08 16:19:35 +00:00
Brian Wellington
e2f470bebb Check that rndc stop syncs zone files. 2001-03-08 02:59:47 +00:00
Damien Neil
2f5f42596b - Stop can now use rndc, when passed the --use-rndc option.
- Slightly restructured code to eliminate duplication.
- No longer waits five seconds for a server to die, if it dies promptly.
2001-03-08 02:34:01 +00:00
David Lawrence
7f31a2eacc node joining no longer happens on deletion 2001-03-08 01:39:10 +00:00
Brian Wellington
53aed64e0f add missing .cvsignore files 2001-03-06 01:51:34 +00:00
Brian Wellington
b9a99f0772 remove 'ans.run' files 2001-03-05 22:54:08 +00:00
Brian Wellington
e43b9a2005 move compression context create/delete into the caller of the message
rendering functions.  This reduces the size of the message object.
2001-03-05 21:15:47 +00:00
David Lawrence
9c2e820b3b new test for exercising cache cleaning 2001-03-05 12:50:08 +00:00
Brian Wellington
494e26b333 clean up properly 2001-03-04 21:17:42 +00:00
Brian Wellington
626f97e223 allow-update is not allowed in slave zones 2001-03-02 02:44:51 +00:00
Andreas Gustafsson
f65a42f377 exit with a nonzero status if there were errors 2001-03-01 02:35:13 +00:00
Brian Wellington
2fa9cf0bf9 remove extraneous spaces 2001-02-28 03:05:01 +00:00
Brian Wellington
7a224ba59b test that validation of an ANY query returning a DNAME works 2001-02-23 06:22:11 +00:00
Brian Wellington
529d1b9ada test that validation of a query returning a DNAME works 2001-02-23 06:14:44 +00:00
Andreas Gustafsson
2cb79d0f48 example code using cfg_tuple_get() 2001-02-22 04:17:57 +00:00
Brian Wellington
fa342c624a Added start.sh and stop.sh, which read the values from conf.sh into the
environment and call the perl scripts.
2001-02-21 20:11:34 +00:00
Brian Wellington
4f91c46a42 Test that both normal and ANY queries that match a CNAME are properly
validated.
2001-02-21 06:47:45 +00:00
Brian Wellington
a41ab607a4 Test that validation of ANY queries works. Also add data to be used for
CNAME/DNAME tests, but not the tests yet since they fail.
2001-02-20 18:33:50 +00:00
Andreas Gustafsson
adf199832b the rrset-order option was missing 2001-02-16 03:07:40 +00:00
Brian Wellington
f31fd1e949 Remove dispatch_test, which is also using lots of no longer existing API calls. 2001-02-16 01:12:09 +00:00
Brian Wellington
5a027af2a9 update 2001-02-16 01:08:53 +00:00
Brian Wellington
a1c4585f1c Remove ndcconf_test, since the old ndc parser is gone. Remove
dispatch_tcp_test, since the only parts of the dispatcher api it used
no longer exist.
2001-02-16 01:07:37 +00:00
Brian Wellington
c44ecc9bb8 #include <dns/acl.h> 2001-02-16 01:00:42 +00:00
Andreas Gustafsson
eae31304be 80 columns 2001-02-15 19:02:18 +00:00
Andreas Gustafsson
1348364377 added more sample code for extracting key secrets from rndc.conf 2001-02-15 18:55:03 +00:00
Andreas Gustafsson
b6c943d1c9 added sample code for extracting key secrets from rndc.conf 2001-02-15 18:53:28 +00:00
Andreas Gustafsson
5d9cd26d79 added test program for new configuration parser 2001-02-15 05:15:27 +00:00
Andreas Gustafsson
3ad7f12f74 exit if restarting server fails; increase sleep after SIGKILLing server
to give sockets time to be freed
2001-02-15 01:04:06 +00:00
Matt Nelson
214eae639d Made obsolete by .pl version. 2001-02-15 00:10:33 +00:00
Matt Nelson
2d556761c2 Use stop.pl to stop servers, not stop.sh. 2001-02-15 00:07:03 +00:00
Andreas Gustafsson
3e42d5b2bb start and stop the servers in alphabetical order 2001-02-14 23:57:33 +00:00
Andreas Gustafsson
927fe08882 leave more evidence when failing 2001-02-14 02:42:10 +00:00
Andreas Gustafsson
1b003261c2 stop.pl should replace only kill -TERM, not kill -KILL; the test is
specifically trying to test how the server behaves when shut down uncleanly
2001-02-14 02:11:17 +00:00
Andreas Gustafsson
edd03c5600 add -- before non-option argument starting with a dash so as not to
confuse the Perl Getopt module
2001-02-14 02:03:45 +00:00
Matt Nelson
614610ba0b Use start.pl and stop.pl to start and stop servers during test. 2001-02-14 00:16:38 +00:00
Matt Nelson
a60a0fd346 Use start.pl and stop.pl instead of start.sh and stop.sh. 2001-02-14 00:14:24 +00:00
Brian Wellington
5226a9f307 argument handling was broken 2001-02-14 00:13:33 +00:00
Matt Nelson
557e104278 Added ability to test port on a single ip address. 2001-02-14 00:09:44 +00:00
Matt Nelson
cf1dd93491 Rewrite of stop.sh in perl. Added ability to stop single server. 2001-02-13 23:41:00 +00:00
Matt Nelson
7b8ebf78a8 Rewrite of start.sh in perl. Added ability to start single specified server
and to skip cleanup of server files.
2001-02-13 23:39:50 +00:00
Andreas Gustafsson
b27b26d710 added isc_task_beginexclusive() test 2001-02-13 18:55:19 +00:00
Brian Wellington
8b473437f1 Support Solaris x86, improve Solaris support, support Linux on non x86. 2001-02-12 23:06:44 +00:00
Andreas Gustafsson
cf887bbf78 the 'additional-data' option was never implemented 2001-02-09 00:08:23 +00:00
Brian Wellington
ae73c78406 some data structures weren't freed. 2001-02-05 23:09:05 +00:00
Stephen Jacob
dc7c9751e7 added purify support (${PURIFY} to link commands) to missed test Makefile.in 2001-02-02 01:01:22 +00:00
Stephen Jacob
7bc8deb30f purify support (${PURIFY added to link commands) for all in bin/tests 2001-02-01 23:41:55 +00:00
Andreas Gustafsson
31c094afd6 random-seed-file is not implemented 2001-02-01 19:09:24 +00:00
Andreas Gustafsson
38247e3857 enable-zone was never implemented; dialup should be allowed
in views
2001-01-27 07:24:35 +00:00
James Brister
23360bc8f8 base64-ify the secret. 2001-01-24 15:22:19 +00:00
James Brister
36b8b0b251 base64-ify the secrets in the test config files. 2001-01-24 15:17:36 +00:00
Brian Wellington
aaa761cc39 remove tkey_test and its associated keys, since the tkey system test is
far more useful and comprehensive.
2001-01-24 03:18:36 +00:00
Andreas Gustafsson
3d4454cc2b these files don't belong in the BIND 9 CVS tree. b9status.pl is in the b9t CVS repository, and
we don't care about b8status.pl.
2001-01-24 00:43:09 +00:00
James Brister
5905bccacd use new include statement to include ndc.conf-include 2001-01-23 13:13:29 +00:00
James Brister
a21891ee97 file to be included by test ndc.conf 2001-01-23 13:12:50 +00:00
Andreas Gustafsson
8669e2a2eb need <sys/types.h> and <sys/time.h> for select() 2001-01-22 22:29:36 +00:00
Brian Wellington
9fb7cdd126 call getrrsetbyname with a zero length name 2001-01-22 22:12:45 +00:00
Brian Wellington
6484f6ac04 oops, removed too many sleeps. 2001-01-18 22:43:49 +00:00
Brian Wellington
e6c446fd0c make zone_test exit properly [RT #108] 2001-01-18 02:53:57 +00:00
Brian Wellington
47700eeee3 make zone_test compile 2001-01-18 02:36:57 +00:00
Brian Wellington
ad36159e6c Add zone_test to all_tests 2001-01-18 02:35:50 +00:00
Brian Wellington
d0dc01dd9d Shorten a bunch of sleeps. Let's see if this breaks anything. 2001-01-17 20:53:44 +00:00
Brian Wellington
53ee4a89ad fix copyright 2001-01-13 00:38:08 +00:00
Brian Wellington
cb2fcb2a66 remove a const-related warning 2001-01-13 00:26:09 +00:00
Andreas Gustafsson
cd0d4cbce0 head is not in the default path on irix, but sed is 2001-01-13 00:02:55 +00:00
Brian Wellington
619ee46ac6 Copy cache.in to cache before running the test, so it's not overwritten on
exit.
2001-01-12 22:14:59 +00:00
Andreas Gustafsson
ddec026ff9 run the v6synth test by default; explain why stress test is not run by default 2001-01-11 21:12:10 +00:00
Brian Wellington
73eb75dc21 add copyrights to the tkey system test 2001-01-11 20:51:19 +00:00
Brian Wellington
2f9db90bf6 Add a tkey system test 2001-01-11 20:45:53 +00:00
Andreas Gustafsson
1988fd60fa share the root.hint file among most of the system tests instead of having multiple identical copies 2001-01-11 20:44:21 +00:00
Andreas Gustafsson
f6bbaee0b2 updated 2001-01-11 20:07:35 +00:00
Andreas Gustafsson
e9c861a307 max-names is no longer parsed; max-ixfr-log-size now takes
a size_spec
2001-01-11 20:04:12 +00:00
Brian Wellington
b401a139eb ${UOBJS} was used, but never defined. Probably a cut and paste error. 2001-01-11 18:05:15 +00:00
Brian Wellington
de832d133e The changes to reduce allocations in the memory code exposed the sheer
brokenness of this program.
2001-01-11 04:12:29 +00:00
Andreas Gustafsson
8227257b1c added IPv6 synthesis tests 2001-01-10 01:19:06 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Mark Andrews
0deebcd15a dns_master_load*() age_ttl -> options word 2001-01-05 03:12:45 +00:00
Andreas Gustafsson
b9e8ad0f49 include <isc/plaform.h> so that ISC_PLATFORM_USETHREADS gets defined 2001-01-05 01:58:28 +00:00
Andreas Gustafsson
b298d83ae0 skip tests that requires threads when threads are not available 2001-01-04 00:43:33 +00:00
Andreas Gustafsson
d6f30a87f8 skip tests that requires threads when threads are not available 2001-01-04 00:27:03 +00:00
Brian Wellington
ec772e873b 651. [func] The AD bit in responses now has the meaning
specified in <draft-ietf-dnsext-ad-is-secure>.
2001-01-04 00:24:26 +00:00
Brian Wellington
4efa04801e Remove DNS_COMPRESS_GLOBAL, since the only type of global compression
is GLOBAL14.
2000-12-29 00:54:36 +00:00
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