Commit Graph

24499 Commits

Author SHA1 Message Date
Mark Andrews
4b4d9b37fb add release note for root-key-sentinel
(cherry picked from commit e20790c956)
(cherry picked from commit edb761b08c)
(cherry picked from commit b3e93d1b0f)
(cherry picked from commit 56628dffc7)
2018-06-04 21:38:06 -07:00
Mark Andrews
9aba5ca84b add system test for root-key-sentinel
(cherry picked from commit a23b305e6b)
(cherry picked from commit b9e6b124aa)
(cherry picked from commit 9448c4fd21)
(cherry picked from commit 8f139956ba)
2018-06-04 21:38:04 -07:00
Mark Andrews
3890b5d7ba add named.conf option root-key-sentinel
(cherry picked from commit 68e9315c7d)
(cherry picked from commit ee763ef281)
(cherry picked from commit 9a5f308287)
(cherry picked from commit 468a3bcdac)
2018-06-04 21:30:33 -07:00
Mark Andrews
2f20e10942 detect and process root-key-sentinel labels.
(cherry picked from commit 8fc9f64df9)
(cherry picked from commit 7111eff80c)
(cherry picked from commit afa97c6552)
(cherry picked from commit a624e884d4)
2018-06-04 20:06:20 -07:00
Evan Hunt
490e81bfbd clean up CHANGES numbers 2018-06-04 19:44:00 -07:00
Evan Hunt
6323a1cce8 Merge branch '310-check-changes-needs-to-be-called-for-v9_9' into 'v9_9'
Resolve "check-changes needs to be called for v9_9"

See merge request isc-projects/bind9!337
2018-06-04 19:26:37 -07:00
Mark Andrews
9561c95669 call util/check-changes in setup
(cherry picked from commit c0e69cc406)
(cherry picked from commit 022b2b481f)
2018-06-04 19:26:30 -07:00
Mark Andrews
353f7d1bf5 Merge branch '281-dont-insert-extra-space-between-nsec3-nexthash-and-typemap-v9_9' into 'v9_9'
Resolve "9.11.3-S1 totext_nsec3 inserts a redundant white space between next hash and type map [ISC-support #12887]"

See merge request isc-projects/bind9!313
2018-06-04 13:35:13 +10:00
Mark Andrews
a958e0cf7e Add CHANGES note
(cherry picked from commit f98d8115e3)
2018-06-04 13:35:07 +10:00
Mukund Sivaraman
d1af2db397 Add NSEC3 fromtext/totext unittests
(cherry picked from commit b0d9198e03)
2018-06-04 13:34:46 +10:00
Mukund Sivaraman
2420b8f5fc Don't insert 2nd space between NSEC3 nexthash and typemap fields
(cherry picked from commit d4ea1edd2c)
2018-06-04 13:34:46 +10:00
Mark Andrews
24dd75db91 fix merge error 2018-05-29 10:02:29 +10:00
Mark Andrews
fc0b3d5397 Merge branch '286-new-cppcheck-detected-errors-v9_9' into 'v9_9'
Resolve "New cppcheck-detected errors"

See merge request isc-projects/bind9!324
2018-05-29 09:56:11 +10:00
Mark Andrews
f89f550259 add CHANGES note
(cherry picked from commit e9134b15eb)
2018-05-29 09:55:50 +10:00
Mark Andrews
20d279571f work around cppcheck false positive
(cherry picked from commit cb5802e854)
2018-05-29 09:55:25 +10:00
Evan Hunt
1c0977255c Merge branch '245-fix-test-color' into 'v9_9'
Resolve "rpz test fails to launch ns2 on openbsd"

Closes #245

See merge request isc-projects/bind9!321
2018-05-25 13:02:08 -07:00
Evan Hunt
ac7b05c231 fix openbsd color-display problem in system test output
(cherry picked from commit 1e31fdb76d)
2018-05-25 13:02:01 -07:00
Mark Andrews
1adf66455e Merge branch '290-documentation-error-missing-v9_9' into 'v9_9'
Resolve "Documentation error - missing "};""

Closes #290

See merge request isc-projects/bind9!318
2018-05-25 13:12:44 +10:00
Mark Andrews
99d4760f0e add closing '};'
(cherry picked from commit ab22160a1c)
2018-05-25 13:12:43 +10:00
Evan Hunt
cbd40d7454 Merge branch '283-ensure-there-is-a-blank-line-before-a-changes-entry-and-a-release-marker' into 'v9_9'
Resolve "ensure there is a blank line before a changes entry and a release marker."

Closes #283

