]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
7 years agoMerge branch 'security-dlz-axfr-deny-broken-security-v9_12' into 'security-v9_12'
Evan Hunt [Wed, 6 Feb 2019 20:19:17 +0000 (12:19 -0800)] 
Merge branch 'security-dlz-axfr-deny-broken-security-v9_12' into 'security-v9_12'

denied axfr requests were not effective for writable DLZ zones

See merge request isc-private/bind9!57

7 years agoadd CHANGES and release notes entries
Mark Andrews [Wed, 6 Feb 2019 19:36:20 +0000 (11:36 -0800)] 
add CHANGES and release notes entries

(cherry picked from commit 354ad18a12e84e5c660ce8e08e56382e529d8b2c)

7 years agoMerge 'keytag-memleak' into security-v9_12
Evan Hunt [Tue, 15 Jan 2019 22:09:21 +0000 (14:09 -0800)] 
Merge 'keytag-memleak' into security-v9_12

7 years agodenied axfr requests were not effective for writable DLZ zones
Mark Andrews [Wed, 6 Feb 2019 19:35:21 +0000 (11:35 -0800)] 
denied axfr requests were not effective for writable DLZ zones

(cherry picked from commit d9077cd0038e59726e1956de18b4b7872038a283)

7 years agoadd CHANGES and release note entries
Mark Andrews [Sun, 9 Dec 2018 22:13:05 +0000 (09:13 +1100)] 
add CHANGES and release note entries

(cherry picked from commit 8134c9a3f3bf46455ce4d16f2bf01e086d20f69b)

7 years agocheck that multiple KEY-TAG trust-anchor-telemetry options don't leak memory
Mark Andrews [Mon, 10 Dec 2018 02:33:54 +0000 (13:33 +1100)] 
check that multiple KEY-TAG trust-anchor-telemetry options don't leak memory

(cherry picked from commit 4b1dc4a5445e9561f2208f9388cf9f9e2cfcbe51)

7 years agoMerge 'managed-key-assert' into security-v9_12
Evan Hunt [Tue, 15 Jan 2019 22:08:35 +0000 (14:08 -0800)] 
Merge 'managed-key-assert' into security-v9_12

7 years agosilently ignore additional keytag options
Mark Andrews [Sun, 9 Dec 2018 21:41:26 +0000 (08:41 +1100)] 
silently ignore additional keytag options

(cherry picked from commit 36158e6c96e982768bd33d4090cbe563718534f2)

7 years agouse algorithm 255 for both unsupported keys
Evan Hunt [Fri, 21 Dec 2018 23:56:02 +0000 (15:56 -0800)] 
use algorithm 255 for both unsupported keys

7 years agoCHANGES, notes
Matthijs Mekking [Thu, 20 Dec 2018 09:22:02 +0000 (10:22 +0100)] 
CHANGES, notes

(cherry picked from commit f0eefb06d488cc99e8b4a4b7238e4a556afb7586)

7 years agoUpdate keyfetch_done compute_tag check
Matthijs Mekking [Wed, 19 Dec 2018 17:47:43 +0000 (18:47 +0100)] 
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)

7 years agoAdd tests for mkeys with unsupported algorithm
Matthijs Mekking [Wed, 19 Dec 2018 17:45:43 +0000 (18:45 +0100)] 
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)

7 years agoDon't free key in compute_tag in case of failure
Matthijs Mekking [Wed, 12 Dec 2018 13:06:10 +0000 (14:06 +0100)] 
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)

7 years agoMerge branch '823-masterformat-test-fix-v9_12' into 'v9_12'
Evan Hunt [Thu, 21 Feb 2019 03:39:13 +0000 (22:39 -0500)] 
Merge branch '823-masterformat-test-fix-v9_12' into 'v9_12'

fix broken masterformat test

See merge request isc-projects/bind9!1554

7 years agofix broken masterformat test
Evan Hunt [Sat, 19 Jan 2019 09:48:12 +0000 (01:48 -0800)] 
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 bc7b34d6ef4e9a539da5f09795f130d4c392104b)

