]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
4 years agoAdd CHANGES and release notes
Mark Andrews [Fri, 17 Jul 2020 02:42:07 +0000 (12:42 +1000)] 
Add CHANGES and release notes

4 years agoAdd check-names for svbc (https) server name examples
Mark Andrews [Mon, 26 Jul 2021 05:43:52 +0000 (15:43 +1000)] 
Add check-names for svbc (https) server name examples

4 years agoCheck that the hostname of the server is legal
Mark Andrews [Fri, 23 Jul 2021 06:25:43 +0000 (16:25 +1000)] 
Check that the hostname of the server is legal

4 years agoadd tests for string and qstring
Mark Andrews [Mon, 3 Aug 2020 14:16:50 +0000 (00:16 +1000)] 
add tests for string and qstring

4 years agoAdd unit test for keypair
Mark Andrews [Fri, 31 Jul 2020 15:25:37 +0000 (01:25 +1000)] 
Add unit test for keypair

4 years agoAdd additional processing to HTTPS and SVBC records
Mark Andrews [Fri, 5 Jul 2019 06:20:20 +0000 (16:20 +1000)] 
Add additional processing to HTTPS and SVBC records

The additional processing method has been expanded to take the
owner name of the record, as HTTPS and SVBC need it to process "."
in service form.

The additional section callback can now return the RRset that was
added.  We use this when adding CNAMEs.  Previously, the recursion
would stop if it detected that a record you added already exists.  With
CNAMEs this rule doesn't work, as you ultimately care about the RRset
at the target of the CNAME and not the presence of the CNAME itself.
Returning the record allows the caller to restart with the target
name.  As CNAMEs can form loops, loop protection was added.

As HTTPS and SVBC can produce infinite chains, we prevent this by
tracking recursion depth and stopping if we go too deep.

4 years agoadd svcb fuzzing seed
Mark Andrews [Mon, 3 Aug 2020 03:27:51 +0000 (13:27 +1000)] 
add svcb fuzzing seed

4 years agoAdd invalid test vectors
Mark Andrews [Thu, 22 Apr 2021 06:18:46 +0000 (16:18 +1000)] 
Add invalid test vectors

4 years agoadd text vs unknown test vectors
Mark Andrews [Thu, 25 Mar 2021 05:41:33 +0000 (16:41 +1100)] 
add text vs unknown test vectors

4 years agoParse and print HTTPS and SVCB records
Mark Andrews [Thu, 5 Nov 2020 06:22:52 +0000 (17:22 +1100)] 
Parse and print HTTPS and SVCB records

4 years agoAdd support for parsing <tag>[=<value>]
Mark Andrews [Wed, 25 Sep 2019 08:02:38 +0000 (18:02 +1000)] 
Add support for parsing <tag>[=<value>]

where <value> may be a quoted string.  Previously quoted string
only supported opening quotes at the start of the string.

4 years agoMake whether to follow additional data records generic
Mark Andrews [Tue, 23 Mar 2021 23:58:09 +0000 (10:58 +1100)] 
Make whether to follow additional data records generic

Adds dns_rdatatype_followadditional() and
DNS_RDATATYPEATTR_FOLLOWADDITIONAL

4 years agoMerge branch '2319-add-the-ability-to-display-the-badcookie-message-to-dig-when-badco...
Mark Andrews [Wed, 18 Aug 2021 02:51:02 +0000 (02:51 +0000)] 
Merge branch '2319-add-the-ability-to-display-the-badcookie-message-to-dig-when-badcookie-is-active' into 'main'

Resolve "Add the ability to display the BADCOOKIE message to dig when +badcookie is active"

Closes #2319

See merge request isc-projects/bind9!4443