See merge request isc-projects/bind9!311
2018-05-23 17:59:08 -07:00
Mark Andrews
af973bfe8b ensure there is a blank line before a changes entry and a release marker
(cherry picked from commit c91770549f)
(cherry picked from commit d87eb5804d)
2018-05-23 17:59:05 -07:00
Evan Hunt
fe663aa18f Merge branch 'generate-notes-txt' into 'v9_9'
use w3m to generate notes.txt as part of the doc build

See merge request isc-projects/bind9!310
2018-05-23 10:03:49 -07:00
Evan Hunt
f2dc9a516f copyrights
(cherry picked from commit 58fd94cbce)
2018-05-23 09:58:57 -07:00
Evan Hunt
69568409c4 use w3m to generate notes.txt as part of the doc build
(cherry picked from commit 7c955e0eb8)
(cherry picked from commit 5b2390e016)
(cherry picked from commit 4729357675)
(cherry picked from commit 0bb2c62fd5)
2018-05-23 09:58:57 -07:00
Mark Andrews
6bf149bd16 Merge branch '273-add-home-arpa-to-list-of-empty-zones-rfc-8375-v9_9' into 'v9_9'
Resolve "Add "HOME.ARPA" to list of empty zones (RFC 8375)"

Closes #273

See merge request isc-projects/bind9!297
2018-05-23 11:31:05 +10:00
Mark Andrews
26e0694aee add HOME.ARPA to the list of empty zones
(cherry picked from commit 10dd0b3efe)
2018-05-23 11:30:55 +10:00
Evan Hunt
0e8c36d1d8 Merge branch 'fix-kit-v9_9' into 'v9_9'
use the correct repository, and get archive by tag not hash

See merge request isc-projects/bind9!304
2018-05-21 13:57:23 -07:00
Evan Hunt
dfa6c9a564 use the correct repository, and get archive by tag not hash
(cherry picked from commit 999e3233f3)
2018-05-21 13:57:23 -07:00
Mark Andrews
091fb83fbc Merge branch '238-isc_net_recvoverflow-support-is-broken-v9_9' into 'v9_9'
Resolve "ISC_NET_RECVOVERFLOW support is broken."

Closes #238

See merge request isc-projects/bind9!226
2018-05-18 16:20:02 +10:00
Mark Andrews
8c9d54c99c ISC_SOCKEVENTATTR_TRUNC was not be set
(cherry picked from commit 6bff1768cf)
2018-05-18 16:19:19 +10:00
Mark Andrews
6a67e87735 Merge branch '274-print-c-9-12-and-earlier-v9_9' into 'v9_9'
Resolve "print.c 9.12 and earlier"

See merge request isc-projects/bind9!298
2018-05-18 12:51:55 +10:00
Mark Andrews
53c85ca373 add CHANGES note
(cherry picked from commit 3f3d424a70)
2018-05-18 12:51:49 +10:00
Mark Andrews
9789729a43 look for '\0'
(cherry picked from commit d03a81c265)
2018-05-18 12:51:20 +10:00
Mark Andrews
593933bd5f add some %f format tests
(cherry picked from commit f5233ba5de)
2018-05-18 12:51:20 +10:00
Mark Andrews
d4ae45a2b7 don't produce a false negative for %z with CFLAGS=-Werror
(cherry picked from commit 800012de23)
2018-05-18 12:51:20 +10:00
Evan Hunt
bcb212bf13 Merge branch '233-clarify-documentation-of-update-policy-tcp-self-and-6to4-self' into 'v9_9'
Resolve "Clarify documentation of update-policy tcp-self and 6to4-self"

Closes #233

See merge request isc-projects/bind9!227
2018-05-15 13:20:53 -07:00
Evan Hunt
88a597de6e rewrite the update-policy documentation
- clarify the behavior of the name and identity fields for various
  rule types, particularly tcp-self and 6to4-self.

(cherry picked from commit dea89f2a52)
2018-05-15 13:20:51 -07:00
Michał Kępień
92a360ab67 Merge branch '252-9-9-sigs_test-updatesigs-is-failing-v9_9' into 'v9_9'
[v9_9] Skip lib/dns/tests/sigs_test for builds without DNSSEC support

See merge request isc-projects/bind9!276
2018-05-14 03:41:02 -04:00
Michał Kępień
7f38fd70c1 Extend the list of headers included by lib/dns/tests/sigs_test.c
(cherry picked from commit 1e1ed6627b)
2018-05-14 09:34:56 +02:00
Mark Andrews
77cd6fe0f5 return untested if not built with OPENSSL or PKCS11CRYPTO
(cherry picked from commit 9d8bab64ad)
2018-05-14 09:34:42 +02:00
Evan Hunt
08f84c8fab Merge branch '135-add-basic-unit-tests-for-update_sigs' into 'v9_9'
Add basic unit tests for update_sigs()

