Evan Hunt
4754fa2ded
"grep -q" isn't portable
2019-01-30 11:46:11 -08:00
Evan Hunt
13c799267b
remove the 'new_tsigkey' exception, allow TSIG to be set any time
...
this allows 'dns_message_settsigkey()' to be run any time after
parsing without having to set a special flag in the message object.
2019-01-30 11:46:11 -08:00
Evan Hunt
33ec311332
allow TSIG key to be added to message structure after parsing
...
up until now, message->tsigkey could only be set during parsing
of the request, but gss-tsig allows one to be created afterward.
this commit adds a new flag to the message structure, `new_tsigkey`,
which indicates that in this case it's okay for `dns_message_settsigkey()`
to be run on a message after parsing, without hitting any assertions due
to the lack of a TSIG in the request. this allows us to keep the current
restriction in place generally, but add an exception for TKEY processing.
it's probably better to just remove the restriction entirely (see next
commit).
2019-01-30 11:46:11 -08:00
Matthijs Mekking
29323a39bf
Weak verification for signed TKEY response
...
The introduced grep call checks whether there was a
response that has an answer and an additional record.
There should be only one in the nsupdate output that is
for the TKEY response.
2019-01-30 11:46:11 -08:00
Matthijs Mekking
1302dea184
Some thoughts on a solution
2019-01-30 11:45:30 -08:00
Matthijs Mekking
9fcad11e34
Weak verification for signed TKEY response
...
The introduced grep call checks whether there was a
response that has an answer and an additional record.
There should be only one in the nsupdate output that is
for the TKEY response.
2019-01-30 11:45:30 -08:00
Matthijs Mekking
cbe51ba325
Harden GSS-TSIG tests
2019-01-30 11:45:30 -08:00
Ondřej Surý
92099923c6
Merge branch 'each-fix-win32-build' into 'master'
...
atomic_store wasn't working on windows
See merge request isc-projects/bind9!1403
2019-01-30 10:56:47 -05:00
Ondřej Surý
27eb6189a8
Fix Centos 6 build by explicitly casting to __typeof__(obj) in atomic_compare_exchange_strong shim function
2019-01-30 15:54:17 +01:00
Witold Kręcicki
9ded5d5193
Cast atomic_load_explicit to proper size
2019-01-30 14:12:06 +01:00
Ondřej Surý
f2d1a88efc
Add #pragma intrinsic for intrinsic Windows functions
2019-01-30 13:48:58 +01:00
Ondřej Surý
9539e1c3a1
Fix memory_order_cst_seq -> memory_order_seq_cst typo
2019-01-30 13:48:58 +01:00
Ondřej Surý
d3e0604354
Properly use atomic_compare_exchange instead of load/store
2019-01-30 13:48:58 +01:00
Ondřej Surý
4f5e83b139
Add define for InterlockedExchangeAdd8 intrinsic
2019-01-30 13:48:58 +01:00
Ondřej Surý
7a7a8b0f7b
Add atomic_bool implementation to unix and win32 stdatomic.h shim headers
2019-01-30 09:37:38 +01:00
Ondřej Surý
a84e70acd0
Fix copy&paste error in the atomic_fetch_add_explicit{32,64} macros.
...
- InterlockedExchange was incorrectly used in place where InterlockedExchangeAdd
should have been used
2019-01-30 09:37:38 +01:00
Ondřej Surý
f8c96ad27a
Bump Windows minimum target environment to _WIN32_WINNT_WIN8/NTDDI_WIN8 values
2019-01-30 09:37:38 +01:00
Evan Hunt
19dd6a409c
Fix a typo in the win32 version of the atomic_store macro
2019-01-30 09:37:38 +01:00
Evan Hunt
39527e9c36
Moved the unix version to lib/isc/unix/include/isc so it's more obvious in the future that it isn't the only copy
2019-01-30 09:37:38 +01:00
Mark Andrews
3f16a6afc1
Merge branch '848-keymgr-19-old-keys-failing-on-penguin' into 'master'
...
Resolve "keymgr 19-old-keys failing on penguin"
Closes #848
See merge request isc-projects/bind9!1424
2019-01-29 23:36:31 -05:00
Mark Andrews
b9d5a62bdc
add CHANGES
2019-01-29 20:18:01 -08:00
Mark Andrews
acf0292da4
add 300 seconds of fudge
2019-01-29 20:14:45 -08:00
Mark Andrews
36ea9b8181
only use a single policy file when testing.
2019-01-30 15:00:14 +11:00
Evan Hunt
4e86a57ba2
Merge branch 'placeholder' into 'master'
...
placeholder
See merge request isc-projects/bind9!1421
2019-01-29 18:07:31 -05:00
Evan Hunt
088008328c
placeholder
2019-01-29 15:07:01 -08:00
Evan Hunt
8d1cdc60da
Merge branch '766-querytrace-doc' into 'master'
...
Resolve "--enable-querytrace has negative performance impact - update the documentation to say this"
Closes #766
See merge request isc-projects/bind9!1367
2019-01-29 17:19:49 -05:00
Evan Hunt
51048ca06e
added querytrace documentation in README
...
also:
- rearranged things a little, adding a "dependencies" section
- removed the documentation of 'enable-threads'. (this part of
the change should not be backported.)
2019-01-29 14:18:13 -08:00
Michał Kępień
f0a3525ba3
Merge branch 'michal/add-fedora-29-to-ci' into 'master'
...
Add Fedora 29 to CI
See merge request isc-projects/bind9!1414
2019-01-29 07:53:15 -05:00
Michał Kępień
38b6c5c444
Add Fedora 29 to CI
...
Modify .gitlab-ci.yml so that every CI pipeline also builds and tests
BIND on Fedora 29.
2019-01-29 07:25:00 -05:00
Ondřej Surý
8551497df3
Merge branch 'ondrej/configure.ac-fix-int-assignment-to-pointer-in-ECC-checks' into 'master'
...
Change the check for EC curves so it doesn't assign int to pointer
See merge request isc-projects/bind9!1413
2019-01-29 07:20:41 -05:00
Ondřej Surý
5338e5fc32
Change the check for EC curves so it doesn't assign int to pointer
2019-01-29 12:43:55 +01:00
Witold Krecicki
ffa3be2b04
Merge branch 'wpk-fix-taskmgr-tsan-issues' into 'master'
...
ix taskmgr tsan issues
See merge request isc-projects/bind9!1396
2019-01-29 03:56:55 -05:00
Witold Kręcicki
a003908af4
Fix a race in access to manager->tasks in taskmgr
...
Make taskmgr->mode and boolean state flags (exclusive, paused, exiting) atomic.
2019-01-29 03:32:29 -05:00
Mark Andrews
d0222edbdd
Merge branch '845-configure-PLATFORMS' into 'master'
...
corrected PLATFORM.md to PLATFORMS.md to match reality
Closes #845
See merge request isc-projects/bind9!1408
2019-01-28 23:59:57 -05:00
Alan
f60784c625
corrected PLATFORM.md to PLATFORMS.md to match reality
2019-01-28 23:41:49 -05:00
Evan Hunt
1cccf601d7
Merge branch '259-named-args' into 'master'
...
add properly-formatted -D options to named.args files
Closes #259
See merge request isc-projects/bind9!1372
2019-01-28 23:24:42 -05:00
Evan Hunt
dd45831acc
also add -D options for transient named processes started in tests.sh
2019-01-28 19:58:24 -08:00
Evan Hunt
175d6e9bfb
add properly-formatted -D options to named.args files
...
this prevents servers that use arguments specified in named.args
from appearing different in 'ps' output from servers run with arguments
from start.pl
2019-01-28 19:58:24 -08:00
Evan Hunt
377a7e7bba
Merge branch 'each-fix-logfileconfig' into 'master'
...
reset SYSTEMTESTTOP when changing directories
See merge request isc-projects/bind9!1407
2019-01-28 22:57:47 -05:00
Evan Hunt
70f36a25e4
reset SYSTEMTESTTOP when changing directories
2019-01-28 19:57:19 -08:00
Mark Andrews
8672f5cb5a
Merge branch '842-broken-build' into 'master'
...
rename struct members to avoid a name collision on BSD and MacOS
Closes #842
See merge request isc-projects/bind9!1406
2019-01-28 21:32:56 -05:00
Evan Hunt
995134ce76
rename struct members to avoid a name collision on BSD
2019-01-28 10:59:48 -08:00
Evan Hunt
64745bbc21
Merge branch 'michal/update-PLATFORMS-2019-01' into 'master'
...
Update PLATFORMS (January 2019)
See merge request isc-projects/bind9!1405
2019-01-28 13:54:15 -05:00
Michał Kępień
fd89fa015b
Update the list of supported platforms
...
- Change 5023 (present in BIND 9.13.3+) removed BIND's internal
implementation of the getifaddrs() function which was required for
iterating network interfaces on Solaris 10 as that system does not
support that function natively.
- As of January 2019, FreeBSD 10.x is neither supported upstream nor
regularly tested by ISC, so move it from the list of regularly tested
platforms to the "Best effort" section.
- Debian 10, OpenBSD 6.3, and Fedora 29 have been released and are now
tested regularly.
2019-01-28 10:49:03 -08:00
Witold Krecicki
14d48a9b69
Merge branch 'wpk-atomic-counters-quota' into 'master'
...
Atomic counters and quota
See merge request isc-projects/bind9!1389
2019-01-25 04:45:27 -05:00
Witold Kręcicki
d314e45cc3
CHANGES entry
2019-01-25 04:26:49 -05:00
Witold Kręcicki
42d9a536a7
Make isc_counter use atomics instead of locks
2019-01-25 04:26:49 -05:00
Witold Kręcicki
0af500a2c5
- Make isc_quota use atomics instead of locks
...
- Use getters for isc_quota parameters, make fields private
- Fix a potential data race with recursion clients limits logging
2019-01-25 04:26:49 -05:00
Witold Kręcicki
814bfa23b2
Add atomic_store_relaxed and atomic_load_relaxed macros to isc/atomic.h, fix issues in isc/stdatomic.h
2019-01-25 04:26:49 -05:00
Evan Hunt
9a2d889c69
Merge branch 'each-win32-test-list' into 'master'
...
fix win32 system tests
See merge request isc-projects/bind9!1381
2019-01-25 03:45:06 -05:00