Evan Hunt
d445121c26
add a stats counter for clients dropped due to recursive-clients limit
...
(cherry picked from commit 715afa9c57 )
2019-11-26 11:20:12 -08:00
Ondřej Surý
0f7676c8fe
Merge branch '1403-when-configuration-loading-fails-named-could-assert-v9_14' into 'v9_14'
...
Request exclusive access when crashing via fatal()
See merge request isc-projects/bind9!2637
2019-11-26 12:54:11 +00:00
Ondřej Surý
e78506c3a8
Request exclusive access when crashing via fatal()
...
When loading the configuration fails, there might be already other tasks
running and calling OpenSSL library functions. The OpenSSL on_exit
handler is called when exiting the main process and there's a timing
race between the on_exit function that destroys OpenSSL allocated
resources (threads, locks, ...) and other tasks accessing the very same
resources leading to a crash in the system threading library. Therefore,
the fatal() function needs to request exlusive access to the task
manager to finish the already running tasks and exit only when no other
tasks are running.
(cherry picked from commit 952d7fde63 )
2019-11-26 12:51:49 +01:00
Ondřej Surý
f2d9b062b4
Merge branch 'ondrej/add-retry_quiet-function-to-conf.sh.common-v9_14' into 'v9_14'
...
Add retry_quiet() function to retry quietly for an event to occur
See merge request isc-projects/bind9!2631
2019-11-26 08:20:37 +00:00
Ondřej Surý
699bcc70ca
Add retry_quiet() function to retry quietly for an event to occur
...
(cherry picked from commit 31264a7e00 )
2019-11-26 09:19:52 +01:00
Mark Andrews
2a368efd53
Merge branch '1367-threadsanitizer-data-race-dispatch-c-901-in-free_buffer-v9_14' into 'v9_14'
...
Resolve "ThreadSanitizer: data race dispatch.c:901 in free_buffer"
See merge request isc-projects/bind9!2627
2019-11-26 02:37:14 +00:00
Mark Andrews
d53ce94d36
move maxbuffers test to allocate_udp_buffer
...
(cherry picked from commit 26a93d77aa )
2019-11-26 11:53:19 +11:00
Mark Andrews
25306ea1ad
Lock dispatch manager buffer_lock before accessing buffers;
...
Only test buffers for UDP dispatches.
(cherry picked from commit 011af4de71 )
2019-11-26 11:53:19 +11:00
Mark Andrews
fbcf160346
lock disp->mgr before reading disp->mgr->buffers
...
(cherry picked from commit afc7389ce8 )
2019-11-26 11:53:19 +11:00
Mark Andrews
00ff640c36
Merge branch '1397-install-isc-python-module-v9_14' into 'v9_14'
...
Resolve "Install ISC python module"
See merge request isc-projects/bind9!2625
2019-11-25 23:38:44 +00:00
Mark Andrews
047c8f3318
add CHANGES and note in README.md
...
(cherry picked from commit 8bbafeb5ef )
2019-11-26 10:02:38 +11:00
Mark Andrews
04f16633c5
check for 'distutils.core setup'
...
(cherry picked from commit 50e1bf3800 )
2019-11-26 10:02:06 +11:00
Evan Hunt
1a8b22c715
Merge branch 'each-notes-v9_14' into 'v9_14'
...
cleanup release notes text
See merge request isc-projects/bind9!2623
2019-11-25 21:20:18 +00:00
Evan Hunt
d47a606707
cleanup release notes text
...
(cherry picked from commit fa70fc8731 )
2019-11-25 13:19:48 -08:00
Mark Andrews
6bf8ecf15e
Merge branch '1334-threadsanitizer-data-race-dispatch-c-1339-in-tcp_recv-v9_14' into 'v9_14'
...
lock dispatch before reporting state
See merge request isc-projects/bind9!2618
2019-11-22 21:52:58 +00:00
Mark Andrews
e99156043f
lock dispatch before reporting state
...
(cherry picked from commit 3075445ed6 )
2019-11-23 08:25:33 +11:00
Mark Andrews
940f75a4fe
Merge branch '1317-alphabetise-delv-s-usage-v9_14' into 'v9_14'
...
alphabetise delv's usage.
See merge request isc-projects/bind9!2615
2019-11-22 19:56:53 +00:00
Mark Andrews
a7da1514d2
fix release line
2019-11-23 00:19:40 +11:00
Mark Andrews
148c0f63fd
alphabetise delv's usage.
...
(cherry picked from commit 78685ed173 )
2019-11-23 00:09:29 +11:00
Evan Hunt
4eb815a283
Merge branch 'merge-v9_14_8' into 'v9_14'
...
merge 9.14.8 to v9_14 branch
See merge request isc-projects/bind9!2605
2019-11-20 21:42:11 +00:00
Evan Hunt
ff2a28351a
Merge tag 'v9_14_8' into merge-v9_14_8
2019-11-20 13:39:46 -08:00
Michal Nowak
eba92ada69
Merge branch 'mnowak/537_Add_CI_step_to_test_named_-u-v9_14' into 'v9_14'
...
[9.14] Verifying that named switches UID
See merge request isc-projects/bind9!2599
2019-11-20 11:01:05 +00:00
Michal Nowak
4c391e0a47
Verifying that named switches UID
...
This test runs only under root, which is required for the user-switch
`-u` option to work.
Closes #537 .
(cherry picked from commit b00360537e )
2019-11-20 11:01:05 +00:00
Ondřej Surý
410eab62ee
Merge branch '1341-threadsanitizer-data-race-rbtdb-c-5756-in-add32-v9_14' into 'v9_14'
...
Resolve "ThreadSanitizer: data race rbtdb.c:5756 in add32"
See merge request isc-projects/bind9!2593
2019-11-19 17:30:39 +00:00
Mark Andrews and Ondřej Surý
6a64f3a84e
add CHANGES
...
(cherry picked from commit 4534fb5ec1 )
2019-11-20 01:00:24 +08:00
Mark Andrews and Ondřej Surý
637fb4cdb4
use update_recordsandbytes in rbt_datafixer
...
(cherry picked from commit 7d4d64340e )
2019-11-20 00:59:12 +08:00
Mark Andrews and Ondřej Surý
83ce99a389
always obtain write lock when updating version->{records,bytes}
...
(cherry picked from commit 0cda448248 )
2019-11-20 00:59:12 +08:00
Michał Kępień
847d6ac7c6
Merge branch '1308-fix-tcp-system-test-v9_14' into 'v9_14'
...
[v9_14] Fix "tcp" system test
See merge request isc-projects/bind9!2591
2019-11-19 15:17:54 +00:00
Michał Kępień
3d58204f46
Address ShellCheck warnings
...
Address all outstanding warnings that ShellCheck reports for
bin/tests/system/tcp/tests.sh.
(cherry picked from commit 23ca0ec55b )
2019-11-19 15:39:04 +01:00
Michał Kępień
b1294b049c
Use "set -e" in the "tcp" system test
...
Ensure any unexpected failure in the "tcp" system test causes it to be
immediately interrupted with an error to make the aforementioned test
more reliable. Since the exit code for "expr 0 + 0" is 1, the status
variable needs to be updated using arithmetic expansion.
(cherry picked from commit 9841635b7f )
2019-11-19 15:39:03 +01:00
Michał Kępień
5e818012e5
Ensure all "tcp" system test errors are caught
...
Ensure any "rndc stats" failure causes the "tcp" system test to fail.
Do not hide "rndc stats" output.
(cherry picked from commit 46df363a0d )
2019-11-19 15:39:03 +01:00
Michał Kępień
1138e158f1
Make all "tcp" system test checks numbered
...
Ensure all checks in the "tcp" system test are numbered, so that
forensic data is preserved in case of any failure.
(cherry picked from commit 2f4877d11c )
2019-11-19 15:39:03 +01:00
Michał Kępień
8e19e3701b
Fix argument order in assert_int_equal()
...
assert_int_equal() calls in bin/tests/system/tcp/tests.sh pass the found
value as the first argument and the expected value as the second
argument, while the function interprets its arguments the other way
round. Fix argument handling in assert_int_equal() to make sure the
error messages printed by that function are correct.
(cherry picked from commit 6bd1f68bef )
2019-11-19 15:39:03 +01:00
Michał Kępień
1286db44f1
Allow retries when checking TCP high-water stats
...
In the TCP high-water checks, "rndc stats" is run after ans6 reports
that it opened the requested number of TCP connections. However, we
fail to account for the fact that ns5 might not yet have called accept()
for these connections, in which case the counts output by "rndc stats"
will be off. To prevent intermittent "tcp" system test failures, allow
the relevant connection count checks to be retried (just once, after one
second, as that should be enough for any system to accept() a dozen TCP
connections under any circumstances).
(cherry picked from commit 1e22e052d0 )
2019-11-19 15:39:03 +01:00
Mark Andrews
d396360b22
Merge branch '1299-parse-commandline-code-should-be-done-in-alphabetical-order-v9_14' into 'v9_14'
...
alphabetize command line switch
See merge request isc-projects/bind9!2589
2019-11-19 10:47:58 +00:00
Mark Andrews
3f27a0ccb2
alphabetize command line switch
...
(cherry picked from commit ca83a66618 )
2019-11-19 20:44:21 +11:00
Ondřej Surý
fa9a406a10
Merge branch 'ondrej/dont-call-dns_adb_endupdfetch-for-TCP-queries-v9_14' into 'v9_14'
...
lib/dns/resolver.c: Call dns_adb_endudpfetch() only for UDP queries
See merge request isc-projects/bind9!2585
2019-11-18 20:33:48 +00:00
Ondřej Surý and Ondřej Surý
dc8eafee57
lib/dns/resolver.c: Call dns_adb_endudpfetch() only for UDP queries
...
The dns_adb_beginudpfetch() is called only for UDP queries, but
the dns_adb_endudpfetch() is called for all queries, including
TCP. This messages the quota counting in adb.c.
(cherry picked from commit a5189eefa5 )
2019-11-19 03:48:32 +08:00
Ondřej Surý
4cc935b0ff
Merge branch 'ondrej/switch-coccinelle-job-to-buster-v9_14' into 'v9_14'
...
Installing coccinelle on Debian sid is broken, switch to Debian buster
See merge request isc-projects/bind9!2583
2019-11-18 18:05:03 +00:00
Ondřej Surý
c1f658c225
Installing coccinelle on Debian sid is broken, switch to Debian buster
...
(cherry picked from commit 0946db13de )
2019-11-19 02:02:29 +08:00
Mark Andrews
db5d4e5618
Merge branch '1327-update-solution-dependencies-host-and-nslookup-depend-on-libirs-v9_14' into 'v9_14'
...
Add dependancy on libirs to dig, host, and nslookup.
See merge request isc-projects/bind9!2574
2019-11-15 04:01:53 +00:00
Mark Andrews
1cff81e0a6
Add dependancy on libirs to dig, host, and nslookup.
...
(cherry picked from commit 72ca05c966 )
2019-11-15 12:13:36 +11:00
Michał Kępień
284042a54f
Merge branch 'fix-url-in-readme-v9_14' into 'v9_14'
...
[v9_14] updated a broken link for newer release notes.
See merge request isc-projects/bind9!2569
2019-11-13 12:02:27 +00:00
Vicky Risk and Michał Kępień
38f6a686d4
Update broken release notes link
...
(cherry picked from commit c830a9116d )
2019-11-13 12:59:35 +01:00
Ondřej Surý
3a2522e687
Merge branch 'hurd-v9_14' into 'v9_14'
...
hurd: Fix build
See merge request isc-projects/bind9!2563
2019-11-12 09:08:19 +00:00
Samuel Thibault and Ondřej Surý
1100d198e4
hurd: Fix build
...
Move PATH_MAX, NAME_MAX, IOV_MAX default definitions to the common
<isc/platform.h>.
(cherry picked from commit d10fbdec84 )
2019-11-12 09:27:19 +01:00
Tinderbox User
abcf57d588
Merge branch 'prep-release' into security-v9_14
v9.14.8
2019-11-06 21:29:49 +00:00
Tinderbox User
eebfffb5d0
regen security-v9_14
2019-11-06 21:29:08 +00:00
Tinderbox User
efee30c516
prep 9.14.8
2019-11-06 21:29:08 +00:00
Ondřej Surý and Michał Kępień
b75599f4c2
Add CHANGES entry
2019-11-06 16:38:47 +01:00