7 years agoMerge branch 'each-enable-threads' into 'v9_12'
Evan Hunt [Thu, 21 Feb 2019 02:58:04 +0000 (21:58 -0500)] 
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

7 years agoCHANGES
Evan Hunt [Thu, 21 Feb 2019 02:46:55 +0000 (18:46 -0800)] 
CHANGES

7 years agoenable threads by default on openbsd 6.2 and higher
Evan Hunt [Wed, 20 Feb 2019 22:02:19 +0000 (14:02 -0800)] 
enable threads by default on openbsd 6.2 and higher

7 years agoMerge branch 'each-fix-timer-test' into 'v9_12'
Evan Hunt [Thu, 21 Feb 2019 02:22:27 +0000 (21:22 -0500)] 
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

7 years agotimer_test failed to compile if cmocka was enabled but threads were not
Evan Hunt [Wed, 20 Feb 2019 21:31:45 +0000 (13:31 -0800)] 
timer_test failed to compile if cmocka was enabled but threads were not

7 years agoMerge branch '884-patches-to-review-v9_12' into 'v9_12'
Mark Andrews [Tue, 19 Feb 2019 23:29:27 +0000 (18:29 -0500)] 
Merge branch '884-patches-to-review-v9_12' into 'v9_12'

Correct errno to result translation

See merge request isc-projects/bind9!1540

7 years agoadd CHANGES
Mark Andrews [Tue, 19 Feb 2019 22:44:56 +0000 (09:44 +1100)] 
add CHANGES

(cherry picked from commit a0c0d760297db57bcc0c3cbdcb332214e6936d86)

7 years agocorrect errno to result translation
Mark Andrews [Mon, 18 Feb 2019 01:26:38 +0000 (12:26 +1100)] 
correct errno to result translation

(cherry picked from commit 218ce34e7d692cd12c5cf3bf94a675ec9e28fefb)

7 years agoMerge branch '836-building-fails-in-build-subdirectory-when-dnstap-is-enabled-v9_12...
Mark Andrews [Tue, 19 Feb 2019 22:58:38 +0000 (17:58 -0500)] 
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

7 years agoadd CHANGES
Mark Andrews [Tue, 19 Feb 2019 22:29:07 +0000 (09:29 +1100)] 
add CHANGES

(cherry picked from commit 3a21fdf88470d81567e2a0f36b57afec3da03301)

7 years agoteach proto_c to look in the source directory for out of tree builds
Mark Andrews [Tue, 12 Feb 2019 04:27:57 +0000 (15:27 +1100)] 
teach proto_c to look in the source directory for out of tree builds

(cherry picked from commit c0d4ff57961edfaf0713d9a215750cfa26f42548)

7 years agoMerge branch '877-clang-scan-build-redundant-assignments-detected-v9_12' into 'v9_12'
Mark Andrews [Tue, 19 Feb 2019 22:30:15 +0000 (17:30 -0500)] 
Merge branch '877-clang-scan-build-redundant-assignments-detected-v9_12' into 'v9_12'

Remove redundant assignments

See merge request isc-projects/bind9!1536

7 years agoremove redundant assignment
Mark Andrews [Wed, 13 Feb 2019 05:22:01 +0000 (16:22 +1100)] 
remove redundant assignment

(cherry picked from commit f475dc75b1e2d3745e3c5d056339330b4a274aa9)

7 years agosilence clang
Mark Andrews [Wed, 13 Feb 2019 05:19:07 +0000 (16:19 +1100)] 
silence clang

(cherry picked from commit 7b60f6832e702507f2cec23f22ab9cf4abacc1e4)

7 years agodon't overwrite result
Mark Andrews [Wed, 13 Feb 2019 05:11:08 +0000 (16:11 +1100)] 
don't overwrite result

(cherry picked from commit 70fab477b11b63642e05e6e9ce1c998fe2a83add)

7 years agoremove seen_dname
Mark Andrews [Wed, 13 Feb 2019 04:57:03 +0000 (15:57 +1100)] 
remove seen_dname

(cherry picked from commit 63c03cdb2d5ea425dd34c77c5d3291228b4dfffc)

