Commit Graph
27679 Commits
Author SHA1 Message Date
Mark AndrewsandEvan Hunt 22018e332a check that multiple KEY-TAG trust-anchor-telemetry options don't leak memory
(cherry picked from commit 4b1dc4a5445e9561f2208f9388cf9f9e2cfcbe51)
2019-02-20 19:45:13 -08:00
Mark AndrewsandEvan Hunt 3b88bc3d3b silently ignore additional keytag options
(cherry picked from commit 36158e6c96e982768bd33d4090cbe563718534f2)
2019-02-20 19:45:12 -08:00
Evan Hunt 6c72669909 Merge 'managed-key-assert' into security-v9_12 2019-02-20 19:45:12 -08:00
Evan Hunt 066330fd29 use algorithm 255 for both unsupported keys 2019-02-20 19:45:11 -08:00
Matthijs MekkingandEvan Hunt 89536c5024 CHANGES, notes
(cherry picked from commit f0eefb06d488cc99e8b4a4b7238e4a556afb7586)
2019-02-20 19:45:11 -08:00
Matthijs MekkingandEvan Hunt 2f93529a53 Update keyfetch_done compute_tag check
If in keyfetch_done the compute_tag fails (because for example the
algorithm is not supported), don't crash, but instead ignore the
key.

(cherry picked from commit b1d5411569ae10830b63f07560091193646cc739)
2019-02-20 19:45:10 -08:00
Matthijs MekkingandEvan Hunt fd6638e4c3 Add tests for mkeys with unsupported algorithm
These tests check if a key with an unsupported algorithm in
managed-keys is ignored and when seeing an algorithm rollover to
an unsupported algorithm, the new key will be ignored too.

(cherry picked from commit 144cb53d0ae3aa5e6e3123720b603f9ab2bd1fa9)
2019-02-20 19:45:10 -08:00
Matthijs MekkingandEvan Hunt 8d4741af21 Don't free key in compute_tag in case of failure
If `dns_dnssec_keyfromrdata` failed we don't need to call
`dst_key_free` because no `dstkey` was created.  Doing so
nevertheless will result in an assertion failure.

This can happen if the key uses an unsupported algorithm.

(cherry picked from commit 7a1ca39b950b7d5230b605ac60f15a1cb94e3d69)
2019-02-20 19:45:09 -08:00
Evan Hunt 70a1bc15b7 Merge branch '823-masterformat-test-fix-v9_12' into 'v9_12'
fix broken masterformat test

See merge request isc-projects/bind9!1554
2019-02-20 22:39:13 -05:00
Evan Hunt d15aed8325 fix broken masterformat test
- dig command had the @ parameter in the wrong place
- private-dnskey and private-cdnskey are queried in a separate
  loop, which strips 'private-' from the name to determine the qtype

(cherry picked from commit bc7b34d6ef)
2019-02-20 19:15:33 -08:00
Evan Hunt 4b331c4e75 Merge branch 'each-enable-threads' into 'v9_12'
enable threads by default on openbsd 6.2 and higher

See merge request isc-projects/bind9!1548
2019-02-20 21:58:04 -05:00
Evan Hunt 60125f1ecc CHANGES 2019-02-20 18:46:55 -08:00
Evan Hunt 95fff9538f enable threads by default on openbsd 6.2 and higher 2019-02-20 18:29:53 -08:00
Evan Hunt 2472a97072 Merge branch 'each-fix-timer-test' into 'v9_12'
timer_test failed to compile if cmocka was enabled but threads were not

See merge request isc-projects/bind9!1547
2019-02-20 21:22:27 -05:00
Evan Hunt c73e3175c7 timer_test failed to compile if cmocka was enabled but threads were not 2019-02-20 13:35:51 -08:00
Mark Andrews 4ac4806d71 Merge branch '884-patches-to-review-v9_12' into 'v9_12'
Correct errno to result translation

See merge request isc-projects/bind9!1540
2019-02-19 18:29:27 -05:00
Mark Andrews a13c6e9579 add CHANGES
(cherry picked from commit a0c0d76029)
2019-02-20 10:16:59 +11:00
Mark Andrews c0b14949be correct errno to result translation
(cherry picked from commit 218ce34e7d)
2019-02-20 10:16:59 +11:00
Mark Andrews 2b4d66c1c3 Merge branch '836-building-fails-in-build-subdirectory-when-dnstap-is-enabled-v9_12' into 'v9_12'
Resolve "Building fails in build subdirectory when dnstap is enabled"

See merge request isc-projects/bind9!1538
2019-02-19 17:58:38 -05:00
Mark Andrews ad3e5049c5 add CHANGES
(cherry picked from commit 3a21fdf884)
2019-02-20 09:45:45 +11:00
Mark Andrews 471a69abc2 teach proto_c to look in the source directory for out of tree builds
(cherry picked from commit c0d4ff5796)
2019-02-20 09:45:45 +11:00
Mark Andrews 54e2ccb232 Merge branch '877-clang-scan-build-redundant-assignments-detected-v9_12' into 'v9_12'
Remove redundant assignments

See merge request isc-projects/bind9!1536
2019-02-19 17:30:15 -05:00
Mark Andrews 65d78a3772 remove redundant assignment
(cherry picked from commit f475dc75b1)
2019-02-19 10:23:45 +11:00
Mark Andrews 2b96fe7c53 silence clang
(cherry picked from commit 7b60f6832e)
2019-02-19 10:23:45 +11:00
Mark Andrews 24336749f0 don't overwrite result
(cherry picked from commit 70fab477b1)
2019-02-19 10:21:48 +11:00
Mark Andrews 52ccbcd5a1 remove seen_dname
(cherry picked from commit 63c03cdb2d)
2019-02-19 10:18:19 +11:00
Mark Andrews 59b82cecc6 Merge branch '877-clang-scan-build-redundant-assignments-detected-2-v9_12' into 'v9_12'
decode_NegTokenInit failed to cleanup allocated memory on error.

