]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
6 years agoMerge branch 'michal/make-a-sed-script-in-doc-arm-makefile.in-portable-v9_14' into...
Michał Kępień [Thu, 20 Feb 2020 11:28:13 +0000 (11:28 +0000)] 
Merge branch 'michal/make-a-sed-script-in-doc-arm-makefile.in-portable-v9_14' into 'v9_14'

[v9_14] Make a sed script in doc/arm/Makefile.in portable

See merge request isc-projects/bind9!3098

6 years agoMake a sed script in doc/arm/Makefile.in portable
Michał Kępień [Thu, 20 Feb 2020 11:23:36 +0000 (12:23 +0100)] 
Make a sed script in doc/arm/Makefile.in portable

BSD sed does not recognize \s as a whitespace matching token.  Make the
sed script in doc/arm/Makefile.in which ensures GitLab identifiers are
not split across lines portable by replacing \s with [[:space:]].

(cherry picked from commit b25e6b51f6e16c983ab7c0f5cd8187bdd197b8d3)

6 years agoMerge branch 'michal/increase-lifetime-of-docs-sid-amd64-artifacts-v9_14' into 'v9_14'
Michał Kępień [Thu, 20 Feb 2020 10:57:37 +0000 (10:57 +0000)] 
Merge branch 'michal/increase-lifetime-of-docs-sid-amd64-artifacts-v9_14' into 'v9_14'

[v9_14] Increase lifetime of docs:sid:amd64 artifacts

See merge request isc-projects/bind9!3095

6 years agoIncrease lifetime of docs:sid:amd64 artifacts
Michał Kępień [Thu, 20 Feb 2020 10:51:58 +0000 (11:51 +0100)] 
Increase lifetime of docs:sid:amd64 artifacts

Artifacts generated by the docs:sid:amd64 job need to be retained longer
than for other jobs as they are used for building bind.isc.org contents.
If these artifacts are removed too quickly, pipelines in the pages/bind
GitLab project start failing, preventing content updates from being
published.  Increase lifetime of the relevant job artifacts to prevent
this from happening.

(cherry picked from commit 9751ba5a7568a550e62096661515ebc1c2efe3a4)

6 years agoMerge branch 'ondrej/win32-stdatomic-fix-v9_14' into 'v9_14' v9.14.11
Ondřej Surý [Thu, 13 Feb 2020 14:21:40 +0000 (14:21 +0000)] 
Merge branch 'ondrej/win32-stdatomic-fix-v9_14' into 'v9_14'

Stop requiring same memory ordering in win32 atomic_compare_exchange functions

See merge request isc-projects/bind9!3059

6 years agoStop requiring same memory ordering in win32 atomic_compare_exchange functions
Ondřej Surý [Thu, 20 Jun 2019 16:51:36 +0000 (18:51 +0200)] 
Stop requiring same memory ordering in win32 atomic_compare_exchange functions

6 years agoMerge branch 'prep-release' into v9_14
Tinderbox User [Wed, 12 Feb 2020 20:08:05 +0000 (20:08 +0000)] 
Merge branch 'prep-release' into v9_14

6 years agoprep v9.14.11
Tinderbox User [Wed, 12 Feb 2020 16:46:55 +0000 (16:46 +0000)] 
prep v9.14.11

6 years agoMerge branch 'mnowak/coverity-disable-web-tag-v9_14' into 'v9_14'
Michal Nowak [Wed, 12 Feb 2020 14:58:10 +0000 (14:58 +0000)] 
Merge branch 'mnowak/coverity-disable-web-tag-v9_14' into 'v9_14'

[v9_14] Run Coverity Scan only when specific variables are present

See merge request isc-projects/bind9!3055

6 years agoRun Coverity Scan only when specific variables are present
Michal Nowak [Wed, 12 Feb 2020 14:58:10 +0000 (14:58 +0000)] 
Run Coverity Scan only when specific variables are present

Submissions to Coverity Scan should be limited to those originated from
release branches and only from a specific schedule which holds
COVERITY_SCAN_PROJECT_NAME and COVERITY_SCAN_TOKEN variables.

(cherry picked from commit 48530aa21395414b0f9788ea5ab158b2b09ab977)

6 years agoMerge branch 'michal/prepare-release-notes-for-bind-9.14.11' into 'v9_14'
Michał Kępień [Wed, 12 Feb 2020 13:18:56 +0000 (13:18 +0000)] 
Merge branch 'michal/prepare-release-notes-for-bind-9.14.11' into 'v9_14'

Prepare release notes for BIND 9.14.11

See merge request isc-projects/bind9!3051

6 years agoAdd release notes section for BIND 9.14.11
Michał Kępień [Wed, 12 Feb 2020 12:50:21 +0000 (13:50 +0100)] 
Add release notes section for BIND 9.14.11