Closes #135

See merge request isc-projects/bind9!112
2018-05-10 09:50:33 -07:00
Michał Kępień
dfe3c55ec8 Add CHANGES entry
4939.	[test]		Add basic unit tests for update_sigs(). [GL #135]

(cherry picked from commit 4885809eb9)
(cherry picked from commit 1f9b0cbc63)
(cherry picked from commit d6b8bca379)
(cherry picked from commit 6338ca0849)
2018-05-10 09:45:51 -07:00
Michał Kępień
e41d2a195e Define basic test cases for dns__zone_updatesigs()
Add some basic test cases ensuring dns__zone_updatesigs() behaves as
expected.

(cherry picked from commit 8b9d2c27b4)
(cherry picked from commit 3e93e4bb62)
(cherry picked from commit 505267f320)
(cherry picked from commit 5a957ec9e1)
2018-05-10 09:45:50 -07:00
Michał Kępień
02da03b17f Add a framework for dns__zone_updatesigs() unit tests
Add a new ATF test, sigs_test, containing everything required to start
defining test cases for dns__zone_updatesigs().  The framework is
written in a way which ensures that changes to zone database applied by
any dns__zone_updatesigs() invocation are preserved between subsequent
checks.

(cherry picked from commit 1f10186476)
(cherry picked from commit 3dde7c42db)
(cherry picked from commit e787e54ea1)
(cherry picked from commit 7394dd8732)
2018-05-10 09:45:48 -07:00
Michał Kępień
781105c046 Move find_zone_keys() to lib/dns/zone_p.h
Rename find_zone_keys() to dns__zone_findkeys() and move it to
lib/dns/zone_p.h, so that it can be used in unit tests.  Add a comment
describing the purpose of this function.

(cherry picked from commit d7143986b1)
(cherry picked from commit fc0e99c7d7)
(cherry picked from commit a6be59ce08)
(cherry picked from commit b8720b8f50)
2018-05-10 09:42:39 -07:00
Michał Kępień
b767528e13 Move update_sigs() to lib/dns/zone_p.h
Rename update_sigs() to dns__zone_updatesigs() and move it to
lib/dns/zone_p.h, so that it can be unit tested.  Add a comment
describing the purpose of this function.

(cherry picked from commit b1947cee82)
(cherry picked from commit 4d06f50ba8)
(cherry picked from commit 5c71a025c6)
(cherry picked from commit ae03a5c1fa)
2018-05-10 09:42:13 -07:00
Michał Kępień
645c43d09c Move zonediff_t to lib/dns/zone_p.h
Rename zonediff_t to dns__zonediff_t and move it to lib/dns/zone_p.h, so
that unit tests can be written for functions taking pointers to
structures of this type as arguments.

(cherry picked from commit ace465a9f9)
(cherry picked from commit ea15c54d8a)
(cherry picked from commit 5712d9528f)
(cherry picked from commit 5f0b4eaf70)
2018-05-10 09:42:13 -07:00
Michał Kępień
0d126920e6 Add lib/dns/zone_p.h
Add a new private header file, lib/dns/zone_p.h, which will hold type
definitions and function prototypes not meant to be exported by libdns,
but required by zone-related unit tests.

(cherry picked from commit c1bc3be806)
(cherry picked from commit 2b0add6d1a)
(cherry picked from commit 536d6dc0c5)
(cherry picked from commit 27f777c61a)
2018-05-10 09:42:13 -07:00
Michał Kępień
f7a84380dd Add a helper function to facilitate preparing dns_diff_t structures
Implement dns_test_difffromchanges(), a function which enables preparing
a dns_diff_t structure from a mostly-textual representation of zone
database changes to be applied.  This will improve readability of test
case definitions by allowing contents of a dns_diff_t structure, passed
e.g. to update_sigs(), to be represented in a human-friendly manner.

(cherry picked from commit 3c22af0d35)
(cherry picked from commit d4c603eb8a)
(cherry picked from commit 1f454b8d91)
(cherry picked from commit 7193496b6e)
2018-05-10 09:42:13 -07:00
Michał Kępień
1eec107a94 Rename dns_test_rdata_fromstring() to dns_test_rdatafromstring()
Remove the underscore from "rdata_fromstring" so that all helper
functions for libdns tests use a common naming covention.

(cherry picked from commit 2980cbd55f)
(cherry picked from commit 107102d333)
(cherry picked from commit 5097723d1b)
(cherry picked from commit 94caf8ebdb)
2018-05-10 09:42:13 -07:00