]>
git.ipfire.org Git - thirdparty/bind9.git/log
Ondřej Surý [Sat, 25 Aug 2018 09:12:29 +0000 (11:12 +0200)]
Rewrite dlopen detection using modern autoconf language constructs
Evan Hunt [Fri, 24 Aug 2018 21:17:34 +0000 (14:17 -0700)]
make --without-pic imply --disable-shared and --without-dlopen
Ondřej Surý [Wed, 29 Aug 2018 11:43:51 +0000 (07:43 -0400)]
Merge branch '509-use-xsi-strerror_r' into 'master'
Resolve "current master not building on ubuntu 16.04 using --with-libtool --enable-developer"
Closes #509
See merge request isc-projects/bind9!727
Evan Hunt [Tue, 28 Aug 2018 22:43:44 +0000 (15:43 -0700)]
Ensure that POSIX strerror_r variant is use even when _GNU_SOURCE is enabled by default
Ondřej Surý [Tue, 28 Aug 2018 19:27:48 +0000 (21:27 +0200)]
Enable system extensions macros using AC_USE_SYSTEM_EXTENSIONS
and remove handcrafted code that enabled __EXTENSIONS__ and _GNU_SOURCE
Evan Hunt [Tue, 28 Aug 2018 23:21:33 +0000 (19:21 -0400)]
Merge branch 'silence-warning' into 'master'
silence "missing print.h" warning
See merge request isc-projects/bind9!723
Evan Hunt [Tue, 28 Aug 2018 22:59:20 +0000 (15:59 -0700)]
silence "missing print.h" warning
Ondřej Surý [Tue, 28 Aug 2018 19:33:05 +0000 (15:33 -0400)]
Merge branch 'fix-missing-ipv6.h' into 'master'
Remove broken @ISC_IPV6_H@ placeholder from Makefile.in
See merge request isc-projects/bind9!720
Ondřej Surý [Tue, 28 Aug 2018 19:10:38 +0000 (21:10 +0200)]
Remove broken @ISC_IPV6_H@ placeholder from Makefile.in
Witold Krecicki [Tue, 28 Aug 2018 18:33:57 +0000 (14:33 -0400)]
Merge branch 'set-sndbuf' into 'master'
Set sndbuf
See merge request isc-projects/bind9!74
Witold Kręcicki [Tue, 28 Aug 2018 18:25:36 +0000 (20:25 +0200)]
Pre-merge nits
Mukund Sivaraman [Tue, 27 Feb 2018 03:29:54 +0000 (08:59 +0530)]
Add CHANGES entry
Evan Hunt [Sun, 25 Feb 2018 23:21:49 +0000 (15:21 -0800)]
style nits
Mukund Sivaraman [Fri, 26 Jan 2018 10:15:59 +0000 (15:45 +0530)]
Set SO_SNDBUF
Witold Krecicki [Tue, 28 Aug 2018 15:16:47 +0000 (11:16 -0400)]
Merge branch '276-rndc-reconfig-fixes' into 'master'
Resolve "rndc reconfig now performs stat() for all zones"
Closes #276
See merge request isc-projects/bind9!518
Witold Kręcicki [Tue, 28 Aug 2018 15:05:28 +0000 (17:05 +0200)]
CHANGES note
Witold Kręcicki [Tue, 10 Jul 2018 16:43:55 +0000 (18:43 +0200)]
rndc reconfig should not touch already loaded zones, some refactoring of dns_{zone,view,zt}_{async,}load
Ondřej Surý [Tue, 28 Aug 2018 12:47:40 +0000 (08:47 -0400)]
Merge branch '178-remove-isc_keyboard' into 'master'
Remove isc_keyboard family of functions
See merge request isc-projects/bind9!718
Ondřej Surý [Mon, 27 Aug 2018 12:39:19 +0000 (14:39 +0200)]
Add CHANGES note for GL #178.
5023. [cleanup] Remove isc_keyboard family of functions. [GL #178]
Ondřej Surý [Mon, 27 Aug 2018 12:38:34 +0000 (14:38 +0200)]
Remove isc_keyboard family of functions as they were not used anywhere
Ondřej Surý [Tue, 28 Aug 2018 11:53:41 +0000 (07:53 -0400)]
Merge branch '10-use-atomic_builtins' into 'master'
Resolve "Use and require atomic primitives support"
Closes #10
See merge request isc-projects/bind9!657
Ondřej Surý [Thu, 23 Aug 2018 12:32:05 +0000 (14:32 +0200)]
Add CHANGES note for GL #10.
5023. [func] Replace custom assembly for atomic operations with
atomic support from the compiler. The code will now use
C11 stdatomic, or __atomic, or __sync builtins with GCC
or Clang compilers, and Interlocked functions with MSVC.
[GL #10]
Ondřej Surý [Tue, 28 Aug 2018 08:15:40 +0000 (10:15 +0200)]
Update the isc_refcount documentation in doxygen format
Ondřej Surý [Tue, 28 Aug 2018 08:18:59 +0000 (10:18 +0200)]
Refactor *_destroy and *_detach functions to unified order of actions.
This properly orders clearing the freed pointer and calling isc_refcount_destroy
as early as possible to have ability to put proper memory barrier when cleaning
up reference counting.
Ondřej Surý [Thu, 23 Aug 2018 13:30:06 +0000 (15:30 +0200)]
Directly use return value of atomic_compare_exchange_strong_explicit insteaf of comparing expected value
Ondřej Surý [Fri, 17 Aug 2018 17:21:12 +0000 (19:21 +0200)]
Explicitly load atomic values in lib/isc/rwlock.c
Ondřej Surý [Fri, 17 Aug 2018 13:57:55 +0000 (15:57 +0200)]
Switch everything back to relaxed memory ordering
Ondřej Surý [Fri, 17 Aug 2018 13:51:37 +0000 (15:51 +0200)]
Remove no-op NODE_STRONG(UN)?LOCK and rename NODE_WEAK(UN)?LOCK to just NODE_(UN)?LOCK
Ondřej Surý [Fri, 17 Aug 2018 13:16:59 +0000 (15:16 +0200)]
Rewrite isc_refcount API to fetch_and_<op>, instead of former <op>_and_<fetch>
Ondřej Surý [Fri, 17 Aug 2018 10:54:27 +0000 (12:54 +0200)]
Remove checks for atomic rwlock from rbtdb.cz and zone.c
Ondřej Surý [Fri, 17 Aug 2018 09:36:33 +0000 (11:36 +0200)]
Remove check for atomic isc_refcount in dns/rbt.h and always use isc_refcount
Ondřej Surý [Thu, 24 May 2018 12:43:25 +0000 (14:43 +0200)]
Rewrite reference counting in isc_mem to use isc_refcount API
Ondřej Surý [Wed, 1 Aug 2018 09:46:11 +0000 (11:46 +0200)]
isc_refcount_init() now doesn't return isc_result_t and asserts on failed initialization
Ondřej Surý [Tue, 14 Aug 2018 09:42:06 +0000 (11:42 +0200)]
Remove isc_atomic usage from rwlock.c and stats.c
Ondřej Surý [Tue, 14 Aug 2018 08:23:50 +0000 (10:23 +0200)]
Replace arch specific atomic.h with global atomic.h header using either stdatomic, __atomic or __sync primitives
Ondřej Surý [Tue, 14 Aug 2018 07:52:25 +0000 (09:52 +0200)]
Update configure.in to check for both stdatomic.h and __atomic builtins
Ondřej Surý [Tue, 28 Aug 2018 10:05:52 +0000 (06:05 -0400)]
Merge branch 'remove-dnsperf-and-queryperf-from-contrib' into 'master'
Remove dnsperf, queryperf and perftcpdns from contrib
See merge request isc-projects/bind9!717
Ondřej Surý [Tue, 28 Aug 2018 09:49:28 +0000 (11:49 +0200)]
Remove dnsperf, queryperf and perftcpdns from util/copyrights
Ondřej Surý [Tue, 28 Aug 2018 09:44:58 +0000 (11:44 +0200)]
Update contrib/README with new locations for dnsperf, queryperf, and perftcpdns
Ondřej Surý [Tue, 28 Aug 2018 09:42:31 +0000 (11:42 +0200)]
Remove perftcpdns from BIND 9 repository
Ondřej Surý [Tue, 28 Aug 2018 09:42:14 +0000 (11:42 +0200)]
Remove queryperf from BIND 9 repository
Ondřej Surý [Tue, 28 Aug 2018 09:41:58 +0000 (11:41 +0200)]
Remove dnsperf and dnsperf-patches from BIND 9 repository
Ondřej Surý [Tue, 28 Aug 2018 08:51:38 +0000 (04:51 -0400)]
Merge branch '192-make-ipv6-mandatory' into 'master'
Remove all kind of legacy compatibility layers (including IPv6, networking and functions defined by C99 or POSIX.1)
Closes #192
See merge request isc-projects/bind9!668
Ondřej Surý [Tue, 28 Aug 2018 08:30:44 +0000 (10:30 +0200)]
Add CHANGES entry for GL #192
5016. [cleanup] Remove wrappers that try to fix broken or incomplete
implementations of IPv6, pthreads and other core
functionality required and used by BIND. [GL #192]
Ondřej Surý [Tue, 28 Aug 2018 08:36:25 +0000 (10:36 +0200)]
Cleanup util/copyrights
Ondřej Surý [Tue, 28 Aug 2018 08:28:43 +0000 (10:28 +0200)]
Add release notes entry.
Ondřej Surý [Tue, 21 Aug 2018 13:34:24 +0000 (15:34 +0200)]
Remove dead check for long long support
Ondřej Surý [Tue, 21 Aug 2018 13:33:08 +0000 (15:33 +0200)]
Assume PTHREAD_ONCE_INIT is not broken (remove support for ancient Solaris)
Ondřej Surý [Tue, 21 Aug 2018 13:29:49 +0000 (15:29 +0200)]
Assume non-broken recvmsg
Ondřej Surý [Tue, 21 Aug 2018 13:27:42 +0000 (15:27 +0200)]
Use strerror_r from POSIX.1-2001 (strerror_s on Windows) instead of custom isc__strerror()
Ondřej Surý [Tue, 21 Aug 2018 13:10:32 +0000 (15:10 +0200)]
memmove, strtoul, and strcasestr functions are part of ISO C90, remove the compatibility shim
Ondřej Surý [Tue, 21 Aug 2018 13:04:40 +0000 (15:04 +0200)]
getifaddrs() is available on all supported Unix platforms (Linux, BSDs, macOS and Solaris)
Ondřej Surý [Tue, 21 Aug 2018 12:54:36 +0000 (14:54 +0200)]
Assume always working getaddrinfo/getnameinfo implemenation
Ondřej Surý [Tue, 21 Aug 2018 12:35:57 +0000 (14:35 +0200)]
Remove check for isc_port_t; Windows never have it, Unix always have it
Ondřej Surý [Tue, 21 Aug 2018 12:32:20 +0000 (14:32 +0200)]
Ignore sockaddr_{sin,sin6,sun}.{sin,sin6,sun}_len even on systems that define it
Ondřej Surý [Tue, 21 Aug 2018 12:26:39 +0000 (14:26 +0200)]
Always assume BSD4.4 msghdr version
Ondřej Surý [Tue, 21 Aug 2018 11:48:48 +0000 (13:48 +0200)]
Remove support for legacy systems without inet_{ntop,pton} w/ IPv6 support
Ondřej Surý [Tue, 21 Aug 2018 11:22:40 +0000 (13:22 +0200)]
Remove support for legacy systems without in6_pktinfo
Ondřej Surý [Tue, 21 Aug 2018 11:17:00 +0000 (13:17 +0200)]
Remove support for legacy systems without sin6_scope_id
Ondřej Surý [Tue, 21 Aug 2018 11:07:05 +0000 (13:07 +0200)]
Remove support for legacy platforms without in6addr_loopback
Ondřej Surý [Tue, 21 Aug 2018 10:54:15 +0000 (12:54 +0200)]
Remove support for legacy systems without in6addr_any
Ondřej Surý [Tue, 21 Aug 2018 09:59:52 +0000 (11:59 +0200)]
Remove support for pre-RFC2133 IPv6 implementation (in_addr6)
Ondřej Surý [Tue, 21 Aug 2018 09:51:57 +0000 (11:51 +0200)]
Remove support for legacy KAME IPv6 stack
Ondřej Surý [Tue, 21 Aug 2018 09:50:23 +0000 (11:50 +0200)]
Require IPv6 support from the OS
Ondřej Surý [Tue, 21 Aug 2018 09:28:24 +0000 (11:28 +0200)]
We always want IPv6
Ondřej Surý [Tue, 21 Aug 2018 09:20:27 +0000 (11:20 +0200)]
Remove support for legacy SGI IRIX
Ondřej Surý [Tue, 21 Aug 2018 09:11:43 +0000 (11:11 +0200)]
Remove legacy support for Compaq TruCluster
Ondřej Surý [Tue, 21 Aug 2018 09:09:34 +0000 (11:09 +0200)]
Remove legacy support for HP-UX
Ondřej Surý [Tue, 21 Aug 2018 08:56:14 +0000 (10:56 +0200)]
Remove legacy support for SunOS
Ondřej Surý [Tue, 21 Aug 2018 08:53:38 +0000 (10:53 +0200)]
Remove legacy support for Tru64
Ondřej Surý [Tue, 21 Aug 2018 08:45:29 +0000 (10:45 +0200)]
Remove legacy support for AIX
Ondřej Surý [Tue, 21 Aug 2018 08:33:36 +0000 (10:33 +0200)]
Remove legacy BSD/OS support (ipv6,various hacks)
Ondřej Surý [Tue, 21 Aug 2018 08:23:28 +0000 (10:23 +0200)]
Remove legacy UnixWare support (sigwait, ipv6)
Ondřej Surý [Tue, 28 Aug 2018 05:18:18 +0000 (01:18 -0400)]
Merge branch 'gitlab-ci-dont-run-make-clean' into 'master'
Disable make clean at the end of configure step in GitLab CI
See merge request isc-projects/bind9!714
Ondřej Surý [Fri, 17 Aug 2018 14:50:48 +0000 (16:50 +0200)]
Disable make clean at the end of configure step in GitLab CI
Ondřej Surý [Mon, 27 Aug 2018 18:34:47 +0000 (14:34 -0400)]
Merge branch '496-fix-freebsd-issue' into 'master'
threads.h was missing on C11/thread_local builds
Closes #496
See merge request isc-projects/bind9!712
Witold Kręcicki [Mon, 27 Aug 2018 14:41:43 +0000 (16:41 +0200)]
Include threads.h for thread_local
Stephen Morris [Mon, 27 Aug 2018 14:25:22 +0000 (10:25 -0400)]
Merge branch '498-clang-scan-build-detected-errors' into 'master'
Resolve "clang scan-build detected errors"
Closes #498
See merge request isc-projects/bind9!703
Ondřej Surý [Fri, 24 Aug 2018 19:38:39 +0000 (21:38 +0200)]
Cleanup couple of set-but-unused errors from Coverity
Ondřej Surý [Fri, 24 Aug 2018 19:38:06 +0000 (21:38 +0200)]
Initialize all tvresults to ISC_R_UNSET
Witold Krecicki [Mon, 27 Aug 2018 09:33:29 +0000 (05:33 -0400)]
Merge branch '499-fix-rsabigexponent-with-pkc11' into 'master'
Resolve "rsabigexponent test is broken w/pkcs11"
Closes #499
See merge request isc-projects/bind9!711
Ondřej Surý [Mon, 27 Aug 2018 09:24:32 +0000 (11:24 +0200)]
Run rsabigexponent test only when OpenSSL is used as cryptography provider
Mark Andrews [Mon, 27 Aug 2018 06:58:36 +0000 (02:58 -0400)]
Merge branch 'update-documentation-for-ms-and-krb5-rules' into 'master'
update {krb5,ms}-{self,subdomain} descriptions
See merge request isc-projects/bind9!708
Mark Andrews [Mon, 27 Aug 2018 06:46:07 +0000 (16:46 +1000)]
add CHANGES note
Mark Andrews [Fri, 24 Aug 2018 02:16:14 +0000 (12:16 +1000)]
update {krb5,ms}-{self,subdomain} descriptions
Mark Andrews [Mon, 27 Aug 2018 04:07:21 +0000 (00:07 -0400)]
Merge branch '487-reset-dig-exit-code-after-a-tcp-connection-is-established' into 'master'
Reset dig exit code after a TCP connection is established
Closes #487
See merge request isc-projects/bind9!698
Michał Kępień [Fri, 24 Aug 2018 11:49:45 +0000 (13:49 +0200)]
Add CHANGES entry
5020. [bug] dig returned a non-zero exit code when it received a
reply over TCP after a retry. [GL #487]
Michał Kępień [Fri, 24 Aug 2018 11:49:45 +0000 (13:49 +0200)]
Reset dig exit code after a TCP connection is established
The "exitcode" variable is set to 9 if a TCP connection fails, but is
not reset to 0 if a subsequent TCP connection succeeds. This causes dig
to return a non-zero exit code if it succeeds in getting a TCP response
after a retry. Fix by resetting "exitcode" to 0 if connect_done()
receives an event with the "result" field set to ISC_R_SUCCESS.
Michał Kępień [Sat, 25 Aug 2018 20:20:28 +0000 (16:20 -0400)]
Merge branch 'set-use-alt-transfer-source-no-in-the-mirror-system-test' into 'master'
Set "use-alt-transfer-source no;" in the "mirror" system test
See merge request isc-projects/bind9!705
Michał Kępień [Sat, 25 Aug 2018 19:48:17 +0000 (21:48 +0200)]
Set "use-alt-transfer-source no;" in the "mirror" system test
Force ns3 to use a constant source address (10.53.0.3) when sending
transfer requests for the "initially-unavailable" zone to prevent
failures of transfers not triggered by bin/tests/system/mirror/tests.sh
from causing fallback to using a source address for which transfers of
that zone are refused throughout the entire "mirror" system test since
that might yield false positives.
Ondřej Surý [Sat, 25 Aug 2018 12:08:13 +0000 (08:08 -0400)]
Merge branch '496-tls-in-rng' into 'master'
Resolve "RNG should not be locking"
Closes #340 and #496
See merge request isc-projects/bind9!697
Ondřej Surý [Sat, 25 Aug 2018 11:29:27 +0000 (13:29 +0200)]
Use __declspec( thread ) for thread local storage when compiling with Visual Studio 2015 and higher
Witold Kręcicki [Sat, 25 Aug 2018 11:25:51 +0000 (13:25 +0200)]
Add runtime check on top of pthread_mutex_{lock,unlock} in rng
Witold Kręcicki [Fri, 24 Aug 2018 09:21:27 +0000 (11:21 +0200)]
Use TLS variables to store RNG state, make RNG lockless
Ondřej Surý [Fri, 24 Aug 2018 15:01:10 +0000 (11:01 -0400)]
Merge branch 'fix-line-continuation-in-fuzz-Makefile.in' into 'master'
Fix line continuation in fuzz/Makefile.in
See merge request isc-projects/bind9!699
Michał Kępień [Fri, 24 Aug 2018 12:00:32 +0000 (14:00 +0200)]
Fix line continuation in fuzz/Makefile.in
Add a missing semicolon to prevent "make test" run from the top-level
directory from failing even when all system and unit tests succeed due
to "(cd fuzz && ${MAKE} check)" returning a non-zero exit code.
Michał Kępień [Fri, 24 Aug 2018 08:35:29 +0000 (04:35 -0400)]
Merge branch '470-log-a-message-when-ixfr-from-differences-is-set-for-an-inline-signed-zone' into 'master'
Log a message when "ixfr-from-differences" is set for an inline-signed zone
Closes #470
See merge request isc-projects/bind9!648
Michał Kępień [Fri, 24 Aug 2018 08:18:59 +0000 (10:18 +0200)]
Add CHANGES entry
5019. [cleanup] A message is now logged when ixfr-from-differences is
set at zone level for an inline-signed zone. [GL #470]
Michał Kępień [Fri, 24 Aug 2018 08:18:59 +0000 (10:18 +0200)]
Log a message when "ixfr-from-differences" is set for an inline-signed zone
For inline-signed zones, the value of "ixfr-from-differences" is
hardcoded to:
- "yes" for the raw version of the zone,
- "no" for the signed version of the zone.
In other words, any user-provided "ixfr-from-differences" setting is
effectively ignored for an inline-signed zone. Ensure the user is aware
of that by adding a note to the ARM and logging a message when an
"ixfr-from-differences" option is found at the zone level.
Michał Kępień [Fri, 24 Aug 2018 07:55:13 +0000 (03:55 -0400)]
Merge branch '491-prevent-a-race-in-the-inline-system-test' into 'master'
Prevent a race in the "inline" system test
Closes #491
See merge request isc-projects/bind9!682