]>
git.ipfire.org Git - thirdparty/bind9.git/log
Michał Kępień [Thu, 15 Feb 2018 21:18:32 +0000 (16:18 -0500)]
Merge branch 'fix-loadpending-handling' into 'master'
Fix DNS_ZONEFLG_LOADPENDING handling
See merge request isc-projects/bind9!22
Evan Hunt [Thu, 15 Feb 2018 19:56:13 +0000 (11:56 -0800)]
[master] copyrights
Michał Kępień [Thu, 15 Feb 2018 19:31:55 +0000 (20:31 +0100)]
Add CHANGES entry
4892. [bug] named could leak memory when "rndc reload" was invoked
before all zone loading actions triggered by a previous
"rndc reload" command were completed. [RT #47076]
Michał Kępień [Thu, 15 Feb 2018 19:31:54 +0000 (20:31 +0100)]
Do not recheck DNS_ZONEFLG_LOADPENDING in zone_asyncload()
Remove a block of code which dates back to commit
8a2ab2b9203 , when
dns_zone_asyncload() did not yet check DNS_ZONEFLG_LOADPENDING.
Currently, no race in accessing DNS_ZONEFLG_LOADPENDING is possible any
more, because:
- dns_zone_asyncload() is still the only function which may queue
zone_asyncload(),
- dns_zone_asyncload() accesses DNS_ZONEFLG_LOADPENDING under a lock
(and potentially queues an event under the same lock),
- DNS_ZONEFLG_LOADPENDING is not cleared until the load actually
completes.
Thus, the rechecking code can be safely removed from zone_asyncload().
Note that this also brings zone_asyncload() to a state in which the
completion callback is always invoked. This is required to prevent
leaking memory in case something goes wrong in zone_asyncload() and a
zone table the zone belongs to is indefinitely left with a positive
reference count.
Michał Kępień [Thu, 15 Feb 2018 19:31:53 +0000 (20:31 +0100)]
Asynchronous zone load events have no way of getting canceled
Code handling cancellation of asynchronous zone load events was likely
copied over from other functions when asynchronous zone loading was
first implemented in commit
8a2ab2b9203 . However, unlike those other
functions, asynchronous zone loading events currently have no way of
getting canceled once they get posted, which means the aforementioned
code is effectively dead. Remove it to prevent confusion.
Michał Kępień [Thu, 15 Feb 2018 19:31:51 +0000 (20:31 +0100)]
Only clear DNS_ZONEFLG_LOADPENDING in zone_asyncload() if zone loading is completed immediately
zone_load() is not always synchronous, it may only initiate an
asynchronous load and return DNS_R_CONTINUE, which means zone loading
has not yet been completed. In such a case, zone_asyncload() must not
clear DNS_ZONEFLG_LOADPENDING immediately and leave that up to
zone_postload().
Michał Kępień [Thu, 15 Feb 2018 19:31:49 +0000 (20:31 +0100)]
Lock zone before checking whether its asynchronous load is already pending
While this is not an issue in named, which only calls
dns_zone_asyncload() from task-exclusive mode, this function is exported
by libdns and thus may in theory be concurrently called for the same
zone by multiple threads. It also does not hurt to be consistent
locking-wise with other DNS_ZONEFLG_LOADPENDING accesses.
Petr Menšík [Thu, 15 Feb 2018 11:48:56 +0000 (12:48 +0100)]
Reduce repeated detection of mysql lib directory.
Use common part once a bit later.
Petr Menšík [Wed, 17 Jan 2018 18:43:12 +0000 (19:43 +0100)]
Reuse new function from rt46864 for similar block elsewhere.
Ondřej Surý [Wed, 14 Feb 2018 13:52:30 +0000 (08:52 -0500)]
Merge branch 'gitlab-ci-keep-artifacts' into 'master'
Archive the full bin/tests/ directory and bin/named/named binary on build/test failure in GitLab CI
See merge request isc-projects/bind9!24
Ondřej Surý [Tue, 13 Feb 2018 15:20:32 +0000 (16:20 +0100)]
Archive the full bin/tests/ directory and bin/named/named binary on build/test failure.
Evan Hunt [Wed, 14 Feb 2018 02:26:44 +0000 (21:26 -0500)]
Merge branch 'cherry-pick-
d7975e30 ' into 'master'
placeholder
See merge request isc-projects/bind9!23
Evan Hunt [Wed, 14 Feb 2018 00:57:31 +0000 (16:57 -0800)]
placeholder
(cherry picked from commit
d7975e300ea1f9865bee92696aeb9ea59394152a )
Ondřej Surý [Mon, 12 Feb 2018 15:55:23 +0000 (10:55 -0500)]
Merge branch 'update-libtool-2.4.6' into 'master'
Update libtool files to 2.4.6
See merge request isc-projects/bind9!4
Ondřej Surý [Mon, 12 Feb 2018 15:55:08 +0000 (10:55 -0500)]
Merge branch 'gitlab-ci' into 'master'
Add support for running builds directly from Gitlab CI
See merge request isc-projects/bind9!20
Ondřej Surý [Thu, 21 Dec 2017 16:47:45 +0000 (17:47 +0100)]
Disable artifact uploading as it's not needed anymore with unified build and test
Ondřej Surý [Thu, 21 Dec 2017 15:24:34 +0000 (16:24 +0100)]
Run the network script in debugging mode
Ondřej Surý [Thu, 21 Dec 2017 14:17:56 +0000 (15:17 +0100)]
Check the address and routing information
Ondřej Surý [Thu, 21 Dec 2017 14:10:47 +0000 (15:10 +0100)]
Look a who am I
Ondřej Surý [Thu, 21 Dec 2017 12:14:32 +0000 (13:14 +0100)]
The interface setup needs sudo
Ondřej Surý [Thu, 21 Dec 2017 12:08:58 +0000 (13:08 +0100)]
Merge build and test steps
Ondřej Surý [Thu, 21 Dec 2017 08:51:12 +0000 (09:51 +0100)]
Use external CI Docker images
Ondřej Surý [Mon, 18 Dec 2017 13:33:53 +0000 (14:33 +0100)]
Enforce overlay2 filesystem driver for docker builds
Ondřej Surý [Mon, 18 Dec 2017 13:33:30 +0000 (14:33 +0100)]
Rename $CI_BUILD_TOKEN to $CI_JOB_TOKEN
Ondřej Surý [Mon, 16 Oct 2017 11:24:06 +0000 (13:24 +0200)]
Install libnet-dns-perl into Docker images to fix tests failures
Ondřej Surý [Fri, 13 Oct 2017 20:36:09 +0000 (22:36 +0200)]
Install procps for /bin/kill into Debian and Ubuntu docker images
Ondřej Surý [Fri, 13 Oct 2017 19:38:45 +0000 (21:38 +0200)]
Add correct dependencies for test jobs to pull artifacts from build jobs
Ondřej Surý [Fri, 13 Oct 2017 19:10:40 +0000 (21:10 +0200)]
Add net-tools for ifconfig support
Ondřej Surý [Fri, 13 Oct 2017 18:50:55 +0000 (20:50 +0200)]
Run the interface up script with 'bash' as it's not executable by itself directly
Ondřej Surý [Fri, 13 Oct 2017 14:35:57 +0000 (16:35 +0200)]
Add i386 as tested architecture
Ondřej Surý [Fri, 13 Oct 2017 14:15:34 +0000 (16:15 +0200)]
Enable private IP addresses for tests
Ondřej Surý [Fri, 13 Oct 2017 14:05:35 +0000 (16:05 +0200)]
Build docker images only in master, triggers and/or tags
Ondřej Surý [Fri, 13 Oct 2017 13:32:08 +0000 (15:32 +0200)]
Enable Gitlab-CI for the project
Ondřej Surý [Mon, 12 Feb 2018 13:54:42 +0000 (08:54 -0500)]
Merge branch 'remove-ondestroy-callbacks' into 'master'
Remove ondestroy callbacks from libisc.
See merge request isc-projects/bind9!3
Ondřej Surý [Mon, 12 Feb 2018 13:53:39 +0000 (14:53 +0100)]
Update CHANGES for isc-projects/bind9!3
Ondřej Surý [Mon, 30 Oct 2017 13:42:26 +0000 (14:42 +0100)]
Remove whole unused ondestroy callback mechanism
Evan Hunt [Sun, 11 Feb 2018 00:30:21 +0000 (16:30 -0800)]
[master] copyrights
Tinderbox User [Sat, 10 Feb 2018 01:12:12 +0000 (01:12 +0000)]
regen master
Mark Andrews [Fri, 9 Feb 2018 03:04:35 +0000 (14:04 +1100)]
check warning text
(cherry picked from commit
c6cd108838543042407b81fc865bbfc66dc6034b )
Mark Andrews [Fri, 9 Feb 2018 02:57:10 +0000 (13:57 +1100)]
get the correct test file
Evan Hunt [Fri, 9 Feb 2018 02:45:46 +0000 (18:45 -0800)]
[master] fix test error
Evan Hunt [Fri, 9 Feb 2018 00:48:25 +0000 (16:48 -0800)]
[rt43670] more emphatic warning
Mark Andrews [Fri, 9 Feb 2018 01:04:45 +0000 (12:04 +1100)]
4889. [func] Warn about the use of old root keys without the new
root key being present. Warn about dlv.isc.org's
key being present. Warn about both managed and
trusted root keys being present. [RT #43670]
Evan Hunt [Fri, 9 Feb 2018 00:15:43 +0000 (16:15 -0800)]
[master] fix typo
Tinderbox User [Thu, 8 Feb 2018 23:46:17 +0000 (23:46 +0000)]
update copyright notice / whitespace
Tinderbox User [Thu, 8 Feb 2018 23:30:12 +0000 (23:30 +0000)]
newcopyrights
Mark Andrews [Thu, 8 Feb 2018 21:33:51 +0000 (13:33 -0800)]
[master] fix nsupdate test on windows
4888. [test] Initialize sockets correctly in sample-update so
that nsupdate system test will will run on Windows.
[RT #47097]
Mark Andrews [Thu, 8 Feb 2018 21:28:40 +0000 (13:28 -0800)]
[master] fix rpzrecurse test on windows
4887. [test] Enable the rpzrecurse test to run on Windows.
[RT #47093]
Tony Finch [Thu, 8 Feb 2018 19:19:57 +0000 (00:49 +0530)]
Document dig -u in manpage (#47150)
Tinderbox User [Thu, 8 Feb 2018 01:11:20 +0000 (01:11 +0000)]
regen master
Tinderbox User [Wed, 7 Feb 2018 23:45:53 +0000 (23:45 +0000)]
update copyright notice / whitespace
Tinderbox User [Wed, 7 Feb 2018 23:30:44 +0000 (23:30 +0000)]
newcopyrights
Mark Andrews [Wed, 7 Feb 2018 03:03:33 +0000 (14:03 +1100)]
add note for update-policy rules changes
Mark Andrews [Wed, 7 Feb 2018 02:34:02 +0000 (13:34 +1100)]
4885. [security] update-policy rules that otherwise ignore the name
field now require that it be set to "." to ensure
that any type list present is properly interpreted.
[RT #47126]
Tinderbox User [Mon, 5 Feb 2018 23:46:13 +0000 (23:46 +0000)]
update copyright notice / whitespace
Tinderbox User [Mon, 5 Feb 2018 23:30:08 +0000 (23:30 +0000)]
newcopyrights
Michał Kępień [Mon, 5 Feb 2018 19:24:14 +0000 (20:24 +0100)]
[master] Prevent crashing due to a race during server shutdown
4884. [bug] named could crash on shutdown due to a race between
shutdown_server() and ns__client_request(). [RT #47120]
Mark Andrews [Mon, 5 Feb 2018 00:31:36 +0000 (11:31 +1100)]
look for #! to determine if the file is PYTHON or PYTHON-BIN
Tinderbox User [Sat, 3 Feb 2018 01:11:31 +0000 (01:11 +0000)]
regen master
Evan Hunt [Fri, 2 Feb 2018 18:32:17 +0000 (10:32 -0800)]
[master] spelling, release note
Tinderbox User [Thu, 1 Feb 2018 23:46:26 +0000 (23:46 +0000)]
update copyright notice / whitespace
Mark Andrews [Thu, 1 Feb 2018 23:37:54 +0000 (10:37 +1100)]
Update license to 'MPL' [RT #47101]
Tinderbox User [Thu, 1 Feb 2018 23:30:07 +0000 (23:30 +0000)]
newcopyrights
Michał Kępień [Thu, 1 Feb 2018 20:25:37 +0000 (21:25 +0100)]
[master] Silence compiler warnings about comparisons between signed and unsigned integers [RT #46980]
Tinderbox User [Wed, 31 Jan 2018 23:45:54 +0000 (23:45 +0000)]
update copyright notice / whitespace
Tinderbox User [Wed, 31 Jan 2018 23:30:16 +0000 (23:30 +0000)]
newcopyrights
Evan Hunt [Wed, 31 Jan 2018 18:23:01 +0000 (10:23 -0800)]
[master] improve debugging output from dnssec-cds
4883. [cleanup] Improved debugging output from dnssec-cds. [RT #47026]
Patch submitted by Tony Finch (dot@dotat.at)
Tinderbox User [Tue, 30 Jan 2018 23:45:59 +0000 (23:45 +0000)]
update copyright notice / whitespace
Tinderbox User [Tue, 30 Jan 2018 23:30:29 +0000 (23:30 +0000)]
newcopyrights
Mark Andrews [Tue, 30 Jan 2018 23:05:40 +0000 (10:05 +1100)]
handle different eol coventions
Evan Hunt [Tue, 30 Jan 2018 18:33:08 +0000 (10:33 -0800)]
[master] use 'command' instead of 'type' to find atf-run and kyua paths
Evan Hunt [Tue, 30 Jan 2018 17:12:54 +0000 (09:12 -0800)]
[master] typo
Mark Andrews [Tue, 30 Jan 2018 04:27:22 +0000 (15:27 +1100)]
4882. [bug] Address potential memory leak in
dns_update_signaturesinc. [RT #47084]
Mark Andrews [Tue, 30 Jan 2018 04:21:02 +0000 (15:21 +1100)]
4881. [bug] Only include dst_openssl.h when OpenSSL is required.
[RT #47068]
Mark Andrews [Tue, 30 Jan 2018 02:10:06 +0000 (13:10 +1100)]
4880. [bug] Named wasn't returning the target of a cross zone
CNAME between to served zones when recursion was
desired and available (RD=1, RA=1). Don't return
the CNAME target otherwise to prevent accidental
cache poisoning. [RT #47078]
Mark Andrews [Mon, 29 Jan 2018 23:58:56 +0000 (10:58 +1100)]
4879. [bug] dns_rdata_caa:value_len is was small. [RT #47086]
Tinderbox User [Mon, 29 Jan 2018 23:45:56 +0000 (23:45 +0000)]
update copyright notice / whitespace
Tinderbox User [Mon, 29 Jan 2018 23:30:08 +0000 (23:30 +0000)]
newcopyrights
Mark Andrews [Mon, 29 Jan 2018 05:35:56 +0000 (16:35 +1100)]
dns_dnssec_findmatchingkeys warning test requires crytpo to be supported
Mark Andrews [Mon, 29 Jan 2018 02:21:33 +0000 (13:21 +1100)]
4878. [bug] List 'ply' as a requirement for the 'isc' python
package. [RT #47065]
Tinderbox User [Fri, 26 Jan 2018 01:10:11 +0000 (01:10 +0000)]
regen master
Tinderbox User [Thu, 25 Jan 2018 23:46:24 +0000 (23:46 +0000)]
update copyright notice / whitespace
Tinderbox User [Thu, 25 Jan 2018 23:30:11 +0000 (23:30 +0000)]
newcopyrights
Evan Hunt [Thu, 25 Jan 2018 18:21:24 +0000 (10:21 -0800)]
[master] clarify dnssec-cds man page
Mark Andrews [Thu, 25 Jan 2018 00:00:55 +0000 (11:00 +1100)]
remove Bv9ARM.ch13.html
Tinderbox User [Wed, 24 Jan 2018 23:46:02 +0000 (23:46 +0000)]
update copyright notice / whitespace
Tinderbox User [Wed, 24 Jan 2018 23:30:06 +0000 (23:30 +0000)]
newcopyrights
Evan Hunt [Wed, 24 Jan 2018 19:00:27 +0000 (11:00 -0800)]
[master] change uint to isc_uint
Evan Hunt [Wed, 24 Jan 2018 18:22:59 +0000 (10:22 -0800)]
[master] update 9.11 api range
Mark Andrews [Wed, 24 Jan 2018 17:45:01 +0000 (09:45 -0800)]
[master] address overflow in retry backoff
4877. [bug] Address integer overflow when exponentially
backing off retry intervals. [RT #47041]
Mark Andrews [Wed, 24 Jan 2018 07:55:56 +0000 (18:55 +1100)]
4876. [bug] Address deadlock with accessing a keytable. [RT #47000]
Mark Andrews [Wed, 24 Jan 2018 02:10:14 +0000 (13:10 +1100)]
4875. [bug] Address compile failures on older systems. [RT #47015]
Tinderbox User [Wed, 24 Jan 2018 01:08:12 +0000 (01:08 +0000)]
regen master
Tinderbox User [Tue, 23 Jan 2018 23:30:05 +0000 (23:30 +0000)]
newcopyrights
Mark Andrews [Tue, 23 Jan 2018 20:59:07 +0000 (07:59 +1100)]
4874. [bug] Wrong time display when reporting new keywarntime.
[RT #47042]
Evan Hunt [Tue, 23 Jan 2018 17:52:04 +0000 (17:52 +0000)]
[master] renumber chapters now that the former chapter 5 is gone
Tinderbox User [Tue, 23 Jan 2018 00:38:08 +0000 (00:38 +0000)]
regen master
Tinderbox User [Mon, 22 Jan 2018 23:46:02 +0000 (23:46 +0000)]
update copyright notice / whitespace
Tinderbox User [Mon, 22 Jan 2018 23:38:29 +0000 (23:38 +0000)]
newcopyrights
Mark Andrews [Mon, 22 Jan 2018 23:36:05 +0000 (10:36 +1100)]
doc/misc/*.zoneopt are X