]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
4 years agoprep 9.11.36
Tinderbox User [Mon, 11 Oct 2021 19:35:17 +0000 (19:35 +0000)] 
prep 9.11.36

4 years agoMerge branch 'michal/prepare-documentation-for-bind-9.11.36' into 'security-v9_11'
Michał Kępień [Mon, 11 Oct 2021 15:42:28 +0000 (15:42 +0000)] 
Merge branch 'michal/prepare-documentation-for-bind-9.11.36' into 'security-v9_11'

Prepare documentation for BIND 9.11.36

See merge request isc-private/bind9!327

4 years agoMerge branch '2899-security-disable-lame-cache-v9_11' into 'security-v9_11'
Michał Kępień [Mon, 11 Oct 2021 12:07:46 +0000 (12:07 +0000)] 
Merge branch '2899-security-disable-lame-cache-v9_11' into 'security-v9_11'

[CVE-2021-25219] [v9_11] Disable "lame-ttl" cache

See merge request isc-private/bind9!324

4 years agoPrepare release notes for BIND 9.11.36
Michał Kępień [Mon, 11 Oct 2021 15:33:35 +0000 (17:33 +0200)] 
Prepare release notes for BIND 9.11.36

4 years agoAdd CHANGES and release note for [GL #2899]
Ondřej Surý [Fri, 24 Sep 2021 07:58:47 +0000 (09:58 +0200)] 
Add CHANGES and release note for [GL #2899]

4 years agoEnable lame response detection even with disabled lame cache
Ondřej Surý [Fri, 24 Sep 2021 07:48:50 +0000 (09:48 +0200)] 
Enable lame response detection even with disabled lame cache

Previously, when lame cache would be disabled by setting lame-ttl to 0,
it would also disable lame answer detection.  In this commit, we enable
the lame response detection even when the lame cache is disabled.  This
enables stopping answer processing early rather than going through the
whole answer processing flow.

4 years agoDisable lame-ttl cache
Ondřej Surý [Fri, 24 Sep 2021 07:35:11 +0000 (09:35 +0200)] 
Disable lame-ttl cache

The lame-ttl cache is implemented in ADB as per-server locked
linked-list "indexed" with <qname,qtype>.  This list has to be walked
every time there's a new query or new record added into the lame cache.
Determined attacker can use this to degrade performance of the resolver.

Resolver testing has shown that disabling the lame cache has little
impact on the resolver performance and it's a minimal viable defense
against this kind of attack.

4 years agoMerge branch 'mnowak/debian-11-bullseye-v9_11' into 'v9_11'
Michal Nowak [Fri, 22 Oct 2021 09:28:41 +0000 (09:28 +0000)] 
Merge branch 'mnowak/debian-11-bullseye-v9_11' into 'v9_11'

[v9_11] Add Debian 11 (bullseye)

See merge request isc-projects/bind9!5526

4 years agoDo not spawn Debian 9 CI jobs in merge requests
Michal Nowak [Thu, 21 Oct 2021 11:43:42 +0000 (13:43 +0200)] 
Do not spawn Debian 9 CI jobs in merge requests

(cherry picked from commit 1b9a9c2829379d771249c8b508855d0863dcd919)

4 years agoAdd Debian 11 (bullseye)
Michal Nowak [Tue, 17 Aug 2021 08:38:14 +0000 (10:38 +0200)] 
Add Debian 11 (bullseye)

(cherry picked from commit 2b5dfae5de5cc65258073d8cd4c650aa27dac3ea)

4 years agoMerge branch 'mnowak/openbsd-7.0-v9_11' into 'v9_11'
Michal Nowak [Fri, 22 Oct 2021 07:51:28 +0000 (07:51 +0000)] 
Merge branch 'mnowak/openbsd-7.0-v9_11' into 'v9_11'

[v9_11] Add OpenBSD 7.0

See merge request isc-projects/bind9!5524

4 years agoAdd OpenBSD 7.0
Michal Nowak [Thu, 21 Oct 2021 09:48:21 +0000 (11:48 +0200)] 
Add OpenBSD 7.0

(cherry picked from commit 75e873ed9873c099d0eab4fef97b084e487572fa)

4 years agoMerge branch '2933-bump-the-default-clang-version-to-13-v9_11' into 'v9_11'
Ondřej Surý [Tue, 12 Oct 2021 10:14:09 +0000 (10:14 +0000)] 
Merge branch '2933-bump-the-default-clang-version-to-13-v9_11' into 'v9_11'

Change the LLVM tools version to 13

See merge request isc-projects/bind9!5489

4 years agoChange the LLVM tools version to 13
Ondřej Surý [Tue, 12 Oct 2021 06:55:57 +0000 (08:55 +0200)] 
Change the LLVM tools version to 13

LLVM 13.0.0 was released on 4. October 2021, change the default version
to the current stable.

(cherry picked from commit 16916ab3e361774b4c8283715fc8712f18e37092)

4 years agoMerge branch 'ondrej/add-python-3.8-check-v9_11' into 'v9_11'
Petr Špaček [Wed, 22 Sep 2021 08:54:23 +0000 (08:54 +0000)] 
Merge branch 'ondrej/add-python-3.8-check-v9_11' into 'v9_11'

Add python3.8 to the autoconf search list

See merge request isc-projects/bind9!5435

4 years agoAdd python3.8 to the autoconf search list
Ondřej Surý [Wed, 22 Sep 2021 08:24:16 +0000 (10:24 +0200)] 
Add python3.8 to the autoconf search list

It was discovered that FreeBSD doesn't setup alias from default
Python version neither to python3 nor python, and thus the configure
step would fail to find working python installation.

4 years agoMerge branch 'mnowak/replace-centos-with-oraclelinux-v9_11' into 'v9_11'
Michal Nowak [Thu, 16 Sep 2021 15:53:28 +0000 (15:53 +0000)] 
Merge branch 'mnowak/replace-centos-with-oraclelinux-v9_11' into 'v9_11'

[v9_11] Replace CentOS 7 & 8 with Oracle Linux

See merge request isc-projects/bind9!5420

4 years agoReplace CentOS 7 & 8 with Oracle Linux
Michal Nowak [Tue, 15 Jun 2021 07:49:21 +0000 (09:49 +0200)] 
Replace CentOS 7 & 8 with Oracle Linux

(cherry picked from commit 3085edf1a0e1de7995ddee5fcaf1172fabf32696)

4 years agoMerge branch '2866-split-gssapi-and-krb5-check-from-krb5-config-v9_11' into 'v9_11'
Ondřej Surý [Tue, 14 Sep 2021 19:21:55 +0000 (19:21 +0000)] 
Merge branch '2866-split-gssapi-and-krb5-check-from-krb5-config-v9_11' into 'v9_11'

Fix the krb5-config usage (v9.11)

See merge request isc-projects/bind9!5393

4 years agoAdd CHANGES note for [GL ##2866]
Ondřej Surý [Wed, 8 Sep 2021 08:50:10 +0000 (10:50 +0200)] 
Add CHANGES note for [GL ##2866]

4 years agoTest various --with-gssapi options in GitLab CI
Michał Kępień [Wed, 1 Sep 2021 13:46:36 +0000 (15:46 +0200)] 
Test various --with-gssapi options in GitLab CI

The implicit ./configure default is to use --with-gssapi=auto.  There is
already a GitLab CI job (gcc:stretch:amd64) which uses --without-gssapi.
Add four more forms of the --with-gssapi option to various GitLab CI job
configurations so that its every possible variant is regularly tested.

4 years agoCall krb5-config with just one argument at the time
Ondřej Surý [Wed, 8 Sep 2021 08:47:10 +0000 (10:47 +0200)] 
Call krb5-config with just one argument at the time

The autoconf script would call the krb5-config with both gssapi and krb5
libraries as arguments in a single call.  It turned out that this is
actually not supported and it breaks some platforms.  This commit splits
the call into two separate calls - one for gssapi and one for krb5
library.

4 years agoRevert "Resolve 'Configuration issues on Solaris 11.4'" MR
Ondřej Surý [Wed, 8 Sep 2021 10:46:45 +0000 (12:46 +0200)] 
Revert "Resolve 'Configuration issues on Solaris 11.4'" MR

The MR in question broke the configure script in different way,
so we are going to use a different fix.

4 years agoMerge branch '1805-save-failed-build-artifacts-v9_11' into 'v9_11'
Mark Andrews [Thu, 26 Aug 2021 04:45:59 +0000 (04:45 +0000)] 
Merge branch '1805-save-failed-build-artifacts-v9_11' into 'v9_11'

always save build artifacts

See merge request isc-projects/bind9!5365

4 years agoalways save build artifacts
Mark Andrews [Thu, 30 Apr 2020 07:15:41 +0000 (17:15 +1000)] 
always save build artifacts

(cherry picked from commit 221228572feba672121be5cb2df9417988a37bac)

4 years agoMerge branch 'v9_11_35-release' into 'v9_11'
Michał Kępień [Thu, 19 Aug 2021 05:36:04 +0000 (05:36 +0000)] 
Merge branch 'v9_11_35-release' into 'v9_11'

Merge 9.11.35 release branch

See merge request isc-projects/bind9!5340

4 years agoSet up release notes for BIND 9.11.36
Michał Kępień [Thu, 19 Aug 2021 05:31:02 +0000 (07:31 +0200)] 
Set up release notes for BIND 9.11.36

4 years agoBump BIND_BASELINE_VERSION for ABI checks
Michał Kępień [Thu, 19 Aug 2021 05:31:02 +0000 (07:31 +0200)] 
Bump BIND_BASELINE_VERSION for ABI checks

4 years agoMerge branch 'prep-release' into v9_11_35-release v9.11.35
Tinderbox User [Tue, 10 Aug 2021 22:00:41 +0000 (22:00 +0000)] 
Merge branch 'prep-release' into v9_11_35-release

4 years agoprep 9.11.35
Tinderbox User [Tue, 10 Aug 2021 22:00:23 +0000 (22:00 +0000)] 
prep 9.11.35

4 years agoMerge branch 'michal/prepare-documentation-for-bind-9.11.35' into 'v9_11_35-release'
Michał Kępień [Tue, 10 Aug 2021 21:39:51 +0000 (21:39 +0000)] 
Merge branch 'michal/prepare-documentation-for-bind-9.11.35' into 'v9_11_35-release'

Prepare documentation for BIND 9.11.35

See merge request isc-private/bind9!318

4 years agoPrepare release notes for BIND 9.11.35
Michał Kępień [Tue, 10 Aug 2021 21:38:03 +0000 (23:38 +0200)] 
Prepare release notes for BIND 9.11.35

4 years agoTweak and reword release notes
Michał Kępień [Tue, 10 Aug 2021 21:38:03 +0000 (23:38 +0200)] 
Tweak and reword release notes

4 years agoTweak and reword recent CHANGES entries
Michał Kępień [Tue, 10 Aug 2021 21:38:03 +0000 (23:38 +0200)] 
Tweak and reword recent CHANGES entries

4 years agoMerge branch 'mnowak/fix-pylint-v9_11' into 'v9_11'
Michal Nowak [Wed, 28 Jul 2021 09:16:46 +0000 (09:16 +0000)] 
Merge branch 'mnowak/fix-pylint-v9_11' into 'v9_11'

Make kasp2policy.py PyLint-clean

See merge request isc-projects/bind9!5307

4 years agoMake kasp2policy.py PyLint-clean
Michal Nowak [Tue, 27 Jul 2021 15:23:07 +0000 (17:23 +0200)] 
Make kasp2policy.py PyLint-clean

PyLint 2.9.5 reported the following errors:
    contrib/kasp/kasp2policy.py:25:0: R0402: Use 'from ply import yacc' instead (consider-using-from-import)
    contrib/kasp/kasp2policy.py:26:0: R0402: Use 'from ply import lex' instead (consider-using-from-import)

(cherry picked from commit 4e09411371bd93f9375f49e93c91d24d919c3530)

4 years agoMerge branch 'v9_11_34-release' into 'v9_11'
Michal Nowak [Mon, 26 Jul 2021 09:52:43 +0000 (09:52 +0000)] 
Merge branch 'v9_11_34-release' into 'v9_11'

Merge 9.11.34 release branch

See merge request isc-projects/bind9!5303

4 years agoSet up release notes for BIND 9.11.35
Michal Nowak [Fri, 23 Jul 2021 08:26:54 +0000 (10:26 +0200)] 
Set up release notes for BIND 9.11.35

4 years agoBump BIND_BASELINE_VERSION for ABI checks
Michal Nowak [Fri, 23 Jul 2021 08:23:50 +0000 (10:23 +0200)] 
Bump BIND_BASELINE_VERSION for ABI checks

4 years agoMerge branch 'prep-release' into v9_11_34-release
Tinderbox User [Fri, 9 Jul 2021 08:55:20 +0000 (08:55 +0000)] 
Merge branch 'prep-release' into v9_11_34-release

4 years agoprep 9.11.34
Tinderbox User [Fri, 9 Jul 2021 08:54:25 +0000 (08:54 +0000)] 
prep 9.11.34

4 years agoMerge branch 'michal/prepare-documentation-for-bind-9.11.34' into 'v9_11_34-release'
Michał Kępień [Fri, 9 Jul 2021 08:28:14 +0000 (08:28 +0000)] 
Merge branch 'michal/prepare-documentation-for-bind-9.11.34' into 'v9_11_34-release'

Prepare release notes for BIND 9.11.34

See merge request isc-private/bind9!310

4 years agoPrepare release notes for BIND 9.11.34
Michał Kępień [Fri, 9 Jul 2021 08:12:25 +0000 (10:12 +0200)] 
Prepare release notes for BIND 9.11.34

4 years agoMerge branch '2473-run-respdiff-as-part-of-daily-runs-v9_11' into 'v9_11'
Michal Nowak [Thu, 22 Jul 2021 13:01:40 +0000 (13:01 +0000)] 
Merge branch '2473-run-respdiff-as-part-of-daily-runs-v9_11' into 'v9_11'

[v9_11] Run respdiff also for scheduled and web pipelines

See merge request isc-projects/bind9!5298

4 years agoRun respdiff also for scheduled and web pipelines
Michal Nowak [Thu, 18 Feb 2021 15:28:31 +0000 (16:28 +0100)] 
Run respdiff also for scheduled and web pipelines

respdiff needs to be run regularly to identify problems with query
responses discrepancies sooner than after tagging a release.

Contrary to the main branch, which hosts the BIND 9 Development Version
and thus sets MAX_DISAGREEMENTS_PERCENTAGE variable to 0.5, branches
hosting BIND 9 Stable Versions have it set to 0.1, which provides only
tiny room for non-timeout response disagreements between the baseline
version and version under test.

(cherry picked from commit 561b58196bfe75fbbea4598b214afd7fffe2b537)

4 years agoMerge branch '2762-check-opcode-v9_11' into 'v9_11'
Mark Andrews [Wed, 21 Jul 2021 03:07:36 +0000 (03:07 +0000)] 
Merge branch '2762-check-opcode-v9_11' into 'v9_11'

Check opcode of messages returned by dns_request_getresponse

See merge request isc-projects/bind9!5288

4 years agoadd release note for [GL #2762]
Mark Andrews [Fri, 11 Jun 2021 07:19:59 +0000 (17:19 +1000)] 
add release note for [GL #2762]

(cherry picked from commit 36720fb4a6433e276adcf6d81c04fdeeb8851a5c)

4 years agoAdd CHANGES for [GL #2762]
Mark Andrews [Fri, 11 Jun 2021 07:11:58 +0000 (17:11 +1000)] 
Add CHANGES for [GL #2762]

(cherry picked from commit 466db0f49e5d7c1426e75f95d9734415564c3334)

4 years agocheck nsupdate handles UPDATE response to QUERY
Mark Andrews [Wed, 14 Jul 2021 21:27:55 +0000 (07:27 +1000)] 
check nsupdate handles UPDATE response to QUERY

(cherry picked from commit 0bba0ab10d59a785e214d03d3ef4c541725a1823)

4 years agodns_rdata_tostruct() should reject rdata with DNS_RDATA_UPDATE set
Mark Andrews [Thu, 10 Jun 2021 00:14:17 +0000 (10:14 +1000)] 
dns_rdata_tostruct() should reject rdata with DNS_RDATA_UPDATE set

(cherry picked from commit e97249e01270ab43065e3a7d6ba3f5a36593a2c4)

4 years agoCheck opcode of messages returned by dns_request_getresponse
Mark Andrews [Fri, 11 Jun 2021 06:58:15 +0000 (16:58 +1000)] 
Check opcode of messages returned by dns_request_getresponse

(cherry picked from commit ed4e00713fa52d361b2bbf0eeae80a6da7323255)

4 years agoMerge branch 'mnowak/replace-literal-blocks-with-anchors-v9_11' into 'v9_11'
Michal Nowak [Fri, 16 Jul 2021 14:36:02 +0000 (14:36 +0000)] 
Merge branch 'mnowak/replace-literal-blocks-with-anchors-v9_11' into 'v9_11'

[v9_11] Use anchors instead of literal blocks in .gitlab-ci.yml

See merge request isc-projects/bind9!5280

4 years agoUse anchors instead of literal blocks in .gitlab-ci.yml
Michal Nowak [Wed, 24 Feb 2021 12:50:46 +0000 (13:50 +0100)] 
Use anchors instead of literal blocks in .gitlab-ci.yml

Anchor lets the user see the full command logged in GitLab CI:

    ${CONFIGURE} --disable-maintainer-mode --enable-developer ...

Instead of a folded multi-line when literal block is used:

    ${CONFIGURE} \ # collapsed multi-line command

(cherry picked from commit c22008629ec7c5decd80fe233cd507fbce993fe6)

4 years agoMerge branch 'marka-xmllint-html-v9_11' into 'v9_11'
Mark Andrews [Fri, 2 Jul 2021 04:10:19 +0000 (04:10 +0000)] 
Merge branch 'marka-xmllint-html-v9_11' into 'v9_11'

Check for errors in html files

See merge request isc-projects/bind9!5244

4 years agoCheck for errors in html files
Mark Andrews [Fri, 2 Jul 2021 00:38:40 +0000 (10:38 +1000)] 
Check for errors in html files

xmllint doesn't know about the HTML 5 <section> tag so filter
those out.

(cherry picked from commit ea0624b214638cb8b2ac1f1c4ac8ef3fd44bfb32)

4 years agoMerge branch '2667-configuration-issues-on-solaris-11-4' into 'v9_11'
Mark Andrews [Wed, 30 Jun 2021 07:28:02 +0000 (07:28 +0000)] 
Merge branch '2667-configuration-issues-on-solaris-11-4' into 'v9_11'

Resolve "Configuration issues on Solaris 11.4"

See merge request isc-projects/bind9!4996

4 years agoSolaris native compiler configure fixes
Mark Andrews [Wed, 30 Jun 2021 01:42:16 +0000 (11:42 +1000)] 
Solaris native compiler configure fixes

* Drop '-mt' from '$CC'
* Use '$CC -V' for version in summary

4 years agoadd gssapi_hack, gssapi_krb5_hack and gssapi_krb5_hack to krb5-config
Mark Andrews [Wed, 30 Jun 2021 02:14:01 +0000 (12:14 +1000)] 
add gssapi_hack, gssapi_krb5_hack and gssapi_krb5_hack to krb5-config

4 years agoadd --with-gssapi=krb5-config to pairwise
Mark Andrews [Mon, 3 May 2021 04:36:36 +0000 (14:36 +1000)] 
add --with-gssapi=krb5-config to pairwise

4 years agocheck for gssapi_krb5.h and gssapi/gssapi_krb5.h
Mark Andrews [Mon, 3 May 2021 04:03:19 +0000 (14:03 +1000)] 
check for gssapi_krb5.h and gssapi/gssapi_krb5.h

4 years agohave --with-gssapi={auto|yes} try krb5-config
Mark Andrews [Mon, 3 May 2021 02:14:13 +0000 (12:14 +1000)] 
have --with-gssapi={auto|yes} try krb5-config

4 years agodon't fallback if krb5-config fails
Mark Andrews [Fri, 30 Apr 2021 08:13:30 +0000 (18:13 +1000)] 
don't fallback if krb5-config fails

4 years agohandle krb5-config not being present; drop krb5 from krb5-config call
Mark Andrews [Fri, 30 Apr 2021 07:58:55 +0000 (17:58 +1000)] 
handle krb5-config not being present; drop krb5 from krb5-config call

4 years agoMerge branch '2183-enable-DF-on-old-socket-code-v9_11' into 'v9_11'
Ondřej Surý [Fri, 25 Jun 2021 06:18:21 +0000 (06:18 +0000)] 
Merge branch '2183-enable-DF-on-old-socket-code-v9_11' into 'v9_11'

Disable the PMTUD also for the IPv6 UDP sockets

See merge request isc-projects/bind9!5233

4 years agoDisable the PMTUD also for the IPv6 UDP sockets
Ondřej Surý [Wed, 23 Sep 2020 12:47:26 +0000 (14:47 +0200)] 
Disable the PMTUD also for the IPv6 UDP sockets

Disable the PMTUD also on the IPv6 UDP sockets in addition to IPv4 UDP
sockets.

4 years agoMerge branch 'mnowak/alpine-3.14-v9_11' into 'v9_11'
Michal Nowak [Thu, 17 Jun 2021 16:25:34 +0000 (16:25 +0000)] 
Merge branch 'mnowak/alpine-3.14-v9_11' into 'v9_11'

[v9_11] Add Alpine Linux 3.14

See merge request isc-projects/bind9!5193

4 years agoAdd Alpine Linux 3.14
Michal Nowak [Wed, 16 Jun 2021 15:39:44 +0000 (17:39 +0200)] 
Add Alpine Linux 3.14

(cherry picked from commit 80f828bc3741ee3ba304b5d36dd1f79fc2ad77c1)

4 years agoMerge branch 'v9_11_33-release' into 'v9_11'
Michał Kępień [Wed, 16 Jun 2021 20:52:34 +0000 (20:52 +0000)] 
Merge branch 'v9_11_33-release' into 'v9_11'

Merge 9.11.33 release branch

See merge request isc-projects/bind9!5188

4 years agoSet up release notes for BIND 9.11.34
Michał Kępień [Wed, 16 Jun 2021 20:47:31 +0000 (22:47 +0200)] 
Set up release notes for BIND 9.11.34

4 years agoBump BIND_BASELINE_VERSION for ABI checks
Michał Kępień [Wed, 16 Jun 2021 20:47:31 +0000 (22:47 +0200)] 
Bump BIND_BASELINE_VERSION for ABI checks

4 years agoMerge branch 'prep-release' into v9_11_33-release
Tinderbox User [Tue, 8 Jun 2021 12:53:56 +0000 (12:53 +0000)] 
Merge branch 'prep-release' into v9_11_33-release

4 years agoMerge branch 'michal/prepare-documentation-for-bind-9.11.33' into 'v9_11_33-release'
Michał Kępień [Tue, 8 Jun 2021 12:34:05 +0000 (12:34 +0000)] 
Merge branch 'michal/prepare-documentation-for-bind-9.11.33' into 'v9_11_33-release'

Prepare documentation for BIND 9.11.33

See merge request isc-private/bind9!301

4 years agoprep 9.11.33
Tinderbox User [Tue, 8 Jun 2021 12:53:43 +0000 (12:53 +0000)] 
prep 9.11.33

4 years agoPrepare release notes for BIND 9.11.33
Michał Kępień [Tue, 8 Jun 2021 12:31:32 +0000 (14:31 +0200)] 
Prepare release notes for BIND 9.11.33

4 years agoMerge branch 'ondrej/bump-clang-dependency-to-llvm-12-v9_11' into 'v9_11'
Ondřej Surý [Sun, 13 Jun 2021 07:13:10 +0000 (07:13 +0000)] 
Merge branch 'ondrej/bump-clang-dependency-to-llvm-12-v9_11' into 'v9_11'

Change the LLVM tools version to 12 (v9.11)

See merge request isc-projects/bind9!5176

4 years agoChange the LLVM tools version to 12
Ondřej Surý [Sat, 12 Jun 2021 06:56:37 +0000 (08:56 +0200)] 
Change the LLVM tools version to 12

LLVM 12 stable was released on 15. April 2021, change the default
version to the current stable.

(cherry picked from commit 9f7855322c763a1ae509eeaa2b8be83be5c180ce)

5 years agoMerge branch '2540-check-dname-resolution-via-itself-v9_11' into 'v9_11'
Michał Kępień [Wed, 2 Jun 2021 13:29:52 +0000 (13:29 +0000)] 
Merge branch '2540-check-dname-resolution-via-itself-v9_11' into 'v9_11'

[v9_11] Check DNAME resolution via itself

See merge request isc-projects/bind9!5137

5 years agoCheck DNAME resolution via itself
Mark Andrews [Mon, 1 Mar 2021 05:38:36 +0000 (16:38 +1100)] 
Check DNAME resolution via itself

(cherry picked from commit cbdea694e84e9ce7d112dd64230c8d1e2208b211)

5 years agoMerge branch '2467-add-a-system-test-checking-a-malformed-ixfr-v9_11' into 'v9_11'
Michał Kępień [Wed, 2 Jun 2021 12:17:31 +0000 (12:17 +0000)] 
Merge branch '2467-add-a-system-test-checking-a-malformed-ixfr-v9_11' into 'v9_11'

[v9_11] Add a system test checking a malformed IXFR

See merge request isc-projects/bind9!5134

5 years agoAdd a system test checking a malformed IXFR
Mark Andrews [Wed, 3 Feb 2021 00:10:20 +0000 (11:10 +1100)] 
Add a system test checking a malformed IXFR

Make sure an incoming IXFR containing an SOA record which is not placed
at the apex of the transferred zone does not result in a broken version
of the zone being served by named and/or a subsequent crash.

(cherry picked from commit 5547003a3d41f42f9c086d959e0e5df4240ccd4d)

5 years agoMerge branch 'mnowak/add-fedora-34-v9_11' into 'v9_11'
Michal Nowak [Fri, 28 May 2021 11:34:28 +0000 (11:34 +0000)] 
Merge branch 'mnowak/add-fedora-34-v9_11' into 'v9_11'

[v9_11] Add Fedora 34

See merge request isc-projects/bind9!5114

5 years agoAdd Fedora 34
Michal Nowak [Thu, 20 May 2021 12:40:47 +0000 (14:40 +0200)] 
Add Fedora 34

(cherry picked from commit 5f27aaa0ff3c471a8a90340f2fe5eb62e43571ab)

5 years agoMerge branch 'mnowak/install-bind-by-setting-DESTDIR-v9_11' into 'v9_11'
Michal Nowak [Tue, 25 May 2021 16:47:30 +0000 (16:47 +0000)] 
Merge branch 'mnowak/install-bind-by-setting-DESTDIR-v9_11' into 'v9_11'

[v9_11] Install BIND with "make DESTDIR=<PATH> install"

See merge request isc-projects/bind9!5092

5 years agoInstall BIND with "make DESTDIR=<PATH> install"
Michal Nowak [Tue, 13 Apr 2021 16:58:22 +0000 (18:58 +0200)] 
Install BIND with "make DESTDIR=<PATH> install"

BIND installation should be done by setting $DESTDIR during "make
install", not by setting --prefix via ./configure to the destination
directory. However, on 9.11 --prefix still needs to be set to eliminate
the compatibility mode with older BIND9 releases (see the comment in
configure.ac, lines 379-396), which does not place sysconfdir and
localstatedir to $DESTDIR/$prefix but directly to $DESTDIR. When
--prefix is set they end up in $DESTDIR/$prefix, which is the BIND 9.16+
default).

    $ ./configure && make && make install DESTDIR=/tmp/bind9
    $ ls /tmp/bind9/{,usr/local}
    /tmp/bind9/:
    etc  usr  var
    /tmp/bind9/usr/local:
    bin  include  lib  sbin  share

    $ ./configure --prefix=/usr/local && make && make install DESTDIR=/tmp/bind9
    $ ls /tmp/bind9/{,usr/local}
    /tmp/bind9/:
    usr
    /tmp/bind9/usr/local:
    bin  etc  include  lib  sbin  share  var

Make sure that installation with DESTDIR=<PATH> works by checking that
named binary and it's respective man page were installed and that
well-known BIND9 directories - and only them - are present in DESTDIR.

Also rename install path variable from BIND_INSTALL_PATH to
INSTALL_PATH to avoid namespace clash in stress tests which use
BIND_INSTALL_PATH variable to configure path to BIND9 binaries.

(cherry picked from commit 823bf3e79ba8f287b63d2e6ec5006d091c8c54e8)

5 years agoMerge branch 'ondrej/replace-ubuntu-xenial-with-ubuntu-bionic-v9_11' into 'v9_11'
Ondřej Surý [Mon, 24 May 2021 20:22:44 +0000 (20:22 +0000)] 
Merge branch 'ondrej/replace-ubuntu-xenial-with-ubuntu-bionic-v9_11' into 'v9_11'

Replace Ubuntu 16.04 LTS with Ubuntu 18.04 LTS in the GitLab CI (v9.11)

See merge request isc-projects/bind9!5089

5 years agoReplace Ubuntu 16.04 LTS with Ubuntu 18.04 LTS in the GitLab CI
Ondřej Surý [Fri, 12 Mar 2021 13:02:57 +0000 (14:02 +0100)] 
Replace Ubuntu 16.04 LTS with Ubuntu 18.04 LTS in the GitLab CI

Ubuntu 16.04 (Xenial Xerus) is reaching End of Standard Support in April
2021 thus we are removing it from the list of supported platforms and
replacing it with Ubuntu 18.04 LTS (Bionic Beaver).

(cherry picked from commit 4402a90bb770a77a36a35ce25a69872c8a34c56b)

5 years agoMerge branch 'mnowak/freebsd-13-v9_11' into 'v9_11'
Michal Nowak [Mon, 24 May 2021 18:51:30 +0000 (18:51 +0000)] 
Merge branch 'mnowak/freebsd-13-v9_11' into 'v9_11'

[v9_11] Add FreeBSD 13.0

See merge request isc-projects/bind9!5087

5 years agoRun gcc:tarball CI job for merge requests
Michal Nowak [Thu, 20 May 2021 16:00:28 +0000 (18:00 +0200)] 
Run gcc:tarball CI job for merge requests

Running gcc:tarball CI job for merge requests is consistent with how we
run gcc:out-of-tree CI job and should help identify problems with the
build system during the review process, not once merged during daily
runs. For the sake of time, unit and system tests associated with the
gcc:tarball CI job are excluded from merge requests.

Also, make sure that the tarball-create CI job includes the
default_triggering_rules anchor (as it is on the main branch), otherwise
adding the gcc:tarball CI job to merge request-triggered pipeline fails
with:

    Found errors in your .gitlab-ci.yml: 'gcc:tarball' job needs 'tarball-create' job but it was not added to the pipeline

(cherry picked from commit 83617cea9a7ac4b877b0874d041d21d80eb36fac)

5 years agoDo not spawn FreeBSD 11 CI jobs in merge requests
Michal Nowak [Thu, 20 May 2021 09:06:48 +0000 (11:06 +0200)] 
Do not spawn FreeBSD 11 CI jobs in merge requests

(cherry picked from commit 70eccd29526cbfab7b3032072dddbe37201ed254)

5 years agoCreate an anchor for schedules, tags, and web rules
Michal Nowak [Thu, 20 May 2021 08:56:12 +0000 (10:56 +0200)] 
Create an anchor for schedules, tags, and web rules

It's a common pattern to spawn CI jobs only for pipelines triggered by
schedules, tags, and web. There should be an anchor so that the rules
are not repeated.

(cherry picked from commit e4f88c359c85c2f084901289e3406c80674368ff)

5 years agoAdd FreeBSD 13.0
Michal Nowak [Wed, 17 Mar 2021 16:19:47 +0000 (17:19 +0100)] 
Add FreeBSD 13.0

(cherry picked from commit 0714fe6f40456bc6cfb6797f39d592a718670db6)

5 years agoMerge branch '2452-iterated_hash-c-warning-argument-1-of-type-unsigned-char-20-with...
Michal Nowak [Thu, 20 May 2021 12:28:27 +0000 (12:28 +0000)] 
Merge branch '2452-iterated_hash-c-warning-argument-1-of-type-unsigned-char-20-with-mismatched-bound' into 'v9_11'

Fix argument with mismatched bound in isc_iterated_hash()

See merge request isc-projects/bind9!5039

5 years agoFix argument with mismatched bound in isc_iterated_hash()
Michal Nowak [Mon, 17 May 2021 12:14:20 +0000 (14:14 +0200)] 
Fix argument with mismatched bound in isc_iterated_hash()

GCC 11 produced the following warning:

    iterated_hash.c:21:33: warning: argument 1 of type ‘unsigned char[20]’ with mismatched bound [-Warray-parameter=]
       21 | isc_iterated_hash(unsigned char out[ISC_SHA1_DIGESTLENGTH],
          |                   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from iterated_hash.c:18:
    ./include/isc/iterated_hash.h:33:37: note: previously declared as ‘unsigned char[155]’
       33 | int isc_iterated_hash(unsigned char out[NSEC3_MAX_HASH_LENGTH],
          |                       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~

5 years agoMerge branch '2453-sha2-c-warning-argument-with-mismatched-bound' into 'v9_11'
Michal Nowak [Thu, 20 May 2021 11:34:20 +0000 (11:34 +0000)] 
Merge branch '2453-sha2-c-warning-argument-with-mismatched-bound' into 'v9_11'

Fix arguments with mismatched bound in lib/isc/sha2.c

See merge request isc-projects/bind9!5038

5 years agoFix arguments with mismatched bound in lib/isc/sha2.c
Michal Nowak [Mon, 17 May 2021 12:36:28 +0000 (14:36 +0200)] 
Fix arguments with mismatched bound in lib/isc/sha2.c

GCC 11 produced the following warnings:

    sha2.c:888:26: error: argument 1 of type ‘uint8_t[]’ {aka ‘unsigned char[]’} with mismatched bound [-Werror=array-parameter=]
      888 | isc_sha224_final(uint8_t digest[], isc_sha224_t *context) {
          |                  ~~~~~~~~^~~~~~~~
    In file included from sha2.c:58:
    ./include/isc/sha2.h:132:24: note: previously declared as ‘uint8_t[28]’ {aka ‘unsigned char[28]’}
      132 | void isc_sha224_final (uint8_t[ISC_SHA224_DIGESTLENGTH], isc_sha224_t *);
          |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    sha2.c:1151:26: error: argument 1 of type ‘uint8_t[]’ {aka ‘unsigned char[]’} with mismatched bound [-Werror=array-parameter=]
     1151 | isc_sha256_final(uint8_t digest[], isc_sha256_t *context) {
          |                  ~~~~~~~~^~~~~~~~
    In file included from sha2.c:58:
    ./include/isc/sha2.h:139:24: note: previously declared as ‘uint8_t[32]’ {aka ‘unsigned char[32]’}
      139 | void isc_sha256_final (uint8_t[ISC_SHA256_DIGESTLENGTH], isc_sha256_t *);
          |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    sha2.c:1514:31: error: argument 1 of type ‘uint8_t[]’ {aka ‘unsigned char[]’} with mismatched bound [-Werror=array-parameter=]
     1514 | void isc_sha512_final(uint8_t digest[], isc_sha512_t *context) {
          |                       ~~~~~~~~^~~~~~~~
    In file included from sha2.c:58:
    ./include/isc/sha2.h:153:24: note: previously declared as ‘uint8_t[64]’ {aka ‘unsigned char[64]’}
      153 | void isc_sha512_final (uint8_t[ISC_SHA512_DIGESTLENGTH], isc_sha512_t *);
          |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    sha2.c:1567:26: error: argument 1 of type ‘uint8_t[]’ {aka ‘unsigned char[]’} with mismatched bound [-Werror=array-parameter=]
     1567 | isc_sha384_final(uint8_t digest[], isc_sha384_t *context) {
          |                  ~~~~~~~~^~~~~~~~
    In file included from sha2.c:58:
    ./include/isc/sha2.h:146:24: note: previously declared as ‘uint8_t[48]’ {aka ‘unsigned char[48]’}
      146 | void isc_sha384_final (uint8_t[ISC_SHA384_DIGESTLENGTH], isc_sha384_t *);
          |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    sha2.c:1604:44: error: argument 2 of type ‘char[]’ with mismatched bound [-Werror=array-parameter=]
     1604 | isc_sha224_end(isc_sha224_t *context, char buffer[]) {
          |                                       ~~~~~^~~~~~~~
    In file included from sha2.c:58:
    ./include/isc/sha2.h:133:39: note: previously declared as ‘char[57]’
      133 | char *isc_sha224_end (isc_sha224_t *, char[ISC_SHA224_DIGESTSTRINGLENGTH]);
          |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    sha2.c:1645:44: error: argument 2 of type ‘char[]’ with mismatched bound [-Werror=array-parameter=]
     1645 | isc_sha256_end(isc_sha256_t *context, char buffer[]) {
          |                                       ~~~~~^~~~~~~~
    In file included from sha2.c:58:
    ./include/isc/sha2.h:140:39: note: previously declared as ‘char[65]’
      140 | char *isc_sha256_end (isc_sha256_t *, char[ISC_SHA256_DIGESTSTRINGLENGTH]);
          |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    sha2.c:1686:44: error: argument 2 of type ‘char[]’ with mismatched bound [-Werror=array-parameter=]
     1686 | isc_sha512_end(isc_sha512_t *context, char buffer[]) {
          |                                       ~~~~~^~~~~~~~
    In file included from sha2.c:58:
    ./include/isc/sha2.h:154:39: note: previously declared as ‘char[129]’
      154 | char *isc_sha512_end (isc_sha512_t *, char[ISC_SHA512_DIGESTSTRINGLENGTH]);
          |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    sha2.c:1727:44: error: argument 2 of type ‘char[]’ with mismatched bound [-Werror=array-parameter=]
     1727 | isc_sha384_end(isc_sha384_t *context, char buffer[]) {
          |                                       ~~~~~^~~~~~~~
    In file included from sha2.c:58:
    ./include/isc/sha2.h:147:39: note: previously declared as ‘char[97]’
      147 | char *isc_sha384_end (isc_sha384_t *, char[ISC_SHA384_DIGESTSTRINGLENGTH]);
          |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

5 years agoMerge branch 'v9_11_32-release' into 'v9_11'
Michał Kępień [Thu, 20 May 2021 10:44:35 +0000 (10:44 +0000)] 
Merge branch 'v9_11_32-release' into 'v9_11'

Merge 9.11.32 release branch

See merge request isc-projects/bind9!5070

5 years agoSet up release notes for BIND 9.11.33
Michał Kępień [Thu, 20 May 2021 10:34:09 +0000 (12:34 +0200)] 
Set up release notes for BIND 9.11.33

5 years agoBump BIND_BASELINE_VERSION for ABI checks
Michał Kępień [Thu, 20 May 2021 10:34:09 +0000 (12:34 +0200)] 
Bump BIND_BASELINE_VERSION for ABI checks

5 years agoMerge branch 'prep-release' into v9_11_32-release
Tinderbox User [Wed, 12 May 2021 10:45:51 +0000 (10:45 +0000)] 
Merge branch 'prep-release' into v9_11_32-release

5 years agoMerge branch 'michal/prepare-documentation-for-bind-9.11.32' into 'v9_11_32-release'
Michał Kępień [Wed, 12 May 2021 10:26:12 +0000 (10:26 +0000)] 
Merge branch 'michal/prepare-documentation-for-bind-9.11.32' into 'v9_11_32-release'

Prepare documentation for BIND 9.11.32

See merge request isc-private/bind9!295