]>
git.ipfire.org Git - thirdparty/bind9.git/log
Mark Andrews [Wed, 9 Jan 2019 08:46:43 +0000 (03:46 -0500)]
Merge branch '784-bind-9-12-3-p1-fatal-error' into 'master'
Resolve "bind 9.12.3-P1 fatal error"
Closes #784
See merge request isc-projects/bind9!1283
Mark Andrews [Thu, 27 Dec 2018 02:47:08 +0000 (13:47 +1100)]
add CHANGES
Mark Andrews [Thu, 27 Dec 2018 02:44:16 +0000 (13:44 +1100)]
update refreshkeytime
Mark Andrews [Wed, 9 Jan 2019 07:58:23 +0000 (02:58 -0500)]
Merge branch 'marka-maybe_numeric-and-nul' into 'master'
maybe_numeric failed to handle NUL in text region.
Closes #807
See merge request isc-projects/bind9!1319
Mark Andrews [Fri, 4 Jan 2019 04:22:25 +0000 (15:22 +1100)]
maybe_numeric failed to handle NUL in text region.
Mark Andrews [Wed, 9 Jan 2019 07:27:37 +0000 (02:27 -0500)]
Merge branch 'marka-fail-when-required-field-is-missing' into 'master'
Ensure base64/base32/hex fields in DNS records that should be non-empty are.
See merge request isc-projects/bind9!1318
Mark Andrews [Fri, 4 Jan 2019 04:20:04 +0000 (15:20 +1100)]
Ensure base64/base32/hex fields in DNS records that should be non-empty are.
Mark Andrews [Wed, 9 Jan 2019 05:06:30 +0000 (00:06 -0500)]
Merge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache-and-eventually-formerr-instead-of-nxdomain' into 'master'
Resolve "Large NSEC3 responses cause failure in adding records to ncache and, eventually, FORMERR (instead of NXDOMAIN)"
Closes #804
See merge request isc-projects/bind9!1295
Mark Andrews [Thu, 3 Jan 2019 05:11:19 +0000 (16:11 +1100)]
add CHANGES entry
Mark Andrews [Thu, 3 Jan 2019 05:08:39 +0000 (16:08 +1100)]
allow for up 100 records or 64K of data to be in a ncache entry
Mark Andrews [Wed, 9 Jan 2019 04:39:42 +0000 (23:39 -0500)]
Merge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache-and-eventually-formerr-instead-of-nxdomain-2' into 'master'
Resolve "Large NSEC3 responses cause failure in adding records to ncache and, eventually, FORMERR (instead of NXDOMAIN)"
Closes #804
See merge request isc-projects/bind9!1298
Mark Andrews [Wed, 9 Jan 2019 04:07:40 +0000 (15:07 +1100)]
add CHANGES
Mark Andrews [Mon, 7 Jan 2019 03:05:43 +0000 (14:05 +1100)]
explictly convert ISC_R_NOSPACE from dns_message_parse to DNS_R_FORMERR and remove from dns_result_torcode
Evan Hunt [Wed, 9 Jan 2019 04:15:40 +0000 (23:15 -0500)]
Merge branch '812-cookie-test-failed' into 'master'
Resolve "cookie test failed."
Closes #812
See merge request isc-projects/bind9!1300
Mark Andrews [Mon, 7 Jan 2019 04:18:46 +0000 (15:18 +1100)]
wait longer for dump to complete
Ondřej Surý [Tue, 8 Jan 2019 13:57:13 +0000 (08:57 -0500)]
Merge branch 'ondrej/disable-CI-in-release-branches' into 'master'
Run the regular pipelines only for merge requests, and run only the Debian sid...
See merge request isc-projects/bind9!1309
Ondřej Surý [Tue, 8 Jan 2019 13:23:51 +0000 (14:23 +0100)]
Run the regular pipelines only for merge requests, and run only the Debian sid build for release branches
Michał Kępień [Tue, 8 Jan 2019 10:57:10 +0000 (05:57 -0500)]
Merge branch '692-dig-fix-cleanup-upon-an-error-before-tcp-socket-creation' into 'master'
Fix cleanup upon an error before TCP socket creation
Closes #692
See merge request isc-projects/bind9!1100
Michał Kępień [Tue, 8 Jan 2019 10:17:39 +0000 (11:17 +0100)]
Add CHANGES entry
5123. [bug] dig could hang indefinitely after encountering an error
before creating a TCP socket. [GL #692]
Michał Kępień [Tue, 8 Jan 2019 10:17:39 +0000 (11:17 +0100)]
Fix cleanup upon an error before TCP socket creation
When a query times out after a socket is created and associated with a
given dig_query_t structure, calling isc_socket_cancel() causes
connect_done() to be run, which in turn takes care of all necessary
cleanups. However, certain errors (e.g. get_address() returning
ISC_R_FAMILYNOSUPPORT) may prevent a TCP socket from being created in
the first place. Since force_timeout() may be used in code handling
such errors, connect_timeout() needs to properly clean up a TCP query
which is not associated with any socket. Call clear_query() from
connect_timeout() after attempting to send a TCP query to the next
available server if the timed out query does not have a socket
associated with it, in order to prevent dig from hanging indefinitely
due to the dig_query_t structure not being detached from its parent
dig_lookup_t structure.
Michał Kępień [Tue, 8 Jan 2019 10:17:39 +0000 (11:17 +0100)]
Refactor code sending a query to the next server upon a timeout
When a query times out and another server is available for querying
within the same lookup, the timeout handler - connect_timeout() - is
responsible for sending the query to the next server. Extract the
relevant part of connect_timeout() to a separate function in order to
improve code readability.
Michał Kępień [Tue, 8 Jan 2019 10:17:39 +0000 (11:17 +0100)]
Remove dead code handling address family mismatches for TCP sockets
Before commit
c2ec022f5784a2ff844f7d062c2022197dc4ad09 , using the "-b"
command line switch for dig did not disable use of the other address
family than the one to which the address supplied to that option
belonged to. Thus, bind9_getaddresses() could e.g. prepare an
isc_sockaddr_t structure for an IPv6 address when an IPv4 address has
been passed to the "-b" command line option. To avoid attempting the
impossible (e.g. querying an IPv6 address from a socket bound to an IPv4
address), a certain code block in send_tcp_connect() checked whether the
address family of the server to be queried was the same as the address
family of the socket set up for sending that query; if there was a
mismatch, that particular server address was skipped.
Commit
c2ec022f5784a2ff844f7d062c2022197dc4ad09 made
bind9_getaddresses() fail upon an address family mismatch between the
address the hostname passed to it resolved to and the address supplied
to the "-b" command line option. Such failures were fatal to dig back
then.
Commit
7f658603910358db7ee27ffb9783096250afab62 made
bind9_getaddresses() failures non-fatal, but also ensured that a
get_address() failure in send_tcp_connect() still causes the given query
address to be skipped (and also made such failures trigger an early
return from send_tcp_connect()).
Summing up, the code block handling address family mismatches in
send_tcp_connect() has been redundant since commit
c2ec022f5784a2ff844f7d062c2022197dc4ad09 . Remove it.
Michał Kępień [Tue, 8 Jan 2019 10:00:03 +0000 (05:00 -0500)]
Merge branch '315-track-forwarder-timeouts-in-fetch-contexts' into 'master'
Track forwarder timeouts in fetch contexts
Closes #315
See merge request isc-projects/bind9!826
Michał Kępień [Tue, 8 Jan 2019 07:29:54 +0000 (08:29 +0100)]
Add CHANGES entry
5122. [bug] In a "forward first;" configuration, a forwarder
timeout did not prevent that forwarder from being
queried again after falling back to full recursive
resolution. [GL #315]
Michał Kępień [Tue, 8 Jan 2019 07:29:54 +0000 (08:29 +0100)]
Track forwarder timeouts in fetch contexts
Since following a delegation resets most fetch context state, address
marks (FCTX_ADDRINFO_MARK) set inside lib/dns/resolver.c are not
preserved when a delegation is followed. This is fine for full
recursive resolution but when named is configured with "forward first;"
and one of the specified forwarders times out, triggering a fallback to
full recursive resolution, that forwarder should no longer be consulted
at each delegation point subsequently reached within a given fetch
context.
Add a new badnstype_t enum value, badns_forwarder, and use it to mark a
forwarder as bad when it times out in a "forward first;" configuration.
Since the bad server list is not cleaned when a fetch context follows a
delegation, this prevents a forwarder from being queried again after
falling back to full recursive resolution. Yet, as each fetch context
maintains its own list of bad servers, this change does not cause a
forwarder timeout to prevent that forwarder from being used by other
fetch contexts.
Mark Andrews [Mon, 7 Jan 2019 04:06:13 +0000 (23:06 -0500)]
Merge branch 'marka-fix-stub_dlz_allowzonexfr' into 'master'
return ISC_R_NOTFOUND when name does not match the zone name
See merge request isc-projects/bind9!1299
Mark Andrews [Mon, 7 Jan 2019 03:38:48 +0000 (14:38 +1100)]
add CHANGES
Mark Andrews [Wed, 2 Jan 2019 02:37:31 +0000 (13:37 +1100)]
return ISC_R_NOTFOUND when name does not match the zone name
Evan Hunt [Thu, 3 Jan 2019 19:10:30 +0000 (14:10 -0500)]
Merge branch 'placeholder' into 'master'
placeholder
See merge request isc-projects/bind9!1297
Evan Hunt [Thu, 3 Jan 2019 19:10:05 +0000 (11:10 -0800)]
placeholder
Evan Hunt [Thu, 3 Jan 2019 01:30:47 +0000 (20:30 -0500)]
Merge branch 'placeholder' into 'master'
placeholder
See merge request isc-projects/bind9!1294
Evan Hunt [Thu, 3 Jan 2019 01:30:18 +0000 (17:30 -0800)]
placeholder
Mark Andrews [Wed, 2 Jan 2019 00:41:35 +0000 (19:41 -0500)]
Merge branch 'indenting' into 'master'
indenting
See merge request isc-projects/bind9!1286
Mark Andrews [Tue, 1 Jan 2019 23:11:51 +0000 (10:11 +1100)]
indenting
Mark Andrews [Tue, 1 Jan 2019 23:53:45 +0000 (18:53 -0500)]
Merge branch 'copyrights' into 'master'
update copyrights
See merge request isc-projects/bind9!1287
Mark Andrews [Tue, 1 Jan 2019 23:20:43 +0000 (10:20 +1100)]
update copyrights
Mark Andrews [Thu, 27 Dec 2018 01:38:21 +0000 (20:38 -0500)]
Merge branch 'marka-readme-typo' into 'master'
fix typo in readme
See merge request isc-projects/bind9!1282
Mark Andrews [Thu, 27 Dec 2018 01:37:11 +0000 (12:37 +1100)]
s/now/no/
Evan Hunt [Thu, 20 Dec 2018 23:38:02 +0000 (18:38 -0500)]
Merge branch 'placeholder' into 'master'
placeholder
See merge request isc-projects/bind9!1277
Evan Hunt [Thu, 20 Dec 2018 23:37:18 +0000 (15:37 -0800)]
placeholder
Evan Hunt [Thu, 20 Dec 2018 21:26:49 +0000 (16:26 -0500)]
Merge branch 'placeholder' into 'master'
placeholder
See merge request isc-projects/bind9!1276
Evan Hunt [Thu, 20 Dec 2018 21:26:14 +0000 (13:26 -0800)]
placeholder
Ondřej Surý [Thu, 20 Dec 2018 10:51:39 +0000 (05:51 -0500)]
Merge branch 'ondrej/git-replay-merge-script-update' into 'master'
Update git-replay-merge.sh script
See merge request isc-projects/bind9!1275
Ondřej Surý [Thu, 20 Dec 2018 10:48:41 +0000 (11:48 +0100)]
Update git-replay-merge.sh script
Ondřej Surý [Thu, 20 Dec 2018 09:14:53 +0000 (04:14 -0500)]
Merge branch '768-add-description-to-ldap-schema' into 'master'
Add optional description field to LDAP schema
Closes #768
See merge request isc-projects/bind9!1267
Roland Gruber [Thu, 20 Dec 2018 08:46:32 +0000 (09:46 +0100)]
Add optional description field to LDAP schema
Mark Andrews [Thu, 20 Dec 2018 08:35:29 +0000 (03:35 -0500)]
Merge branch '778-named-checkconf-crashes-in-name-c' into 'master'
Resolve "named-checkconf crashes in name.c"
Closes #778
See merge request isc-projects/bind9!1235
Mark Andrews [Fri, 14 Dec 2018 05:50:46 +0000 (16:50 +1100)]
named-checkconf triggered a assertion when a mirror zone had a bad name
Ondřej Surý [Wed, 19 Dec 2018 23:14:29 +0000 (18:14 -0500)]
Merge branch 'ondrej/flycheck-fix' into 'master'
Fix the cppcheck include path for flycheck
See merge request isc-projects/bind9!1264
Ondřej Surý [Wed, 19 Dec 2018 23:11:46 +0000 (00:11 +0100)]
Fix the cppcheck include path for flycheck
Ondřej Surý [Wed, 19 Dec 2018 23:14:00 +0000 (18:14 -0500)]
Merge branch '787-set-the-clang-define-to-1' into 'master'
__SANITIZE_ADDRESS__ needs to be defined to 1
See merge request isc-projects/bind9!1262
Ondřej Surý [Wed, 19 Dec 2018 21:02:37 +0000 (22:02 +0100)]
__SANITIZE_ADDRESS__ needs to be defined to 1
Ondřej Surý [Wed, 19 Dec 2018 20:50:00 +0000 (15:50 -0500)]
Merge branch 'ondrej/add-emacs-flycheck-mode-configuration' into 'master'
Add emacs flycheck mode configuration
See merge request isc-projects/bind9!1165
Ondřej Surý [Wed, 28 Nov 2018 21:48:29 +0000 (22:48 +0100)]
Add emacs .dir-locals.el settings for flycheck mode
Matthijs Mekking [Wed, 19 Dec 2018 14:10:09 +0000 (09:10 -0500)]
Merge branch '783-dnssec-signzone-unsupported-algorithms' into 'master'
Resolve "Allow unsupported algorithms in zone when not used for signing"
Closes #783
See merge request isc-projects/bind9!1250
Matthijs Mekking [Wed, 19 Dec 2018 13:52:23 +0000 (14:52 +0100)]
Artificial change to retry pipeline
Matthijs Mekking [Wed, 19 Dec 2018 09:16:10 +0000 (10:16 +0100)]
Replace DSA with Reserved algorithm
Matthijs Mekking [Tue, 18 Dec 2018 21:10:32 +0000 (22:10 +0100)]
Update copyrights
Matthijs Mekking [Tue, 18 Dec 2018 21:06:08 +0000 (22:06 +0100)]
Move REQUIRE outside comment unsupported alg
Matthijs Mekking [Tue, 18 Dec 2018 18:58:34 +0000 (19:58 +0100)]
Add DSA key to copyrights
Matthijs Mekking [Tue, 18 Dec 2018 14:36:24 +0000 (15:36 +0100)]
Update changefile
Matthijs Mekking [Tue, 18 Dec 2018 11:14:04 +0000 (12:14 +0100)]
Allow unsupported alg in zone /w dnssec-signzone
dnssec-signzone should sign a zonefile that contains a DNSKEY record
with an unsupported algorithm. Current behavior is that it will
fail, hitting a fatal error. The fix detects unsupported algorithms
and will not try to add it to the keylist.
Also when determining the maximum iterations for NSEC3, don't take
into account DNSKEY records in the zonefile with an unsupported
algorithm.
Matthijs Mekking [Tue, 18 Dec 2018 11:10:05 +0000 (12:10 +0100)]
Add dnssec-signzone tests with unsupported alg
dnssec-signzone should sign a zonefile that contains a DNSKEY record
with an unsupported algorithm.
Ondřej Surý [Wed, 19 Dec 2018 11:48:48 +0000 (06:48 -0500)]
Merge branch '787-use-correct-define' into 'master'
gcc defines __SANITIZE_ADDRESS__ and not __ADDRESS_SANITIZER__, use the correct #define
Closes #787
See merge request isc-projects/bind9!1255
Ondřej Surý [Wed, 19 Dec 2018 11:24:59 +0000 (12:24 +0100)]
gcc defines __SANITIZE_ADDRESS__ and not __ADDRESS_SANITIZER__, use the correct #define
Witold Krecicki [Wed, 19 Dec 2018 11:18:46 +0000 (06:18 -0500)]
Merge branch 'wpk-rndc-reload-in-tests' into 'master'
Add a status line to rndc status notifying that server is being reloaded/reconfigured; use it in tests
See merge request isc-projects/bind9!1149
Witold Kręcicki [Wed, 28 Nov 2018 16:44:29 +0000 (16:44 +0000)]
CHANGES notes
Witold Kręcicki [Tue, 11 Dec 2018 11:59:11 +0000 (12:59 +0100)]
Use rndc_reload in tests, make sure that reload is complete before continuing
Witold Kręcicki [Tue, 11 Dec 2018 11:58:42 +0000 (12:58 +0100)]
Add a status line to rndc status notifying that server is being reloaded/reconfigured
Ondřej Surý [Wed, 19 Dec 2018 09:46:53 +0000 (04:46 -0500)]
Merge branch '787-disable-rtld_deepbind-when-compiled-under-asan' into 'master'
Resolve "RTLD_DEEPBIND and AddressSanitizer aren't compatible"
Closes #787
See merge request isc-projects/bind9!1251
Ondřej Surý [Wed, 19 Dec 2018 08:59:40 +0000 (09:59 +0100)]
Disable RTLD_DEEPBIND when compiled under AddressSanitizer
Ondřej Surý [Wed, 19 Dec 2018 08:54:37 +0000 (09:54 +0100)]
Define __ADDRESS_SANITIZER__ if compiling under clang's AddressSanitizer
Ondřej Surý [Tue, 18 Dec 2018 15:56:21 +0000 (10:56 -0500)]
Merge branch '781-fix-python-check-in-configure-script' into 'master'
Resolve "configure script in BIND 9.13.5 release fails to detect python"
Closes #781
See merge request isc-projects/bind9!1248
Ondřej Surý [Tue, 18 Dec 2018 14:09:24 +0000 (15:09 +0100)]
Add some combinations of --with-python=<path>/--with-python/--without-python to GitLab CI
Ondřej Surý [Tue, 18 Dec 2018 14:05:52 +0000 (15:05 +0100)]
When --with-python is given to configure, use default search list for python binaries instead of 'yes'
Ondřej Surý [Tue, 18 Dec 2018 15:06:01 +0000 (10:06 -0500)]
Merge branch 'ondrej-retry-test-jobs' into 'master'
For system tests, retry twice before failing
See merge request isc-projects/bind9!1249
Ondřej Surý [Tue, 18 Dec 2018 14:33:59 +0000 (15:33 +0100)]
For system tests, retry twice before failing
Witold Krecicki [Tue, 18 Dec 2018 13:57:17 +0000 (08:57 -0500)]
Merge branch 'wpk-separate-common-stuff-conf-sh' into 'master'
Get common stuff out of bin/tests/system/conf.sh.{in,win32} into conf.sh.common
See merge request isc-projects/bind9!1241
Witold Kręcicki [Mon, 17 Dec 2018 09:33:56 +0000 (10:33 +0100)]
Get common stuff out of bin/tests/system/conf.sh.{in,win32} into conf.sh.common
Ondřej Surý [Tue, 18 Dec 2018 13:46:03 +0000 (08:46 -0500)]
Merge branch '782-add-support-for-msys2-in-stop.pl-script' into 'master'
Properly detect msys/msys2 environment in the stop.pl script.
See merge request isc-projects/bind9!1247
Ondřej Surý [Tue, 18 Dec 2018 12:20:10 +0000 (13:20 +0100)]
Properly detect msys/msys2 environment in the stop.pl script.
Ondřej Surý [Tue, 18 Dec 2018 12:29:12 +0000 (07:29 -0500)]
Merge branch '785-fix-posix-shell-autoconf-macro' into 'master'
Break out of loop when first POSIX-compatible shell is found
Closes #785
See merge request isc-projects/bind9!1245
Ondřej Surý [Mon, 17 Dec 2018 21:37:53 +0000 (22:37 +0100)]
Break out of loop when first POSIX-compatible shell is found
Evan Hunt [Mon, 17 Dec 2018 23:14:27 +0000 (18:14 -0500)]
Merge branch 'each-win-fix2' into 'master'
fix windows build error
See merge request isc-projects/bind9!1246
Evan Hunt [Mon, 17 Dec 2018 22:09:11 +0000 (14:09 -0800)]
CHANGES
Evan Hunt [Mon, 17 Dec 2018 18:02:16 +0000 (10:02 -0800)]
only the debug build was fixed previously; release needs fixing too
Ondřej Surý [Mon, 17 Dec 2018 11:57:44 +0000 (06:57 -0500)]
Merge branch '782-revert-cygwin-grep-CRLF-issue' into 'master'
Revert "Merge branch '782-cygwin-grep-CRLF-issue' into 'master'"
See merge request isc-projects/bind9!1242
Ondřej Surý [Mon, 17 Dec 2018 11:23:14 +0000 (12:23 +0100)]
Revert "Merge branch '782-cygwin-grep-CRLF-issue' into 'master'"
This reverts commit
4af9f9718989212480f2a5243a79886b8e7934c2 , reversing
changes made to
0289f3f28135282514d46cbc17a01aed100bd1de .
Evan Hunt [Sat, 15 Dec 2018 02:47:23 +0000 (21:47 -0500)]
Merge branch '782-cygwin-grep-CRLF-issue' into 'master'
Resolve "current version of cygwin grep causes tests to fail when grepping for end of line character"
Closes #782
See merge request isc-projects/bind9!1230
Curtis Blackburn [Fri, 14 Dec 2018 04:20:02 +0000 (20:20 -0800)]
minor fixes to dns64 and rndc CRLF fix. rpzrecurse failure
will be addressed in a separate issue
Curtis Blackburn [Fri, 14 Dec 2018 01:08:57 +0000 (17:08 -0800)]
more CRLF fixes (dns64, rndc, rpzrecurse)
Curtis Blackburn [Fri, 14 Dec 2018 00:52:04 +0000 (16:52 -0800)]
missed one in the digdelv test
Curtis Blackburn [Fri, 14 Dec 2018 00:22:49 +0000 (16:22 -0800)]
digdelv test fixed for CRLF issue
Curtis Blackburn [Fri, 14 Dec 2018 00:00:49 +0000 (16:00 -0800)]
windows CRLF issues fixed in builtin test
Mark Andrews [Fri, 14 Dec 2018 19:47:32 +0000 (14:47 -0500)]
Merge branch '779-named-checkconf-crashes-in-parser-c' into 'master'
Resolve "named-checkconf crashes in parser.c"
Closes #779
See merge request isc-projects/bind9!1234
Mark Andrews [Fri, 14 Dec 2018 05:29:02 +0000 (16:29 +1100)]
pass the correct object to cfg_obj_log
Mark Andrews [Fri, 14 Dec 2018 02:53:53 +0000 (21:53 -0500)]
Merge branch '742-isc-support-13767-nsec3-typemap-improperly-includes-dnskey-rrset-instead-of-ignoring-it-as-out-of-zone' into 'master'
Resolve "[ISC-support #13767] NSEC3 typemap improperly includes DNSKEY RRset instead of ignoring it as out-of-zone"
Closes #742
See merge request isc-projects/bind9!1231
Mark Andrews [Fri, 14 Dec 2018 01:53:13 +0000 (12:53 +1100)]
add CHANGES
Mark Andrews [Wed, 12 Dec 2018 07:43:31 +0000 (18:43 +1100)]
add unit tests for dns_rdatatype_atcname, dns_rdatatype_atparent and iszonecutauth
Mark Andrews [Wed, 12 Dec 2018 01:21:50 +0000 (12:21 +1100)]
check that DNSKEY and other occluded data are excluded from the delegating bitmap