7 years agoMerge branch '877-clang-scan-build-redundant-assignments-detected-2-v9_12' into ...
Mark Andrews [Mon, 18 Feb 2019 22:51:02 +0000 (17:51 -0500)] 
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

7 years agofix memory leak
Mark Andrews [Thu, 14 Feb 2019 21:52:16 +0000 (08:52 +1100)] 
fix memory leak

(cherry picked from commit 7114d16098b0cf4910e06490fa70758f1c2c62a3)

7 years agoMerge branch '877-clang-scan-build-redundant-assignments-detected-2-v9_12' into ...
Mark Andrews [Mon, 18 Feb 2019 21:46:25 +0000 (16:46 -0500)] 
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

7 years agoassert result is ISC_R_SUCCESS
Mark Andrews [Wed, 13 Feb 2019 04:53:41 +0000 (15:53 +1100)] 
assert result is ISC_R_SUCCESS

(cherry picked from commit 76a1c1531af92e11eb5cfe150d9a8a3d02b64cd2)

7 years agoMerge branch 'u/fanf2/dnssec-keymgr-man-v9_12' into 'v9_12'
Mark Andrews [Mon, 18 Feb 2019 05:05:47 +0000 (00:05 -0500)] 
Merge branch 'u/fanf2/dnssec-keymgr-man-v9_12' into 'v9_12'

Improve dnssec-keymgr manual

See merge request isc-projects/bind9!1520

7 years agoImprove dnssec-keymgr manual
Tony Finch [Fri, 15 Feb 2019 19:12:10 +0000 (19:12 +0000)] 
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 7ee56e2abdf8bad7c3b0f7f3d52f8f5f44b13f2c)

7 years agoMerge branch '879-dnssec-checkds-help-v9_12' into 'v9_12'
Evan Hunt [Thu, 14 Feb 2019 21:06:10 +0000 (16:06 -0500)] 
Merge branch '879-dnssec-checkds-help-v9_12' into 'v9_12'

Correct path in dnssec-checkds help

See merge request isc-projects/bind9!1516

7 years agoCorrect path in dnssec-checkds help
Petr Menšík [Thu, 14 Feb 2019 14:23:26 +0000 (15:23 +0100)] 
Correct path in dnssec-checkds help

(cherry picked from commit 7bd544e795c6edb4a11cef692543a98dfc87eb8c)

7 years agoMerge branch '871-add-a-ci-check-for-missing-prereq.sh-scripts-v9_12' into 'v9_12'
Mark Andrews [Mon, 11 Feb 2019 23:03:06 +0000 (18:03 -0500)] 
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

7 years agoadd util/check-ans-prereq to precheck
Mark Andrews [Fri, 8 Feb 2019 01:21:59 +0000 (12:21 +1100)] 
add util/check-ans-prereq to precheck

(cherry picked from commit 74c1c375631ed787488832238b0d45db36d842cc)

7 years agoadd check-ans-prereq
Mark Andrews [Fri, 8 Feb 2019 01:19:39 +0000 (12:19 +1100)] 
add check-ans-prereq

(cherry picked from commit ec2ecffef137da5635235330ce05b601f6d3a658)

7 years agoMerge branch '872-dlz-ldap-dname-v9_12' into 'v9_12'
Evan Hunt [Sun, 10 Feb 2019 22:24:04 +0000 (17:24 -0500)] 
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

7 years agoadded DNAME support to DLZ LDAP schema, and fixed a DLZ compile error
Evan Hunt [Sun, 10 Feb 2019 19:49:01 +0000 (11:49 -0800)] 
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 2e3b5db195baf6edfd2fb83094c2a603a28cec70)

7 years agoMerge branch 'u/fanf2/zonemd-v9_12' into 'v9_12'
Evan Hunt [Fri, 8 Feb 2019 21:18:51 +0000 (16:18 -0500)] 
Merge branch 'u/fanf2/zonemd-v9_12' into 'v9_12'

Correct ZONEMD expansion in ARM

See merge request isc-projects/bind9!1499

