Mark Andrews
fc199384c5
test installed header files
...
(cherry picked from commit a278b6bd84 )
2020-03-06 02:20:03 +00:00
Mark Andrews
aa995a2f1d
Merge branch 'marka-install-missing-header-files' into 'v9_16'
...
Fix lists of installed header files
See merge request isc-projects/bind9!3178
2020-03-06 02:17:35 +00:00
Mark Andrews
5d64049301
Fix lists of installed header files
2020-03-06 13:00:04 +11:00
Witold Krecicki
a5c21d5862
Merge branch '1650-fix-race-in-killoldestclient-v9_16' into 'v9_16'
...
Destroy query in killoldestquery under a lock.
See merge request isc-projects/bind9!3162
2020-03-06 00:58:40 +00:00
Witold Kręcicki
aec3dd28d6
Destroy query in killoldestquery under a lock.
...
Fixes a race between ns_client_killoldestquery and ns_client_endrequest -
killoldestquery takes a client from `recursing` list while endrequest
destroys client object, then killoldestquery works on a destroyed client
object. Prevent it by holding reclist lock while cancelling query.
(cherry picked from commit df3dbdff81 )
2020-03-05 23:55:42 +00:00
Witold Krecicki
ce4866f456
Merge branch '1643-tcp-connections-accounting-v9_16' into 'v9_16'
...
Resolve "Problems reported in BIND 9.16.0 after hitting tcp-clients limit"
See merge request isc-projects/bind9!3172
2020-03-05 23:55:11 +00:00
Witold Kręcicki
5b22e3689d
Only use tcpdns timer if it's initialized.
...
(cherry picked from commit 4b9962d4a3 )
2020-03-05 23:27:56 +00:00
Witold Kręcicki
196d937007
CHANGES note
...
(cherry picked from commit d2445310e2 )
2020-03-05 23:27:56 +00:00
Witold Kręcicki
b32b01d403
Fix TCPDNS socket closing issues
...
(cherry picked from commit ae1499ca19 )
2020-03-05 23:27:56 +00:00
Evan Hunt and Witold Krecicki
a8e9ef194c
add a test of normal TCP query behavior before and after high-water test
...
(cherry picked from commit 1383804597 )
2020-03-05 23:27:56 +00:00
Witold Kręcicki
11b80da9ff
Limit TCP connection quota logging to 1/s
...
(cherry picked from commit fc9792eae8 )
2020-03-05 23:27:56 +00:00
Witold Kręcicki
b85de76816
Proper accounting of active TCP connections
...
(cherry picked from commit fc9e2276ca )
2020-03-05 23:27:56 +00:00
Mark Andrews
ccc75390bb
Merge branch 'marka-sort-AC_CONFIG_FILES-v9_16' into 'v9_16'
...
sort AC_CONFIG_FILES
See merge request isc-projects/bind9!3168
2020-03-05 22:30:29 +00:00
Mark Andrews
5390eee7cf
sort AC_CONFIG_FILES
...
(cherry picked from commit fd0d4ba948 )
2020-03-06 08:48:44 +11:00
Michal Nowak
0665c7f550
Merge branch 'mnowak/respdiff-v9_16' into 'v9_16'
...
[v9_16] Add respdiff job
See merge request isc-projects/bind9!3164
2020-03-05 14:47:10 +00:00
Michal Nowak
704eeb3288
Add respdiff job
...
This job leverages respdiff test from the private bind-qa repo.
(cherry picked from commit 04f8b65a8f )
2020-03-05 12:15:04 +01:00
Michal Nowak
fca6950ff5
Merge branch 'mnowak/pkcs11-test-fix-v9_16' into 'v9_16'
...
[v9_16] Fix pkcs11 test
See merge request isc-projects/bind9!3160
2020-03-05 07:00:51 +00:00
Michal Nowak
53ca8cac14
Fix "pkcs11" system test
...
- Define the SLOT environment variable before starting the test. This
variable defaults to 0 and that does not work with SoftHSM 2.
- The system test expects the PIN environment variable to be set to
"1234" while bin/tests/prepare-softhsm2.sh sets it to "0000".
Update bin/tests/prepare-softhsm2.sh so that it sets the PIN to
"1234".
- Move contents of bin/tests/system/pkcs11/prereq.sh to
bin/tests/system/pkcs11/setup.sh as the former was creating a file
called "supported" that was getting removed by the latter before
bin/tests/system/pkcs11/tests.sh could access it.
- Fix typo in "have_ecx".
(cherry picked from commit 100a230e80f01a777b917b135b4bae9a4ac0e8ae)
2020-03-05 07:00:50 +00:00
Evan Hunt
15afc90941
Merge branch '1647-addtrustedkey-dnskey-v9_16' into 'v9_16'
...
Resolve "delv 9.16.0, failed to add trusted key '.': ran out of space"
See merge request isc-projects/bind9!3159
2020-03-05 00:44:08 +00:00
Evan Hunt
f827513c53
CHANGES
...
(cherry picked from commit d805fe821e )
2020-03-04 16:25:32 -08:00
Evan Hunt
d5107fb63a
add a system test to check that delv loads trust anchors correctly
...
(cherry picked from commit a81ae32d8a )
2020-03-04 15:42:12 -08:00
Tony Finch and Evan Hunt
48860528d0
Fix dns_client_addtrustedkey(dns_rdatatype_dnskey)
...
Use a buffer that is big enough for DNSKEY records as well as DS
records.
(cherry picked from commit 689ef89b67 )
2020-03-04 15:42:12 -08:00
Witold Krecicki
3d1a5e3ebb
Merge branch 'wpk-use-pthread-rwlock-by-default-v9_16' into 'v9_16'
...
Use pthread rwlocks by default
See merge request isc-projects/bind9!3156
2020-03-04 11:36:06 +00:00
Witold Kręcicki
d6b4493aa9
Add release notes for pthread rwlocks change
...
(cherry picked from commit 4ca5c02d0e )
2020-03-04 10:11:17 +00:00
Witold Kręcicki
16cedf6e45
Use pthread rwlocks by default
...
(cherry picked from commit ad03c22e97 )
2020-03-04 10:11:17 +00:00
Witold Krecicki
805a44eaff
Merge branch 'wpk/perfwork-7-multilocked-badcache-v9_16' into 'v9_16'
...
Wpk/perfwork 7 multilocked badcache v9 16
See merge request isc-projects/bind9!3155
2020-03-04 10:07:55 +00:00
Witold Kręcicki
3212ab0052
Workaround for clang static analyzer bug.
...
(cherry picked from commit 6c8f309745 )
2020-03-04 10:48:59 +01:00
Witold Kręcicki
1296e48e11
Badcache with multiple locks.
...
Previously badcache used one single mutex for everything, which
was causing performance issues. Use one global rwlock for the whole
hashtable and per-bucket mutexes.
(cherry picked from commit 47e5f5564c )
2020-03-04 10:48:59 +01:00
Mark Andrews
6bfe3fb988
Merge branch '1656-masterformat-system-test-failed-missing-sleep-1-v9_16' into 'v9_16'
...
properly wait for zone to be loaded
See merge request isc-projects/bind9!3153
2020-03-04 07:45:38 +00:00
Mark Andrews
50a03f82b2
properly wait for zone to be loaded
...
(cherry picked from commit 0abcface49 )
2020-03-04 18:16:42 +11:00
Mark Andrews
c90d788d5b
Merge branch 'marka-check-touched-v9_16' into 'v9_16'
...
Marka check touched v9 16
See merge request isc-projects/bind9!3147
2020-03-03 22:34:38 +00:00
Mark Andrews
e01e4d6921
Add CHANGES entry
...
(cherry picked from commit 64474db14e )
2020-03-04 09:11:47 +11:00
Mark Andrews
3e08796e85
Restart zone maintenance if it had been stalled.
...
(cherry picked from commit f171347b5f )
2020-03-04 09:11:46 +11:00
Mark Andrews
3cdfa9758b
Check inline master zones that are touched reload correctly.
...
(cherry picked from commit 50e079d6c3 )
2020-03-04 09:11:46 +11:00
Witold Krecicki
aa365bc905
Merge branch 'wpk/socket-destroy-race-v9_16' into 'v9_16'
...
Fix a race in isc_socket destruction.
See merge request isc-projects/bind9!3144
2020-03-03 09:02:14 +00:00
Witold Kręcicki
e4d39f57ff
Fix a race in isc_socket destruction.
...
There was a very slim chance of a race between isc_socket_detach and
process_fd: isc_socket_detach decrements references to 0, and before it
calls destroy gets preempted. Second thread calls process_fd, increments
socket references temporarily to 1, and then gets preempted, first thread
then hits assertion in destroy() as the reference counter is now 1 and
not 0.
(cherry picked from commit 81ba0fe0e6 )
2020-03-03 09:26:54 +01:00
Mark Andrews
b9a9407514
Merge branch '1627-call-set_resigntime-and-zone_settimer-v9_16' into 'v9_16'
...
Resolve "inline re-signing stops"
See merge request isc-projects/bind9!3138
2020-03-03 06:13:02 +00:00
Mark Andrews
d768a69377
add release note entry
...
(cherry picked from commit 23ce0f32e5 )
2020-03-03 16:50:56 +11:00
Mark Andrews
14cf433d77
Add CHANGES note
...
(cherry picked from commit 905549f061 )
2020-03-03 16:11:24 +11:00
Ondřej Surý and Mark Andrews
633f07e298
Adjust lock/unlock in zone_rekey()
...
(cherry picked from commit aaaa7e67fa )
2020-03-03 16:10:45 +11:00
Mark Andrews
b301dfcfe8
Ensure that resigintime and the zone timer are set
...
(cherry picked from commit a6626594aa )
2020-03-03 16:10:45 +11:00
Matthijs Mekking and Mark Andrews
8b34aeb874
Add more zone locks
...
Add more zone locks around code that touches zone timer setting
in failure modes.
(cherry picked from commit 143d1c9767 )
2020-03-03 16:10:45 +11:00
Mark Andrews
f67202587f
Always call set_resigntime with the zone lock held
...
(cherry picked from commit 7212961849 )
2020-03-03 16:10:45 +11:00
Mark Andrews
7f86372e5a
Always call zone_settimer()
...
zone_needdump() could potentially not call zone_settimer() so
explitly call zone_settimer() as zone->resigntime could have
gone backward.
(cherry picked from commit 5ec57f31b0 )
2020-03-03 16:10:45 +11:00
Mark Andrews
91f75acb27
Call set_resigntime() in receive_secure_serial()
...
With RRSIG records no longer being signed with the full
sig-validity-interval we need to ensure the zone->resigntime
as it may need to be set to a earlier time.
(cherry picked from commit 5d1611afdc )
2020-03-03 16:10:45 +11:00
Michał Kępień
690591c3c9
Merge branch '1640-add-ZLIB_LIBS-to-ISCLIBS-v9_16' into 'v9_16'
...
[v9_16] Add ZLIB_LIBS to ISCLIBS
See merge request isc-projects/bind9!3131
2020-02-28 14:39:02 +00:00
Michał Kępień
69974ea278
Add ZLIB_LIBS to ISCLIBS
...
When --with-zlib is passed to ./configure (or when the latter
autodetects zlib's presence), libisc uses certain zlib functions and
thus libisc's users should be linked against zlib in that case. Adjust
Makefile variables appropriately to prevent shared build failures caused
by underlinking.
(cherry picked from commit fc967ba092 )
2020-02-28 15:22:59 +01:00
Witold Krecicki
0e6a8e8dc8
Merge branch 'wpk/perfwork-3-small-nits-v9_16' into 'v9_16'
...
Wpk/perfwork 3 small nits v9 16
See merge request isc-projects/bind9!3130
2020-02-28 09:36:49 +00:00
Evan Hunt and Witold Kręcicki
d794d85ce1
comments
...
(cherry picked from commit 0b76d8a490 )
2020-02-28 10:05:25 +01:00
Witold Kręcicki
e11a8e832e
Don't define NS_CLIENT_TRACE by default
...
(cherry picked from commit 4b6a064972 )
2020-02-28 10:05:25 +01:00