]>
git.ipfire.org Git - thirdparty/bind9.git/log
Witold Kręcicki [Thu, 25 Oct 2018 12:41:59 +0000 (12:41 +0000)]
Switch from privileged to un-privileged mode under lock
Witold Kręcicki [Thu, 25 Oct 2018 06:31:53 +0000 (06:31 +0000)]
Document isc_task_sendto properly, make sure that cpu we're sending to is always sane
Witold Kręcicki [Thu, 25 Oct 2018 06:27:24 +0000 (06:27 +0000)]
Use proper memory ordering for tasks_running/tasks_ready
Witold Kręcicki [Tue, 23 Oct 2018 09:39:56 +0000 (09:39 +0000)]
Comment about taskmgr exclusive mode, fix a REQUIRE.
Witold Kręcicki [Tue, 23 Oct 2018 09:03:31 +0000 (09:03 +0000)]
Allow slight over-quota in'checking lame server clients are dropped at the soft limit' test
Witold Kręcicki [Tue, 23 Oct 2018 08:47:44 +0000 (08:47 +0000)]
Saner exclusive task handling in taskmgr
Witold Kręcicki [Tue, 23 Oct 2018 08:20:17 +0000 (08:20 +0000)]
Formatting
Witold Kręcicki [Mon, 22 Oct 2018 11:18:45 +0000 (11:18 +0000)]
Get rid of isc_taskmgr_setmode, we only use it to set privileged mode
Witold Kręcicki [Mon, 22 Oct 2018 10:57:05 +0000 (10:57 +0000)]
Make sure all priority tasks are done before entering normal execution
Witold Kręcicki [Mon, 22 Oct 2018 12:26:27 +0000 (12:26 +0000)]
Post shutting down tasks always to manager 0
Witold Kręcicki [Mon, 22 Oct 2018 09:37:17 +0000 (09:37 +0000)]
Separate structure for each thread/queue; 2-phase-locking for exclusive tasks
Witold Kręcicki [Fri, 19 Oct 2018 10:13:20 +0000 (10:13 +0000)]
Always restart dispatchers on empty readyq
Witold Kręcicki [Thu, 18 Oct 2018 18:16:25 +0000 (18:16 +0000)]
Taskmgr shutdown fixes
Witold Kręcicki [Thu, 11 Oct 2018 13:39:04 +0000 (13:39 +0000)]
Multiple worker queues
Witold Krecicki [Wed, 3 Oct 2018 21:20:22 +0000 (23:20 +0200)]
isc_thread_setaffinity()
Evan Hunt [Tue, 6 Nov 2018 06:18:32 +0000 (01:18 -0500)]
Merge branch 'rndc-nta-preen' into 'master'
Fixes for `rndc nta` user interface
See merge request isc-projects/bind9!845
Evan Hunt [Thu, 4 Oct 2018 20:39:48 +0000 (13:39 -0700)]
CHANGES, release note
Tony Finch [Tue, 6 Dec 2016 14:32:47 +0000 (14:32 +0000)]
Fixes for `rndc nta` user interface
Tell the user explicitly about their mistakes:
* Unknown options, e.g. -list instead of -dump
or -delete instead of -remove.
* Unknown view names.
* Excess arguments.
Include the view name in `rndc nta -dump` output, for consistency with
the NTA add and remove actions.
When removing an NTA from all views, do not abort with an error if the
NTA was not found in one of the views.
Mark Andrews [Tue, 6 Nov 2018 05:58:22 +0000 (00:58 -0500)]
Merge branch '653-idnout-only-on-tty' into 'master'
Enable idnout output only on tty, disable it when the stdout is not a tty
Closes #653
See merge request isc-projects/bind9!973
Ondřej Surý [Tue, 6 Nov 2018 04:55:57 +0000 (11:55 +0700)]
Add CHANGES entry for GL #653
Ondřej Surý [Tue, 6 Nov 2018 04:53:31 +0000 (11:53 +0700)]
Add release notes for IDN processing update
Ondřej Surý [Tue, 6 Nov 2018 04:46:25 +0000 (11:46 +0700)]
Update the IDN documentation for nslookup
Ondřej Surý [Tue, 6 Nov 2018 04:45:13 +0000 (11:45 +0700)]
Change the dig documentation
Ondřej Surý [Sat, 3 Nov 2018 19:41:33 +0000 (02:41 +0700)]
Update the idna tests for the new non-tty defaults
Ondřej Surý [Sat, 3 Nov 2018 19:20:41 +0000 (02:20 +0700)]
Enable IDN processing (both idnin and idnout) only on tty, disable it when the stdout is not a tty
Mark Andrews [Tue, 6 Nov 2018 05:38:06 +0000 (00:38 -0500)]
Merge branch '601-build-option-with-python-should-default-to-yes' into 'master'
Resolve "Build option --with-python should default to yes"
Closes #601
See merge request isc-projects/bind9!980
Mark Andrews [Tue, 6 Nov 2018 04:35:02 +0000 (15:35 +1100)]
require python to be explicitly disabled
Mark Andrews [Tue, 6 Nov 2018 00:29:23 +0000 (19:29 -0500)]
Merge branch 'u/fanf2/deprecate-ip6-int' into 'master'
Abolish ip6.int support in `dig` and `mdig`
See merge request isc-projects/bind9!969
Mark Andrews [Tue, 6 Nov 2018 00:19:03 +0000 (11:19 +1100)]
add CHANGES note
Tony Finch [Fri, 2 Nov 2018 14:23:01 +0000 (14:23 +0000)]
Abolish ip6.int support in `dig` and `mdig`
Mark Andrews [Mon, 5 Nov 2018 23:18:37 +0000 (18:18 -0500)]
Merge branch '617-if-rrl-is-configured-the-require-server-cookie-yes-is-ignored' into 'master'
Resolve "If RRL is configured the "require-server-cookie yes;" is ignored."
Closes #617
See merge request isc-projects/bind9!974
Mark Andrews [Mon, 5 Nov 2018 05:01:40 +0000 (16:01 +1100)]
add CHANGES note
Mark Andrews [Mon, 5 Nov 2018 04:55:19 +0000 (15:55 +1100)]
test require-server-cookie with rate-limit
Mark Andrews [Mon, 5 Nov 2018 01:33:54 +0000 (12:33 +1100)]
check requireservercookie even if rrl is configured
Mark Andrews [Mon, 5 Nov 2018 23:03:05 +0000 (18:03 -0500)]
Merge branch '634-unchecked-returns-in-resolver-c' into 'master'
Resolve "Unchecked returns in resolver.c"
Closes #634
See merge request isc-projects/bind9!929
Mark Andrews [Mon, 29 Oct 2018 07:04:54 +0000 (18:04 +1100)]
two dns_name_dup calls were not checked
Ondřej Surý [Mon, 5 Nov 2018 20:05:48 +0000 (15:05 -0500)]
Merge branch '645-fix-missing-buffer-init' into 'master'
dighost.c: after invalidating buffer we need to reinit it
Closes #645
See merge request isc-projects/bind9!976
Witold Kręcicki [Mon, 5 Nov 2018 18:59:44 +0000 (18:59 +0000)]
dighost.c: after invalidating buffer we need to reinit it
Witold Krecicki [Mon, 5 Nov 2018 10:06:32 +0000 (05:06 -0500)]
Merge branch '16-cleanup-finds-before-sending-final-query' into 'master'
Cleanup fctx->finds before sending 'final' query after qname minimization.
Closes #16
See merge request isc-projects/bind9!962
Witold Kręcicki [Wed, 31 Oct 2018 11:23:57 +0000 (11:23 +0000)]
Cleanup fctx->finds before sending 'final' query after qname minimization.
At the beginning of qname minimization we get fctx->finds filled with what's
in the cache at this point, in worst case root servers. After doing full
run querying for NSes at different levels we need to clean it and refill
it with proper values from cache.
Evan Hunt [Fri, 2 Nov 2018 18:35:54 +0000 (14:35 -0400)]
Merge branch 'fix-dnstap-test' into 'master'
disable QNAME minimization in the dnstap test so packet counts will be correct
See merge request isc-projects/bind9!971
Evan Hunt [Fri, 2 Nov 2018 18:34:27 +0000 (11:34 -0700)]
disable QNAME minimization in the dnstap test so packet counts will be correct
Evan Hunt [Fri, 2 Nov 2018 18:00:12 +0000 (14:00 -0400)]
Merge branch 'wpk-qmin-intermittent-fixes' into 'master'
Avoid a race in qmin test
See merge request isc-projects/bind9!954
Witold Kręcicki [Tue, 30 Oct 2018 14:51:33 +0000 (14:51 +0000)]
Avoid a race in qmin test
Mark Andrews [Fri, 2 Nov 2018 02:26:46 +0000 (22:26 -0400)]
Merge branch 'u/fanf2/configure-backtrace' into 'master'
Correctly report backtrace support when `configure` finishes
See merge request isc-projects/bind9!967
Mark Andrews [Fri, 2 Nov 2018 02:09:04 +0000 (13:09 +1100)]
regen
Tony Finch [Thu, 1 Nov 2018 13:43:44 +0000 (13:43 +0000)]
Correctly report backtrace support when `configure` finishes
Michał Kępień [Wed, 31 Oct 2018 13:26:42 +0000 (09:26 -0400)]
Merge branch '611-extend-serve-stale-tests' into 'master'
Extend serve-stale tests
Closes #611
See merge request isc-projects/bind9!963
Michał Kępień [Mon, 22 Oct 2018 13:26:45 +0000 (15:26 +0200)]
Check serve-stale behavior with a cold cache
Ensure that serve-stale works as expected when returning stale answers
is enabled, the authoritative server does not respond, and there is no
cached answer available.
Michał Kępień [Mon, 22 Oct 2018 13:26:45 +0000 (15:26 +0200)]
Check TTL of stale answers
Make sure that stale answers returned when the serve-stale feature is
enabled have a TTL matching the value of the stale-answer-ttl setting.
Witold Krecicki [Wed, 31 Oct 2018 12:57:08 +0000 (08:57 -0400)]
Merge branch 'wpk-get-rid-of-socket-v-functions' into 'master'
Get rid of socket *v functions
See merge request isc-projects/bind9!932
Michał Kępień [Wed, 31 Oct 2018 12:46:52 +0000 (13:46 +0100)]
[squash] Rework code preparing a HTTP response for sending in lib/isc/httpd.c
Witold Kręcicki [Tue, 30 Oct 2018 14:27:08 +0000 (14:27 +0000)]
CHANGES entry
Witold Kręcicki [Fri, 26 Oct 2018 19:07:24 +0000 (19:07 +0000)]
Remove vector socket functions from Unix socket code and library headers
Remove the following functions in order to simplify socket code:
- isc_socket_recvv()
- isc_socket_sendtov()
- isc_socket_sendtov2()
- isc_socket_sendv()
Witold Kręcicki [Mon, 29 Oct 2018 09:16:26 +0000 (09:16 +0000)]
Remove vector socket functions from Windows socket code
Remove the following functions in order to simplify socket code:
- isc_socket_recvv()
- isc_socket_sendtov()
- isc_socket_sendtov2()
- isc_socket_sendv()
Witold Kręcicki [Mon, 29 Oct 2018 09:15:42 +0000 (09:15 +0000)]
Do not use vector socket functions in diagnostic tools
Refactor diagnostic tools code to no longer use:
- isc_socket_recvv()
- isc_socket_sendtov2()
- isc_socket_sendv()
as these functions will be removed shortly.
Witold Kręcicki [Fri, 26 Oct 2018 19:07:41 +0000 (19:07 +0000)]
Do not use vector socket functions in HTTP server code
Refactor code in lib/isc/httpd.c to no longer use isc_socket_sendv() as
this function will be removed shortly.
Mark Andrews [Wed, 31 Oct 2018 05:28:46 +0000 (01:28 -0400)]
Merge branch '649-resolver-test-failing' into 'master'
Resolve "resolver test failing"
Closes #649
See merge request isc-projects/bind9!959
Mark Andrews [Wed, 31 Oct 2018 05:14:43 +0000 (16:14 +1100)]
use new packet for response; rename variable to request and response
Witold Krecicki [Tue, 30 Oct 2018 19:17:02 +0000 (15:17 -0400)]
Merge branch 'wpk-fix-catz-test-race' into 'master'
catz test: wait for dom8.example to be transferred before checking its availability
See merge request isc-projects/bind9!946
Witold Kręcicki [Tue, 30 Oct 2018 12:15:19 +0000 (13:15 +0100)]
Fix style in catz test
Witold Kręcicki [Tue, 30 Oct 2018 10:52:27 +0000 (11:52 +0100)]
catz test: wait for dom8.example to be transferred before checking its availability
Evan Hunt [Tue, 30 Oct 2018 17:51:13 +0000 (13:51 -0400)]
Merge branch '647-config-h' into 'master'
remove config.h references
Closes #647
See merge request isc-projects/bind9!958
Evan Hunt [Tue, 30 Oct 2018 17:42:41 +0000 (10:42 -0700)]
remove config.h references
Evan Hunt [Tue, 30 Oct 2018 15:07:53 +0000 (11:07 -0400)]
Merge branch 'silence-warning' into 'master'
silence warning from missing print.h
See merge request isc-projects/bind9!955
Evan Hunt [Tue, 30 Oct 2018 15:06:34 +0000 (08:06 -0700)]
silence warning from missing print.h
Ondřej Surý [Tue, 30 Oct 2018 13:02:02 +0000 (09:02 -0400)]
Merge branch '84-destroy-task-first-when-destroying-rpzs' into 'master'
Destroy updater task first when destroying rpzs.
Closes #84
See merge request isc-projects/bind9!944
Witold Kręcicki [Tue, 30 Oct 2018 07:14:57 +0000 (07:14 +0000)]
CHANGES entry
Ondřej Surý [Tue, 30 Oct 2018 12:41:07 +0000 (13:41 +0100)]
Destroy task first when destroying catzs.
When freeing catzs structures we need to kill the updater task first.
Otherwise we might race with the updater and there might be a crash
on shutdown.
Witold Kręcicki [Tue, 30 Oct 2018 07:09:58 +0000 (07:09 +0000)]
Destroy task first when destroying rpzs.
When freeing rpzs structures we need to kill the updater task first.
Otherwise we might race with the updater and there might be a crash
on shutdown.
Michał Kępień [Tue, 30 Oct 2018 12:52:25 +0000 (08:52 -0400)]
Merge branch '644-fix-isc_buffer_copyregion-for-auto-reallocated-buffers' into 'master'
Fix isc_buffer_copyregion() for auto-reallocated buffers
Closes #644
See merge request isc-projects/bind9!949
Michał Kępień [Tue, 30 Oct 2018 12:33:25 +0000 (13:33 +0100)]
Add CHANGES entry
5072. [bug] Add unit tests for isc_buffer_copyregion() and fix its
behavior for auto-reallocated buffers. [GL #644]
Michał Kępień [Tue, 30 Oct 2018 12:33:25 +0000 (13:33 +0100)]
Fix isc_buffer_copyregion() for auto-reallocated buffers
While isc_buffer_copyregion() calls isc_buffer_reserve() to ensure the
target buffer will have enough available space to append the contents of
the source region to it, the variables used for subsequently checking
available space are not updated accordingly after that call. This
prevents isc_buffer_copyregion() from working as expected for
auto-reallocated buffers: ISC_R_NOSPACE will be returned if enough space
is not already available in the target buffer before it is reallocated.
Fix by calling isc_buffer_used() and isc_buffer_availablelength()
directly instead of assigning their return values to local variables.
Michał Kępień [Tue, 30 Oct 2018 12:33:25 +0000 (13:33 +0100)]
Add unit tests for isc_buffer_copyregion()
Add some basic checks for isc_buffer_copyregion() to ensure it behaves
as expected for both fixed-size buffers and buffers which can be
automatically reallocated. Adjust the list of headers included by
lib/isc/tests/buffer_test.c so that it matches what that test program
really uses.
Ondřej Surý [Tue, 30 Oct 2018 11:56:51 +0000 (07:56 -0400)]
Merge branch 'ondrej/cleanup-leftover-fatal' into 'master'
Remove double result check leftover
See merge request isc-projects/bind9!945
Ondřej Surý [Tue, 30 Oct 2018 10:30:40 +0000 (10:30 +0000)]
Remove double result check leftover
Mark Andrews [Tue, 30 Oct 2018 03:59:52 +0000 (23:59 -0400)]
Merge branch '631-dns_rdata_compare-for-nxt-performs-case-sensitive-name-comparison' into 'master'
Resolve "dns_rdata_compare() for NXT performs case sensitive name comparison"
Closes #631
See merge request isc-projects/bind9!917
Mark Andrews [Fri, 26 Oct 2018 06:28:09 +0000 (17:28 +1100)]
add CHANGES note
Mark Andrews [Fri, 26 Oct 2018 06:23:22 +0000 (17:23 +1100)]
compare_nxt compared records with identical next fields case insensitively
Mark Andrews [Tue, 30 Oct 2018 00:11:22 +0000 (20:11 -0400)]
Merge branch '638-record-types-with-empty-rdata-fields-were-not-being-handled-correctly' into 'master'
Resolve "Record types with empty rdata fields were not being handled correctly."
Closes #638
See merge request isc-projects/bind9!919
Mark Andrews [Mon, 29 Oct 2018 23:40:31 +0000 (10:40 +1100)]
document eol
Mark Andrews [Fri, 26 Oct 2018 22:58:23 +0000 (09:58 +1100)]
Record types which support a empty rdata field were not handling the empty rdata field case.
Witold Krecicki [Mon, 29 Oct 2018 22:12:09 +0000 (18:12 -0400)]
Merge branch 'wpk-fix-race-in-rpz-with-min-update-interval-0' into 'master'
Fix a race in RPZ with min-update-interval set to 0
Closes #643
See merge request isc-projects/bind9!907
Witold Kręcicki [Mon, 29 Oct 2018 22:03:51 +0000 (23:03 +0100)]
<stdlib.h> include in rpz.c for strtoul
Michał Kępień [Mon, 29 Oct 2018 21:29:31 +0000 (22:29 +0100)]
Release all resources when shutting down an RPZ zone during an update
If an RPZ zone is to be freed during an update, canceling the
update_quantum() event is not enough because the resources released when
an update completes also need to be accounted for. Failure to do this
results in a hang upon shutdown. Fix by copying cleanup code from the
end of update_quantum() to rpz_detach().
Witold Kręcicki [Thu, 25 Oct 2018 18:49:28 +0000 (18:49 +0000)]
Fix a race in RPZ with min-update-interval set to 0
If another RPZ update is pending when processing the previous one nears
completion and min-update-interval is set to 0, isc_timer_reset() gets
called with 'interval' set to 0, which triggers an assertion failure.
To prevent such a scenario from causing a crash, queue the update event
directly instead of asking the timer thread to do it.
Witold Krecicki [Mon, 29 Oct 2018 19:31:00 +0000 (15:31 -0400)]
Merge branch '361-forwarding-qname-minimization' into 'master'
Resolve "Issue With MR 253 QNAME Minimization"
Closes #361 and #583
See merge request isc-projects/bind9!933
Witold Kręcicki [Mon, 29 Oct 2018 19:21:29 +0000 (19:21 +0000)]
Changes
Witold Kręcicki [Mon, 29 Oct 2018 19:21:23 +0000 (19:21 +0000)]
Style nits
Witold Kręcicki [Mon, 29 Oct 2018 14:25:19 +0000 (14:25 +0000)]
Don't do qname minimization when forwarding; Avoid some intermittent errors in qmin tests caused by timing
Witold Kręcicki [Mon, 29 Oct 2018 12:39:33 +0000 (12:39 +0000)]
Test for #361 - forwarding breaks with qname minimization
Evan Hunt [Mon, 29 Oct 2018 18:35:23 +0000 (14:35 -0400)]
Merge branch '642-missing-include' into 'master'
added stdatomic.h and md.h
Closes #642
See merge request isc-projects/bind9!936
Evan Hunt [Mon, 29 Oct 2018 18:26:38 +0000 (11:26 -0700)]
added stdatomic.h and md.h
Evan Hunt [Mon, 29 Oct 2018 16:41:35 +0000 (12:41 -0400)]
Merge branch '641-unquoted-rpz' into 'master'
allow unquoted response-policy zone names
Closes #641
See merge request isc-projects/bind9!926
Evan Hunt [Mon, 29 Oct 2018 06:25:46 +0000 (23:25 -0700)]
allow unquoted response-policy zone names
Mark Andrews [Mon, 29 Oct 2018 07:21:26 +0000 (03:21 -0400)]
Merge branch '635-unchecked-return-in-query-c' into 'master'
Resolve "unchecked return in query.c"
Closes #635
See merge request isc-projects/bind9!925
Mark Andrews [Mon, 29 Oct 2018 06:21:33 +0000 (17:21 +1100)]
always call RUNTIME_CHECK(result == ISC_R_SUCCESS); for dns_rdata_tostruct
Mark Andrews [Mon, 29 Oct 2018 06:25:37 +0000 (02:25 -0400)]
Merge branch '553-socket-c-2171-unexpected-error' into 'master'
Resolve "socket.c:2171: unexpected error"
Closes #553
See merge request isc-projects/bind9!924
Mark Andrews [Mon, 29 Oct 2018 05:49:33 +0000 (16:49 +1100)]
Only set IPV6_USE_MIN_MTU on IPv6.
Mark Andrews [Mon, 29 Oct 2018 05:25:05 +0000 (01:25 -0400)]
Merge branch '624-lib-dns-dnstap_test-totext-does-not-work-well-with-softhsm-pkcs11' into 'master'
Resolve "lib/dns/dnstap_test:totext does not work well with SoftHSM PKCS11"
Closes #624
See merge request isc-projects/bind9!921