Commit Graph

33102 Commits

Author SHA1 Message Date
Michał Kępień
44f5121078 Merge branch '2372-add-hyperlink-to-gl-xxxx-labels-in-documentation-v9_16' into 'v9_16'
[v9_16] Resolve "Add hyperlink to [GL XXXX] labels in documentation"

See merge request isc-projects/bind9!4959
2021-04-29 12:00:37 +00:00
Michal Nowak
c424aa3bc2 Update Danger check for GitLab references
Release notes now employ a custom :gl: Sphinx role for linking to GitLab
issues/MRs.  Tweak the relevant Danger checks to account for that.

(cherry picked from commit fe1dea6572)
2021-04-29 13:35:05 +02:00
Michał Kępień
902e4482e0 Add a Sphinx role for linking GitLab issues/MRs
Define a :gl: Sphinx role that takes a GitLab issue/MR number as an
argument and creates a hyperlink to the relevant ISC GitLab URL.  This
makes it easy to reach ISC GitLab pages directly from the release notes.

Make all GitLab references in the release notes use the new Sphinx role.

(cherry picked from commit 2fadf29e6b)
2021-04-29 13:35:05 +02:00
Michal Nowak
c7fc3445c2 Make use of the :rfc: role in the ARM consistent
Make sure all RFC references in the ARM use the stock :rfc: Sphinx role.

(cherry picked from commit aeb43a45ac)
2021-04-29 13:35:05 +02:00
Michał Kępień
9bba57c939 Merge branch 'v9_16_15-release' into 'v9_16'
Merge 9.16.15 release branch

See merge request isc-projects/bind9!4955
2021-04-29 09:44:20 +00:00
Michał Kępień
41d18279e4 Regenerate configure 2021-04-29 11:39:56 +02:00
Michał Kępień
cdc086a4f4 Set up release notes for BIND 9.16.16 2021-04-29 11:12:38 +02:00
Tinderbox User
e2316224a4 Merge branch 'prep-release' into v9_16_15-release 2021-04-29 11:12:38 +02:00
Michał Kępień
a02bc2ff64 Merge branch 'michal/prepare-documentation-for-bind-9.16.15' into 'v9_16_15-release'
Prepare documentation for BIND 9.16.15

See merge request isc-private/bind9!288
2021-04-29 11:12:38 +02:00
Tinderbox User
b0f44204fa prep 9.16.15 2021-04-29 11:12:38 +02:00
Tinderbox User
5937b49154 Merge branch 'prep-release' into v9_16_14-release 2021-04-29 11:12:38 +02:00
Michał Kępień
e8e1e9102d Prepare release notes for BIND 9.16.15 2021-04-29 11:12:38 +02:00
Michał Kępień
dd7c2b0436 Merge branch 'michal/prepare-documentation-for-bind-9.16.14' into 'security-v9_16'
Prepare documentation for BIND 9.16.14

See merge request isc-private/bind9!285
2021-04-29 11:12:38 +02:00
Tinderbox User
4999118246 prep 9.16.14 2021-04-29 11:12:38 +02:00
Michał Kępień
0a6543fe21 Tweak and reword release notes 2021-04-29 11:12:38 +02:00
Michał Kępień
154d2aa770 Merge branch '2604-confidential-issue-spnego' into 'security-v9_16'
[CVE-2021-25216] Documentation for ZDI-CAN-13347: ISC BIND TKEY Query Integer Overflow Remote Code Execution Vulnerability

See merge request isc-private/bind9!283
2021-04-29 11:12:38 +02:00
Michał Kępień
e5b8f25f69 Prepare release notes for BIND 9.16.14 2021-04-29 11:12:38 +02:00
Michał Kępień
109f840ba2 Tweak and reword recent CHANGES entries 2021-04-29 11:12:38 +02:00
Michał Kępień
65de43945d Merge branch '2540-confidential-issue-existing-dname-v9_16' into 'security-v9_16'
[CVE-2021-25215] [v9_16] Properly answer queries for DNAME records that require the DNAME to be processed to resolve itself