See merge request isc-projects/bind9!1529
2019-02-18 17:51:02 -05:00
Mark Andrews ea232ab917 fix memory leak
(cherry picked from commit 7114d16098)
2019-02-19 09:37:48 +11:00
Mark Andrews 961f9c5557 Merge branch '877-clang-scan-build-redundant-assignments-detected-2-v9_12' into 'v9_12'
Add missing asserts to socket_test.c and dnstest.c

See merge request isc-projects/bind9!1524
2019-02-18 16:46:25 -05:00
Mark Andrews 48d49338a3 assert result is ISC_R_SUCCESS
(cherry picked from commit 76a1c1531a)
2019-02-19 08:00:13 +11:00
Mark Andrews 9daedd5482 Merge branch 'u/fanf2/dnssec-keymgr-man-v9_12' into 'v9_12'
Improve dnssec-keymgr manual

See merge request isc-projects/bind9!1520
2019-02-18 00:05:47 -05:00
Tony FinchandMark Andrews 66f60c1d2c Improve dnssec-keymgr manual
Illustrate the syntax for the policy options, with semicolons.

Explicitly mention the "default" policy.

Fix a few typos and remove some redundant wording.

(cherry picked from commit 7ee56e2abd)
2019-02-18 15:45:28 +11:00
Evan Hunt 8f8d7db50e Merge branch '879-dnssec-checkds-help-v9_12' into 'v9_12'
Correct path in dnssec-checkds help

See merge request isc-projects/bind9!1516
2019-02-14 16:06:10 -05:00
Petr MenšíkandEvan Hunt 87c3f93066 Correct path in dnssec-checkds help
(cherry picked from commit 7bd544e795)
2019-02-14 12:52:32 -08:00
Mark Andrews 2ab6d46f04 Merge branch '871-add-a-ci-check-for-missing-prereq.sh-scripts-v9_12' into 'v9_12'
Add a CI check for missing prereq.sh scripts

See merge request isc-projects/bind9!1508
2019-02-11 18:03:06 -05:00
Mark Andrews 6fd4532933 add util/check-ans-prereq to precheck
(cherry picked from commit 74c1c37563)
2019-02-12 09:03:29 +11:00
Mark Andrews da1b1286c9 add check-ans-prereq
(cherry picked from commit ec2ecffef1)
2019-02-12 09:03:29 +11:00
Evan Hunt 1986e117d1 Merge branch '872-dlz-ldap-dname-v9_12' into 'v9_12'
added DNAME support to DLZ LDAP schema, and fixed a DLZ compile error

See merge request isc-projects/bind9!1503
2019-02-10 17:24:04 -05:00
Evan Hunt 04f26338a8 added DNAME support to DLZ LDAP schema, and fixed a DLZ compile error
Thanks to Roland Gruber for the schema contribution.

(cherry picked from commit 2e3b5db195)
2019-02-10 14:09:29 -08:00
Evan Hunt 287da15438 Merge branch 'u/fanf2/zonemd-v9_12' into 'v9_12'
Correct ZONEMD expansion in ARM

See merge request isc-projects/bind9!1499
2019-02-08 16:18:51 -05:00
Tony FinchandEvan Hunt 65334e1df9 Correct ZONEMD expansion in ARM
(cherry picked from commit af74f18536)
2019-02-08 13:17:00 -08:00
Michał Kępień 15f660ca3a Merge branch '869-prereq-sh-needed-in-forward-test-v9_12' into 'v9_12'
[v9_12] Resolve "prereq.sh needed in forward test"

See merge request isc-projects/bind9!1495
2019-02-08 09:05:04 -05:00
Curtis BlackburnandMichał Kępień bfe8e7ea94 added prereq.sh to forward test to detect perl Net::DNS
(cherry picked from commit 8c929bd7c5)
2019-02-08 14:36:41 +01:00
Mark Andrews ab3066ef6d Merge branch '867-rrtypes-missing-from-named-v9_12' into 'v9_12'
Resolve "rrtypes missing from named"

See merge request isc-projects/bind9!1491
2019-02-07 22:30:56 -05:00
Mark Andrews 3e31e71b67 add AMTRELAY and ZONEMD to ARM
(cherry picked from commit b06c5f8cfd)
2019-02-08 14:10:17 +11:00
Mark Andrews 547bf4efd2 fix AMTRELAY name
(cherry picked from commit a9fadafecd)
2019-02-08 14:10:17 +11:00
Evan Hunt 7eb0486f73 Merge branch 'each-dnssec-coverage-dots-v9_12' into 'v9_12'
dnssec-coverage was improperly ignoring some zones

See merge request isc-projects/bind9!1488
2019-02-07 20:58:23 -05:00
Evan Hunt a9d79b6001 CHANGES
(cherry picked from commit a242c704f5)
2019-02-07 17:33:01 -08:00
Evan Hunt ddcd3b61be adjust style, match test to other tests
(cherry picked from commit 9949163936)
2019-02-07 17:33:00 -08:00
Tony FinchandEvan Hunt 8b4c9c3981 dnssec-coverage: fix handling of zones without trailing dots
After change 5143, zones listed on the command line without trailing
dots were ignored.

(cherry picked from commit a159675f44)
2019-02-07 17:33:00 -08:00