Mark Andrews
00f377da93
add CHANGES note
2018-11-06 11:19:03 +11:00
Tony Finch
3064d3d0ef
Abolish ip6.int support in dig and mdig
2018-11-05 19:07:31 -05:00
Mark Andrews
ae0160c33b
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
2018-11-05 18:18:37 -05:00
Mark Andrews
a868f335d2
add CHANGES note
2018-11-06 10:10:04 +11:00
Mark Andrews
164370102a
test require-server-cookie with rate-limit
2018-11-06 10:10:04 +11:00
Mark Andrews
d6f6eeda9d
check requireservercookie even if rrl is configured
2018-11-06 10:10:04 +11:00
Mark Andrews
56603265ee
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
2018-11-05 18:03:05 -05:00
Mark Andrews
99b25eb379
two dns_name_dup calls were not checked
2018-11-05 14:46:08 -08:00
Ondřej Surý
ce5ac790bb
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
2018-11-05 15:05:48 -05:00
Witold Kręcicki
b2f8f37b80
dighost.c: after invalidating buffer we need to reinit it
2018-11-05 18:59:44 +00:00
Witold Krecicki
ae5c86ba9a
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
2018-11-05 05:06:32 -05:00
Witold Kręcicki
2d0a33208c
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.
2018-11-05 09:57:11 +00:00
Evan Hunt
d88efa7e40
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
2018-11-02 14:35:54 -04:00
Evan Hunt
fc99651d7d
disable QNAME minimization in the dnstap test so packet counts will be correct
2018-11-02 11:34:27 -07:00
Evan Hunt
9e61693210
Merge branch 'wpk-qmin-intermittent-fixes' into 'master'
...
Avoid a race in qmin test
See merge request isc-projects/bind9!954
2018-11-02 14:00:12 -04:00
Witold Kręcicki
9163e93b9e
Avoid a race in qmin test
2018-11-02 13:51:31 -04:00
Mark Andrews
b4baa3e751
Merge branch 'u/fanf2/configure-backtrace' into 'master'
...
Correctly report backtrace support when `configure` finishes
See merge request isc-projects/bind9!967
2018-11-01 22:26:46 -04:00
Mark Andrews
c94bd140e3
regen
2018-11-02 13:09:04 +11:00
Tony Finch
f09c3a1189
Correctly report backtrace support when configure finishes
2018-11-01 13:45:34 +00:00
Michał Kępień
97bb9b2be9
Merge branch '611-extend-serve-stale-tests' into 'master'
...
Extend serve-stale tests
Closes #611
See merge request isc-projects/bind9!963
2018-10-31 09:26:42 -04:00
Michał Kępień
27cfe83a38
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.
2018-10-31 14:08:09 +01:00
Michał Kępień
893ab37ce7
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.
2018-10-31 14:08:09 +01:00
Witold Krecicki
3290daa939
Merge branch 'wpk-get-rid-of-socket-v-functions' into 'master'
...
Get rid of socket *v functions
See merge request isc-projects/bind9!932
2018-10-31 08:57:08 -04:00
Michał Kępień
0e979358ee
[squash] Rework code preparing a HTTP response for sending in lib/isc/httpd.c
2018-10-31 13:46:52 +01:00
Witold Kręcicki
0e356d6a4a
CHANGES entry
2018-10-31 12:12:53 +01:00
Witold Kręcicki
54b9690a4e
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()
2018-10-31 12:12:53 +01:00
Witold Kręcicki
76ec6861e5
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()
2018-10-31 12:12:53 +01:00
Witold Kręcicki
428daba5ce
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.
2018-10-31 12:12:53 +01:00
Witold Kręcicki
07eebc42e4
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.
2018-10-31 12:12:50 +01:00
Mark Andrews
3b6f9db3fb
Merge branch '649-resolver-test-failing' into 'master'
...
Resolve "resolver test failing"
Closes #649
See merge request isc-projects/bind9!959
2018-10-31 01:28:46 -04:00
Mark Andrews
280d0ca507
use new packet for response; rename variable to request and response
2018-10-31 16:14:43 +11:00
Witold Krecicki
5794c78159
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
2018-10-30 15:17:02 -04:00
Witold Kręcicki
67f824434f
Fix style in catz test
2018-10-30 19:08:11 +00:00
Witold Kręcicki
ce47ca8c6b
catz test: wait for dom8.example to be transferred before checking its availability
2018-10-30 19:08:11 +00:00
Evan Hunt
05bf7e4e3e
Merge branch '647-config-h' into 'master'
...
remove config.h references
Closes #647
See merge request isc-projects/bind9!958
2018-10-30 13:51:13 -04:00
Evan Hunt
b27630a130
remove config.h references
2018-10-30 10:42:41 -07:00
Evan Hunt
1ac7058a0f
Merge branch 'silence-warning' into 'master'
...
silence warning from missing print.h
See merge request isc-projects/bind9!955
2018-10-30 11:07:53 -04:00
Evan Hunt
a0de6707c0
silence warning from missing print.h
2018-10-30 08:06:34 -07:00
Ondřej Surý
29e7501bef
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
2018-10-30 09:02:02 -04:00
Witold Kręcicki
19c4fe93c4
CHANGES entry
2018-10-30 14:01:24 +01:00
Ondřej Surý
c1d111cd2e
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.
2018-10-30 14:01:01 +01:00
Witold Kręcicki
541872bf3b
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.
2018-10-30 14:01:01 +01:00
Michał Kępień
faa52a704f
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
2018-10-30 08:52:25 -04:00
Michał Kępień
07050fb49a
Add CHANGES entry
...
5072. [bug] Add unit tests for isc_buffer_copyregion() and fix its
behavior for auto-reallocated buffers. [GL #644 ]
2018-10-30 13:33:25 +01:00
Michał Kępień
e1f0aed034
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.
2018-10-30 13:33:25 +01:00
Michał Kępień
15440d8027
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.
2018-10-30 13:33:25 +01:00
Ondřej Surý
0c23a3b0c0
Merge branch 'ondrej/cleanup-leftover-fatal' into 'master'
...
Remove double result check leftover
See merge request isc-projects/bind9!945
2018-10-30 07:56:51 -04:00
Ondřej Surý
065ff16e40
Remove double result check leftover
2018-10-30 10:30:40 +00:00
Mark Andrews
503e9b70cf
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
2018-10-29 23:59:52 -04:00
Mark Andrews
921bc89f59
add CHANGES note
2018-10-30 14:51:39 +11:00