]>
git.ipfire.org Git - thirdparty/bind9.git/log
Witold Kręcicki [Tue, 7 Aug 2018 10:51:49 +0000 (12:51 +0200)]
Test larger quantum and more threads
Witold Kręcicki [Fri, 10 Aug 2018 15:45:03 +0000 (17:45 +0200)]
Experiment: answer immediately to test network stack speed
Witold Kręcicki [Mon, 6 Aug 2018 14:58:48 +0000 (16:58 +0200)]
Remove layering from isc_socket, isc_timer, isc_mem
Witold Kręcicki [Mon, 6 Aug 2018 14:27:02 +0000 (16:27 +0200)]
Remove layering from isc_task and isc_app
Witold Kręcicki [Mon, 6 Aug 2018 11:00:55 +0000 (13:00 +0200)]
WiP'
Witold Kręcicki [Mon, 6 Aug 2018 10:15:50 +0000 (12:15 +0200)]
Get rid of isc_bind9 conditional
Witold Kręcicki [Wed, 6 Jun 2018 09:39:50 +0000 (11:39 +0200)]
Remove unthreaded support
Evan Hunt [Wed, 8 Aug 2018 22:33:21 +0000 (18:33 -0400)]
Merge branch 'security-complete-dname-fix' into 'master'
Merge CVE-2018-5740 fix
See merge request isc-projects/bind9!607
Evan Hunt [Fri, 6 Jul 2018 03:48:26 +0000 (20:48 -0700)]
CHANGES, release note
Evan Hunt [Tue, 24 Jul 2018 17:18:58 +0000 (10:18 -0700)]
caclulate nlabels and set *chainingp correctly
Evan Hunt [Fri, 6 Jul 2018 01:57:48 +0000 (18:57 -0700)]
test case
Evan Hunt [Thu, 5 Jul 2018 21:34:30 +0000 (14:34 -0700)]
explicit DNAME query could trigger a crash if deny-answer-aliases was set
Ondřej Surý [Wed, 8 Aug 2018 09:05:26 +0000 (05:05 -0400)]
Merge branch '9-use-C99-integer-types' into 'master'
Redefine ISC's int and boolean types to use <stdint.h> and <stdbool.h> types
See merge request isc-projects/bind9!162
Ondřej Surý [Tue, 17 Apr 2018 17:16:24 +0000 (10:16 -0700)]
Add CHANGES entry
5007. [cleanup] Replace custom ISC boolean and integer data types
with C99 stdint.h and stdbool.h types. [GL #9]
Ondřej Surý [Sun, 29 Jul 2018 06:58:14 +0000 (08:58 +0200)]
Remove duplicate config.h
Ondřej Surý [Tue, 17 Apr 2018 15:29:14 +0000 (08:29 -0700)]
Replace custom isc_boolean_t with C standard bool type
Ondřej Surý [Wed, 28 Mar 2018 12:19:37 +0000 (14:19 +0200)]
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
Ondřej Surý [Tue, 24 Jul 2018 07:23:39 +0000 (09:23 +0200)]
Get rid of extra UINT64_MAX definition in lib/isc/win32/time.c
Ondřej Surý [Wed, 28 Mar 2018 12:56:40 +0000 (14:56 +0200)]
Replace ISC_PRINT_QUADFORMAT with inttypes.h format constants
Ondřej Surý [Tue, 24 Jul 2018 12:42:20 +0000 (14:42 +0200)]
Check for C99 compatible compiler
Ondřej Surý [Wed, 8 Aug 2018 07:34:44 +0000 (03:34 -0400)]
Merge branch 'silence-openbsd-warning' into 'master'
Silence a compiler warning on openbsd and fix windows build
See merge request isc-projects/bind9!603
Evan Hunt [Wed, 8 Aug 2018 03:11:46 +0000 (20:11 -0700)]
Silence a compiler warning on openbsd and fix windows build
Michał Kępień [Wed, 8 Aug 2018 06:26:40 +0000 (02:26 -0400)]
Merge branch '431-refactor-code-preparing-a-delegation-response' into 'master'
Refactor code preparing a delegation response
Closes #431
See merge request isc-projects/bind9!549
Michał Kępień [Wed, 8 Aug 2018 05:56:29 +0000 (07:56 +0200)]
Add CHANGES entry
5006. [cleanup] Code preparing a delegation response was extracted from
query_delegation() and query_zone_delegation() into a
separate function in order to decrease code
duplication. [GL #431]
Michał Kępień [Wed, 8 Aug 2018 05:56:29 +0000 (07:56 +0200)]
Extract code preparing a delegation response to a separate function
Changes introduced by the previous two commits make the parts of
query_delegation() and query_zone_delegation() which prepare a
delegation response functionally equivalent. Extract this code into a
separate function, query_prepare_delegation_response(), and then call
the latter from both query_delegation() and query_zone_delegation() in
order to reduce code duplication. Add a comment describing the purpose
of the extracted code. Fix coding style issues.
Michał Kępień [Wed, 8 Aug 2018 05:56:29 +0000 (07:56 +0200)]
Remove unused NS_QUERYATTR_CACHEGLUEOK query attribute
The NS_QUERYATTR_CACHEGLUEOK query attribute has no influence on query
processing. Remove it.
Michał Kępień [Wed, 8 Aug 2018 05:56:29 +0000 (07:56 +0200)]
Restore zone database and zone node if cache search results are to be ignored
When query processing hits a delegation from a locally configured zone,
an attempt may be made to look for a better answer in the cache. In
such a case, the zone-sourced delegation data is set aside and the
lookup is retried using the cache database. When that lookup is
completed, a decision is made whether the answer found in the cache is
better than the answer found in the zone.
Currently, if the zone-sourced answer turns out to be better than the
one found in the cache:
- qctx->zdb is not restored into qctx->db,
- qctx->node, holding the zone database node found, is not even saved.
Thus, in such a case both qctx->db and qctx->node will point at cache
data. This is not an issue for BIND versions which do not support
mirror zones because in these versions non-recursive queries always
cause the zone-sourced delegation to be returned and thus the
non-recursive part of query_delegation() is never reached if the
delegation is coming from a zone. With mirror zones, however,
non-recursive queries may cause cache lookups even after a zone
delegation is found. Leaving qctx->db assigned to the cache database
when query_delegation() determines that the zone-sourced delegation is
the best answer to the client's query prevents DS records from being
added to delegations coming from mirror zones. Fix this issue by
keeping the zone database and zone node in qctx while the cache is
searched for an answer and then restoring them into qctx->db and
qctx->node, respectively, if the zone-sourced delegation turns out to be
the best answer. Since this change means that qctx->zdb cannot be used
as the glue database any more as it will be reset to NULL by RESTORE(),
ensure that qctx->db is not a cache database before attaching it to
qctx->client->query.gluedb.
Furthermore, current code contains a conditional statement which
prevents a mirror zone from being used as a source of glue records.
Said statement was added to prevent assertion failures caused by
attempting to use a zone database's glue cache for finding glue for an
NS RRset coming from a cache database. However, that check is overly
strict since it completely prevents glue from being added to delegations
coming from mirror zones. With the changes described above in place,
the scenario this check was preventing can no longer happen, so remove
the aforementioned check.
If qctx->zdb is not NULL, qctx->zfname will also not be NULL;
qctx->zsigrdataset may be NULL in such a case, but query_putrdataset()
handles pointers to NULL pointers gracefully. Remove redundant
conditional expressions to make the cleanup code in query_freedata()
match the corresponding sequences of SAVE() / RESTORE() macros more
closely.
Ondřej Surý [Tue, 7 Aug 2018 08:02:02 +0000 (04:02 -0400)]
Merge branch '440-root-zone-performance-regression-uint32' into 'master'
Resolve "Root zone performance regression since 9.12.2rc2 and 9.13.1"
Closes #440
See merge request isc-projects/bind9!602
Ondřej Surý [Tue, 7 Aug 2018 07:52:47 +0000 (09:52 +0200)]
Make sure the storage for isc_random32() result is 32-bit long
Ondřej Surý [Mon, 6 Aug 2018 09:38:44 +0000 (05:38 -0400)]
Merge branch '440-root-zone-performance-regression' into 'master'
Resolve "Root zone performance regression since 9.12.2rc2 and 9.13.1"
Closes #440
See merge request isc-projects/bind9!593
Ondřej Surý [Mon, 6 Aug 2018 09:04:56 +0000 (11:04 +0200)]
Update ARM on the default ordering
Ondřej Surý [Mon, 6 Aug 2018 08:49:43 +0000 (10:49 +0200)]
Define and use new DNS_RDATASET_COUNT_UNDEFINED equals ISC_UINT32_MAX to make the code more readable
Ondřej Surý [Sun, 5 Aug 2018 05:28:17 +0000 (07:28 +0200)]
Modify the rrsetorder test to cope with the rrset order randomization (only four orders are now possible)
Ondřej Surý [Sun, 5 Aug 2018 05:18:27 +0000 (07:18 +0200)]
Refactor code around random/cyclic/fixed to reduce code duplication
Mark Andrews [Sun, 5 Aug 2018 05:23:07 +0000 (07:23 +0200)]
Only get one random number per response when order == random
Mark Andrews [Thu, 2 Aug 2018 23:22:25 +0000 (19:22 -0400)]
Merge branch 'remove-dead-code' into 'master'
Remove dead code
See merge request isc-projects/bind9!587
Mark Andrews [Thu, 2 Aug 2018 04:36:27 +0000 (14:36 +1000)]
remove dead code
Mark Andrews [Thu, 2 Aug 2018 22:34:46 +0000 (18:34 -0400)]
Merge branch '442-dnssec-verify-fails-on-case-sensitivity-of-owner-names-in-nsec-bitmap' into 'master'
Resolve "dnssec-verify fails on case-sensitivity of owner names in NSEC bitmap"
Closes #442
See merge request isc-projects/bind9!562
Mark Andrews [Thu, 2 Aug 2018 01:27:18 +0000 (11:27 +1000)]
add CHANGES
Mark Andrews [Tue, 31 Jul 2018 04:52:48 +0000 (14:52 +1000)]
only check the bit map
Ondřej Surý [Thu, 2 Aug 2018 14:32:08 +0000 (10:32 -0400)]
Merge branch '543-revert-!553' into 'master'
Revert "Merge branch 'modified-manual-install-oot' into 'master'"
Closes #453
See merge request isc-projects/bind9!573
Ondřej Surý [Wed, 1 Aug 2018 19:25:05 +0000 (21:25 +0200)]
Revert "Merge branch 'modified-manual-install-oot' into 'master'"
This reverts commit
d9929b1b0a36c23cf9f85e2127533888cb150f28 , reversing
changes made to
8abf2f23d0993347132e8cc46897ab1401766251 .
Ondřej Surý [Thu, 2 Aug 2018 12:41:50 +0000 (08:41 -0400)]
Merge branch '454-broken-build-with-custom-ldflags' into 'master'
Resolve "Broken build with custom LDFLAGS"
Closes #454
See merge request isc-projects/bind9!572
Ondřej Surý [Wed, 1 Aug 2018 19:13:40 +0000 (21:13 +0200)]
Preserve ${LDFLAGS} contents in bin/dig/
Mark Andrews [Thu, 2 Aug 2018 04:23:06 +0000 (00:23 -0400)]
Merge branch '439-the-signed-instance-of-a-in-line-zone-should-be-treated-as-dynamic' into 'master'
Resolve "The signed instance of a in-line zone should be treated as dynamic."
Closes #439
See merge request isc-projects/bind9!554
Mark Andrews [Thu, 2 Aug 2018 04:07:03 +0000 (14:07 +1000)]
add CHANGES
Mark Andrews [Thu, 26 Jul 2018 03:59:22 +0000 (13:59 +1000)]
treat the signed instance of a inline zone as dynamic
Mark Andrews [Thu, 26 Jul 2018 03:56:35 +0000 (13:56 +1000)]
turn off ixfr-from-differences on signed instance of in-line zone
Mark Andrews [Thu, 26 Jul 2018 03:55:44 +0000 (13:55 +1000)]
rename zone to mayberaw
Mark Andrews [Thu, 2 Aug 2018 02:41:45 +0000 (22:41 -0400)]
Merge branch '453-master-build-broken-in-documentation-tree' into 'master'
add /opt/local/share/xsl/docbook-xsl-nons to the places to look for manpages/docbook.xsl under macports
See merge request isc-projects/bind9!571
Mark Andrews [Wed, 1 Aug 2018 14:50:43 +0000 (00:50 +1000)]
add /opt/local/share/xsl/docbook-xsl-nons to the places to look for manpages/docbook.xsl under macports
Mark Andrews [Thu, 2 Aug 2018 01:32:01 +0000 (21:32 -0400)]
Merge branch '359-question-about-using-hashtable-size-log-messages-for-rpzs' into 'master'
Resolve "Question about 'using hashtable size' log messages for RPZs"
Closes #359
See merge request isc-projects/bind9!566
Mark Andrews [Wed, 1 Aug 2018 05:07:33 +0000 (15:07 +1000)]
lower log level to debug(1)
Mark Andrews [Thu, 2 Aug 2018 01:25:27 +0000 (21:25 -0400)]
Merge branch '424-nsupdate-tests-fail-intermittently' into 'master'
Resolve "nsupdate tests fail intermittently"
Closes #424
See merge request isc-projects/bind9!544
Mark Andrews [Wed, 25 Jul 2018 01:19:08 +0000 (11:19 +1000)]
use guard values for testing unixtime serial
Mark Andrews [Thu, 19 Jul 2018 22:11:49 +0000 (08:11 +1000)]
save SOA values
Mark Andrews [Wed, 1 Aug 2018 23:30:22 +0000 (19:30 -0400)]
Merge branch '406-dns_acl_isinsecure-does-not-handle-geoip-elements' into 'master'
Resolve "dns_acl_isinsecure does not handle geoip elements."
Closes #406
See merge request isc-projects/bind9!528
Mark Andrews [Thu, 12 Jul 2018 04:53:06 +0000 (14:53 +1000)]
add CHANGES note
Mark Andrews [Thu, 12 Jul 2018 04:48:01 +0000 (14:48 +1000)]
handle dns_aclelementtype_geoip
Mark Andrews [Thu, 12 Jul 2018 04:47:09 +0000 (14:47 +1000)]
test dns_acl_isinsecure with geoip element
Mark Andrews [Wed, 1 Aug 2018 23:17:00 +0000 (19:17 -0400)]
Merge branch '410-missing-sanity-check-for-call-to-next_token-in-file-mdig-c-for-bind-9-12-1-p2' into 'master'
Resolve "Missing Sanity Check for call to next_token() in file 'mdig.c' for BIND 9.12.1-P2"
Closes #410
See merge request isc-projects/bind9!527
Mark Andrews [Thu, 12 Jul 2018 02:43:36 +0000 (12:43 +1000)]
add CHANGES note
Mark Andrews [Thu, 12 Jul 2018 02:39:49 +0000 (12:39 +1000)]
test mdig '+ednsopt=:' handling
Mark Andrews [Thu, 12 Jul 2018 02:38:24 +0000 (12:38 +1000)]
fix handling of '+ednsopt=:'; support 100 ednsopts per query rather than 100 total
Mark Andrews [Wed, 1 Aug 2018 22:23:53 +0000 (18:23 -0400)]
Merge branch '372-smimea-and-tlsa-methods-incorrectly-use-txt-type' into 'master'
Resolve "smimea and tlsa methods incorrectly use txt type"
Closes #372
See merge request isc-projects/bind9!458
Mark Andrews [Sat, 30 Jun 2018 01:11:47 +0000 (11:11 +1000)]
use tlsa and smime structs to set common values
Mark Andrews [Wed, 1 Aug 2018 06:06:44 +0000 (02:06 -0400)]
Merge branch 'modified-manual-install-oot' into 'master'
Use make automatic variables to install correct manual version.
See merge request isc-projects/bind9!553
Petr Menšík [Wed, 25 Jul 2018 10:24:16 +0000 (12:24 +0200)]
Use make automatic variables to install updated manuals
Make will choose modified manual from build directory or original from source
directory automagically. Take advantage of install tool feature.
Install all files in single command instead of iterating on each of them.
Ondřej Surý [Tue, 31 Jul 2018 20:14:47 +0000 (16:14 -0400)]
Merge branch '443-isc_buffer_printf-fixes' into 'master'
Resolve "isc_buffer_printf() grows buffer without autorealloc being set + nit in isc_buffer_realloc()"
Closes #443
See merge request isc-projects/bind9!559
Ondřej Surý [Sat, 28 Jul 2018 04:24:12 +0000 (06:24 +0200)]
Change isc_buffer_reallocate() into a static functions as it is not used outside of isc_buffer_reserve()
Ondřej Surý [Fri, 27 Jul 2018 09:23:49 +0000 (11:23 +0200)]
Remove illogical condition from isc_buffer_reallocate that would return ISC_R_NOSPACE when requested size is less than available size
Ondřej Surý [Fri, 27 Jul 2018 09:22:47 +0000 (11:22 +0200)]
Forbid isc_buffer_printf from growing the buffer unless auto reallocation is enabled
Mark Andrews [Tue, 31 Jul 2018 07:56:46 +0000 (03:56 -0400)]
Merge branch 'misc-onerror-refcount-fixes' into 'master'
refcount errors on error paths
See merge request isc-projects/bind9!563
Mark Andrews [Tue, 31 Jul 2018 07:46:53 +0000 (17:46 +1000)]
add CHANGES
Mark Andrews [Tue, 31 Jul 2018 07:41:45 +0000 (17:41 +1000)]
refcount errors on error paths
Evan Hunt [Fri, 27 Jul 2018 05:55:45 +0000 (01:55 -0400)]
Merge branch '441-ns_server_servestale-can-leave-the-server-in-exclusive-mode-on-error' into 'master'
Resolve "ns_server_servestale can leave the server in exclusive mode on error."
Closes #441
See merge request isc-projects/bind9!557
Mark Andrews [Fri, 27 Jul 2018 05:36:53 +0000 (15:36 +1000)]
named_server_servestale could leave the server in exclusive mode if a error occurs.
Mark Andrews [Tue, 24 Jul 2018 23:28:50 +0000 (19:28 -0400)]
Merge branch '432-sha2-c-does-not-compile-with-libressl' into 'master'
Resolve "sha2.c does not compile with libressl."
Closes #432
See merge request isc-projects/bind9!552
Mark Andrews [Tue, 24 Jul 2018 08:22:29 +0000 (18:22 +1000)]
look for LIBRESSL_VERSION_NUMBER as well
Ondřej Surý [Tue, 24 Jul 2018 07:57:23 +0000 (03:57 -0400)]
Merge branch '227-replace-isc_safe-with-OpenSSL-fix-Windows' into 'master'
Fix FTBFS on Windows due CRYPTO_memcmp missing in a linker phase of libiscc
See merge request isc-projects/bind9!551
Ondřej Surý [Tue, 24 Jul 2018 07:35:49 +0000 (09:35 +0200)]
Link libiscc with OpenSSL to fix CRYPTO_memcmp symbol missing
Evan Hunt [Mon, 23 Jul 2018 20:29:10 +0000 (16:29 -0400)]
Merge branch 'fix-openssl-configure' into 'master'
Fix ax_check_openssl to accept "--with-openssl" or "--with-openssl=yes",
and improve it to modern autotools standard
See merge request isc-projects/bind9!550
Ondřej Surý [Mon, 23 Jul 2018 20:10:52 +0000 (22:10 +0200)]
Fix ax_check_openssl to accept yes and improve it to modern autotools standard
Ondřej Surý [Fri, 20 Jul 2018 16:02:35 +0000 (12:02 -0400)]
Merge branch '227-replace-isc_safe-with-OpenSSL' into 'master'
Replace isc_safe routines with their OpenSSL counterparts
See merge request isc-projects/bind9!546
Ondřej Surý [Fri, 20 Jul 2018 14:08:24 +0000 (10:08 -0400)]
Fix the isc_safe_memwipe() usage with (NULL, >0)
Ondřej Surý [Fri, 20 Jul 2018 14:06:14 +0000 (10:06 -0400)]
Remove isc_safe_memcompare, it's not needed anywhere and can't be replaced with CRYPTO_memcmp()
Ondřej Surý [Wed, 25 Apr 2018 12:04:31 +0000 (14:04 +0200)]
Replace isc_safe routines with their OpenSSL counter parts
Ondřej Surý [Fri, 20 Jul 2018 04:17:53 +0000 (00:17 -0400)]
Merge branch '261-print-c-issues' into 'master'
Resolve "print.c issues"
Closes #261
See merge request isc-projects/bind9!284
Ondřej Surý [Tue, 26 Jun 2018 19:48:37 +0000 (21:48 +0200)]
Add CHANGES entry for GL #261.
Mark Andrews [Fri, 18 May 2018 04:00:08 +0000 (14:00 +1000)]
remove lib/isc/print.c and lib/isc/tests/print_test.c
Ondřej Surý [Thu, 19 Jul 2018 22:13:27 +0000 (18:13 -0400)]
Merge branch '328-make-openssl-mandatory-windows' into 'master'
Fix the Windows build after merging the crypto refactoring work
See merge request isc-projects/bind9!545
Ondřej Surý [Thu, 19 Jul 2018 20:05:57 +0000 (16:05 -0400)]
Introduce USE_OPENSSL define to Windows build, remove CRYPTO and AES conditions.
Ondřej Surý [Thu, 19 Jul 2018 19:08:32 +0000 (15:08 -0400)]
Merge branch '328-make-openssl-mandatory' into 'master'
Resolve "Refactor crypto to use OpenSSL for everything but Public-Key Cryptography"
Closes #328
See merge request isc-projects/bind9!371
Ondřej Surý [Thu, 19 Jul 2018 17:47:41 +0000 (13:47 -0400)]
Fix the Windows build
Ondřej Surý [Thu, 19 Jul 2018 17:46:01 +0000 (13:46 -0400)]
Fix DH and ECDSA algorithms in PKCS#11 build
Ondřej Surý [Thu, 19 Jul 2018 15:29:05 +0000 (11:29 -0400)]
Fix the build when EdDSA algorithms are not available
Ondřej Surý [Tue, 3 Jul 2018 18:43:06 +0000 (20:43 +0200)]
Cleanup copyrights
Ondřej Surý [Tue, 3 Jul 2018 18:34:19 +0000 (20:34 +0200)]
Add GitLab CI tests using SoftHSMv2 as PKCS#11 provider.
Ondřej Surý [Tue, 3 Jul 2018 17:35:36 +0000 (19:35 +0200)]
Remove PKCS#11 DH implementation as there's no private keys stored in HSM for DH algorithm
Ondřej Surý [Fri, 22 Jun 2018 11:47:45 +0000 (13:47 +0200)]
Cleanup the configure feature report