7 years agoCorrect ZONEMD expansion in ARM
Tony Finch [Fri, 8 Feb 2019 17:11:30 +0000 (17:11 +0000)] 
Correct ZONEMD expansion in ARM

(cherry picked from commit af74f185369a85ffff110b11fe249b430a6b7bfb)

7 years agoMerge branch '869-prereq-sh-needed-in-forward-test-v9_12' into 'v9_12'
Michał Kępień [Fri, 8 Feb 2019 14:05:04 +0000 (09:05 -0500)] 
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

7 years agoadded prereq.sh to forward test to detect perl Net::DNS
Curtis Blackburn [Thu, 7 Feb 2019 19:46:58 +0000 (11:46 -0800)] 
added prereq.sh to forward test to detect perl Net::DNS

(cherry picked from commit 8c929bd7c5058a264076ed069efe6acc428c9a16)

7 years agoMerge branch '867-rrtypes-missing-from-named-v9_12' into 'v9_12'
Mark Andrews [Fri, 8 Feb 2019 03:30:56 +0000 (22:30 -0500)] 
Merge branch '867-rrtypes-missing-from-named-v9_12' into 'v9_12'

Resolve "rrtypes missing from named"

See merge request isc-projects/bind9!1491

7 years agoadd AMTRELAY and ZONEMD to ARM
Mark Andrews [Fri, 8 Feb 2019 02:42:14 +0000 (13:42 +1100)] 
add AMTRELAY and ZONEMD to ARM

(cherry picked from commit b06c5f8cfd3e449942f6020f054d167ea3e00b6f)

7 years agofix AMTRELAY name
Mark Andrews [Fri, 8 Feb 2019 02:41:22 +0000 (13:41 +1100)] 
fix AMTRELAY name

(cherry picked from commit a9fadafecd6470ea0795561f1d7ea66ee3c8dd2a)

7 years agoMerge branch 'each-dnssec-coverage-dots-v9_12' into 'v9_12'
Evan Hunt [Fri, 8 Feb 2019 01:58:23 +0000 (20:58 -0500)] 
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

7 years agoCHANGES
Evan Hunt [Fri, 8 Feb 2019 00:47:26 +0000 (16:47 -0800)] 
CHANGES

(cherry picked from commit a242c704f5aed9c8e8a42e2c975c70d37d882f67)

7 years agoadjust style, match test to other tests
Evan Hunt [Fri, 8 Feb 2019 00:42:12 +0000 (16:42 -0800)] 
adjust style, match test to other tests

(cherry picked from commit 9949163936e22adabf94ea05a9dfed76527cf1a5)

7 years agodnssec-coverage: fix handling of zones without trailing dots
Tony Finch [Thu, 7 Feb 2019 19:00:43 +0000 (19:00 +0000)] 
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 a159675f448130daf29670c2b2bbc9edb5e20c09)

7 years agoMerge branch '867-rrtypes-missing-from-named-v9_12' into 'v9_12'
Mark Andrews [Thu, 7 Feb 2019 23:42:25 +0000 (18:42 -0500)] 
Merge branch '867-rrtypes-missing-from-named-v9_12' into 'v9_12'

Resolve "rrtypes missing from named"

See merge request isc-projects/bind9!1485

7 years agoadd top of range checks
Mark Andrews [Thu, 7 Feb 2019 22:37:00 +0000 (09:37 +1100)] 
add top of range checks

(cherry picked from commit 8d69e15988d160a8214d9003d0bfcdfb296bd6fe)

7 years agoMerge branch '867-rrtypes-missing-from-named-v9_12' into 'v9_12'
Mark Andrews [Thu, 7 Feb 2019 22:01:53 +0000 (17:01 -0500)] 
Merge branch '867-rrtypes-missing-from-named-v9_12' into 'v9_12'

Resolve "rrtypes missing from named"

See merge request isc-projects/bind9!1481

7 years agoCHANGES
Evan Hunt [Thu, 7 Feb 2019 18:27:50 +0000 (10:27 -0800)] 
CHANGES

(cherry picked from commit 72f6fb069773eb02347315b66b20362cd4c6b3b7)

