]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
5 years agoHandle namespace clash over 'SEC' on illumos.
Mark Andrews [Thu, 9 Jul 2020 04:49:47 +0000 (14:49 +1000)] 
Handle namespace clash over 'SEC' on illumos.

5 years agoMerge branch '2005-coverity-is-reporting-double-unlock' into 'main'
Mark Andrews [Mon, 13 Jul 2020 21:28:10 +0000 (21:28 +0000)] 
Merge branch '2005-coverity-is-reporting-double-unlock' into 'main'

Resolve "Coverity is reporting double unlock."

Closes #2005

See merge request isc-projects/bind9!3807

5 years agoAdd CHANGES for [GL #2005]
Mark Andrews [Tue, 7 Jul 2020 01:13:43 +0000 (11:13 +1000)] 
Add CHANGES for [GL #2005]

5 years agoAddress potential double unlock in process_fd
Mark Andrews [Tue, 7 Jul 2020 01:11:15 +0000 (11:11 +1000)] 
Address potential double unlock in process_fd

5 years agoMerge branch 'each-rndc-netmgr-pt2' into 'main'
Evan Hunt [Mon, 13 Jul 2020 20:39:49 +0000 (20:39 +0000)] 
Merge branch 'each-rndc-netmgr-pt2' into 'main'

RNDC using netmgr

See merge request isc-projects/bind9!3724

5 years agoCHANGES, release note
Evan Hunt [Wed, 1 Jul 2020 17:59:33 +0000 (10:59 -0700)] 
CHANGES, release note

5 years agoisccc: merge recv_message and recv_nonce into one function
Witold Kręcicki [Wed, 1 Jul 2020 17:07:04 +0000 (19:07 +0200)] 
isccc: merge recv_message and recv_nonce into one function

- make isccc message receiving code clearer by merging recv_nonce and
  recv_message into a single recv_data function and adding a boolean
  state field.

5 years agouse handles for isc_nm_pauseread() and isc_nm_resumeread()
Evan Hunt [Wed, 1 Jul 2020 23:17:09 +0000 (16:17 -0700)] 
use handles for isc_nm_pauseread() and isc_nm_resumeread()

by having these functions act on netmgr handles instead of socket
objects, they can be used in callback functions outside the netgmr.

5 years agopurge pending command events when shutting down
Evan Hunt [Fri, 3 Jul 2020 22:34:51 +0000 (15:34 -0700)] 
purge pending command events when shutting down

When we're shutting the system down via "rndc stop" or "rndc halt",
or reconfiguring the control channel, there are potential shutdown
races between the server task and network manager.  These are adressed by:

- purging any pending command tasks when shutting down the control channel
- adding an extra handle reference before the command handler to
  ensure the handle can't be deleted out from under us before calling
  command_respond()

5 years agouse an isc_task to execute rndc commands
Evan Hunt [Thu, 14 May 2020 21:03:37 +0000 (14:03 -0700)] 
use an isc_task to execute rndc commands

- using an isc_task to execute all rndc functions makes it relatively
  simple for them to acquire task exclusive mode when needed
- control_recvmessage() has been separated into two functions,
  control_recvmessage() and control_respond(). the respond function
  can be called immediately from control_recvmessage() when processing
  a nonce, or it can be called after returning from the task event
  that ran the rndc command function.

5 years agoconvert rndc and control channel to use netmgr
Evan Hunt [Thu, 16 Apr 2020 20:06:42 +0000 (13:06 -0700)] 
convert rndc and control channel to use netmgr

- updated libisccc to use netmgr events
- updated rndc to use isc_nm_tcpconnect() to establish connections
- updated control channel to use isc_nm_listentcp()

open issues:

- the control channel timeout was previously 60 seconds, but it is now
  overridden by the TCP idle timeout setting, which defaults to 30
  seconds. we should add a function that sets the timeout value for
  a specific listener socket, instead of always using the global value
  set in the netmgr. (for the moment, since 30 seconds is a reasonable
  timeout for the control channel, I'm not prioritizing this.)
- the netmgr currently has no support for UNIX-domain sockets; until
  this is addressed, it will not be possible to configure rndc to use
  them. we will need to either fix this or document the change in
  behavior.

5 years agodon't use exclusive mode for rndc commands that don't need it
Evan Hunt [Wed, 15 Apr 2020 21:37:47 +0000 (14:37 -0700)] 
don't use exclusive mode for rndc commands that don't need it

"showzone" and "tsig-list" both used exclusive mode unnecessarily;
changing this will simplify future refactoring a bit.

5 years agostyle cleanup
Evan Hunt [Mon, 16 Dec 2019 00:45:17 +0000 (16:45 -0800)] 
style cleanup

clean up style in rndc and the control channel in preparation for
changing them to use the new network manager.

5 years agoMerge branch 'each-lmdb-lock-fix' into 'main'
Evan Hunt [Mon, 13 Jul 2020 19:26:46 +0000 (19:26 +0000)] 
Merge branch 'each-lmdb-lock-fix' into 'main'

ensure new_zone_lock is released after count_newzones()

See merge request isc-projects/bind9!3833

5 years agomake sure new_zone_lock is locked before unlocking it
Evan Hunt [Sun, 12 Jul 2020 04:30:53 +0000 (21:30 -0700)] 
make sure new_zone_lock is locked before unlocking it

it was possible for the count_newzones() function to try to
unlock view->new_zone_lock on return before locking it, which
caused a crash on shutdown.

5 years agoMerge branch '1719-observed-stats-underflow-in-multiple-stats' into 'main'
Diego dos Santos Fronza [Mon, 13 Jul 2020 18:28:58 +0000 (18:28 +0000)] 
Merge branch '1719-observed-stats-underflow-in-multiple-stats' into 'main'

Resolve "Observed stats underflow in multiple stats"

Closes #1719

See merge request isc-projects/bind9!3818

5 years agoAdd CHANGES and release note for #1719
Diego Fronza [Mon, 13 Jul 2020 14:43:36 +0000 (11:43 -0300)] 
Add CHANGES and release note for #1719

5 years agoFix ns_statscounter_recursclients underflow
Diego Fronza [Wed, 8 Jul 2020 14:42:32 +0000 (11:42 -0300)] 
Fix ns_statscounter_recursclients underflow

The basic scenario for the problem was that in the process of
resolving a query, if any rrset was eligible for prefetching, then it
would trigger a call to query_prefetch(), this call would run in
parallel to the normal query processing.

The problem arises due to the fact that both query_prefetch(), and,
in the original thread, a call to ns_query_recurse(), try to attach
to the recursionquota, but recursing client stats counter is only
incremented if ns_query_recurse() attachs to it first.

Conversely, if fetch_callback() is called before prefetch_done(),
it would not only detach from recursionquota, but also decrement
the stats counter, if query_prefetch() attached to te quota first
that would result in a decrement not matched by an increment, as
expected.

To solve this issue an atomic bool was added, it is set once in
ns_query_recurse(), allowing fetch_callback() to check for it
and decrement stats accordingly.

For a more compreensive explanation check the thread comment below:
https://gitlab.isc.org/isc-projects/bind9/-/issues/1719#note_145857

5 years agoMerge branch '1235-system-tests-fail-with-new-etc-bind-keys-installed' into 'main'
Mark Andrews [Mon, 13 Jul 2020 05:09:10 +0000 (05:09 +0000)] 
Merge branch '1235-system-tests-fail-with-new-etc-bind-keys-installed' into 'main'

Fallback to built in trust-anchors, managed-keys, or trusted-keys

Closes #1235

See merge request isc-projects/bind9!3827

5 years agoFallback to built in trust-anchors, managed-keys, or trusted-keys
Mark Andrews [Thu, 9 Jul 2020 03:35:37 +0000 (13:35 +1000)] 
Fallback to built in trust-anchors, managed-keys, or trusted-keys

if the bind.keys file cannot be parsed.

5 years agoMerge branch '1989-rndc-dnstap-roll-with-too-big-a-argument-128-can-cause-a-buffer...
Mark Andrews [Mon, 13 Jul 2020 03:52:02 +0000 (03:52 +0000)] 
Merge branch '1989-rndc-dnstap-roll-with-too-big-a-argument-128-can-cause-a-buffer-overflow' into 'main'

Resolve "'rndc dnstap --roll' with too big a argument (>128) can cause a buffer overflow."

Closes #1989

See merge request isc-projects/bind9!3788

5 years agoAdd changes for [GL #1989]
Mark Andrews [Thu, 2 Jul 2020 03:35:27 +0000 (13:35 +1000)] 
Add changes for [GL #1989]

5 years agoAddress overrun in remove_old_tsversions
Mark Andrews [Thu, 2 Jul 2020 03:26:06 +0000 (13:26 +1000)] 
Address overrun in remove_old_tsversions

If too many versions of log / dnstap files to be saved where requests
the memory after to_keep could be overwritten.  Force the number of
versions to be saved to a save level.  Additionally the memmove length
was incorrect.

5 years agoMerge branch '2012-add-assertion-check-to-silence-dereference-before-null-check-in...
Mark Andrews [Mon, 13 Jul 2020 03:06:25 +0000 (03:06 +0000)] 
Merge branch '2012-add-assertion-check-to-silence-dereference-before-null-check-in-tsig_test-c-v9_11' into 'main'

Resolve "Add assertion check to silence dereference before NULL check in tsig_test.c"

Closes #2012

See merge request isc-projects/bind9!3814

5 years agoAssert tsigout is non-NULL
Mark Andrews [Tue, 7 Jul 2020 09:12:35 +0000 (19:12 +1000)] 
Assert tsigout is non-NULL

5 years agoMerge branch '2014-statschannel-system-test-failed-at-setup-stage' into 'main'
Mark Andrews [Mon, 13 Jul 2020 02:22:09 +0000 (02:22 +0000)] 
Merge branch '2014-statschannel-system-test-failed-at-setup-stage' into 'main'

Resolve "Statschannel system test failed at setup stage."

Closes #2014

See merge request isc-projects/bind9!3823

5 years agoDon't verify the zone when setting expire to "now+1s" as it can fail
Mark Andrews [Wed, 8 Jul 2020 03:18:31 +0000 (13:18 +1000)] 
Don't verify the zone when setting expire to "now+1s" as it can fail

as too much wall clock time may have elapsed.

Also capture signzone output for forensic analysis

5 years agoMerge branch '2013-unchecked-returns-of-inet_pton-in-geoip_test-c' into 'main'
Mark Andrews [Mon, 13 Jul 2020 01:21:52 +0000 (01:21 +0000)] 
Merge branch '2013-unchecked-returns-of-inet_pton-in-geoip_test-c' into 'main'

Resolve "Unchecked returns of inet_pton in geoip_test.c"

Closes #2013

See merge request isc-projects/bind9!3815

5 years agocheck returns from inet_pton()
Mark Andrews [Tue, 7 Jul 2020 09:52:23 +0000 (19:52 +1000)] 
check returns from inet_pton()

5 years agoMerge branch 'marka-placeholder' into 'main'
Mark Andrews [Mon, 13 Jul 2020 00:23:01 +0000 (00:23 +0000)] 
Merge branch 'marka-placeholder' into 'main'

placeholder for [GL #2010]

See merge request isc-projects/bind9!3834

5 years agoplaceholder for [GL #2010]
Mark Andrews [Mon, 13 Jul 2020 00:19:02 +0000 (10:19 +1000)] 
placeholder for [GL #2010]

5 years agoMerge branch '2003-remove-redundant-listener-null-check' into 'main'
Mark Andrews [Mon, 13 Jul 2020 00:13:52 +0000 (00:13 +0000)] 
Merge branch '2003-remove-redundant-listener-null-check' into 'main'

Resolve "Remove redundant listener != NULL check"

Closes #2003

See merge request isc-projects/bind9!3806

5 years agoRemove redundant check for listener being non-NULL
Mark Andrews [Mon, 6 Jul 2020 03:16:33 +0000 (13:16 +1000)] 
Remove redundant check for listener being non-NULL

5 years agoMerge branch '1976-fix-locking-for-lmdb-0.9.26' into 'main'
Michał Kępień [Fri, 10 Jul 2020 09:50:47 +0000 (09:50 +0000)] 
Merge branch '1976-fix-locking-for-lmdb-0.9.26' into 'main'

Fix locking for LMDB 0.9.26

Closes #1976

See merge request isc-projects/bind9!3758

5 years agoAdd CHANGES for GL #1976
Michał Kępień [Fri, 10 Jul 2020 09:29:18 +0000 (11:29 +0200)] 
Add CHANGES for GL #1976

5 years agoFix locking for LMDB 0.9.26
Michał Kępień [Fri, 10 Jul 2020 09:29:18 +0000 (11:29 +0200)] 
Fix locking for LMDB 0.9.26

When "rndc reconfig" is run, named first configures a fresh set of views
and then tears down the old views.  Consider what happens for a single
view with LMDB enabled; "envA" is the pointer to the LMDB environment
used by the original/old version of the view, "envB" is the pointer to
the same LMDB environment used by the new version of that view:

 1. mdb_env_open(envA) is called when the view is first created.
 2. "rndc reconfig" is called.
 3. mdb_env_open(envB) is called for the new instance of the view.
 4. mdb_env_close(envA) is called for the old instance of the view.

This seems to have worked so far.  However, an upstream change [1] in
LMDB which will be part of its 0.9.26 release prevents the above
sequence of calls from working as intended because the locktable mutexes
will now get destroyed by the mdb_env_close() call in step 4 above,
causing any subsequent mdb_txn_begin() calls to fail (because all of the
above steps are happening within a single named process).

Preventing the above scenario from happening would require either
redesigning the way we use LMDB in BIND, which is not something we can
easily backport, or redesigning the way BIND carries out its
reconfiguration process, which would be an even more severe change.

To work around the problem, set MDB_NOLOCK when calling mdb_env_open()
to stop LMDB from controlling concurrent access to the database and do
the necessary locking in named instead.  Reuse the view->new_zone_lock
mutex for this purpose to prevent the need for modifying struct dns_view
(which would necessitate library API version bumps).  Drop use of
MDB_NOTLS as it is made redundant by MDB_NOLOCK: MDB_NOTLS only affects
where LMDB reader locktable slots are stored while MDB_NOLOCK prevents
the reader locktable from being used altogether.

[1] https://git.openldap.org/openldap/openldap/-/commit/2fd44e325195ae81664eb5dc36e7d265927c5ebc

5 years agoMerge branch 'ondrej/update-pregenerated-manpages' into 'main'
Ondřej Surý [Wed, 8 Jul 2020 10:19:15 +0000 (10:19 +0000)] 
Merge branch 'ondrej/update-pregenerated-manpages' into 'main'

Fixup the manpages after ddns-confgen.rst -> tsig-keygen.rst rename

See merge request isc-projects/bind9!3817

5 years agoFail the build if it updates any of the files in the git repository
Ondřej Surý [Tue, 7 Jul 2020 14:15:59 +0000 (16:15 +0200)] 
Fail the build if it updates any of the files in the git repository

There are still some pregenerated files left in the git
repository (cleaned up during `make maintainer-clean`) and we currently
don't notice if any of those needs to be updated in the git repository
because we ignore changes in the repository done during the build.

This commit adds a safeguard that fails the build job if the contents of
the git repository gets modified during the build.

5 years agoFixup the manpages after ddns-confgen.rst -> tsig-keygen.rst rename
Ondřej Surý [Tue, 7 Jul 2020 14:11:24 +0000 (16:11 +0200)] 
Fixup the manpages after ddns-confgen.rst -> tsig-keygen.rst rename

There were some missing bits in the other rst files and Makefile.am(s)
that didn't reflect the rename of the main document.  Also add
ddns-confgen.8 manpage.

5 years agoMerge branch '2011-off-by-one-error-in-dns_rdatatype_attributes' into 'main'
Mark Andrews [Wed, 8 Jul 2020 03:01:05 +0000 (03:01 +0000)] 
Merge branch '2011-off-by-one-error-in-dns_rdatatype_attributes' into 'main'

Resolve "Off-by-one error in dns_rdatatype_attributes?"

Closes #2011

See merge request isc-projects/bind9!3820

5 years agoAdjust range limit of unknown meta types
Mark Andrews [Wed, 8 Jul 2020 01:11:37 +0000 (11:11 +1000)] 
Adjust range limit of unknown meta types

5 years agoMerge branch '2009-update-isc-logo-in-documentation' into 'main'
Mark Andrews [Wed, 8 Jul 2020 02:00:31 +0000 (02:00 +0000)] 
Merge branch '2009-update-isc-logo-in-documentation' into 'main'

Resolve "Update ISC logo in documentation"

Closes #2009

See merge request isc-projects/bind9!3811

5 years agoUpdate ISC logo
Mark Andrews [Tue, 7 Jul 2020 03:27:33 +0000 (13:27 +1000)] 
Update ISC logo

5 years agoMerge branch '1475-convert-header-attributes-to-atomic' into 'main'
Mark Andrews [Wed, 8 Jul 2020 01:24:10 +0000 (01:24 +0000)] 
Merge branch '1475-convert-header-attributes-to-atomic' into 'main'

Convert header->attributes to stdatomic

Closes #1475

See merge request isc-projects/bind9!3750

5 years agoAdd CHANGES note for [GL #1475]
Mark Andrews [Thu, 2 Jul 2020 05:08:05 +0000 (15:08 +1000)] 
Add CHANGES note for [GL #1475]

5 years agoUpdate STALE and ANCIENT header attributes atomically
Ondřej Surý [Thu, 25 Jun 2020 15:48:34 +0000 (17:48 +0200)] 
Update STALE and ANCIENT header attributes atomically

The ThreadSanitizer found a data race when updating the stale header.
Instead of trying to acquire the write lock and failing occasionally
which would skew the statistics, the dns_rdatasetheader_t.attributes
field has been promoted to use stdatomics.  Updating the attributes in
the mark_header_ancient() and mark_header_stale() now uses the cmpxchg
to update the attributes forfeiting the need to hold the write lock on
the tree.  Please note that mark_header_ancient() still needs to hold
the lock because .dirty is being updated in the same go.

5 years agoMerge branch 'ondrej/add-16-bit-stdatomic-shims' into 'main'
Mark Andrews [Wed, 8 Jul 2020 00:26:26 +0000 (00:26 +0000)] 
Merge branch 'ondrej/add-16-bit-stdatomic-shims' into 'main'

Make the stdatomic shim and mutexatomic type complete

See merge request isc-projects/bind9!3816

5 years agoMake the stdatomic shim and mutexatomic type complete
Mark Andrews [Wed, 1 Jul 2020 07:06:28 +0000 (17:06 +1000)] 
Make the stdatomic shim and mutexatomic type complete

The stdatomic shims for non-C11 compilers (Windows, old gcc, ...) and
mutexatomic implemented only and minimal subset of the atomic types.
This commit adds 16-bit operations for Windows and all atomic types as
defined in standard.

5 years agoMerge branch '1998-fully-rename-tsig-keygen' into 'main'
Evan Hunt [Mon, 6 Jul 2020 09:00:26 +0000 (09:00 +0000)] 
Merge branch '1998-fully-rename-tsig-keygen' into 'main'

use 'tsig-keygen' as the primary name for the tool

Closes #1998

See merge request isc-projects/bind9!3801

5 years agouse 'tsig-keygen' as the primary name for the tool
Evan Hunt [Thu, 2 Jul 2020 22:27:54 +0000 (15:27 -0700)] 
use 'tsig-keygen' as the primary name for the tool

'ddns-confgen' is now an alias for 'tsig-keygen', rather than
the other way around.

5 years agoMerge branch '1990-bad-isc_mem_put-size' into 'main'
Mark Andrews [Mon, 6 Jul 2020 00:53:13 +0000 (00:53 +0000)] 
Merge branch '1990-bad-isc_mem_put-size' into 'main'

Resolve "Bad  isc_mem_put size."

Closes #1990

See merge request isc-projects/bind9!3790

5 years agoBad isc_mem_put() size when an invalid type was specified in a ssu rule.
Mark Andrews [Thu, 2 Jul 2020 06:12:55 +0000 (16:12 +1000)] 
Bad isc_mem_put() size when an invalid type was specified in a ssu rule.

5 years agoMerge branch '1991-cleanup-redundant-non-null-check' into 'main'
Mark Andrews [Mon, 6 Jul 2020 00:14:42 +0000 (00:14 +0000)] 
Merge branch '1991-cleanup-redundant-non-null-check' into 'main'

Resolve "Cleanup redundant non-NULL check."

Closes #1991

See merge request isc-projects/bind9!3791

5 years agoremove redundant rctx != NULL check
Mark Andrews [Thu, 2 Jul 2020 06:21:20 +0000 (16:21 +1000)] 
remove redundant rctx != NULL check

5 years agoMerge branch '1988-windows-rndc-dnssec-status-bad-output' into 'main'
Matthijs Mekking [Fri, 3 Jul 2020 13:13:05 +0000 (13:13 +0000)] 
Merge branch '1988-windows-rndc-dnssec-status-bad-output' into 'main'

Increase rndc output buffer size for rndc dnssec -status

Closes #1988

See merge request isc-projects/bind9!3802

5 years agoIncrease "rndc dnssec -status" output size
Matthijs Mekking [Fri, 3 Jul 2020 07:46:13 +0000 (09:46 +0200)] 
Increase "rndc dnssec -status" output size

BUFSIZ (512 bytes on Windows) may not be enough to fit the status of a
DNSSEC policy and three DNSSEC keys.

Set the size of the relevant buffer to a hardcoded value of 4096 bytes,
which should be enough for most scenarios.

5 years agoMerge branch '1925-additional-text-edits-to-bind-arm' into 'main'
Ondřej Surý [Fri, 3 Jul 2020 07:20:48 +0000 (07:20 +0000)] 
Merge branch '1925-additional-text-edits-to-bind-arm' into 'main'

Resolve "Additional text edits to BIND ARM"

Closes #1925

See merge request isc-projects/bind9!3800

5 years agoAdd missing named.conf man page
Suzanne Goldlust [Thu, 2 Jul 2020 18:58:26 +0000 (18:58 +0000)] 
Add missing named.conf man page

5 years agoFinal text edits to BIND 9 ARM in this round of updates
Suzanne Goldlust [Thu, 2 Jul 2020 16:54:57 +0000 (16:54 +0000)] 
Final text edits to BIND 9 ARM in this round of updates

5 years agoMerge branch 'ondrej/dont-fail-system-test-on-missing-pytest' into 'main'
Ondřej Surý [Thu, 2 Jul 2020 15:14:57 +0000 (15:14 +0000)] 
Merge branch 'ondrej/dont-fail-system-test-on-missing-pytest' into 'main'

Don't fail the system tests when shutdown test is missing pytest

See merge request isc-projects/bind9!3795

5 years agoDon't fail the system tests when shutdown test is missing pytest
Ondřej Surý [Thu, 2 Jul 2020 09:12:31 +0000 (11:12 +0200)] 
Don't fail the system tests when shutdown test is missing pytest

5 years agoMerge branch '1627-add-changes-entry' into 'main'
Michał Kępień [Thu, 2 Jul 2020 09:20:21 +0000 (09:20 +0000)] 
Merge branch '1627-add-changes-entry' into 'main'

Add CHANGES entry for #1627

Closes #1627

See merge request isc-projects/bind9!3794

5 years agoAdd CHANGES entry for #1627
Michał Kępień [Thu, 2 Jul 2020 09:19:30 +0000 (11:19 +0200)] 
Add CHANGES entry for #1627

5 years agoMerge branch '1883-text-edits-in-pkcs11-rst' into 'main'
Ondřej Surý [Thu, 2 Jul 2020 09:06:17 +0000 (09:06 +0000)] 
Merge branch '1883-text-edits-in-pkcs11-rst' into 'main'

Resolve "Text edits in pkcs11.rst"

Closes #1883

See merge request isc-projects/bind9!3591

5 years agoContent and grammar edits to pkcs11.rst
Suzanne Goldlust [Wed, 27 May 2020 15:53:44 +0000 (15:53 +0000)] 
Content and grammar edits to pkcs11.rst

5 years agoMerge branch 'ondrej/1915-update-input-files-for-manpages' into 'main'
Ondřej Surý [Thu, 2 Jul 2020 08:53:55 +0000 (08:53 +0000)] 
Merge branch 'ondrej/1915-update-input-files-for-manpages' into 'main'

Update the generated files after the source manpages update

See merge request isc-projects/bind9!3793

5 years agoUpdate the generated files after the source manpages update
Ondřej Surý [Thu, 2 Jul 2020 08:53:16 +0000 (10:53 +0200)] 
Update the generated files after the source manpages update

5 years agoMerge branch 'sgoldlust-1915-edits-to-man-pages-for-bind-arm-patch-16656' into 'main'
Ondřej Surý [Thu, 2 Jul 2020 08:48:17 +0000 (08:48 +0000)] 
Merge branch 'sgoldlust-1915-edits-to-man-pages-for-bind-arm-patch-16656' into 'main'

Edits to man pages for BIND 9 ARM

Closes #1915

See merge request isc-projects/bind9!3676

5 years agoText edits to manual paages
Suzanne Goldlust [Thu, 4 Jun 2020 00:24:08 +0000 (00:24 +0000)] 
Text edits to manual paages

This commit updates the wording in following man pages:

* ddns-confgen.rst
* delv.rst
* dig.rst
* dnssec-dsfromkey.rst
* dnssec-importkey.rst
* dnssec-keyfromlabel.rst
* dnssec-keygen.rst
* dnssec-revoke.rst
* dnssec-settime.rst
* dnssec-signzone.rst
* dnssec-verify.rst
* dnstap-read.rst
* filter-aaaa.rst
* host.rst
* mdig.rst
* named-checkconf.rst
* named-checkzone.rst
* named-nzd2nzf.rst
* named.conf.rst
* named.rst
* nsec3hash.rst
* nsupdate.rst
* pkcs11-destroy.rst
* pkcs11-keygen.rst
* pkcs11-list.rst
* pkcs11-tokens.rst
* rndc-confgen.rst
* rndc.rst

5 years agoMerge branch '1915-edits-to-man-pages-for-bind-arm' into 'main'
Ondřej Surý [Thu, 2 Jul 2020 08:19:07 +0000 (08:19 +0000)] 
Merge branch '1915-edits-to-man-pages-for-bind-arm' into 'main'

Resolve "Edits to man pages for BIND ARM"

Closes #1915

See merge request isc-projects/bind9!3644

5 years agoText and formatting edits to various manual pages.
Suzanne Goldlust [Wed, 3 Jun 2020 20:01:17 +0000 (20:01 +0000)] 
Text and formatting edits to various manual pages.

Follwing manual pages have been updated: rndc.conf.rst, rndc.rst
nsec3hash.rst, dnstap-read.rst, named-nzd2nzf.rst, mdig.rst,
named-rrchecker.rst, dnssec-revoke.rst, dnssec-cds.rst,
dnssec-keyfromlabel.rst, and dnssec-keygen.rst

5 years agoMerge branch '1951-add-bind-version-number-to-introduction-rst-file' into 'main'
Ondřej Surý [Thu, 2 Jul 2020 08:05:13 +0000 (08:05 +0000)] 
Merge branch '1951-add-bind-version-number-to-introduction-rst-file' into 'main'

Resolve "Add BIND version number to introduction.rst file"

Closes #1951

See merge request isc-projects/bind9!3710

5 years agoAdd release statement to introduction.rst
Suzanne Goldlust [Wed, 17 Jun 2020 19:16:34 +0000 (19:16 +0000)] 
Add release statement to introduction.rst
(and remove duplicate copyright statement)

5 years agoMerge branch '1940-removing-more-references-to-master-and-slave-in-bind-arm' into...
Ondřej Surý [Thu, 2 Jul 2020 07:53:13 +0000 (07:53 +0000)] 
Merge branch '1940-removing-more-references-to-master-and-slave-in-bind-arm' into 'main'

Resolve "Removing more references to "master" and "slave" in BIND ARM"

Closes #1940

See merge request isc-projects/bind9!3692

5 years agoUpdates to .rst files to remove more references to "master" and "slave"
Suzanne Goldlust [Mon, 15 Jun 2020 14:37:56 +0000 (14:37 +0000)] 
Updates to .rst files to remove more references to "master" and "slave"

5 years agoMerge branch '1925-additional-text-edits-to-bind-arm' into 'main'
Ondřej Surý [Thu, 2 Jul 2020 07:37:56 +0000 (07:37 +0000)] 
Merge branch '1925-additional-text-edits-to-bind-arm' into 'main'

Resolve "Additional text edits to BIND ARM"

Closes #1925

See merge request isc-projects/bind9!3679

5 years agoVarious text edits and fixes to the documentation
Suzanne Goldlust [Mon, 8 Jun 2020 15:33:45 +0000 (15:33 +0000)] 
Various text edits and fixes to the documentation

5 years agoMerge branch 'placeholder' into 'main'
Evan Hunt [Thu, 2 Jul 2020 01:39:17 +0000 (01:39 +0000)] 
Merge branch 'placeholder' into 'main'

add a placeholder for GL #330 in v9_11_sub

See merge request isc-projects/bind9!3789

5 years agoadd a placeholder for GL #330 in v9_11_sub
Evan Hunt [Thu, 2 Jul 2020 01:37:18 +0000 (18:37 -0700)] 
add a placeholder for GL #330 in v9_11_sub

5 years agoMerge branch '1987-fix-formatting-error-in-man-pages-section-of-bind-arm' into 'main'
Ondřej Surý [Wed, 1 Jul 2020 21:46:00 +0000 (21:46 +0000)] 
Merge branch '1987-fix-formatting-error-in-man-pages-section-of-bind-arm' into 'main'

Resolve "Fix formatting error in man pages section of BIND ARM"

Closes #1987

See merge request isc-projects/bind9!3785

5 years agoFix formatting of See Also section header
Suzanne Goldlust [Wed, 1 Jul 2020 15:16:51 +0000 (15:16 +0000)] 
Fix formatting of See Also section header

5 years agoMerge branch '1939-rumoured-kasp-intermittent-failures' into 'main'
Matthijs Mekking [Wed, 1 Jul 2020 21:17:59 +0000 (21:17 +0000)] 
Merge branch '1939-rumoured-kasp-intermittent-failures' into 'main'

Fix kasp test set_keytime

Closes #1939

See merge request isc-projects/bind9!3780

5 years agoFix kasp test set_keytime
Matthijs Mekking [Wed, 1 Jul 2020 11:19:24 +0000 (13:19 +0200)] 
Fix kasp test set_keytime

While the creation and publication times of the various keys
in this policy are nearly at the same time there is a chance that
one key is created a second later than the other.

The `set_keytimes_algorithm_policy` mistakenly set the keytimes
for KEY3 based of the "published" time from KEY2.

5 years agoMerge branch '1948-primaries-synonym' into 'main'
Evan Hunt [Wed, 1 Jul 2020 20:30:10 +0000 (20:30 +0000)] 
Merge branch '1948-primaries-synonym' into 'main'

Resolve "add synonym for 'masters'"

Closes #1948

See merge request isc-projects/bind9!3703

5 years agoCHANGES, release note
Evan Hunt [Wed, 17 Jun 2020 09:39:58 +0000 (02:39 -0700)] 
CHANGES, release note

5 years agofurther tidying of primary/secondary terminology in system tests
Evan Hunt [Tue, 30 Jun 2020 20:10:59 +0000 (13:10 -0700)] 
further tidying of primary/secondary terminology in system tests

this changes most visble uses of master/slave terminology in tests.sh
and most uses of 'type master' or 'type slave' in named.conf files.
files in the checkconf test were not updated in order to confirm that
the old syntax still works. rpzrecurse was also left mostly unchanged
to avoid interference with DNSRPS.

5 years agouse primary/secondary terminology in 'rndc zonestatus'
Evan Hunt [Tue, 30 Jun 2020 20:03:11 +0000 (13:03 -0700)] 
use primary/secondary terminology in 'rndc zonestatus'

5 years agoprevent "primaries" lists from having duplicate names
Evan Hunt [Fri, 26 Jun 2020 04:59:56 +0000 (21:59 -0700)] 
prevent "primaries" lists from having duplicate names

it is now an error to have two primaries lists with the same
name. this is true regardless of whether the "primaries" or
"masters" keywords were used to define them.

5 years agoadd "primary-only" as a synonym for "master-only"
Evan Hunt [Wed, 17 Jun 2020 09:45:07 +0000 (02:45 -0700)] 
add "primary-only" as a synonym for "master-only"

update the "notify" option to use RFC 8499 terminology as well.

5 years agoadd "primaries" as a synonym for "masters" in named.conf
Evan Hunt [Wed, 17 Jun 2020 09:02:27 +0000 (02:02 -0700)] 
add "primaries" as a synonym for "masters" in named.conf

as "type primary" is preferred over "type master" now, it makes
sense to make "primaries" available as a synonym too.

added a correctness check to ensure "primaries" and "masters"
cannot both be used in the same zone.

5 years agoMerge branch 'each-rndc-netmgr-pt1.5' into 'main'
Evan Hunt [Wed, 1 Jul 2020 17:04:51 +0000 (17:04 +0000)] 
Merge branch 'each-rndc-netmgr-pt1.5' into 'main'

Fix socket closing races.

Closes #1660

See merge request isc-projects/bind9!3781

5 years agoDon't destroy a non-closed socket, wait for all the callbacks.
Evan Hunt [Wed, 1 Jul 2020 07:49:12 +0000 (00:49 -0700)] 
Don't destroy a non-closed socket, wait for all the callbacks.

We erroneously tried to destroy a socket after issuing
isc__nm_tcp{,dns}_close. Under some (race) circumstances we could get
nm_socket_cleanup to be called twice for the same socket, causing an
access to a dead memory.

5 years agoFix possible race in isc__nm_tcpconnect.
Witold Kręcicki [Mon, 29 Jun 2020 06:43:54 +0000 (08:43 +0200)] 
Fix possible race in isc__nm_tcpconnect.

There's a possibility of race in isc__nm_tcpconnect if the asynchronous
connect operation finishes with all the callbacks before we exit the
isc__nm_tcpconnect itself we might access an already freed memory.
Fix it by creating an additional reference to the socket freed at the
end of isc__nm_tcpconnect.

5 years agoAdd missing libisc.def definitions, netmgr version of isc_sockettype_t.
Witold Kręcicki [Wed, 1 Jul 2020 10:25:35 +0000 (12:25 +0200)] 
Add missing libisc.def definitions, netmgr version of isc_sockettype_t.

5 years agoMerge branch '1968-cleanup-dead-nodes-fix' into 'main'
Ondřej Surý [Wed, 1 Jul 2020 13:34:54 +0000 (13:34 +0000)] 
Merge branch '1968-cleanup-dead-nodes-fix' into 'main'

rbtdb: cleanup_dead_nodes should ignore alive nodes on the deadlist

Closes #1968

See merge request isc-projects/bind9!3773

5 years agoAdd CHANGES and release note for #1968
Ondřej Surý [Wed, 1 Jul 2020 13:07:57 +0000 (15:07 +0200)] 
Add CHANGES and release note for #1968

5 years agorbtdb: cleanup_dead_nodes should ignore alive nodes on the deadlist
Witold Kręcicki [Tue, 30 Jun 2020 12:24:12 +0000 (14:24 +0200)] 
rbtdb: cleanup_dead_nodes should ignore alive nodes on the deadlist

5 years agoMerge branch '1862-insist-in-query-c' into 'main'
Ondřej Surý [Wed, 1 Jul 2020 10:56:38 +0000 (10:56 +0000)] 
Merge branch '1862-insist-in-query-c' into 'main'

Fix assertion failure when server is under load and root zone is not yet loaded.

Closes #1862

See merge request isc-projects/bind9!3572

5 years agoAdd release notes for #1862
Ondřej Surý [Thu, 28 May 2020 09:37:05 +0000 (11:37 +0200)] 
Add release notes for #1862

5 years agoAdd CHANGES note for #1862
Witold Kręcicki [Thu, 21 May 2020 09:18:53 +0000 (11:18 +0200)] 
Add CHANGES note for #1862