6 years agoMerge branch 'michal/minor-README-tweaks-v9_14' into 'v9_14'
Michał Kępień [Wed, 12 Feb 2020 10:38:22 +0000 (10:38 +0000)] 
Merge branch 'michal/minor-README-tweaks-v9_14' into 'v9_14'

[v9_14] Minor README tweaks

See merge request isc-projects/bind9!3048

6 years agoMinor CHANGES tweak
Michał Kępień [Wed, 12 Feb 2020 10:23:48 +0000 (11:23 +0100)] 
Minor CHANGES tweak

(cherry picked from commit a0349b18e0049de6fb842219b92e2fb6ed44b2ca)

6 years agoMinor README tweaks
Stephen Morris [Tue, 11 Feb 2020 14:14:50 +0000 (15:14 +0100)] 
Minor README tweaks

(cherry picked from commit bc539d48e7ea2588c9a9353b5212534693116056)

6 years agoMerge branch 'mnowak/coverity2-v9_14' into 'v9_14'
Michal Nowak [Wed, 12 Feb 2020 10:01:35 +0000 (10:01 +0000)] 
Merge branch 'mnowak/coverity2-v9_14' into 'v9_14'

[v9_14] Add Coverity Scan to CI

See merge request isc-projects/bind9!3046

6 years agoAdd Coverity Scan to CI
Michal Nowak [Wed, 12 Feb 2020 10:01:35 +0000 (10:01 +0000)] 
Add Coverity Scan to CI

This job requires two CI variables to be set:

  - COVERITY_SCAN_PROJECT_NAME: project name, which is associated with
    the BIND branch for which this job is executed, e.g. "bind-master",

  - COVERITY_SCAN_TOKEN: project token.

(cherry picked from commit e8392e4bb911366b65cdc461ec907d9e1a68bf54)

6 years agoMerge branch '1602-rpz-system-test-failed-because-protoype-responses-timed-out-v9_14...
Mark Andrews [Wed, 12 Feb 2020 09:34:23 +0000 (09:34 +0000)] 
Merge branch '1602-rpz-system-test-failed-because-protoype-responses-timed-out-v9_14' into 'v9_14'

spin waiting for prototype dig responses

See merge request isc-projects/bind9!3045

6 years agospin waiting for prototype dig responses
Mark Andrews [Wed, 12 Feb 2020 02:54:17 +0000 (13:54 +1100)] 
spin waiting for prototype dig responses

(cherry picked from commit c38752b07ce8256488b7c31ec1175ac5c926e456)

6 years agoMerge branch '1616-autosign-not-waiting-long-enough-for-zone-to-be-signed-v9_11-and...
Mark Andrews [Wed, 12 Feb 2020 08:38:55 +0000 (08:38 +0000)] 
Merge branch '1616-autosign-not-waiting-long-enough-for-zone-to-be-signed-v9_11-and-maybe-others-v9_14' into 'v9_14'

wait for apex NSEC3 to be generated

See merge request isc-projects/bind9!3041

6 years agowait for apex NSEC3 to be generated
Mark Andrews [Wed, 12 Feb 2020 01:47:09 +0000 (12:47 +1100)] 
wait for apex NSEC3 to be generated

(cherry picked from commit c99ad5c8c7d24f7faa339fe86e8ed1515b4a24ce)

6 years agoMerge branch '1428-possible-data-race-in-rbtdb-happens-occasionally-on-ppc64le-v9_14...
Ondřej Surý [Tue, 11 Feb 2020 11:19:12 +0000 (11:19 +0000)] 
Merge branch '1428-possible-data-race-in-rbtdb-happens-occasionally-on-ppc64le-v9_14' into 'v9_14'

Resolve "Possible data race in rbtdb, happens occasionally on ppc64le"

See merge request isc-projects/bind9!3035

6 years agoConvert all atomic operations in isc_rwlock to release-acquire memory ordering
Ondřej Surý [Sat, 1 Feb 2020 09:48:20 +0000 (10:48 +0100)] 
Convert all atomic operations in isc_rwlock to release-acquire memory ordering

The memory ordering in the rwlock was all wrong, I am copying excerpts
from the https://en.cppreference.com/w/c/atomic/memory_order#Relaxed_ordering
for the convenience of the reader:

  Relaxed ordering

  Atomic operations tagged memory_order_relaxed are not synchronization
  operations; they do not impose an order among concurrent memory
  accesses. They only guarantee atomicity and modification order
  consistency.

  Release-Acquire ordering

  If an atomic store in thread A is tagged memory_order_release and an
  atomic load in thread B from the same variable is tagged
  memory_order_acquire, all memory writes (non-atomic and relaxed atomic)
  that happened-before the atomic store from the point of view of thread
  A, become visible side-effects in thread B. That is, once the atomic
  load is completed, thread B is guaranteed to see everything thread A
  wrote to memory.

  The synchronization is established only between the threads releasing
  and acquiring the same atomic variable. Other threads can see different
  order of memory accesses than either or both of the synchronized
  threads.