7 years agoAdd support for ZONEMD
Evan Hunt [Thu, 7 Feb 2019 20:33:53 +0000 (12:33 -0800)] 
Add support for ZONEMD

(cherry picked from commit 3183663dd4ae977995f6667c56a4577035175a5e)

7 years agoAdd support for ATMRELAY
Mark Andrews [Thu, 7 Feb 2019 07:31:03 +0000 (18:31 +1100)] 
Add support for ATMRELAY

(cherry picked from commit 66922ee7af1503c897ac9b0d33305eed139626c7)

7 years agoMerge branch '207-nslookup-takes-2-argvs-w-o-errors-uses-only-1st-and-last-v9_12...
Mark Andrews [Thu, 7 Feb 2019 13:18:25 +0000 (08:18 -0500)] 
Merge branch '207-nslookup-takes-2-argvs-w-o-errors-uses-only-1st-and-last-v9_12' into 'v9_12'

Resolve "nslookup takes >2 argvs w/o errors, uses only 1st and last"

See merge request isc-projects/bind9!1476

7 years agoerror out if there are extra command line options
Mark Andrews [Wed, 23 Jan 2019 06:47:59 +0000 (17:47 +1100)] 
error out if there are extra command line options

(cherry picked from commit f73816ff0fda101ebe61213ed4352c1f245b3329)

7 years agoMerge branch '857-inline-system-test-wasn-t-cleaning-k-files-on-restart-if-interrupte...
Mark Andrews [Wed, 6 Feb 2019 07:05:03 +0000 (02:05 -0500)] 
Merge branch '857-inline-system-test-wasn-t-cleaning-k-files-on-restart-if-interrupted-v9_12' into 'v9_12'

Resolve "inline system test wasn't cleaning K* files on restart if interrupted."

See merge request isc-projects/bind9!1471

7 years agoSimplify the inline clean script
Ondřej Surý [Tue, 5 Feb 2019 21:23:11 +0000 (22:23 +0100)] 
Simplify the inline clean script

(cherry picked from commit 519152b1919b89f15876ddaabb9a0f69969cd60c)

7 years agoclean K* files in inline system test directory
Mark Andrews [Tue, 5 Feb 2019 05:58:44 +0000 (16:58 +1100)] 
clean K* files in inline system test directory

(cherry picked from commit 1878efe661f941ae811cf27cfe9caab5f886ea91)

7 years agoMerge branch 'u/fanf2/cleanup-cdnskey-to-ds-v9_12' into 'v9_12'
Evan Hunt [Wed, 6 Feb 2019 05:48:39 +0000 (00:48 -0500)] 
Merge branch 'u/fanf2/cleanup-cdnskey-to-ds-v9_12' into 'v9_12'

cleanup: allow building DS directly from CDNSKEY

See merge request isc-projects/bind9!1469

7 years agocleanup: allow building DS directly from CDNSKEY
Tony Finch [Thu, 31 Jan 2019 19:34:21 +0000 (19:34 +0000)] 
cleanup: allow building DS directly from CDNSKEY

Relax an assertion in lib/dns/ds.c so that dnssec-cds does
not have to work around it. This will also be useful for
dnssec-dsfromkey.

(cherry picked from commit 2e173bbd24a4227769a388b4e20a34c46a3d0c2f)

7 years agoMerge branch 'u/fanf2/cleanup-dnssec-revoke-help-v9_12' into 'v9_12'
Evan Hunt [Wed, 6 Feb 2019 05:21:10 +0000 (00:21 -0500)] 
Merge branch 'u/fanf2/cleanup-dnssec-revoke-help-v9_12' into 'v9_12'

cleanup: fix dnssec-revoke help text

See merge request isc-projects/bind9!1466

7 years agocleanup: fix dnssec-revoke help text
Tony Finch [Fri, 1 Feb 2019 14:48:08 +0000 (14:48 +0000)] 
cleanup: fix dnssec-revoke help text

Correct alignment and alphabetize

(cherry picked from commit f7b2bd304e3eed8f60fc5e0d6d0c3bc43c5aa62a)

