]>
git.ipfire.org Git - thirdparty/bind9.git/log
Evan Hunt [Wed, 24 Oct 2018 05:46:42 +0000 (22:46 -0700)]
convert queue_test
Evan Hunt [Wed, 24 Oct 2018 05:41:12 +0000 (22:41 -0700)]
convert file_test
Evan Hunt [Wed, 24 Oct 2018 05:33:45 +0000 (22:33 -0700)]
convert lex_test
Evan Hunt [Wed, 24 Oct 2018 05:29:39 +0000 (22:29 -0700)]
convert errno_test
Evan Hunt [Wed, 24 Oct 2018 05:26:42 +0000 (22:26 -0700)]
convert safe_test
Evan Hunt [Wed, 24 Oct 2018 05:22:10 +0000 (22:22 -0700)]
convert radix_test
Evan Hunt [Wed, 24 Oct 2018 05:19:01 +0000 (22:19 -0700)]
convert heap_test
Evan Hunt [Wed, 24 Oct 2018 04:20:45 +0000 (21:20 -0700)]
convert parse_test
Evan Hunt [Wed, 24 Oct 2018 04:16:16 +0000 (21:16 -0700)]
convert counter_test
Evan Hunt [Wed, 24 Oct 2018 07:43:33 +0000 (00:43 -0700)]
convert buffer_test
Evan Hunt [Wed, 24 Oct 2018 07:02:43 +0000 (00:02 -0700)]
convert aes_test
Evan Hunt [Wed, 24 Oct 2018 17:10:59 +0000 (10:10 -0700)]
convert listenlist_test; remove ATF from lib/ns/tests
Evan Hunt [Wed, 24 Oct 2018 17:06:21 +0000 (10:06 -0700)]
convert notify_test
Evan Hunt [Wed, 24 Oct 2018 17:02:49 +0000 (10:02 -0700)]
convert query_test
- also fixed a bug in openssldh_link.c that turned up in the process
Evan Hunt [Wed, 24 Oct 2018 16:22:15 +0000 (09:22 -0700)]
convert resconf_test; remove ATF from lib/irs/tests
Evan Hunt [Wed, 24 Oct 2018 16:10:24 +0000 (09:10 -0700)]
convert parser_test; remove ATF from lib/isccfg/tests
Evan Hunt [Fri, 26 Oct 2018 00:02:46 +0000 (17:02 -0700)]
assert if {isc,dns,ns}_test_begin() is called when a prior test is running
Evan Hunt [Fri, 26 Oct 2018 00:04:02 +0000 (17:04 -0700)]
remove .NOTPARALLEL so unit tests can build faster
Evan Hunt [Thu, 15 Nov 2018 03:40:56 +0000 (03:40 +0000)]
add cmocka support to remaining unit test makefiles
- also cleaned up some existing test code
Evan Hunt [Wed, 24 Oct 2018 04:05:26 +0000 (21:05 -0700)]
set HAVE_CMOCKA correctly when using --with-cmocka=yes
(note: this is still broken if using --with-cmocka=path)
Ondřej Surý [Fri, 26 Oct 2018 03:27:56 +0000 (03:27 +0000)]
Remove OPENSSL_cleanup() call as we cannot recover from that, it will be called via atexit mechanism automatically
Mark Andrews [Thu, 15 Nov 2018 01:53:40 +0000 (20:53 -0500)]
Merge branch 'u/fanf2/optionally-disable-digrc' into 'master'
dig: a -r option to disable .digrc
See merge request isc-projects/bind9!970
Mark Andrews [Tue, 6 Nov 2018 04:46:38 +0000 (15:46 +1100)]
add CHANGES
Tony Finch [Fri, 2 Nov 2018 15:02:54 +0000 (15:02 +0000)]
dig: a -r option to disable .digrc
Mark Andrews [Wed, 14 Nov 2018 23:39:52 +0000 (18:39 -0500)]
Merge branch 'ondrej/use-static-assert' into 'master'
Use static assertions on non-Windows platforms (requires C11 or gcc-4.6+)
See merge request isc-projects/bind9!1045
Ondřej Surý [Tue, 13 Nov 2018 20:44:08 +0000 (21:44 +0100)]
Use static assertion to check for correct alignment size
Ondřej Surý [Tue, 13 Nov 2018 20:43:11 +0000 (21:43 +0100)]
Define STATIC_ASSERT(cond, msg) to be _Static_assert(cond, msg) everywhere but on Windows where it stays to be INSIST(cond)
Evan Hunt [Wed, 14 Nov 2018 21:53:18 +0000 (16:53 -0500)]
Merge branch '347-various-bind-9-bugs-in-cleanup-after-fail-scenarios' into 'master'
Resolve "Various BIND 9 bugs in cleanup-after-fail scenarios"
Closes #347
See merge request isc-projects/bind9!1007
Mark Andrews [Fri, 9 Nov 2018 04:32:33 +0000 (15:32 +1100)]
uninitalize memory read on error path
Mark Andrews [Fri, 9 Nov 2018 04:31:26 +0000 (15:31 +1100)]
errors initalizing badcaches were not caught or cleaned up on error paths
Witold Krecicki [Wed, 14 Nov 2018 20:14:40 +0000 (15:14 -0500)]
Merge branch '671-late-qmin-relaxed-warning' into 'master'
qname minimization: issue a warning only if the server is really broken
Closes #671
See merge request isc-projects/bind9!994
Witold Kręcicki [Wed, 14 Nov 2018 19:56:29 +0000 (19:56 +0000)]
CHANGES note
Witold Kręcicki [Thu, 8 Nov 2018 11:51:29 +0000 (11:51 +0000)]
qname minimization: issue a warning only if the server is really broken
Evan Hunt [Wed, 14 Nov 2018 19:39:09 +0000 (14:39 -0500)]
Merge branch '558-nsupdate-leaks-memory-when-using-gss-tsig-and-receiving-sigterm-at-a-right-time' into 'master'
Resolve "nsupdate leaks memory when using GSS-TSIG and receiving SIGTERM at a "right" time"
Closes #558
See merge request isc-projects/bind9!1048
Mark Andrews [Wed, 14 Nov 2018 04:17:48 +0000 (15:17 +1100)]
free tmpzonename and restart_master
Evan Hunt [Wed, 14 Nov 2018 19:03:10 +0000 (14:03 -0500)]
Merge branch '675-don-t-use-typename' into 'master'
Resolve "Don't use 'typename'"
Closes #675
See merge request isc-projects/bind9!1034
Mark Andrews [Tue, 13 Nov 2018 03:12:02 +0000 (14:12 +1100)]
don't use 'typename' as it is reserved in C++
Ondřej Surý [Wed, 14 Nov 2018 17:51:34 +0000 (12:51 -0500)]
Merge branch '613-add-option-for-min-cache' into 'master'
Add min-cache-ttl and min-ncache-ttl keywords
Closes #613
See merge request isc-projects/bind9!889
Ondřej Surý [Wed, 7 Nov 2018 19:22:44 +0000 (02:22 +0700)]
Add CHANGES entry for GL#613
Ondřej Surý [Wed, 7 Nov 2018 19:15:37 +0000 (02:15 +0700)]
Add release notes for min-{cache,ncache}-ttl and now enforced max-ncache-ttl limit
Ondřej Surý [Wed, 7 Nov 2018 19:10:52 +0000 (02:10 +0700)]
Add documentation for min-{ncache,cache}-ttl
Ondřej Surý [Mon, 12 Nov 2018 13:55:57 +0000 (14:55 +0100)]
Fix the max-ncache-ttl tests
Ondřej Surý [Wed, 7 Nov 2018 18:21:13 +0000 (01:21 +0700)]
Add system tests for {min,max}-{cache,ncache}-ttl
Ondřej Surý [Thu, 8 Nov 2018 07:51:36 +0000 (14:51 +0700)]
Use @abs_top_builddir@ to define BIND 9 top build directory in conf.sh
Ondřej Surý [Wed, 7 Nov 2018 17:24:09 +0000 (00:24 +0700)]
Add min-{n,}cache-ttl tests for checkconf
Ondřej Surý [Wed, 24 Oct 2018 13:17:18 +0000 (15:17 +0200)]
Add min-cache-ttl and min-ncache-ttl keywords
Sometimes it is useful to set a 'floor' on the TTL for records
to be cached. Some sites like to use ridiculously low TTLs for
some reason, and that often is not compatible with slow links.
Signed-off-by: Michael Milligan <milli@acmeps.com>
Signed-off-by: LaMont Jones <lamont@debian.org>
Mark Andrews [Wed, 14 Nov 2018 11:12:04 +0000 (06:12 -0500)]
Merge branch '688-prefer-kyua-over-aft-run' into 'master'
Resolve "prefer kyua over aft-run"
Closes #688
See merge request isc-projects/bind9!1030
Mark Andrews [Mon, 12 Nov 2018 20:57:44 +0000 (07:57 +1100)]
prefer kyua over atf
Mark Andrews [Wed, 14 Nov 2018 00:51:06 +0000 (19:51 -0500)]
Merge branch '584-dig-treats-4-6-m-after-q-argument-as-an-option-but-not-a-domain-name' into 'master'
Resolve "dig treats -4/-6/-m after -q argument as an option but not a domain name"
Closes #584
See merge request isc-projects/bind9!979
Evan Hunt [Wed, 14 Nov 2018 00:41:54 +0000 (16:41 -0800)]
style
Mark Andrews [Wed, 14 Nov 2018 00:30:50 +0000 (11:30 +1100)]
check that delv -q -m works
Mark Andrews [Wed, 14 Nov 2018 00:14:49 +0000 (11:14 +1100)]
check that dig -q -m works
Mark Andrews [Tue, 13 Nov 2018 23:50:34 +0000 (10:50 +1100)]
add -q to dash_opts
Mark Andrews [Tue, 6 Nov 2018 00:59:04 +0000 (11:59 +1100)]
dig and mdig failed to properly preparse dash value pairs when value was a seperate argument and started with a dash.
Evan Hunt [Tue, 13 Nov 2018 19:07:17 +0000 (14:07 -0500)]
Merge branch '587-statistics-channels-xml-v2-is-removed-but-still-documented' into 'master'
Resolve "statistics-channels /xml/v2 is removed but still documented"
Closes #587
See merge request isc-projects/bind9!1035
Mark Andrews [Tue, 13 Nov 2018 04:48:10 +0000 (15:48 +1100)]
remove reference to obsolete xml/v2 schema
Michał Kępień [Tue, 13 Nov 2018 13:52:43 +0000 (08:52 -0500)]
Merge branch '433-restore-localhost-fallback-in-bin-dig-dighost.c' into 'master'
Restore localhost fallback in bin/dig/dighost.c
Closes #433
See merge request isc-projects/bind9!910
Michał Kępień [Tue, 13 Nov 2018 13:31:18 +0000 (14:31 +0100)]
Add CHANGES entry
5089. [bug] Restore localhost fallback in dig and host which is
used when no nameserver addresses present in
/etc/resolv.conf are usable due to the requested
address family restrictions. [GL #433]
Michał Kępień [Tue, 13 Nov 2018 13:31:18 +0000 (14:31 +0100)]
Restore localhost fallback in bin/dig/dighost.c
In BIND 9.11 and earlier, dig and similar tools used liblwres for
parsing /etc/resolv.conf. After getting a list of servers from
liblwres, a tool would check the address family of each server found and
reject those unusable. When the resulting list of usable servers was
empty, localhost addresses were queried as a fallback.
When liblwres was removed in BIND 9.12, dig and similar tools were
updated to parse /etc/resolv.conf using libirs instead. As part of that
process, the localhost fallback was removed from bin/dig/dighost.c since
the localhost fallback built into libirs was deemed to be sufficient.
However, libirs only falls back to localhost if it does not find any
name servers at all; if it does find any valid nameserver entry in
/etc/resolv.conf, it just returns it to the caller because it is
oblivious to whether the caller supports IPv4 and/or IPv6 or not. The
code in bin/dig/dighost.c subsequently filters the returned list of
servers in get_server_list() according to the requested address family
restrictions. This may result in none of the addresses returned by
libirs being usable, in which case a tool will attempt to work with an
empty server list, causing a hang and subsequently a crash upon user
interruption.
Restore the localhost fallback in bin/dig/dighost.c to prevent the
aforementioned hangs and crashes and ensure recent BIND versions behave
identically to the older ones in the circumstances described above.
Michał Kępień [Tue, 13 Nov 2018 13:25:11 +0000 (08:25 -0500)]
Merge branch '599-fix-a-shutdown-race-in-diagnostic-tools' into 'master'
Fix a shutdown race in bin/dig/dighost.c
Closes #599
See merge request isc-projects/bind9!855
Michał Kępień [Tue, 13 Nov 2018 12:50:47 +0000 (13:50 +0100)]
Add CHANGES entry
5088. [bug] dig/host/nslookup could crash when interrupted close to
a query timeout. [GL #599]
Michał Kępień [Tue, 13 Nov 2018 12:50:47 +0000 (13:50 +0100)]
Fix a shutdown race in bin/dig/dighost.c
If a tool using the routines defined in bin/dig/dighost.c is sent an
interruption signal around the time a connection timeout is scheduled to
fire, connect_timeout() may be executed after destroy_libs() detaches
from the global task (setting 'global_task' to NULL), which results in a
crash upon a UDP retry due to bringup_timer() attempting to create a
timer with 'task' set to NULL. Fix by preventing connect_timeout() from
attempting a retry when shutdown is in progress.
Evan Hunt [Tue, 13 Nov 2018 08:23:43 +0000 (03:23 -0500)]
Merge branch 'fix-rules-typo' into 'master'
fix rules.in typo
See merge request isc-projects/bind9!1036
Evan Hunt [Tue, 13 Nov 2018 08:22:44 +0000 (00:22 -0800)]
fix typo
Mark Andrews [Tue, 13 Nov 2018 00:03:14 +0000 (19:03 -0500)]
Merge branch 'autoheader' into 'master'
autoheader
See merge request isc-projects/bind9!1033
Mark Andrews [Mon, 12 Nov 2018 23:31:50 +0000 (10:31 +1100)]
autoheader
Mark Andrews [Mon, 12 Nov 2018 20:45:04 +0000 (15:45 -0500)]
Merge branch 'fix-test-linkages' into 'master'
Fix test linkages
See merge request isc-projects/bind9!1027
Mark Andrews [Mon, 12 Nov 2018 20:23:51 +0000 (07:23 +1100)]
remove lib/isc/tests/result_test as it is now cmocka
Mark Andrews [Mon, 12 Nov 2018 20:26:16 +0000 (07:26 +1100)]
fixup
Mark Andrews [Mon, 12 Nov 2018 20:23:36 +0000 (07:23 +1100)]
link in lib/isccc/tests/Kyuafile
Ondřej Surý [Mon, 12 Nov 2018 15:14:33 +0000 (10:14 -0500)]
Merge branch '687-reduce-the-overall-files-we-consider-copyrightable' into 'master'
Resolve "Reduce the overall files we consider copyrightable"
Closes #687
See merge request isc-projects/bind9!1026
Ondřej Surý [Mon, 12 Nov 2018 15:11:57 +0000 (16:11 +0100)]
Remove support for adding copyright to zone data
Ondřej Surý [Mon, 12 Nov 2018 14:30:40 +0000 (15:30 +0100)]
Exclude configuration files from the copyright mumbo-jumbo
Mark Andrews [Mon, 12 Nov 2018 07:12:04 +0000 (02:12 -0500)]
Merge branch 'remove-duplicate-block' into 'master'
remove duplicate block
See merge request isc-projects/bind9!1022
Mark Andrews [Mon, 12 Nov 2018 06:57:31 +0000 (17:57 +1100)]
remove duplicate block
Mark Andrews [Sun, 11 Nov 2018 23:51:03 +0000 (18:51 -0500)]
Merge branch '676-isc_result_toid-tables-not-complete' into 'master'
Resolve "isc_result_toid tables not complete"
Closes #676
See merge request isc-projects/bind9!1010
Evan Hunt [Sat, 10 Nov 2018 01:40:31 +0000 (17:40 -0800)]
convert result tests to use CMocka instead of ATF
Mark Andrews [Fri, 9 Nov 2018 23:21:44 +0000 (10:21 +1100)]
check result tables are complete
Mark Andrews [Fri, 9 Nov 2018 05:34:27 +0000 (00:34 -0500)]
Merge branch 'placeholder' into 'master'
placeholder
See merge request isc-projects/bind9!1008
Mark Andrews [Fri, 9 Nov 2018 05:33:29 +0000 (16:33 +1100)]
placeholder
Mark Andrews [Fri, 9 Nov 2018 05:18:15 +0000 (00:18 -0500)]
Merge branch '186-bind-9-12-x-potential-bug-with-dig-when-tools-installed-on-windows' into 'master'
Resolve "Bind 9.12.x: Potential bug with Dig when Tools installed on Windows"
Closes #186
See merge request isc-projects/bind9!1004
Mark Andrews [Fri, 9 Nov 2018 05:09:42 +0000 (16:09 +1100)]
add CHANGES note
Mark Andrews [Fri, 9 Nov 2018 00:27:41 +0000 (11:27 +1100)]
look in windows registry for nameservers, domainname and search list
Mark Andrews [Fri, 9 Nov 2018 04:04:30 +0000 (23:04 -0500)]
Merge branch '623-rpz-logging-to-include-qclass-and-qtype' into 'master'
Resolve "RPZ logging to include QCLASS and QTYPE"
Closes #623
See merge request isc-projects/bind9!966
Mark Andrews [Fri, 9 Nov 2018 03:55:52 +0000 (14:55 +1100)]
add CHANGES note
Mark Andrews [Thu, 1 Nov 2018 03:53:51 +0000 (14:53 +1100)]
log RPZ type and class
Mark Andrews [Fri, 9 Nov 2018 01:38:45 +0000 (20:38 -0500)]
Merge branch '673-fix-windows-build-resource-discover' into 'master'
Resolve "fix windows build resource discover"
Closes #673
See merge request isc-projects/bind9!1005
Mark Andrews [Fri, 9 Nov 2018 01:29:36 +0000 (12:29 +1100)]
isc_resource_getlimit under windows only supports isc_resource_openfiles
Ondřej Surý [Thu, 8 Nov 2018 19:55:55 +0000 (14:55 -0500)]
Merge branch '449-isc_stdtime_t-post-stdint-cleanup' into 'master'
Resolve "Follow-up from "Redefine ISC's int and boolean types to use <stdint.h> and <stdbool.h> types""
Closes #449
See merge request isc-projects/bind9!998
Ondřej Surý [Thu, 8 Nov 2018 18:05:51 +0000 (01:05 +0700)]
isc_stdtime_t is always 32-bit now, so remove the always true macro STDTIME_ON_32BITS
Ondřej Surý [Thu, 8 Nov 2018 18:05:45 +0000 (01:05 +0700)]
Print isc_stdtime_t with PRIu32
Ondřej Surý [Thu, 8 Nov 2018 19:02:25 +0000 (14:02 -0500)]
Merge branch '224-remove-isc-hmax-fixup-exe-bnff-from-win32utils-configure' into 'master'
Remove isc-hmac-fixup.exe remains from win32util/Configure
Closes #224
See merge request isc-projects/bind9!1000
Ondřej Surý [Thu, 8 Nov 2018 18:48:52 +0000 (01:48 +0700)]
Remove isc-hmac-fixup.exe remains from win32util/Configure
Ondřej Surý [Thu, 8 Nov 2018 07:03:07 +0000 (02:03 -0500)]
Merge branch '305-misc-fixes' into 'master'
Miscellaneous style fixes - implicit casts to bool and uninitialized variables fixes
Closes #305
See merge request isc-projects/bind9!851
Ondřej Surý [Thu, 8 Nov 2018 05:19:00 +0000 (12:19 +0700)]
Remove dummy ISLOCKED macro
Ondřej Surý [Wed, 7 Nov 2018 08:00:07 +0000 (15:00 +0700)]
Hint the compiler with ISC_UNREACHABLE(); that code after INSIST(0); cannot be reached
Ondřej Surý [Wed, 24 Oct 2018 18:00:46 +0000 (20:00 +0200)]
Modify the dbversion_test.c to detect disabled assertions
Ondřej Surý [Wed, 24 Oct 2018 14:28:55 +0000 (16:28 +0200)]
Add extra return failure after INSIST(0) in default branch
Ondřej Surý [Wed, 24 Oct 2018 14:28:21 +0000 (16:28 +0200)]
Use larger buffers on snprintf buffer overflow false positives
Ondřej Surý [Sat, 13 Oct 2018 10:10:43 +0000 (12:10 +0200)]
Don't assert on failed getrlimit call to allow called to handle this gracefully as it already does, just abort where we need to know the numbers