4 years agoAdd CHANGES for [GL #2319]
Mark Andrews [Tue, 17 Aug 2021 04:42:17 +0000 (14:42 +1000)] 
Add CHANGES for [GL #2319]

4 years agoTest dig +showbadcookie
Mark Andrews [Tue, 17 Aug 2021 04:42:44 +0000 (14:42 +1000)] 
Test dig +showbadcookie

4 years agoAdd the ability to display the BADCOOKIE message in dig when
Mark Andrews [Tue, 1 Dec 2020 04:10:32 +0000 (15:10 +1100)] 
Add the ability to display the BADCOOKIE message in dig when

+badcookie is in effect.

4 years agoMerge branch '2845-rndc-freeze-edit-include-file-thaw' into 'main'
Matthijs Mekking [Mon, 16 Aug 2021 15:06:09 +0000 (15:06 +0000)] 
Merge branch '2845-rndc-freeze-edit-include-file-thaw' into 'main'

Add test for in-view zone edits

Closes #2845

See merge request isc-projects/bind9!5316

4 years agoAdd test for in-view zone edits
Matthijs Mekking [Fri, 6 Aug 2021 12:28:01 +0000 (14:28 +0200)] 
Add test for in-view zone edits

Add a test case for GL #2845 where a zone is in two views, one base
view and one "in-view" and that zone is using an $INCLUDE. Make sure
that there is a jnl file (have ixfr-from-differences enabled and do a
dynamic update). Then freeze and make updates in the included file
(this requires the test.db file also to be updated because 'rndc freeze'
causes the zone file to be overwritten). Finally reload and ensure that
the edit in the included file has been loaded.

4 years agoMerge branch '2665-qname-minimization-disabled-after-first-resolution' into 'main'
Matthijs Mekking [Mon, 16 Aug 2021 14:41:40 +0000 (14:41 +0000)] 
Merge branch '2665-qname-minimization-disabled-after-first-resolution' into 'main'

QNAME minimization is bypassed with stale zonecut in cache

Closes #2665

See merge request isc-projects/bind9!5327

4 years agoMore correctly implement ends with label sequence check
Mark Andrews [Mon, 16 Aug 2021 04:15:17 +0000 (14:15 +1000)] 
More correctly implement ends with label sequence check

string.endswith("label.sequence") doesn't check for the implict
period before "label.sequence" when matching longer strings.

"foo.label.sequence" should match but "foolabel.sequence shouldn't".

4 years agoAdd change entry and release note for GL #2665
Matthijs Mekking [Fri, 13 Aug 2021 07:52:50 +0000 (09:52 +0200)] 
Add change entry and release note for GL #2665

4 years agoDon't use stale nodes when looking up a zonecut
Matthijs Mekking [Wed, 11 Aug 2021 08:31:56 +0000 (10:31 +0200)] 
Don't use stale nodes when looking up a zonecut

When looking up a zonecut in cache, we use 'dns_rbt_findnode' to find
the closest matching node. This function however does not take into
account stale nodes. When we do find a stale node and use it, this
has implications for subsequent lookups. For example, this may break
QNAME minimization because we are using a deeper zonecut than we should
have.

Check the header for staleness and if so, and stale entries are not
accepted, look for the deepest zonecut from this node up.

4 years agoAdd extra checks for !ANCIENT(header)
Matthijs Mekking [Tue, 10 Aug 2021 10:18:12 +0000 (12:18 +0200)] 
Add extra checks for !ANCIENT(header)

There are some occurrences where we check if a header exists in the
rbtdb. These cases require that the header is also not marked as
ancient (aka ready for cleanup). These cases involve finding certain
data in cache.

4 years agoAdd qmin test cases when RRset has expired
Matthijs Mekking [Fri, 13 Aug 2021 07:24:11 +0000 (09:24 +0200)] 
Add qmin test cases when RRset has expired

Add test cases for GL #2665: The QNAME minimization (if enabled) should
also occur on the second query, after the RRsets have expired from
cache. BIND will still have the entries in cache, but marked stale.
These stale entries should not prevent the resolver from minimizing
the QNAME. We query for the test domain a.b.stale. in all cases (QNAME
minimization off, strict mode, and relaxed mode) and expect it to
behave the same the second time we have a stale delegation structure in
cache.

4 years agoMerge branch 'feature/master/dig-return-codes' into 'main'
Evan Hunt [Thu, 12 Aug 2021 17:33:16 +0000 (17:33 +0000)] 
Merge branch 'feature/master/dig-return-codes' into 'main'

Document return codes of dig

See merge request isc-projects/bind9!2688

4 years agoDocument return codes of dig
Petr Menšík [Mon, 18 Nov 2019 21:19:21 +0000 (22:19 +0100)] 
Document return codes of dig

The dig tool reports some states as exit status. Document them briefly
in the manual page.

4 years agoMerge branch '2785-resconf-timeout-retry.conf' into 'main'
Evan Hunt [Thu, 12 Aug 2021 17:19:15 +0000 (17:19 +0000)] 
Merge branch '2785-resconf-timeout-retry.conf' into 'main'

Parse timeout and attempts from resolv.conf

Closes #2785

See merge request isc-projects/bind9!5273

4 years agoCHANGES [GL #2785]
Petr Menšík [Tue, 20 Jul 2021 17:45:16 +0000 (19:45 +0200)] 
CHANGES [GL #2785]

4 years agoCheck parsed resconf values
Petr Menšík [Tue, 20 Jul 2021 17:34:42 +0000 (19:34 +0200)] 
Check parsed resconf values

Add 'attempts' check, fix 'ndots' data. Create a bunch of verification
functions and check parsed values, not just return codes.

4 years agoParse 'timeout' and 'attempts' from resolv.conf
Petr Menšík [Tue, 22 Jun 2021 14:35:46 +0000 (16:35 +0200)] 
Parse 'timeout' and 'attempts' from resolv.conf

It was supported by lwres in BIND 9.11, and is still mentioned in
the manual page. Restore support for it by adding it to libirs.

4 years agoMerge branch 'artem/doh-mem-alloc-optimisations' into 'main'
Artem Boldariev [Thu, 12 Aug 2021 11:53:54 +0000 (11:53 +0000)] 
Merge branch 'artem/doh-mem-alloc-optimisations' into 'main'

Optimise memory usage in the DoH code and fix a hard-to-reproduce crash

See merge request isc-projects/bind9!5309

4 years agoAdd a CHANGES entry for the crash fix [GL #2851]
Artem Boldariev [Thu, 5 Aug 2021 13:01:04 +0000 (16:01 +0300)] 
Add a CHANGES entry for the crash fix [GL #2851]

This commit adds a CHANGES entry for the fixed crash, caused by
detaching from the session->handle too early when sending HTTP/2
session data.

4 years agoFix the doh_recv_send() logic in the doh_test
Artem Boldariev [Thu, 5 Aug 2021 09:42:40 +0000 (12:42 +0300)] 
Fix the doh_recv_send() logic in the doh_test

The commit fixes the doh_recv_send() because occasionally it would
fail because it did not wait for all responses to be sent, making the
check for ssends value to nit pass.

4 years agoOptimise TLS stream for small write size (>= 512 bytes)
Artem Boldariev [Mon, 2 Aug 2021 14:15:13 +0000 (17:15 +0300)] 
Optimise TLS stream for small write size (>= 512 bytes)

This commit changes TLS stream behaviour in such a way, that it is now
optimised for small writes. In the case there is a need to write less
or equal to 512 bytes, we could avoid calling the memory allocator at
the expense of possibly slight increase in memory usage. In case of
larger writes, the behviour remains unchanged.

4 years agoAvoid memory copying during send in TLS stream
Artem Boldariev [Mon, 2 Aug 2021 11:43:54 +0000 (14:43 +0300)] 
Avoid memory copying during send in TLS stream

At least at this point doing memory copying is not required. Probably
it was a workaround for some problem in the earlier days of DoH, at
this point it appears to be a waste of CPU cycles.

4 years agoSimplify buffering code logic in http_send_outgoing()
Artem Boldariev [Fri, 30 Jul 2021 10:02:41 +0000 (13:02 +0300)] 
Simplify buffering code logic in http_send_outgoing()

This commit significantly simplifies the code in http_send_outgoing()
as it was unnecessary complicated, because it was dealing with
multiple statically and dynamically allocated buffers, making it
extremely hard to follow, as well as making it to do unnecessary
memory copying in some situations. This commit fixes these issues,
while retaining the high level buffering logic.

4 years agoDoH: replace a custom buffer code for POST data with isc_buffer_t
Artem Boldariev [Thu, 29 Jul 2021 08:43:29 +0000 (11:43 +0300)] 
DoH: replace a custom buffer code for POST data with isc_buffer_t

This commit replaces the custom buffer code in client-side DoH code
intended to keep track of POST data, with isc_buffer_t.

4 years agoWhen terminating a client session, mark it as closing
Artem Boldariev [Thu, 29 Jul 2021 07:46:34 +0000 (10:46 +0300)] 
When terminating a client session, mark it as closing

When an HTTP/2 client terminates a session it means that it is about
to close the underlying connection. However, we were not doing that.
As a result, with the latest changes to the test suite, which made it
to limit amount of requests per a transport connection, the tests
using quota would hang for quite a while. This commit fixes that.

4 years agoLimit the number of requests sent per connection in DoH tests
Artem Boldariev [Wed, 28 Jul 2021 16:30:30 +0000 (19:30 +0300)] 
Limit the number of requests sent per connection in DoH tests

This commit ensures that only a limited number of requests is going to
be sent over a single HTTP/2 connection. Before that change was
introduced, it was possible to complete all of the planned sends via
only one transport connection, which undermines the purpose of the
tests using the quota facility.

4 years agoDo not call http_do_bio() in isc__nm_http_request()
Artem Boldariev [Wed, 28 Jul 2021 13:44:46 +0000 (16:44 +0300)] 
Do not call http_do_bio() in isc__nm_http_request()

The function should not be called here because it is, in general,
supposed to be called at the end of the transport level callbacks to
perform I/O, and thus, calling it here is clearly a mistake because it
breaks other code expectations. As a result of the call to
http_do_bio() from within isc__nm_http_request() the unit tests were
running slower than expected in some situations.

In this particular situation http_do_bio() is going to be called at
the end of the transport_connect_cb() (initially), or http_readcb(),
sending all of the scheduled requests at once.

This change affects only the test suite because it is the only place
in the codebase where isc__nm_http_request() is used in order to
ensure that the server is able to handle multiple HTTP/2 streams at
once.

4 years agoFix a crash by attach to the transport socket as early as possible
Artem Boldariev [Wed, 21 Jul 2021 21:04:02 +0000 (00:04 +0300)] 
Fix a crash by attach to the transport socket as early as possible

This commit fixes a crash in DoH caused by transport handle to be
detached too early when sending outgoing data.

We need to attach to the session->handle earlier because as an
indirect result of the nghttp2_session_mem_send() the session might
get closed and the handle detached. However, there is still might be
some outgoing data to handle. Besides, even when the underlying socket
was closed via the handle, we still should try to attempt to send
outgoing data via isc_nm_send() to let it call write callback, passed
to the http_send_outgoing().

4 years agoUse isc_buffer_t to keep track of outgoing response
Artem Boldariev [Wed, 21 Jul 2021 20:23:58 +0000 (23:23 +0300)] 
Use isc_buffer_t to keep track of outgoing response

This commit gets rid of custom code taking care of response buffering
by replacing the custom code with isc_buffer_t. Also, it gets rid of
an unnecessary memory copying when sending a response.

4 years agoUse isc_buffer_t to keep track of incoming POST data
Artem Boldariev [Wed, 21 Jul 2021 17:10:46 +0000 (20:10 +0300)] 
Use isc_buffer_t to keep track of incoming POST data

This commit replaces the ad-hoc 64K buffer for incoming POST data with
isc_buffer_t backed by dynamically allocated buffer sized accordingly
to the value in the "Content-Length" header.

4 years agoDoH: isc__buffer_usedregion->isc_buffer_usedregion in client_send()
Artem Boldariev [Wed, 21 Jul 2021 17:03:44 +0000 (20:03 +0300)] 
DoH: isc__buffer_usedregion->isc_buffer_usedregion in client_send()

This commit replaces wrong usage of  isc__buffer_usedregion() instead
of implied  isc_buffer_usedregion().

4 years agoReplace ad-hoc DNS message buffer in client code with isc_buffer_t
Artem Boldariev [Mon, 19 Jul 2021 17:55:12 +0000 (20:55 +0300)] 
Replace ad-hoc DNS message buffer in client code with isc_buffer_t

The commit replaces an ad-hoc incoming DNS-message buffer in the
client-side DoH code with isc_buffer_t.

The commit also fixes a timing issue in the unit tests revealed by the
change.

4 years agoReplace the HTTP/2 session's ad-hoc buffer with isc_buffer_t
Artem Boldariev [Mon, 19 Jul 2021 12:20:30 +0000 (15:20 +0300)] 
Replace the HTTP/2 session's ad-hoc buffer with isc_buffer_t

This commit replaces a static ad-hoc HTTP/2 session's temporary buffer
with a realloc-able isc_buffer_t object, which is being allocated on
as needed basis, lowering the memory consumption somewhat. The buffer
is needed in very rare cases, so allocating it prematurely is not
wise.

Also, it fixes a bug in http_readcb() where the ad-hoc buffer appeared
to be improperly used, leading to a situation when the processed data
from the receiving regions can be processed twice, while unprocessed
data will never be processed.

4 years agoMerge branch 'marka-remove-print0-run.sh' into 'main'
Mark Andrews [Thu, 12 Aug 2021 01:09:25 +0000 (01:09 +0000)] 
Merge branch 'marka-remove-print0-run.sh' into 'main'

Use 'find ... -exec ... {} +' run.sh

See merge request isc-projects/bind9!5315

4 years agoreplace '-print0 | xargs -0' with '-exec ... {} +'
Mark Andrews [Tue, 3 Aug 2021 01:03:05 +0000 (11:03 +1000)] 
replace '-print0 | xargs -0' with '-exec ... {} +'

4 years agoMerge branch '2844-rndc-freeze-command-always-fails-perhaps-due-to-in-view' into...
Mark Andrews [Thu, 12 Aug 2021 00:13:32 +0000 (00:13 +0000)] 
Merge branch '2844-rndc-freeze-command-always-fails-perhaps-due-to-in-view' into 'main'

Resolve "`rndc freeze` command always fails, perhaps due to `in-view`"

Closes #2844

See merge request isc-projects/bind9!5311

4 years agoAdd CHANGES not for [GL #2844]
Mark Andrews [Tue, 3 Aug 2021 06:36:45 +0000 (16:36 +1000)] 
Add CHANGES not for [GL #2844]

4 years agoDon't freeze / thaw non-explict in-view zones
Mark Andrews [Tue, 3 Aug 2021 05:40:47 +0000 (15:40 +1000)] 
Don't freeze / thaw non-explict in-view zones

4 years agoCheck 'rndc freeze' with in-view zones works
Mark Andrews [Tue, 3 Aug 2021 06:04:41 +0000 (16:04 +1000)] 
Check 'rndc freeze' with in-view zones works

4 years agoMerge branch '1551-dnssec-signzone-prepublish-zsk-support' into 'main'
Matthijs Mekking [Wed, 11 Aug 2021 13:35:44 +0000 (13:35 +0000)] 
Merge branch '1551-dnssec-signzone-prepublish-zsk-support' into 'main'

dnssec-signzone ZSK smooth rollover

Closes #1551

See merge request isc-projects/bind9!5285

4 years agoAdd release note and change entry for [#1551]
Matthijs Mekking [Tue, 20 Jul 2021 09:40:39 +0000 (11:40 +0200)] 
Add release note and change entry for [#1551]

4 years agoFix bug in dst_key_copymetadata
Matthijs Mekking [Tue, 20 Jul 2021 09:12:07 +0000 (11:12 +0200)] 
Fix bug in dst_key_copymetadata

When copying metadata from one dst_key to another, when the source
dst_key has a boolean metadata unset, the destination dst_key will
have a numeric metadata unset instead.

This means that if a key has KSK or ZSK unset, we may be clearing the
Predecessor or Successor metadata in the destination dst_key.

4 years agoAdd test for dnssec-signzone smooth ZSK roll
Matthijs Mekking [Tue, 20 Jul 2021 06:34:10 +0000 (08:34 +0200)] 
Add test for dnssec-signzone smooth ZSK roll

Add a test case to the dnssec system test to check that:
- a zone with a prepublished key is only signed with the active key.
- a zone with an inactive key but valid signatures retains those
  signatures and does not add signatures from successor key.
- signatures are swapped in a zone when signatures of predecessor
  inactive key are within the refresh interval.

4 years agodnssec-signzone ZSK smooth rollover
Matthijs Mekking [Tue, 20 Jul 2021 06:17:22 +0000 (08:17 +0200)] 
dnssec-signzone ZSK smooth rollover

When signing with a ZSK, check if it has a predecessor. If so, and if
the predecessor key is sane (same algorithm, key id matches predecessor
value, is zsk), check if the RRset is signed with this key. If so, skip
signing with this successor key. Otherwise, do sign with the successor
key.

This change means we also need to apply the interval to keys that are
not actively signing. In other words, 'expired' is always
'isc_serial_gt(now + cycle, rrsig.timeexpire)'.

Fix a print style issue ("removing signature by ..." was untabbed).

4 years agoMerge branch 'matthijs-iterations-typo-dnssec-guide' into 'main'
Matthijs Mekking [Wed, 11 Aug 2021 08:39:48 +0000 (08:39 +0000)] 
Merge branch 'matthijs-iterations-typo-dnssec-guide' into 'main'

Fix missing iterations value in dnssec-guide

See merge request isc-projects/bind9!5317

4 years agoFix missing iterations value in dnssec-guide
Matthijs Mekking [Fri, 6 Aug 2021 14:34:20 +0000 (16:34 +0200)] 
Fix missing iterations value in dnssec-guide

In the "Migrating from NSEC to NSEC3" section, it says:

    dnssec-policy "standard" {
        nsec3param iterations optout no salt-length 16;
    };

There should be an integer after "iterations". Based on the following
text, the number of iterations should be 10.

4 years agoMerge branch '2839-placeholder' into 'main'
Michał Kępień [Mon, 9 Aug 2021 19:45:31 +0000 (19:45 +0000)] 
Merge branch '2839-placeholder' into 'main'

Add placeholder for GL #2839

See merge request isc-projects/bind9!5318

4 years agoAdd placeholder for GL #2839
Michał Kępień [Mon, 9 Aug 2021 19:41:59 +0000 (21:41 +0200)] 
Add placeholder for GL #2839

4 years agoMerge branch 'artem/doh-no-rwlocks' into 'main'
Artem Boldariev [Wed, 4 Aug 2021 07:59:42 +0000 (07:59 +0000)] 
Merge branch 'artem/doh-no-rwlocks' into 'main'

Get rid of RW locks in the DoH code

See merge request isc-projects/bind9!5278

4 years agoGet rid of some HTTP/2 related types when NGHTTP2 is not available
Artem Boldariev [Fri, 16 Jul 2021 11:57:08 +0000 (14:57 +0300)] 
Get rid of some HTTP/2 related types when NGHTTP2 is not available

This commit removes definitions of some DoH-related types when
libnghttp2 is not available.

4 years agoGet rid of RW locks in the DoH code
Artem Boldariev [Tue, 13 Jul 2021 09:32:47 +0000 (12:32 +0300)] 
Get rid of RW locks in the DoH code

This commit gets rid of RW locks in a hot path of the DoH code. In the
original design, it was implied that we add new endpoints after the
HTTP listener was created. Such a design implies some locking. We do
not need such flexibility, though. Instead, we could build a set of
endpoints before the HTTP listener gets created. Such a design does
not need RW locks at all.

4 years agoMerge branch '2830-statistics-system-tests-needs-to-save-named-stats-files' into...
Mark Andrews [Tue, 3 Aug 2021 00:52:15 +0000 (00:52 +0000)] 
Merge branch '2830-statistics-system-tests-needs-to-save-named-stats-files' into 'main'

Resolve "statistics system tests needs to save named.stats files"

Closes #2830

See merge request isc-projects/bind9!5290

4 years agosave named.stats files
Mark Andrews [Wed, 21 Jul 2021 07:09:53 +0000 (17:09 +1000)] 
save named.stats files

4 years agoMerge branch '2836-parental-agents-documentation-missing-string-net' into 'main'
Matthijs Mekking [Tue, 27 Jul 2021 12:11:05 +0000 (12:11 +0000)] 
Merge branch '2836-parental-agents-documentation-missing-string-net' into 'main'

Fix parental-agents documentation

Closes #2836

See merge request isc-projects/bind9!5302

4 years agoFix parental-agents documentation
Matthijs Mekking [Fri, 23 Jul 2021 07:13:30 +0000 (09:13 +0200)] 
Fix parental-agents documentation

There is a missing string "net" in the ARM in the parental-agents
example.

4 years agoMerge branch '2809-doh-quota-systest-fix-on-fbsd11' into 'main'
Artem Boldariev [Tue, 27 Jul 2021 07:53:45 +0000 (07:53 +0000)] 
Merge branch '2809-doh-quota-systest-fix-on-fbsd11' into 'main'

Resolve "Fix the DoH quota stress test on FreeBSD 11"

Closes #2809

See merge request isc-projects/bind9!5304

4 years agoIncrease the initial TCP timeout for the DoH quota test
Artem Boldariev [Mon, 26 Jul 2021 14:02:16 +0000 (17:02 +0300)] 
Increase the initial TCP timeout for the DoH quota test

This commit increases the idle TCP timeout to let the DoH quota system
test pass on some platforms (namely FreeBSD 11). It turned out to run
slow enough on the CI under load for the idle TCP timeout to kick in.

4 years agoRefactor the DoH quota stress test to make it more reliable
Artem Boldariev [Fri, 23 Jul 2021 10:52:35 +0000 (13:52 +0300)] 
Refactor the DoH quota stress test to make it more reliable

This commit refactors the DoH quota system test to make it more
reliable.

The test tries to establish dummy TCP connections to stress the quota
one by one instead of in bulk until the BIND instance cannot answer
queries anymore. This design is better because the test itself does
not need to be aware of the actual quota size.

4 years agoMerge branch 'v9_17_16-release' into 'main'
Michal Nowak [Fri, 23 Jul 2021 07:28:30 +0000 (07:28 +0000)] 
Merge branch 'v9_17_16-release' into 'main'

Merge 9.17.16 release branch

See merge request isc-projects/bind9!5296

4 years agoSet up release notes for BIND 9.17.17
Michal Nowak [Thu, 22 Jul 2021 09:55:18 +0000 (11:55 +0200)] 
Set up release notes for BIND 9.17.17

4 years agoDrop Windows zips from release tarballs
Michał Kępień [Fri, 9 Jul 2021 06:39:52 +0000 (08:39 +0200)] 
Drop Windows zips from release tarballs

4 years agoUpdate BIND version to 9.17.16
Michał Kępień [Fri, 9 Jul 2021 06:39:52 +0000 (08:39 +0200)] 
Update BIND version to 9.17.16

4 years agoAdd a CHANGES marker
Michał Kępień [Fri, 9 Jul 2021 06:39:52 +0000 (08:39 +0200)] 
Add a CHANGES marker

4 years agoMerge branch 'mnowak/prepare-documentation-for-bind-9.17.16' into 'v9_17_16-release'
Michał Kępień [Fri, 9 Jul 2021 06:22:51 +0000 (06:22 +0000)] 
Merge branch 'mnowak/prepare-documentation-for-bind-9.17.16' into 'v9_17_16-release'

Prepare documentation for BIND 9.17.16

See merge request isc-private/bind9!307

4 years agoPrepare release notes for BIND 9.17.16
Michał Kępień [Thu, 8 Jul 2021 20:18:17 +0000 (22:18 +0200)] 
Prepare release notes for BIND 9.17.16

4 years agoAdd release note for GL #2758
Michał Kępień [Thu, 8 Jul 2021 20:18:17 +0000 (22:18 +0200)] 
Add release note for GL #2758

4 years agoAdd release note for GL #2686
Michał Kępień [Thu, 8 Jul 2021 20:18:17 +0000 (22:18 +0200)] 
Add release note for GL #2686

4 years agoReorder release notes
Michał Kępień [Thu, 8 Jul 2021 20:18:17 +0000 (22:18 +0200)] 
Reorder release notes

4 years agoTweak and reword release notes
Michal Nowak [Thu, 8 Jul 2021 20:18:17 +0000 (22:18 +0200)] 
Tweak and reword release notes

4 years agoTweak and reword recent CHANGES entries
Michal Nowak [Thu, 8 Jul 2021 20:18:17 +0000 (22:18 +0200)] 
Tweak and reword recent CHANGES entries

4 years agoRestore release note for GL #2780
Michał Kępień [Thu, 8 Jul 2021 20:18:17 +0000 (22:18 +0200)] 
Restore release note for GL #2780

4 years agoMerge branch '2735-bind-9-16-must-stop-named-delete-jnl-files-for-signed-zones-to...
Mark Andrews [Thu, 22 Jul 2021 22:26:54 +0000 (22:26 +0000)] 
Merge branch '2735-bind-9-16-must-stop-named-delete-jnl-files-for-signed-zones-to-be-updated' into 'main'

Order the diff from dns_db_diffx so that deletes proceed adds

Closes #2735

See merge request isc-projects/bind9!5284

4 years agoAdd CHANGES note for [GL #2735]
Mark Andrews [Tue, 20 Jul 2021 00:58:31 +0000 (10:58 +1000)] 
Add CHANGES note for [GL #2735]

4 years agoCheck that reload with deleted journal works
Mark Andrews [Wed, 21 Jul 2021 23:55:01 +0000 (09:55 +1000)] 
Check that reload with deleted journal works

4 years agoCheck that restart with zone changes and deleted journal works
Mark Andrews [Mon, 19 Jul 2021 22:48:48 +0000 (08:48 +1000)] 
Check that restart with zone changes and deleted journal works

4 years agoOrder the diff from dns_db_diffx so that deletes proceed adds
Mark Andrews [Mon, 19 Jul 2021 22:46:32 +0000 (08:46 +1000)] 
Order the diff from dns_db_diffx so that deletes proceed adds

for the same rdataset.  This allows the diff when passed to
dns_diff_apply to succeed.

4 years agoCheck reload of dnssec-policy zone works
Mark Andrews [Fri, 16 Jul 2021 05:15:09 +0000 (15:15 +1000)] 
Check reload of dnssec-policy zone works

4 years agoRemove spurious early exit
Mark Andrews [Tue, 20 Jul 2021 23:50:14 +0000 (09:50 +1000)] 
Remove spurious early exit

4 years agoMerge branch '2542-inline-loadtime-not-recorded' into 'main'
Mark Andrews [Thu, 22 Jul 2021 21:46:55 +0000 (21:46 +0000)] 
Merge branch '2542-inline-loadtime-not-recorded' into 'main'

Record load time of touched inline zones

Closes #2542

See merge request isc-projects/bind9!5289

4 years agoAdd CHANGES for [GL #2542]
Mark Andrews [Wed, 21 Jul 2021 05:08:56 +0000 (15:08 +1000)] 
Add CHANGES for [GL #2542]

4 years agoCheck that load time was recorded for unchanged inline zone
Mark Andrews [Wed, 21 Jul 2021 05:05:09 +0000 (15:05 +1000)] 
Check that load time was recorded for unchanged inline zone

subsequent reloads should not report 'ixfr-from-differences: unchanged'

4 years agoRecord load time when a inline zone file has been touched
Mark Andrews [Wed, 21 Jul 2021 05:03:14 +0000 (15:03 +1000)] 
Record load time when a inline zone file has been touched

4 years agoMerge branch '2473-run-respdiff-as-part-of-daily-runs' into 'main'
Michal Nowak [Thu, 22 Jul 2021 12:15:24 +0000 (12:15 +0000)] 
Merge branch '2473-run-respdiff-as-part-of-daily-runs' into 'main'

Run respdiff CI job for scheduled and web pipelines

Closes #2473

See merge request isc-projects/bind9!4710

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.

MAX_DISAGREEMENTS_PERCENTAGE variable is set to 0.5 on the main branch
to make room for a greater number of response disagreements between a
relatively old baseline version and the Development Version.

4 years agoMerge branch '2831-use-static-storage-for-ctx-water' into 'main'
Ondřej Surý [Thu, 22 Jul 2021 10:19:50 +0000 (10:19 +0000)] 
Merge branch '2831-use-static-storage-for-ctx-water' into 'main'

Use static storage for isc_mem water_t

Closes #2831

See merge request isc-projects/bind9!5295

4 years agoUse static storage for isc_mem water_t
Ondřej Surý [Thu, 22 Jul 2021 04:14:32 +0000 (06:14 +0200)] 
Use static storage for isc_mem water_t

On the isc_mem water change the old water_t structure could be used
after free.  Instead of introducing reference counting on the hot-path
we are going to introduce additional constraints on the
isc_mem_setwater.  Once it's set for the first time, the additional
calls have to be made with the same water and water_arg arguments.

4 years agoMerge branch '2833-notify-delay-doc' into 'main'
Evan Hunt [Thu, 22 Jul 2021 02:57:36 +0000 (02:57 +0000)] 
Merge branch '2833-notify-delay-doc' into 'main'

clarify 'notify-delay' documentation

Closes #2833

See merge request isc-projects/bind9!5293