7 years agoMerge branch 'u/fanf2/dsfromkey-man-v9_12' into 'v9_12'
Evan Hunt [Wed, 6 Feb 2019 04:18:29 +0000 (23:18 -0500)] 
Merge branch 'u/fanf2/dsfromkey-man-v9_12' into 'v9_12'

cleanup: revamp the dnssec-dsfromkey man page and help output

See merge request isc-projects/bind9!1464

7 years agocleanup: revamp the dnssec-dsfromkey man page and help output
Tony Finch [Thu, 31 Jan 2019 16:41:29 +0000 (16:41 +0000)] 
cleanup: revamp the dnssec-dsfromkey man page and help output

* Alphabetize the option lists in the man page and help text

* Make the synopses more consistent between the man page and help
  text, in particular the number of different modes

* Group mutually exclusive options in the man page synopses, and order
  options so that it is more clear which are available in every mode

* Expand the DESCRIPTION to provide an overview of the output modes
  and input modes

* Improve cross-references between options

* Leave RFC citations to the SEE ALSO section, and clarify which RFC
  specifies what

* Clarify list of digest algorithms in dnssec-dsfromkey and dnssec-cds
  man pages

(cherry picked from commit 6ca8e130ace087ce476d601c71f67a96220438e3)

7 years agoMerge branch '860-process_opt-could-be-called-multiple-times-on-the-same-message...
Mark Andrews [Wed, 6 Feb 2019 02:39:33 +0000 (21:39 -0500)] 
Merge branch '860-process_opt-could-be-called-multiple-times-on-the-same-message-in-dig-v9_12' into 'v9_12'

Resolve "process_opt() could be called multiple times on the same message in dig."

See merge request isc-projects/bind9!1460

7 years agoadd CHANGES
Mark Andrews [Wed, 6 Feb 2019 01:36:37 +0000 (12:36 +1100)] 
add CHANGES

(cherry picked from commit 946d5c2c1ec0f76e6d7ef58c6e083c9fd63db392)

7 years agosend over and undersized cookie
Mark Andrews [Tue, 5 Feb 2019 23:40:03 +0000 (10:40 +1100)] 
send over and undersized cookie

(cherry picked from commit 0207199bb88a9ffc6b62af13ec5953cb098e3346)

7 years agothe condition test for checking the client cookie value was wrong; don't call process...
Mark Andrews [Tue, 5 Feb 2019 23:08:47 +0000 (10:08 +1100)] 
the condition test for checking the client cookie value was wrong; don't call process_opt multiple times

(cherry picked from commit d9c368eee0826a3fbf7111e591dedcf53cb66c0b)

7 years agoMerge branch '822-test-make-install-in-one-of-the-build-jobs-v9_12' into 'v9_12'
Michał Kępień [Tue, 5 Feb 2019 20:37:31 +0000 (15:37 -0500)] 
Merge branch '822-test-make-install-in-one-of-the-build-jobs-v9_12' into 'v9_12'

[v9_12] Test "make install" in one of the build jobs

See merge request isc-projects/bind9!1456

7 years agoTest "make install" in one of the build jobs
Michał Kępień [Fri, 1 Feb 2019 12:35:53 +0000 (13:35 +0100)] 
Test "make install" in one of the build jobs

Running "make install" in a separate job in the "test" phase of a CI
pipeline causes a lot of object files to be rebuilt due to the way
artifacts are passed between GitLab CI jobs (object files extracted from
the artifacts archive have older modification times than their
respective source files checked out using Git by the worker running the
"install" job).  Test "make install" in one of the build jobs instead,
in order to prevent object rebuilding.

Using 'after_script' for this purpose was not an option because its
failures are ignored.

Duplicating the build script in two places would be error-prone in the
long run and thus was rejected as a solution.  YAML anchors would also
not help in this case.

A "positive" test (`test -n "${RUN_MAKE_INSTALL}" && make install`)
would not work because:

  - it would cause the build script to fail for any job not supposed to
    run "make install",

  - appending `|| :` to the shell pipeline would prevent "make install"
    errors from causing a job failure.