Which basically means that we had no or weak synchronization between
threads using the same variables in the rwlock structure.  There should
not be a significant performance drop because the critical sections were
already protected by:

  while(1) {
    if (relaxed_atomic_operation) {
      break;
    }
    LOCK(lock);
    if (!relaxed_atomic_operation) {
      WAIT(sem, lock);
    }
    UNLOCK(lock)l
  }

I would add one more thing to "Don't do your own crypto, folks.":

  - Also don't do your own locking, folks.

6 years agoMake isc_rwlock.c thread-safe
Ondřej Surý [Mon, 13 May 2019 17:19:11 +0000 (00:19 +0700)] 
Make isc_rwlock.c thread-safe

The ThreadSanitizer found several possible data races in our rwlock
implementation.  This commit changes all the unprotected variables to atomic and
also changes the explicit memory ordering (atomic_<foo>_explicit(..., <order>)
functions to use our convenience macros (atomic_<foo>_<order>).

6 years agoMerge branch 'ondrej/remove-OpenSSL-engine-specification-in-label-v9_14' into 'v9_14'
Ondřej Surý [Tue, 11 Feb 2020 10:13:56 +0000 (10:13 +0000)] 
Merge branch 'ondrej/remove-OpenSSL-engine-specification-in-label-v9_14' into 'v9_14'

[v9_14] Cleanup support for specifying PKCS#11 engine as part of the label

See merge request isc-projects/bind9!3033

6 years agoRemove reference to prepending label with engine in manpage
Ondřej Surý [Mon, 10 Feb 2020 15:29:43 +0000 (07:29 -0800)] 
Remove reference to prepending label with engine in manpage

(cherry picked from commit 33fa3d5eb1fb196739702c9b5131cd9ff4eefe1e)

6 years agoCleanup support for specifying PKCS#11 engine as part of the label
Ondřej Surý [Wed, 22 Jan 2020 09:16:22 +0000 (10:16 +0100)] 
Cleanup support for specifying PKCS#11 engine as part of the label

The code for specifying OpenSSL PKCS#11 engine as part of the label
(e.g. -l "pkcs11:token=..." instead of -E pkcs11 -l "token=...")
was non-functional.  This commit just cleans the related code.

(cherry picked from commit a5c87d9d186e155553be0ae153bb50180f54fffd)

6 years agoMerge branch 'ondrej/lgtm-narrow-vs-wider-type-comparison-in-a-loop-v9_14' into ...
Ondřej Surý [Mon, 10 Feb 2020 10:59:40 +0000 (10:59 +0000)] 
Merge branch 'ondrej/lgtm-narrow-vs-wider-type-comparison-in-a-loop-v9_14' into 'v9_14'

Fix comparison between type uint16_t and  wider type size_t in a loop

See merge request isc-projects/bind9!3030

6 years agoFix comparison between type uint16_t and wider type size_t in a loop
Ondřej Surý [Sat, 1 Feb 2020 16:13:45 +0000 (17:13 +0100)] 
Fix comparison between type uint16_t and  wider type size_t in a loop

Found by LGTM.com (see below for description), and while it should not
happen as EDNS OPT RDLEN is uint16_t, the fix is easy.  A little bit
of cleanup is included too.

> In a loop condition, comparison of a value of a narrow type with a value
> of a wide type may result in unexpected behavior if the wider value is
> sufficiently large (or small). This is because the narrower value may
> overflow. This can lead to an infinite loop.

(cherry picked from commit a9bd6f6ea6a4c68e8897c06ff8d3d935521f41e7)

6 years agoMerge branch '932-doc-query-error-logging-v9_14' into 'v9_14'
Evan Hunt [Sun, 9 Feb 2020 00:08:07 +0000 (00:08 +0000)] 
Merge branch '932-doc-query-error-logging-v9_14' into 'v9_14'

improve documentation of query logging

See merge request isc-projects/bind9!3027

6 years agoimprove documentation of query logging
Evan Hunt [Wed, 29 Jan 2020 23:24:43 +0000 (15:24 -0800)] 
improve documentation of query logging

(cherry picked from commit 21bb9fa77f7999ad4b64eb3245b38cd4927096cc)

6 years agoMerge branch '1560-isc_httpd-and-isc_httpdmgr-structures-are-not-reference-counted...
Ondřej Surý [Sat, 8 Feb 2020 20:23:56 +0000 (20:23 +0000)] 
Merge branch '1560-isc_httpd-and-isc_httpdmgr-structures-are-not-reference-counted-and-magic-v9_14' into 'v9_14'

Resolve "isc_httpd and isc_httpdmgr structures are not reference counted and magic"

See merge request isc-projects/bind9!2939

6 years agoClean the ENTER/EXIT/NOTICE debugging from production code
Ondřej Surý [Tue, 21 Jan 2020 07:25:30 +0000 (08:25 +0100)] 
Clean the ENTER/EXIT/NOTICE debugging from production code

(cherry picked from commit 5b448996e51609b2ed9c9a8c3a952f70e695694f)

6 years agoRefactor parts of isc_httpd and isc_httpd for better readability and safety
Ondřej Surý [Mon, 20 Jan 2020 11:37:57 +0000 (12:37 +0100)] 
Refactor parts of isc_httpd and isc_httpd for better readability and safety

(cherry picked from commit 9643a62dd53129208e534e95cbf89f2571ea6122)

6 years agoadd ISC_MAGIC and reference counting to httpd and httpdmgr
Mark Andrews [Fri, 17 Jan 2020 07:24:24 +0000 (18:24 +1100)] 
add ISC_MAGIC and reference counting to httpd and httpdmgr

(cherry picked from commit 7c3f419d6628b2ebfcd86fdd3116b35001950819)

6 years agoMerge branch '1596-echo_ic-should-be-used-for-continuations-v9_14' into 'v9_14'
Mark Andrews [Fri, 7 Feb 2020 22:35:05 +0000 (22:35 +0000)] 
Merge branch '1596-echo_ic-should-be-used-for-continuations-v9_14' into 'v9_14'

Resolve "echo_ic should be used for continuations."

See merge request isc-projects/bind9!3021

6 years agoindent failed: descriptions
Mark Andrews [Thu, 6 Feb 2020 03:18:15 +0000 (14:18 +1100)] 
indent failed: descriptions

(cherry picked from commit 1e4773f121689a917efcb340dd23de4a16f7c30c)

6 years agoindent some test descriptions/continuation
Mark Andrews [Thu, 6 Feb 2020 03:16:30 +0000 (14:16 +1100)] 
indent some test descriptions/continuation

(cherry picked from commit ec95bc6f2c8e0d4c211f9c7feb761a100681d098)

6 years agoremove space before 'failed'
Mark Andrews [Thu, 6 Feb 2020 03:13:02 +0000 (14:13 +1100)] 
remove space before 'failed'

(cherry picked from commit 0d5ec0c7dc68541b8688039acbcaddf4f22f4ae3)

6 years agoident continuation of test descriptions
Mark Andrews [Thu, 6 Feb 2020 03:12:31 +0000 (14:12 +1100)] 
ident continuation of test descriptions

(cherry picked from commit 059b16b9910fa1843f2d837ac6cafee1030fc81d)

6 years agoremove space from before 'failed'; count errors
Mark Andrews [Thu, 6 Feb 2020 03:10:15 +0000 (14:10 +1100)] 
remove space from before 'failed'; count errors

(cherry picked from commit 879c63b5739e8d3423da69e28bddc7b07b04441c)

6 years agoMerge branch '1559-dnssec-system-test-failed-reload-of-root-server-not-completed...
Mark Andrews [Fri, 7 Feb 2020 21:37:03 +0000 (21:37 +0000)] 
Merge branch '1559-dnssec-system-test-failed-reload-of-root-server-not-completed-in-time-v9_14' into 'v9_14'

wait for root server to complete reloading

See merge request isc-projects/bind9!3018

6 years agowait for root server to complete reloading
Mark Andrews [Tue, 14 Jan 2020 06:08:25 +0000 (17:08 +1100)] 
wait for root server to complete reloading

(cherry picked from commit 784e64f238482e4e58ea57ebe84e0e7c96680130)

6 years agoMerge branch '1599-autosign-conversion-from-nsec3-to-nsec-can-take-more-than-2-second...
Mark Andrews [Fri, 7 Feb 2020 15:04:40 +0000 (15:04 +0000)] 
Merge branch '1599-autosign-conversion-from-nsec3-to-nsec-can-take-more-than-2-seconds-v9_14' into 'v9_14'

wait a short while for no NSEC3PARAM

See merge request isc-projects/bind9!3016

6 years agowait a short while for no NSEC3PARAM
Mark Andrews [Wed, 5 Feb 2020 08:42:47 +0000 (19:42 +1100)] 
wait a short while for no NSEC3PARAM

(cherry picked from commit e378241324c7441c8d0b0a251e746d107afcea35)

6 years agoMerge branch 'marka-coverity-dns-db-find-v9_14' into 'v9_14'
Mark Andrews [Fri, 7 Feb 2020 11:16:47 +0000 (11:16 +0000)] 
Merge branch 'marka-coverity-dns-db-find-v9_14' into 'v9_14'

Marka coverity dns db find v9 14

See merge request isc-projects/bind9!3014

6 years agoSilence unchecked return of dns_db_find()
Mark Andrews [Thu, 6 Feb 2020 00:02:55 +0000 (11:02 +1100)] 
Silence unchecked return of dns_db_find()

190        dns_rdataset_init(&rdataset);
    3. Condition r == 0, taking true branch.
    4. Condition result, taking false branch.

CID 1452691 (#1 of 1): Unchecked return value (CHECKED_RETURN)
5. check_return: Calling dns_db_find without checking return
value (as is done elsewhere 39 out of 45 times).

191        check_assertion(dns_db_find(db1, dns_rootname, v2,
192                                    dns_rdatatype_soa, 0, 0, NULL,
193                                    name, &rdataset, NULL));

(cherry picked from commit e8bf82efc6dfffa7f17117617c6dfe32ce7ac96d)

6 years agoFix indenting.
Mark Andrews [Thu, 6 Feb 2020 00:02:38 +0000 (11:02 +1100)] 
Fix indenting.

(cherry picked from commit 98d5109e82b6b1d64776fe64153a9ff49f68826c)

6 years agoCorrect logged function name.
Mark Andrews [Thu, 6 Feb 2020 00:02:17 +0000 (11:02 +1100)] 
Correct logged function name.

(cherry picked from commit 550bbee42762d8b23a58fe2c995d4593dc4043aa)

6 years agoMerge branch 'michal/fix-the-dnssec-system-test-on-windows-v9_14' into 'v9_14'
Michał Kępień [Thu, 6 Feb 2020 14:20:54 +0000 (14:20 +0000)] 
Merge branch 'michal/fix-the-dnssec-system-test-on-windows-v9_14' into 'v9_14'

[v9_14] Fix the "dnssec" system test on Windows

See merge request isc-projects/bind9!3012

6 years agoFix the "dnssec" system test on Windows
Michał Kępień [Thu, 6 Feb 2020 14:17:38 +0000 (15:17 +0100)] 
Fix the "dnssec" system test on Windows

Make sure carriage return characters are stripped from awk input to
enable the "dnssec" system test to pass on Windows.

(cherry picked from commit 2f694f0b779a50918cdd24f05de04ab6bad043e9)

6 years agoMerge branch '914-forwarders-port-documentation-v9_14' into 'v9_14'
Matthijs Mekking [Thu, 6 Feb 2020 09:54:22 +0000 (09:54 +0000)] 
Merge branch '914-forwarders-port-documentation-v9_14' into 'v9_14'

Document forwarders config port and dscp param

See merge request isc-projects/bind9!3008

6 years agoDocument forwarders config port and dscp param
Matthijs Mekking [Mon, 13 Jan 2020 09:42:21 +0000 (10:42 +0100)] 
Document forwarders config port and dscp param

(cherry picked from commit be3a11029a336f6a3d66bbd89ab72c3eb7b3caa1)

6 years agoMerge branch 'mnowak/windows-raise-port-range-v9_14' into 'v9_14'
Michal Nowak [Wed, 5 Feb 2020 11:07:18 +0000 (11:07 +0000)] 
Merge branch 'mnowak/windows-raise-port-range-v9_14' into 'v9_14'

[v9_14] Windows: Prevent tools from clashing with named in system tests

See merge request isc-projects/bind9!3002

6 years agoWindows: Prevent tools from clashing with named in system tests
Michal Nowak [Wed, 5 Feb 2020 11:07:18 +0000 (11:07 +0000)] 
Windows: Prevent tools from clashing with named in system tests

In system tests on Windows tool's local port can sometimes clash with
'named'. On Unix the system is poked for the minimal local port,
otherwise is set to 32768 as a sane minimum. For Windows we don't
poke but set a hardcoded limit; this change aligns the limit with
Unix and changes it to 32768.

(cherry picked from commit ed7fe5fae3b22d136f0a5a92ea3b67536b10a5ce)

6 years agoMerge branch 'cppcheck-1.90-warnings-v9_14' into 'v9_14'
Matthijs Mekking [Wed, 5 Feb 2020 09:22:11 +0000 (09:22 +0000)] 
Merge branch 'cppcheck-1.90-warnings-v9_14' into 'v9_14'

Cppcheck 1.90 warnings v9 14

See merge request isc-projects/bind9!2997

6 years agomore_frags: check for basic blocks != NULL
Matthijs Mekking [Tue, 4 Feb 2020 14:52:56 +0000 (15:52 +0100)] 
more_frags: check for basic blocks != NULL

6 years agoFix build
Matthijs Mekking [Tue, 4 Feb 2020 14:13:56 +0000 (15:13 +0100)] 
Fix build

Restore cleanup: label in dns_client_startrequest because it still has one
goto for it.

6 years agoAdd a note on memory allocation
Matthijs Mekking [Tue, 4 Feb 2020 10:00:58 +0000 (11:00 +0100)] 
Add a note on memory allocation

isc__memalloc_t must deal with memory allocation failure
and must never return NULL.

(cherry picked from commit b8be29fee61c46170dc087ee72b88a84ef9f8d21)

6 years agoSuppress unknownMacro directive which is currently broken with OpenSSL
Ondřej Surý [Sat, 1 Feb 2020 18:37:54 +0000 (19:37 +0100)] 
Suppress unknownMacro directive which is currently broken with OpenSSL

(cherry picked from commit 2868eafc4612deaa6f45f79afc425f05063ecb04)

6 years agoSuppress cppcheck false positive nullPointerArithmeticRedundantCheck
Ondřej Surý [Sat, 1 Feb 2020 18:35:36 +0000 (19:35 +0100)] 
Suppress cppcheck false positive nullPointerArithmeticRedundantCheck

(cherry picked from commit c00def343f2bd96d9d87b37b53dc7e98a8c91b65)

6 years agoChange pk11_mem_get() so it cannot soft-fail
Ondřej Surý [Sat, 1 Feb 2020 17:24:43 +0000 (18:24 +0100)] 
Change pk11_mem_get() so it cannot soft-fail

(cherry picked from commit 05ae2e48ab1bd4477a4acec11a18c2fdd1694cb9)

6 years agoMake the DbC checks to be consistent and cppcheck clean
Ondřej Surý [Sat, 1 Feb 2020 16:59:19 +0000 (17:59 +0100)] 
Make the DbC checks to be consistent and cppcheck clean

(cherry picked from commit 478e4ac201478e53bb40b70aa37ddc696c0c8872)

6 years agoisc_mem_get cannot fail
Mark Andrews [Thu, 30 Jan 2020 08:41:32 +0000 (19:41 +1100)] 
isc_mem_get cannot fail

(cherry picked from commit bb65e5729725930769e3ee420fec655efe37440c)

6 years agodelay assignment until after REQUIRE
Mark Andrews [Thu, 30 Jan 2020 08:38:47 +0000 (19:38 +1100)] 
delay assignment until after REQUIRE

(cherry picked from commit d6de520bd15b0bf4114a1176240bbdde99002a6a)

6 years agoskip if first is NULL
Mark Andrews [Thu, 30 Jan 2020 07:55:36 +0000 (18:55 +1100)] 
skip if first is NULL

(cherry picked from commit 704b9ee9d08c47740fe2401900b65f188ef07fe2)

6 years agodelay assignment until after REQUIRE
Mark Andrews [Thu, 30 Jan 2020 07:19:11 +0000 (18:19 +1100)] 
delay assignment until after REQUIRE

(cherry picked from commit c65c06301c56860b5b75bbbc42c00f6459a646f8)

6 years agomake expression logical for cppcheck
Mark Andrews [Thu, 30 Jan 2020 06:57:25 +0000 (17:57 +1100)] 
make expression logical for cppcheck

(cherry picked from commit f17b9b8dd141fa59717bee53fcd685d5e42eed5d)

6 years agoremove brackets
Mark Andrews [Thu, 30 Jan 2020 06:49:15 +0000 (17:49 +1100)] 
remove brackets

(cherry picked from commit 7b948c7335f6d2e5c761b190103a8cf18e3cf43d)

6 years agosimplify ISC_LIKELY/ISC_UNLIKELY for CPPCHECK
Mark Andrews [Thu, 30 Jan 2020 06:27:08 +0000 (17:27 +1100)] 
simplify ISC_LIKELY/ISC_UNLIKELY for CPPCHECK

(cherry picked from commit 6c2e138d7aac0e7487b2ba2df6796ba64ccfc26b)

6 years agosimplify RUNTIME_CHECK for cppcheck
Mark Andrews [Thu, 30 Jan 2020 06:14:42 +0000 (17:14 +1100)] 
simplify RUNTIME_CHECK for cppcheck

(cherry picked from commit 668a972d1e71ccc7282601906dff4bc4bb3a7d1c)

6 years agoMerge branch '1192-fix-serve-stale-test-v9_14' into 'v9_14'
Mark Andrews [Wed, 5 Feb 2020 01:45:26 +0000 (01:45 +0000)] 
Merge branch '1192-fix-serve-stale-test-v9_14' into 'v9_14'

Increase TTL in serve-stale test

See merge request isc-projects/bind9!2996

6 years agoIncrease TTL in serve-stale test
Matthijs Mekking [Thu, 23 Jan 2020 13:34:43 +0000 (14:34 +0100)] 
Increase TTL in serve-stale test

Increase the short lived record TTL and negative SOA TTL to make
this test less vulnerable to timing issues. The drawback is that we
also have to sleep longer in this test.

(cherry picked from commit 2c0c333d16377c6fc31faefb9d66f7547fece08d)

6 years agoMerge branch '1305-update-gitlab-ci-to-openbsd-6.6-v9_14' into 'v9_14'
Michał Kępień [Tue, 4 Feb 2020 10:46:20 +0000 (10:46 +0000)] 
Merge branch '1305-update-gitlab-ci-to-openbsd-6.6-v9_14' into 'v9_14'

[v9_14] Update GitLab CI to OpenBSD 6.6

See merge request isc-projects/bind9!2994

6 years agoUpdate GitLab CI to OpenBSD 6.6
Michał Kępień [Tue, 4 Feb 2020 10:39:27 +0000 (11:39 +0100)] 
Update GitLab CI to OpenBSD 6.6

Since OpenBSD 6.6 is the current OpenBSD release, replace OpenBSD 6.5
GitLab CI jobs with their up-to-date counterparts.

As CI jobs for OpenBSD 6.6 will be run by a generalized libvirt executor
rather than an OpenBSD-specific one, make the necessary tag and variable
adjustments as well.

(cherry picked from commit 99ed3a0e132991aae2ecd2f67a498b29d243bf60)

6 years agoMerge branch '1592-catz-filename-v9_14' into 'v9_14'
Evan Hunt [Tue, 4 Feb 2020 03:47:13 +0000 (03:47 +0000)] 
Merge branch '1592-catz-filename-v9_14' into 'v9_14'

Resolve "catalog zones fail if a zone name contains a slash"

See merge request isc-projects/bind9!2992

6 years agoCHANGES
Evan Hunt [Thu, 30 Jan 2020 23:36:48 +0000 (15:36 -0800)] 
CHANGES

(cherry picked from commit 7a002c7ece5e83f86ab5716e78491383aa2e953f)

6 years agodon't swallow backslash characters in test output
Mark Andrews [Tue, 4 Feb 2020 00:52:06 +0000 (11:52 +1100)] 
don't swallow backslash characters in test output

(cherry picked from commit fc4e44bd37f00aecd6f5cc4fa258795cb1b4eeb5)

6 years agotest all the scenarios for hashed filenames together
Mark Andrews [Mon, 3 Feb 2020 02:20:04 +0000 (13:20 +1100)] 
test all the scenarios for hashed filenames together

(cherry picked from commit 8745043a86f6c14ad2e4f11f683e7e110c243d95)

6 years agoCorrectly handle catalog zone entries containing slashes
Evan Hunt [Thu, 30 Jan 2020 23:30:32 +0000 (15:30 -0800)] 
Correctly handle catalog zone entries containing slashes

- Add quotes before and after zone name when generating "addzone"
  input so avoid "unexpected token" errors.
- Use a hex digest for zone filenames when the zone or view name
  contains a slash.
- Test with a domain name containing a slash.
- Incidentally added 'catzhash.py' to contrib/scripts to generate
  hash labels for catalog zones, as it was needed to write the test.

(cherry picked from commit dba0163dac8b240faf6d91066655247acf3ad321)

6 years agoMerge branch 'mnowak/drop-kyua-report-verbose-option-v9_14' into 'v9_14'
Michal Nowak [Fri, 31 Jan 2020 09:11:37 +0000 (09:11 +0000)] 
Merge branch 'mnowak/drop-kyua-report-verbose-option-v9_14' into 'v9_14'

[v9_14] Drop kyua report's --verbose option

See merge request isc-projects/bind9!2982

6 years agoDrop kyua report's --verbose option
Michal Nowak [Fri, 31 Jan 2020 09:11:37 +0000 (09:11 +0000)] 
Drop kyua report's --verbose option

It prints far more than needed.

(cherry picked from commit 5d14ed8465ccb1cb35bdbdeba2e0143b62b5455c)

6 years agoMerge branch '1554-cds-cdnskey-consistency-checks-don-t-work-with-deletion-records...
Mark Andrews [Thu, 30 Jan 2020 23:08:02 +0000 (23:08 +0000)] 
Merge branch '1554-cds-cdnskey-consistency-checks-don-t-work-with-deletion-records-v9_14' into 'v9_14'

Resolve "CDS / CDNSKEY consistency checks don't work with deletion records"

See merge request isc-projects/bind9!2977

6 years agouse anonomous constants
Mark Andrews [Wed, 29 Jan 2020 20:25:10 +0000 (07:25 +1100)] 
use anonomous constants

(cherry picked from commit 02c2fc5ad31560483d1a586b4c474fd38afb819f)

6 years agouse enum
Mark Andrews [Wed, 29 Jan 2020 19:57:51 +0000 (06:57 +1100)] 
use enum

(cherry picked from commit 7c0d9dac9fa961e0bea49b86304b28ac41b2ae8b)

6 years agoadd more CDS / CDNSKEY deletion record tests
Mark Andrews [Wed, 29 Jan 2020 08:42:21 +0000 (19:42 +1100)] 
add more CDS / CDNSKEY deletion record tests

(cherry picked from commit d159fdf25d61b69a8ea17517ca6931604d0e17ae)

6 years agocheck CDS and CDNSKEY content
Mark Andrews [Wed, 29 Jan 2020 08:10:47 +0000 (19:10 +1100)] 
check CDS and CDNSKEY content

(cherry picked from commit 68a360772f42727a9c56733db0a2be3a70b5acad)

6 years agocheck kskonly key ids
Mark Andrews [Wed, 29 Jan 2020 08:02:01 +0000 (19:02 +1100)] 
check kskonly key ids

(cherry picked from commit 379949cce43be56ec3132cd1c1f4c9b24d9d04fb)

6 years agoadd CHANGES
Mark Andrews [Tue, 14 Jan 2020 04:22:22 +0000 (15:22 +1100)] 
add CHANGES

(cherry picked from commit 272a31f7589972183a369f88b48f321f81c8d2b8)

6 years agostyle
Mark Andrews [Mon, 13 Jan 2020 04:41:35 +0000 (15:41 +1100)] 
style

(cherry picked from commit 279f6b01de3c399081d0471d2914889bde6efe5d)

6 years agoreturn the correct error code for the type being checked
Mark Andrews [Mon, 13 Jan 2020 04:34:16 +0000 (15:34 +1100)] 
return the correct error code for the type being checked

(cherry picked from commit a09c464a201934b83782a5f3db968100e90fb5ce)

6 years agocheck that a CDNSKEY deletion record is accepted
Mark Andrews [Mon, 13 Jan 2020 04:30:28 +0000 (15:30 +1100)] 
check that a CDNSKEY deletion record is accepted

(cherry picked from commit f91b3a69ce19333327cba338d4af12404bec6243)

6 years agohandle CDS deletion record in consistancy checks
Mark Andrews [Mon, 13 Jan 2020 04:08:17 +0000 (15:08 +1100)] 
handle CDS deletion record in consistancy checks

(cherry picked from commit 0adb4b25d38b6e2332b0cee8ab3f65be8e457c83)

6 years agoMerge branch 'michal/list-atypical-failures-in-system-test-summary-v9_14' into 'v9_14'
Michał Kępień [Wed, 29 Jan 2020 14:42:40 +0000 (14:42 +0000)] 
Merge branch 'michal/list-atypical-failures-in-system-test-summary-v9_14' into 'v9_14'

[v9_14] List atypical failures in system test summary

See merge request isc-projects/bind9!2974

6 years agoList atypical failures in system test summary
Michał Kępień [Wed, 29 Jan 2020 13:50:26 +0000 (14:50 +0100)] 
List atypical failures in system test summary

Each system test can be marked as failed not only due to some tested
component(s) not behaving as expected, but also because of core dumps,
assertion failures, and/or ThreadSanitizer reports being found among its
artifacts.  Make the system test summary list the tests which exhibit
such atypical symptoms to more clearly present the nature of problems
found.

(cherry picked from commit a8836b381f9d4825535757f05c09011912ee04fc)

6 years agoMerge branch '1508-case-system-test-failed-v9_14' into 'v9_14'
Mark Andrews [Tue, 28 Jan 2020 23:05:22 +0000 (23:05 +0000)] 
Merge branch '1508-case-system-test-failed-v9_14' into 'v9_14'

wait longer for dynamic zone to be transfered

See merge request isc-projects/bind9!2971

6 years agowait longer for dynamic zone to be transfered
Mark Andrews [Fri, 13 Dec 2019 04:58:39 +0000 (15:58 +1100)] 
wait longer for dynamic zone to be transfered

(cherry picked from commit 7b0ba6eb103e5af2878052b7924956c836ad940c)

6 years agoMerge branch 'each-merge-doc-v9_14_10' into 'v9_14'
Evan Hunt [Mon, 27 Jan 2020 22:43:14 +0000 (22:43 +0000)] 
Merge branch 'each-merge-doc-v9_14_10' into 'v9_14'

merge doc from 9.14.10 release

See merge request isc-projects/bind9!2962

6 years agoregen v9_14
Tinderbox User [Thu, 16 Jan 2020 15:06:56 +0000 (15:06 +0000)] 
regen v9_14

6 years agoprep 9.14.10
Tinderbox User [Thu, 16 Jan 2020 15:01:08 +0000 (15:01 +0000)] 
prep 9.14.10

Update the API files.
- lib/dns:
  - struct resolver has added elements, this is an interface change
    and thus LIBINTERFACE is incremented, and LIBREVISION is reset.
  - Since this also means an interface change since the last public
    release, also reset LIBAGE.
- lib/isccfg:
  - The library source code changed, so increment LIBREVISION.
- lib/ns:
  - The library source code changed, so increment LIBREVISION.

Update other files:
- No changes needed to the README, this is a small bugfix release.