See merge request isc-private/bind9!281
2021-04-29 11:12:38 +02:00
Michał Kępień
7990f642f9 Add release note for [GL #2604] 2021-04-29 11:12:38 +02:00
Michał Kępień
7e5afc921f Add release note for GL #2623 2021-04-29 11:12:38 +02:00
Michał Kępień
5c6273200e Merge branch '2467-confidential-issue-ixfr-checks-v9_16' into 'security-v9_16'
[CVE-2021-25214] [v9_16] Prevent malformed incoming zone transfers from producing a zone without an SOA record

See merge request isc-private/bind9!262
2021-04-29 11:12:38 +02:00
Mark Andrews
55d6e544b6 Add Release Notes entry for [GL #2540] 2021-04-29 11:12:38 +02:00
Michał Kępień
84007b700f Add CHANGES entry for [GL #2604] 2021-04-29 11:12:38 +02:00
Michał Kępień
5c407e8f62 Add release note for GL #2490 2021-04-29 11:12:38 +02:00
Mark Andrews
0551ebf5cc Add release note for [GL #2467] 2021-04-29 11:12:38 +02:00
Mark Andrews
3c611b3682 Add CHANGES entry for [GL #2540] 2021-04-29 11:12:38 +02:00
Michał Kępień
9474ed9d53 Reorder release notes 2021-04-29 11:12:38 +02:00
Mark Andrews
51b533bdd5 Add CHANGES entry for [GL #2467] 2021-04-29 11:12:38 +02:00
Mark Andrews
ea443fa9ba Handle DNAME lookup via itself
When answering a query, named should never attempt to add the same RRset
to the ANSWER section more than once.  However, such a situation may
arise when chasing DNAME records: one of the DNAME records placed in the
ANSWER section may turn out to be the final answer to a client query,
but there is no way to know that in advance.  Tweak the relevant INSIST
assertion in query_respond() so that it handles this case properly.
qctx->rdataset is freed later anyway, so there is no need to clean it up
in query_respond().
2021-04-29 11:12:38 +02:00
Michał Kępień
797956b55e Tweak and reword release notes 2021-04-29 11:12:38 +02:00
Mark Andrews
c4fa9ba303 Unload a zone if a transfer breaks its SOA record
If a zone transfer results in a zone not having any NS records, named
stops serving it because such a zone is broken.  Do the same if an
incoming zone transfer results in a zone lacking an SOA record at the
apex or containing more than one SOA record.
2021-04-29 11:12:38 +02:00
Michał Kępień
bdeea86101 Tweak and reword recent CHANGES entries 2021-04-29 11:12:38 +02:00
Mark Andrews
ea56069ae0 Address inconsistencies in checking added RRsets
loading_addrdataset() rejects SOA RRsets which are not at top of zone.
addrdataset() should similarly reject such RRsets.
2021-04-29 11:12:38 +02:00
Mark Andrews
ae96ca98f7 Check SOA owner names in zone transfers
An IXFR containing SOA records with owner names different than the
transferred zone's origin can result in named serving a version of that
zone without an SOA record at the apex.  This causes a RUNTIME_CHECK
assertion failure the next time such a zone is refreshed.  Fix by
immediately rejecting a zone transfer (either an incremental or
non-incremental one) upon detecting an SOA record not placed at the apex
of the transferred zone.
2021-04-29 11:12:38 +02:00
Mark Andrews
d7ce222c47 Merge branch '2642-reduce-the-maximum-nsec3-iterations-that-can-be-configured-v9_16' into 'v9_16'
Reduce nsec3 max iterations to 150

See merge request isc-projects/bind9!4951
2021-04-29 08:18:31 +00:00
Mark Andrews
4c7c2bd6a6 Add Release Note for [GL #2642]
(cherry picked from commit ca07b8e414)
2021-04-29 17:56:01 +10:00
Mark Andrews
08ceb7daa7 Add CHANGES for [GL #2642]
5625.   [func]          Reduce the supported maximum number of iterations
                        that can be configured in an NSEC3 zones to 150.
                        [GL #2642]

(cherry picked from commit e04f06873f)
2021-04-29 17:56:00 +10:00
Mark Andrews
e87748a909 Check that excessive iterations in logged by named when
loading an existing zone or transfering from the primary.

(cherry picked from commit 46eb21c546)
2021-04-29 17:55:40 +10:00
Mark Andrews
a7c8c1cde0 Check NSEC3 iterations with dnssec-signzone
(cherry picked from commit 8ec16c378d)
2021-04-29 17:55:40 +10:00
Mark Andrews
5546c7959c Check that named rejects excessive iterations via UPDATE
(cherry picked from commit 4ce8437a6e)
2021-04-29 17:55:39 +10:00
Mark Andrews
b8708ebfa1 nsupdate: reject attempts to add NSEC3PARAM with excessive iterations
(cherry picked from commit 3fe75d9809)
2021-04-29 17:55:35 +10:00
Mark Andrews
be211cbf95 Warn if there is excessive NSEC3 iterations
(cherry picked from commit c9f5f8a059)
2021-04-29 17:44:47 +10:00
Mark Andrews
8e3c963172 Check dnssec-policy nsec3param iterations limit
(cherry picked from commit aa26cde2ae)
2021-04-29 17:44:46 +10:00
Mark Andrews
9324d2d295 Reduce nsec3 max iterations to 150
(cherry picked from commit 29126500d2)
2021-04-29 17:44:46 +10:00
Matthijs Mekking
1050d18664 Merge branch 'matthijs-nit-serve-stale-fixesv9_16' into 'v9_16'
Serve-stale nit fixes (9.16)

See merge request isc-projects/bind9!4950
2021-04-28 13:31:14 +00:00
Matthijs Mekking
4615cbb597 Serve-stale nit fixes
While working on the serve-stale backports, I noticed the following
oddities:

1. In the serve-stale system test, in one case we keep track of the
   time how long it took for dig to complete. In commit
   aaed7f9d8c, the code removed the
   exception to check for result == ISC_R_SUCCESS on stale found
   answers, and adjusted the test accordingly. This failed to update
   the time tracking accordingly. Move the t1/t2 time track variables
   back around the two dig commands to ensure the lookups resolved
   faster than the resolver-query-timeout.

2. We can remove the setting of NS_QUERYATTR_STALEOK and
   DNS_RDATASETATTR_STALE_ADDED on the "else if (stale_timeout)"
   code path, because they are added later when we know we have
   actually found a stale answer on a stale timeout lookup.

3. We should clear the NS_QUERYATTR_STALEOK flag from the client
   query attributes instead of DNS_RDATASETATTR_STALE_ADDED (that
   flag is set on the rdataset attributes).

4. In 'bin/named/config.c' we should set the configuration options
   in alpabetical order.

5. In the ARM, in the backports we have added "(stale)" between
   "cached" and "RRset" to make more clear a stale RRset may be
   returned in this scenario.

(cherry picked from commit 104b676235)
2021-04-28 13:53:52 +02:00
Michał Kępień
99157e2220 Merge branch 'michal/limit-logging-for-verbose-system-tests-v9_16' into 'v9_16'
[v9_16] Limit logging for verbose system tests

See merge request isc-projects/bind9!4948
2021-04-28 07:23:22 +00:00
Michał Kępień
c0b15db6da Warn when log files grow too big in system tests
Exerting excessive I/O load on the host running system tests should be
avoided in order to limit the number of false positives reported by the
system test suite.  In some cases, running named with "-d 99" (which is
the default for system tests) results in a massive amount of logs being
generated, most of which are useless.  Implement a log file size check
to draw developers' attention to overly verbose named instances used in
system tests.  The warning threshold of 200,000 lines was chosen
arbitrarily.

(cherry picked from commit 241e85ef0c)
2021-04-28 08:36:56 +02:00
Michał Kępień
13e97eb3c4 Prevent useless logging in the "tcp" system test
The regression test for CVE-2020-8620 causes a lot of useless messages
to be logged.  However, globally decreasing the log level for the
affected named instance would be a step too far as debugging information
may be useful for troubleshooting other checks in the "tcp" system test.
Starting a separate named instance for a single check should be avoided
when possible and thus is also not a good solution.  As a compromise,
run "rndc trace 1" for the affected named instance before starting the
regression test for CVE-2020-8620.

(cherry picked from commit 17e5c2a50e)
2021-04-28 08:36:56 +02:00