Due to the above, a "negative" test is performed, so that:

  - jobs not supposed to run "make install" succeed immediately,

  - jobs supposed to run "make install" only succeed when "make install"
    succeeds.

(cherry picked from commit 2a231b6239278047da73649df034a1bfd7c74651)

7 years agoMerge branch 'each-win-tests-v9_12' into 'v9_12'
Evan Hunt [Fri, 1 Feb 2019 06:57:06 +0000 (01:57 -0500)] 
Merge branch 'each-win-tests-v9_12' into 'v9_12'

tests failing on windows due to false crash-on-shutdown reports

See merge request isc-projects/bind9!1447

7 years agodisable the check for crash on shutdown when running under cygwin
Evan Hunt [Fri, 1 Feb 2019 05:35:08 +0000 (21:35 -0800)] 
disable the check for crash on shutdown when running under cygwin

(cherry picked from commit 449842e1ce09c76dc108756e9deb8620a6263acd)

7 years agoMerge branch '623-rpz-logging-to-include-qclass-and-qtype-v9_12' into 'v9_12'
Evan Hunt [Fri, 1 Feb 2019 02:03:13 +0000 (21:03 -0500)] 
Merge branch '623-rpz-logging-to-include-qclass-and-qtype-v9_12' into 'v9_12'

Resolve "RPZ logging to include QCLASS and QTYPE"

See merge request isc-projects/bind9!1444

7 years agoadd CHANGES note
Mark Andrews [Fri, 9 Nov 2018 03:55:52 +0000 (14:55 +1100)] 
add CHANGES note

(cherry picked from commit 505a1ceda45fa2e5f95c6ea4d6565108b9c4b602)

7 years agolog RPZ type and class
Mark Andrews [Thu, 1 Nov 2018 03:53:51 +0000 (14:53 +1100)] 
log RPZ type and class

(cherry picked from commit 28442f11f07b2ad4296f668a9dbf99bda873e79a)

7 years agoMerge branch 'each-silence-warning-v9_12' into 'v9_12'
Evan Hunt [Thu, 31 Jan 2019 22:12:59 +0000 (17:12 -0500)] 
Merge branch 'each-silence-warning-v9_12' into 'v9_12'

silence a spurious dnssec-keygen warning in the dnssec system test

See merge request isc-projects/bind9!1442

7 years agosilence a spurious dnssec-keygen warning in the dnssec system test
Evan Hunt [Sat, 15 Dec 2018 00:58:54 +0000 (16:58 -0800)] 
silence a spurious dnssec-keygen warning in the dnssec system test

the occluded-key test creates both a KEY and a DNSKEY. the second
call to dnssec-keygen calls dns_dnssec_findmatchingkeys(), which causes
a spurious warning to be printed when it sees the type KEY record.
this should be fixed in dnssec.c, but the meantime this change silences
the warning by reversing the order in which the keys are created.

(cherry picked from commit 6661db95641f3944378e4d1a52fea116725fdcd1)

7 years agoMerge branch '101-dumpdb-stale-ttl-v9_12' into 'v9_12'
Evan Hunt [Thu, 31 Jan 2019 18:45:59 +0000 (13:45 -0500)] 
Merge branch '101-dumpdb-stale-ttl-v9_12' into 'v9_12'

Resolve "[Support#12071] [RT#46548] Output stale/expired data with 'rndc dumpdb'"

See merge request isc-projects/bind9!1436

7 years agoCHANGES
Matthijs Mekking [Wed, 30 Jan 2019 12:58:50 +0000 (13:58 +0100)] 
CHANGES

7 years agoAdd tests for dumpdb stale ttl
Matthijs Mekking [Thu, 24 Jan 2019 09:28:41 +0000 (10:28 +0100)] 
Add tests for dumpdb stale ttl

This adds a test for rndc dumpdb to ensure the correct "stale
comment" is printed.  It also adds a test for non-stale data to
ensure no "stale comment" is printed for active RRsets.

In addition, the serve-stale tests are hardened with more accurate
grep calls.

