]>
git.ipfire.org Git - thirdparty/bind9.git/log
Michał Kępień [Mon, 18 Jan 2021 13:57:47 +0000 (14:57 +0100)]
Flag missing CVE identifiers
Make Danger ensure that if a merge request fixes a security issue then
that merge request includes a CHANGES entry and a release note, both of
which contain a CVE identifier.
Matthijs Mekking [Mon, 18 Jan 2021 12:35:30 +0000 (12:35 +0000)]
Merge branch '2364-cid314969-coverity-deadcode-zoneconf' into 'main'
Fix control flow issue CID 314969 in zoneconf.c
Closes #2364
See merge request isc-projects/bind9!4573
Matthijs Mekking [Mon, 18 Jan 2021 08:04:19 +0000 (09:04 +0100)]
Fix control flow issue CID 314969 in zoneconf.c
Coverity Scan identified the following issue in bin/named/zoneconf.c:
*** CID 314969: Control flow issues (DEADCODE)
/bin/named/zoneconf.c: 2212 in named_zone_inlinesigning()
if (!inline_signing && !zone_is_dynamic &&
cfg_map_get(zoptions, "dnssec-policy", &signing) == ISC_R_SUCCESS &&
signing != NULL)
{
if (strcmp(cfg_obj_asstring(signing), "none") != 0) {
inline_signing = true;
>>> CID 314969: Control flow issues (DEADCODE)
>>> Execution cannot reach the expression ""no"" inside this statement: "dns_zone_log(zone, 1, "inli...".
dns_zone_log(
zone, ISC_LOG_DEBUG(1), "inline-signing: %s",
inline_signing
? "implicitly through dnssec-policy"
: "no");
} else {
...
}
}
This is because we first set 'inline_signing = true' and then check
its value in 'dns_zone_log'.
Ondřej Surý [Tue, 12 Jan 2021 20:19:30 +0000 (20:19 +0000)]
Merge branch '2354-placeholder' into 'main'
Add placeholder for GL #2354
Closes #2354
See merge request isc-projects/bind9!4564
Ondřej Surý [Tue, 12 Jan 2021 20:14:53 +0000 (21:14 +0100)]
Add placeholder for GL #2354
Matthijs Mekking [Tue, 12 Jan 2021 11:22:22 +0000 (11:22 +0000)]
Merge branch '2383-kasp-sig-validity-dnskey-bug' into 'main'
Fix signatures-validity config option
Closes #2383
See merge request isc-projects/bind9!4543
Matthijs Mekking [Thu, 7 Jan 2021 16:41:38 +0000 (17:41 +0100)]
Fix signatures-validity config option
KASP was using 'signatures-validity-dnskey' instead of
'signatures-validity'.
Michal Nowak [Mon, 11 Jan 2021 11:35:57 +0000 (11:35 +0000)]
Merge branch 'mnowak/fix-copyright-date-in-man-pages' into 'main'
Update copyright date in man pages
See merge request isc-projects/bind9!4548
Michal Nowak [Mon, 11 Jan 2021 11:01:51 +0000 (12:01 +0100)]
Update copyright date in man pages
Michał Kępień [Mon, 11 Jan 2021 11:27:17 +0000 (12:27 +0100)]
Make sure ddns-confgen man page stays up to date
Matthijs Mekking [Mon, 11 Jan 2021 11:22:19 +0000 (11:22 +0000)]
Merge branch 'matthijs-fix-notes' into 'main'
Fix current release notes
See merge request isc-projects/bind9!4549
Matthijs Mekking [Mon, 11 Jan 2021 11:19:26 +0000 (12:19 +0100)]
Fix current release notes
Remove entry that was release in 9.17.8 already.
Matthijs Mekking [Mon, 11 Jan 2021 10:55:53 +0000 (10:55 +0000)]
Merge branch '2248-serve-stale-config-defaults' into 'main'
Update serve-stale config defaults
Closes #2248
See merge request isc-projects/bind9!4477
Matthijs Mekking [Wed, 9 Dec 2020 15:01:31 +0000 (16:01 +0100)]
Update serve-stale system test with new defaults
Matthijs Mekking [Tue, 8 Dec 2020 14:58:45 +0000 (15:58 +0100)]
Update serve-stale config defaults
Change the serve-stale configuration defaults so that they match the
recommendations from RFC 8767.
Michał Kępień [Fri, 8 Jan 2021 12:53:13 +0000 (12:53 +0000)]
Merge branch '606-add-the-isc-dnssec-guide-as-a-bind-9-arm-appendix' into 'main'
Add the ISC DNSSEC Guide as a BIND 9 ARM appendix
Closes #606
See merge request isc-projects/bind9!4471
Michał Kępień [Fri, 8 Jan 2021 12:12:20 +0000 (13:12 +0100)]
Add the ISC DNSSEC Guide as a BIND 9 ARM appendix
Add the ISC DNSSEC Guide to the BIND 9 ARM in order to include the
former in every BIND release.
Michał Kępień [Fri, 8 Jan 2021 11:51:03 +0000 (11:51 +0000)]
Merge branch '2366-add-CHANGES-entry' into 'main'
Add CHANGES entry for GL #2366
Closes #2366
See merge request isc-projects/bind9!4544
Michał Kępień [Fri, 8 Jan 2021 11:42:03 +0000 (12:42 +0100)]
Add CHANGES entry for GL #2366
Michal Nowak [Thu, 7 Jan 2021 15:24:21 +0000 (15:24 +0000)]
Merge branch 'marka-explicitly-add-gen.c' into 'main'
Explicitly add gen.c and gen-unix.h to dist
See merge request isc-projects/bind9!4538
Mark Andrews [Thu, 7 Jan 2021 12:23:52 +0000 (23:23 +1100)]
Explicitly add gen.c and gen-unix.h to dist
Mark Andrews [Thu, 7 Jan 2021 02:49:41 +0000 (02:49 +0000)]
Merge branch '1978-cross-compilation-doesn-t-work-in-9-17' into 'main'
Resolve "Cross-compilation doesn’t work in 9.17"
Closes #1978
See merge request isc-projects/bind9!4505
Mark Andrews [Fri, 18 Dec 2020 05:37:26 +0000 (16:37 +1100)]
don't enable maintainer mode when cross compiling
Mark Andrews [Fri, 18 Dec 2020 04:48:00 +0000 (15:48 +1100)]
lib/dns/gen should be built with CC_FOR_BUILD
Evan Hunt [Wed, 6 Jan 2021 22:02:42 +0000 (22:02 +0000)]
Merge branch 'jinmei-bind9-fix-async-hook-assertion-failure' into 'main'
fix async hook assertion failure
Closes #2379
See merge request isc-projects/bind9!4537
Evan Hunt [Wed, 6 Jan 2021 21:26:02 +0000 (13:26 -0800)]
CHANGES
JINMEI Tatuya [Sat, 12 Dec 2020 05:46:12 +0000 (21:46 -0800)]
more s/recurse/async/ for consistency
(no behavior change)
JINMEI Tatuya [Sat, 12 Dec 2020 05:44:54 +0000 (21:44 -0800)]
detach fetchhandle before resume query processing
otherwise, another hook async event or DNS recursion would
trigger an assertion failure.
Mark Andrews [Wed, 6 Jan 2021 08:03:38 +0000 (08:03 +0000)]
Merge branch '2366-bind-9-16-10-build-fails-with-libmaxminddb-1-4-3-2' into 'main'
Resolve "BIND 9.16.10 build fails with libmaxminddb-1.4.3"
Closes #2366
See merge request isc-projects/bind9!4532
Mark Andrews [Wed, 6 Jan 2021 07:05:58 +0000 (18:05 +1100)]
Fix 'configure --with-maxminddb=<path>'
Mark Andrews [Wed, 6 Jan 2021 05:30:11 +0000 (05:30 +0000)]
Merge branch '2355-incorrect-increment-of-inactive-in-rbtdb-c-maybe_free_rbtdb' into 'main'
Resolve "Incorrect increment of inactive in rbtdb.c:maybe_free_rbtdb()"
Closes #2317 and #2355
See merge request isc-projects/bind9!4504
Mark Andrews [Fri, 18 Dec 2020 02:43:11 +0000 (13:43 +1100)]
Add release note
Mark Andrews [Fri, 18 Dec 2020 02:40:23 +0000 (13:40 +1100)]
Add CHANGES
Mark Andrews [Fri, 18 Dec 2020 02:31:07 +0000 (13:31 +1100)]
Inactive incorrectly incremented
It is possible to have two threads destroying an rbtdb at the same
time when detachnode() executes and removes the last reference to
a node between exiting being set to true for the node and testing
if the references are zero in maybe_free_rbtdb(). Move NODE_UNLOCK()
to after checking if references is zero to prevent detachnode()
changing the reference count too early.
Matthijs Mekking [Tue, 5 Jan 2021 12:40:40 +0000 (12:40 +0000)]
Merge branch '2359-too-many-newlines-dnssec-signzone-verify' into 'main'
Fix dnssec-signzone and -verify logging (again)
Closes #2359
See merge request isc-projects/bind9!4523
Matthijs Mekking [Tue, 5 Jan 2021 11:06:23 +0000 (12:06 +0100)]
Fix dnssec-signzone and -verify logging (again)
While fixing #2359, 'report()' was changed so that it would print the
newline.
Newlines were missing from the output of 'dnssec-signzone'
and 'dnssec-verify' because change
664b8f04f5f2322086138f5eda5899a62bcc019b moved the printing from
newlines to the library.
This had to be reverted because this also would print redundant
newlines in logfiles.
While doing the revert, some newlines in 'lib/dns/zoneverify.c'
were left in place, now making 'dnssec-signzone' and 'dnssec-verify'
print too many newlines.
This commit removes those newlines, so that the output looks nice
again.
Mark Andrews [Tue, 5 Jan 2021 00:29:26 +0000 (00:29 +0000)]
Merge branch 'marka-placeholder' into 'main'
placeholder
See merge request isc-projects/bind9!4521
Mark Andrews [Tue, 5 Jan 2021 00:25:38 +0000 (11:25 +1100)]
placeholder
Mark Andrews [Mon, 4 Jan 2021 06:21:13 +0000 (06:21 +0000)]
Merge branch '2359-missing-newlines-in-log-messages-dnssec-signzone-dnssec-verify-c' into 'main'
Resolve "missing newlines in log messages dnssec-signzone/dnssec-verify"
Closes #2359
See merge request isc-projects/bind9!4511
Mark Andrews [Wed, 23 Dec 2020 02:20:57 +0000 (13:20 +1100)]
Add CHANGES
Mark Andrews [Wed, 23 Dec 2020 01:21:24 +0000 (12:21 +1100)]
Fix dnssec-signzone and dnssec-verify logging
The newlines need to be appended to the messages generated by report
in a atomic manner.
Mark Andrews [Mon, 4 Jan 2021 03:58:45 +0000 (03:58 +0000)]
Merge branch 'marka-copyrights' into 'main'
update for 2021
See merge request isc-projects/bind9!4518
Mark Andrews [Mon, 4 Jan 2021 00:52:00 +0000 (11:52 +1100)]
update for 2021
Matthijs Mekking [Wed, 23 Dec 2020 11:04:45 +0000 (11:04 +0000)]
Merge branch 'matthijs-fixup-notes' into 'main'
Matthijs fixup notes
See merge request isc-projects/bind9!4512
Matthijs Mekking [Wed, 23 Dec 2020 11:03:26 +0000 (12:03 +0100)]
Fixup notes
I screwed up the notes in !4474
Matthijs Mekking [Wed, 23 Dec 2020 10:55:20 +0000 (10:55 +0000)]
Merge branch '1750-dnssec-policy-none' into 'main'
Resolve 'dnssec-policy' graceful transition to insecure
Closes #2341 and #1750
See merge request isc-projects/bind9!4474
Matthijs Mekking [Tue, 8 Dec 2020 08:55:36 +0000 (09:55 +0100)]
Add notes for [#2341]
Mention the bugfix in the release.
Matthijs Mekking [Tue, 8 Dec 2020 08:42:51 +0000 (09:42 +0100)]
Add documentation and notes for [#1750]
Matthijs Mekking [Mon, 7 Dec 2020 13:37:23 +0000 (14:37 +0100)]
Fix a quirky mkeys test failure
The mkeys system test started to fail after introducing support for
zones transitioning to unsigned without going bogus. This is because
there was actually a bug in the code: if you reconfigure a zone and
remove the "auto-dnssec" option, the zone is actually still DNSSEC
maintained. This is because in zoneconf.c there is no call
to 'dns_zone_setkeyopt()' if the configuration option is not used
(cfg_map_get(zoptions, "auto-dnssec", &obj) will return an error).
The mkeys system test implicitly relied on this bug: initially the
root zone is being DNSSEC maintained, then at some point it needs to
reset the root zone in order to prepare for some tests with bad
signatures. Because it needs to inject a bad signature, 'auto-dnssec'
is removed from the configuration.
The test pass but for the wrong reasons:
I:mkeys:reset the root server
I:mkeys:reinitialize trust anchors
I:mkeys:check positive validation (18)
The 'check positive validation' test works because the zone is still
DNSSEC maintained: The DNSSEC records in the signed root zone file on
disk are being ignored.
After fixing the bug/introducing graceful transition to insecure,
the root zone is no longer DNSSEC maintained after the reconfig.
The zone now explicitly needs to be reloaded because otherwise the
'check positive validation' test works against an old version of the
zone (the one with all the revoked keys), and the test will obviously
fail.
Matthijs Mekking [Thu, 3 Dec 2020 15:04:28 +0000 (16:04 +0100)]
Update keymgr to allow transition to insecure mode
The keymgr prevented zones from going to insecure mode. If we
have a policy with an empty key list this is a signal that the zone
wants to go back to insecure mode. In this case allow one extra state
transition to be valid when checking for DNSSEC safety.
Matthijs Mekking [Thu, 3 Dec 2020 14:33:45 +0000 (15:33 +0100)]
Publish CDS/CDNSKEY Delete Records
Check if zone is transitioning from secure to insecure. If so,
delete the CDS/CDNSKEY records, otherwise make sure they are not
part of the RRset.
Matthijs Mekking [Thu, 3 Dec 2020 14:01:42 +0000 (15:01 +0100)]
Treat dnssec-policy "none" as a builtin zone
Configure "none" as a builtin policy. Change the 'cfg_kasp_fromconfig'
api so that the 'name' will determine what policy needs to be
configured.
When transitioning a zone from secure to insecure, there will be
cases when a zone with no DNSSEC policy (dnssec-policy none) should
be using KASP. When there are key state files available, this is an
indication that the zone once was DNSSEC signed but is reconfigured
to become insecure.
If we would not run the keymgr, named would abruptly remove the
DNSSEC records from the zone, making the zone bogus. Therefore,
change the code such that a zone will use kasp if there is a valid
dnssec-policy configured, or if there are state files available.
Matthijs Mekking [Thu, 3 Dec 2020 09:19:38 +0000 (10:19 +0100)]
Add function to see if dst key uses kasp
For purposes of zones transitioning back to insecure mode, it is
practical to see if related keys have a state file associated.
Matthijs Mekking [Thu, 3 Dec 2020 08:03:21 +0000 (09:03 +0100)]
Small adjustments to kasp rndc_checkds function
Slightly better test output, and only call 'load keys' if the
'rndc checkds' call succeeded.
Matthijs Mekking [Thu, 3 Dec 2020 07:53:34 +0000 (08:53 +0100)]
Add tests for going from secure to insecure
Add two test zones that will be reconfigured to go insecure, by
setting the 'dnssec-policy' option to 'none'.
One zone was using inline-signing (implicitly through dnssec-policy),
the other is a dynamic zone.
Two tweaks to the kasp system test are required: we need to set
when to except the CDS/CDS Delete Records, and we need to know
when we are dealing with a dynamic zone (because the logs to look for
are slightly different, inline-signing prints "(signed)" after the
zone name, dynamic zones do not).
Mark Andrews [Tue, 22 Dec 2020 22:17:12 +0000 (22:17 +0000)]
Merge branch '2245-bind-9-16-8-does-not-honor-cpu-affinity' into 'main'
Resolve "bind 9.16.8 does not honor CPU affinity"
Closes #2245
See merge request isc-projects/bind9!4395
Mark Andrews [Wed, 2 Dec 2020 05:08:39 +0000 (16:08 +1100)]
Add CHANGES and release notes for [GL #2245]
Mark Andrews [Wed, 16 Dec 2020 02:50:57 +0000 (13:50 +1100)]
PYTHON may be null
When Python is not present, PYTHON=$(command -v "@PYTHON@") will exit
the script with 1, prevent that by adding "|| true".
Matthijs Mekking [Thu, 10 Dec 2020 10:57:23 +0000 (11:57 +0100)]
Add test for cpu affinity
Add a test to check BIND 9 honors CPU affinity mask. This requires
some changes to the start script, to construct the named command.
Mark Andrews [Tue, 17 Nov 2020 03:59:01 +0000 (14:59 +1100)]
Only pick CPUs that are part of the existing CPU affinity set when
assigning a thread to a CPU.
Mark Andrews [Mon, 21 Dec 2020 02:07:45 +0000 (02:07 +0000)]
Merge branch '2348-bin-tools-mdig-compile-link-failure-because-of-missing-isccfg-dependency-3' into 'main'
Resolve "bin/tools/mdig: compile/link failure because of missing isccfg dependency"
Closes #2348
See merge request isc-projects/bind9!4497
Mark Andrews [Wed, 16 Dec 2020 00:04:43 +0000 (11:04 +1100)]
Handle shared library platforms that don't support inter library dependancies
Mark Andrews [Wed, 16 Dec 2020 00:02:36 +0000 (11:02 +1100)]
Reorder in library dependancy order
Ondřej Surý [Sun, 20 Dec 2020 16:50:03 +0000 (16:50 +0000)]
Merge branch 'jpmens-main-patch-60230' into 'main'
Adjust number of rule types from 13 to the 16 there are. (16 is accurately...
See merge request isc-projects/bind9!4507
JP Mens [Sun, 20 Dec 2020 09:56:44 +0000 (09:56 +0000)]
Adjust number of rule types from 13 to the 16 there are. (16 is accurately specified further down in the section.)
Michał Kępień [Wed, 16 Dec 2020 21:15:24 +0000 (21:15 +0000)]
Merge branch 'v9_17_8-release' into 'main'
Merge 9.17.8 release branch
See merge request isc-projects/bind9!4500
Michał Kępień [Wed, 16 Dec 2020 21:09:14 +0000 (22:09 +0100)]
Set up release notes for BIND 9.17.9
Michał Kępień [Wed, 16 Dec 2020 21:09:14 +0000 (22:09 +0100)]
Bump BIND_BASELINE_VERSION for ABI checks
Michał Kępień [Fri, 4 Dec 2020 10:36:58 +0000 (11:36 +0100)]
Update BIND version to 9.17.8
Michał Kępień [Fri, 4 Dec 2020 10:36:58 +0000 (11:36 +0100)]
Add a CHANGES marker
Michał Kępień [Fri, 4 Dec 2020 10:36:58 +0000 (11:36 +0100)]
Update library API versions
Michał Kępień [Fri, 4 Dec 2020 10:34:38 +0000 (10:34 +0000)]
Merge branch 'michal/prepare-release-notes-for-bind-9.17.8' into 'v9_17_8-release'
Prepare release notes for BIND 9.17.8
See merge request isc-private/bind9!224
Michał Kępień [Fri, 4 Dec 2020 10:07:22 +0000 (11:07 +0100)]
Prepare release notes for BIND 9.17.8
Michał Kępień [Fri, 4 Dec 2020 10:07:22 +0000 (11:07 +0100)]
Add release note for GL #2321
Michał Kępień [Fri, 4 Dec 2020 10:07:22 +0000 (11:07 +0100)]
Add release note for GL #1816
Michał Kępień [Fri, 4 Dec 2020 10:07:22 +0000 (11:07 +0100)]
Reorder release notes
Michał Kępień [Fri, 4 Dec 2020 10:07:22 +0000 (11:07 +0100)]
Tweak and reword release notes
Michał Kępień [Fri, 4 Dec 2020 10:07:22 +0000 (11:07 +0100)]
Tweak and reword recent CHANGES entries
Michał Kępień [Fri, 4 Dec 2020 10:07:22 +0000 (11:07 +0100)]
Fix formatting of "dnssec-policy" documentation
Michal Nowak [Thu, 3 Dec 2020 15:53:22 +0000 (16:53 +0100)]
Miscellaneous minor documentation updates
Michal Nowak [Mon, 14 Dec 2020 12:12:54 +0000 (12:12 +0000)]
Merge branch 'mnowak/fix-rndc-8-reference-in-named-8-man-page' into 'main'
Fix a reference to rndc(8) in named(8) manual page
See merge request isc-projects/bind9!4478
Michal Nowak [Tue, 8 Dec 2020 15:11:04 +0000 (16:11 +0100)]
Fix a reference to rndc(8) in named(8) manual page
Ondřej Surý [Sat, 12 Dec 2020 06:52:50 +0000 (06:52 +0000)]
Merge branch '2058-print-warning-when-fallback-to-soaserial-increment' into 'main'
Resolve "`dnssec-signzone -N unixtime` behaves like `increment`"
Closes #2058
See merge request isc-projects/bind9!4487
Ondřej Surý [Thu, 10 Dec 2020 09:39:48 +0000 (10:39 +0100)]
Add CHANGES and release notes for GL #2058
Mark Andrews [Fri, 11 Dec 2020 03:07:31 +0000 (14:07 +1100)]
Update dnssec-signzone -N soa-serial-format description
document the autoincrement when the serial would go backwards.
Ondřej Surý [Thu, 10 Dec 2020 09:31:31 +0000 (10:31 +0100)]
Print warning when falling back to increment soa serial method
When using the `unixtime` or `date` method to update the SOA serial,
`named` and `dnssec-signzone` would silently fallback to `increment`
method to prevent the new serial number to be smaller than the old
serial number (using the serial number arithmetics). Add a warning
message when such fallback happens.
Mark Andrews [Fri, 11 Dec 2020 06:04:47 +0000 (06:04 +0000)]
Merge branch '385-add-a-built-in-ipv4only-arpa-default-zone' into 'main'
Resolve "Add a built-in ipv4only.arpa default zone."
Closes #385
See merge request isc-projects/bind9!479
Mark Andrews [Tue, 1 Sep 2020 00:30:45 +0000 (10:30 +1000)]
Add CHANGES note
Mark Andrews [Tue, 1 Sep 2020 00:32:44 +0000 (10:32 +1000)]
Add release note entry
Mark Andrews [Tue, 8 Dec 2020 22:47:48 +0000 (09:47 +1100)]
Add RFC 7050 and RFC 8880 to rfc-compliance
Mark Andrews [Wed, 11 Jul 2018 02:18:27 +0000 (12:18 +1000)]
Document ipv4only-enable, ipv4only-contact and ipv4only-server.
Mark Andrews [Tue, 1 Sep 2020 02:03:59 +0000 (12:03 +1000)]
Generate PTR records for DNS64 mapped ipv4only.arpa reverses.
Rather than generating CNAMES records pointing into IN-ADDR.ARPA,
generate PTR records directly as the names are known as per RFC 8880.
Mark Andrews [Thu, 5 Jul 2018 06:45:05 +0000 (16:45 +1000)]
Checking synthesis of AAAA of builtin ipv4only.arpa
Mark Andrews [Thu, 5 Jul 2018 05:29:30 +0000 (15:29 +1000)]
Implement ipv4only.arpa forward and reverse zones as per RFC 8880.
Mark Andrews [Thu, 10 Dec 2020 02:43:41 +0000 (02:43 +0000)]
Merge branch 'marka-placeholder' into 'main'
Add placeholders for [GL !4454] and [GL #2324]
See merge request isc-projects/bind9!4485
Mark Andrews [Thu, 10 Dec 2020 02:40:56 +0000 (13:40 +1100)]
Add placeholders for [GL !4454] and [GL #2324]
Ondřej Surý [Wed, 9 Dec 2020 09:48:53 +0000 (09:48 +0000)]
Merge branch 'ondrej/release-notes-doesnt-need-copyright' into 'main'
Remove the requirement for the release notes to have copyright
See merge request isc-projects/bind9!4483
Ondřej Surý [Wed, 9 Dec 2020 09:35:13 +0000 (10:35 +0100)]
Remove the requirement for the release notes to have copyright
The release notes doesn't have to have copyright header, it doesn't add
any value there as the release notes are useless outside the project.
Ondřej Surý [Tue, 8 Dec 2020 18:35:25 +0000 (18:35 +0000)]
Merge branch 'ondrej/clang-format-11' into 'main'
Update the clang version to new stable llvm/clang 11
See merge request isc-projects/bind9!4003
Ondřej Surý [Mon, 24 Aug 2020 07:24:25 +0000 (09:24 +0200)]
Bump the clang version to 11 (stable)