7 years agoPrint in dump-file stale ttl
Matthijs Mekking [Thu, 24 Jan 2019 09:24:44 +0000 (10:24 +0100)] 
Print in dump-file stale ttl

This change makes rndc dumpdb correctly print the "; stale" line.
It also provides extra information on how long this data may still
be served to clients (in other words how long the stale RRset may
still be used).

7 years agoMerge branch '850-catch-shutdown-aborts-v9_12' into 'v9_12'
Evan Hunt [Thu, 31 Jan 2019 17:54:15 +0000 (12:54 -0500)] 
Merge branch '850-catch-shutdown-aborts-v9_12' into 'v9_12'

detect crash on shutdown in stop.pl

See merge request isc-projects/bind9!1440

7 years agodetect crash on shutdown in stop.pl
Evan Hunt [Thu, 31 Jan 2019 01:12:40 +0000 (17:12 -0800)] 
detect crash on shutdown in stop.pl

(cherry picked from commit 9bf37f4e4847b656ed408d76222beebc1638a069)

7 years agoMerge branch '849-fix-tkey-leak-v9_12' into 'v9_12'
Evan Hunt [Thu, 31 Jan 2019 17:40:18 +0000 (12:40 -0500)] 
Merge branch '849-fix-tkey-leak-v9_12' into 'v9_12'

fix TKEY problems

See merge request isc-projects/bind9!1438

7 years agoChange #4148 wasn't complete
Evan Hunt [Wed, 30 Jan 2019 23:42:04 +0000 (15:42 -0800)] 
Change #4148 wasn't complete

- there was a memory leak when using negotiated TSIG keys.
- TKEY responses could only be signed when using a newly negotiated
  key; if an existent matching TSIG was found in in the keyring it
  would not be used.

(cherry picked from commit 73ba24fb36d234caeb7098a22d869885c13703f6)

7 years agoMerge branch '821-matthijs-unsigned-gss-tsig-tkey-query-response-v9_12' into 'v9_12'
Evan Hunt [Wed, 30 Jan 2019 20:32:53 +0000 (15:32 -0500)] 
Merge branch '821-matthijs-unsigned-gss-tsig-tkey-query-response-v9_12' into 'v9_12'

Resolve "Unsigned GSS-TSIG TKEY Query Response"

See merge request isc-projects/bind9!1430

7 years agoUpdate CHANGES
Matthijs Mekking [Wed, 30 Jan 2019 10:16:04 +0000 (11:16 +0100)] 
Update CHANGES

(cherry picked from commit f1c6e01a0f73718982294fd64f826b2db31e9448)

7 years agoallow TSIG key to be added to message structure after parsing
Matthijs Mekking [Tue, 29 Jan 2019 17:10:27 +0000 (18:10 +0100)] 
allow TSIG key to be added to message structure after parsing

up until now, message->tsigkey could only be set during parsing
of the request, but gss-tsig allows one to be created afterward.

7 years agoHarden GSS-TSIG tests, verify signed TKEY response
Matthijs Mekking [Tue, 29 Jan 2019 16:58:46 +0000 (17:58 +0100)] 
Harden GSS-TSIG tests, verify signed TKEY response

7 years agoMerge branch '848-keymgr-19-old-keys-failing-on-penguin-v9_12' into 'v9_12'
Mark Andrews [Wed, 30 Jan 2019 05:35:24 +0000 (00:35 -0500)] 
Merge branch '848-keymgr-19-old-keys-failing-on-penguin-v9_12' into 'v9_12'

Resolve "keymgr 19-old-keys failing on penguin"

See merge request isc-projects/bind9!1425

7 years agoadd CHANGES
Mark Andrews [Wed, 30 Jan 2019 04:07:30 +0000 (15:07 +1100)] 
add CHANGES

(cherry picked from commit b9d5a62bdccb2d7972d324c998f205a6de9d7d1f)

7 years agoadd 300 seconds of fudge
Mark Andrews [Wed, 30 Jan 2019 02:02:14 +0000 (13:02 +1100)] 
add 300 seconds of fudge

(cherry picked from commit acf0292da4c193fc83e6444f390d59e2d979f7a1)