]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
7 years agoMerge branch '1011-use-proper-linker-config-on-hp-ux' into 'master'
Mark Andrews [Thu, 30 May 2019 00:30:00 +0000 (20:30 -0400)] 
Merge branch '1011-use-proper-linker-config-on-hp-ux' into 'master'

Resolve "Use proper linker (config) on HP-UX"

Closes #1011

See merge request isc-projects/bind9!1940

7 years agoregen
Mark Andrews [Tue, 14 May 2019 03:25:43 +0000 (13:25 +1000)] 
regen

7 years agoadd link flags for ia64-hp-hpux
Mark Andrews [Tue, 14 May 2019 03:24:43 +0000 (13:24 +1000)] 
add link flags for ia64-hp-hpux

7 years agoMerge branch '996-revert-wrong-key-id-is-displayed-for-rsamd5-keys' into 'master'
Ondřej Surý [Wed, 29 May 2019 14:14:21 +0000 (10:14 -0400)] 
Merge branch '996-revert-wrong-key-id-is-displayed-for-rsamd5-keys' into 'master'

Revert "Merge branch '996-wrong-key-id-is-displayed-for-rsamd5-keys' into 'master'"

Closes #996

See merge request isc-projects/bind9!1981

7 years agoRevert "Merge branch '996-wrong-key-id-is-displayed-for-rsamd5-keys' into 'master'"
Ondřej Surý [Wed, 29 May 2019 13:17:04 +0000 (15:17 +0200)] 
Revert "Merge branch '996-wrong-key-id-is-displayed-for-rsamd5-keys' into 'master'"

This reverts commit ea131d2e6a937964b65b9ccc4cd3f18de9f6d09f, reversing
changes made to e79dd268b6fb36b897a3258cdf959d87f60e55e0.

7 years agoMerge branch '855-json-c-library-detection-in-autoconf' into 'master'
Ondřej Surý [Wed, 29 May 2019 13:23:29 +0000 (09:23 -0400)] 
Merge branch '855-json-c-library-detection-in-autoconf' into 'master'

Cleanup the way we detect json-c library to use only pkg-config

Closes #855

See merge request isc-projects/bind9!1473

7 years agoAdd CHANGES and release notes
Ondřej Surý [Fri, 26 Apr 2019 11:18:35 +0000 (13:18 +0200)] 
Add CHANGES and release notes

7 years agoCleanup the way we detect json-c library to use only pkg-config
Ondřej Surý [Wed, 6 Feb 2019 10:56:42 +0000 (11:56 +0100)] 
Cleanup the way we detect json-c library to use only pkg-config

7 years agoMerge branch '1044-fix-LFS-flags-on-BSDs' into 'master'
Ondřej Surý [Wed, 29 May 2019 10:03:34 +0000 (06:03 -0400)] 
Merge branch '1044-fix-LFS-flags-on-BSDs' into 'master'

Pull the values for LFS_{CFLAGS,LDFLAGS,LIBS} from autoconf instead using them directly in make

Closes #1044

See merge request isc-projects/bind9!1978

7 years agoPull the values for LFS_{CFLAGS,LDFLAGS,LIBS} from autoconf instead using them direct...
Ondřej Surý [Wed, 29 May 2019 09:19:34 +0000 (11:19 +0200)] 
Pull the values for LFS_{CFLAGS,LDFLAGS,LIBS} from autoconf instead using them directly in make

7 years agoMerge branch 'michal/legacy-system-test-fixes' into 'master'
Michał Kępień [Wed, 29 May 2019 09:33:50 +0000 (05:33 -0400)] 
Merge branch 'michal/legacy-system-test-fixes' into 'master'

"legacy" system test fixes

See merge request isc-projects/bind9!1968

7 years agoOptimize dig parameters to decrease test run time
Michał Kępień [Wed, 29 May 2019 09:05:01 +0000 (11:05 +0200)] 
Optimize dig parameters to decrease test run time

Performing server setup checks using "+tries=3 +time=5" is redundant as
a single query is arguably good enough for determining whether a given
named instance was set up properly.  Only use multiple queries with a
long timeout for resolution checks in the "legacy" system test, in order
to significantly reduce its run time (on a contemporary machine, from
about 1m45s to 0m40s).

7 years agoMake "plain" server setup checks more similar
Michał Kępień [Wed, 29 May 2019 09:05:01 +0000 (11:05 +0200)] 
Make "plain" server setup checks more similar

Send a test TCP query to the "plain" server during its setup check to
improve its consistency with the setup check for the "plain + no TCP"
server.

7 years agoAdd more EDNS checks for dig output files
Michał Kępień [Wed, 29 May 2019 09:05:01 +0000 (11:05 +0200)] 
Add more EDNS checks for dig output files

In the "legacy" system test, in order to make server setup checks more
consistent with each other, add further checks for either presence or
absence of the EDNS OPT pseudo-RR in the responses returned by the
tested named instances.

7 years agoDo not ignore dig exit codes
Michał Kępień [Wed, 29 May 2019 09:05:01 +0000 (11:05 +0200)] 
Do not ignore dig exit codes

Make sure the "legacy" system test fails if any exit code returned by
dig does not match the expected one.

7 years agoUse helper functions for checking resolution
Michał Kępień [Wed, 29 May 2019 09:05:01 +0000 (11:05 +0200)] 
Use helper functions for checking resolution

Extract repeated dig and grep calls into two helper shell functions,
resolution_succeeds() and resolution_fails(), in order to reduce code
duplication in the "legacy" system test, emphasize the similarity
between all the resolution checks in that test, and make the conditions
for success and failure uniform for all resolution checks in that test.

7 years agoUse +dnssec instead of separate TXT records
Michał Kępień [Wed, 29 May 2019 09:05:01 +0000 (11:05 +0200)] 
Use +dnssec instead of separate TXT records

When testing named instances which are configured to drop outgoing UDP
responses larger than 512 bytes, querying with DO=1 may be used instead
of querying for large TXT records as the effect achieved will be
identical: an unsigned response for a SOA query will be below 512 bytes
in size while a signed response for the same query will be over 512
bytes in size.  Doing this makes all resolution checks in the "legacy"
system test more similar.  Add checks for the TC flag being set in UDP
responses which are expected to be truncated to further make sure that
tested named instances behave as expected.

7 years agoFix the name of the file to inspect
Michał Kępień [Wed, 29 May 2019 09:05:01 +0000 (11:05 +0200)] 
Fix the name of the file to inspect

One of the checks in the "legacy" system test inspects dig.out.1.test$n
instead of dig.out.2.test$n.  Fix the file name used in that check.

7 years agoEnsure queries expected to time out really do
Michał Kępień [Wed, 29 May 2019 09:05:01 +0000 (11:05 +0200)] 
Ensure queries expected to time out really do

Make sure that the "legacy" system test fails if queries which are
expected to time out do not really time out.

7 years agoProperly test servers with TCP support disabled
Michał Kępień [Wed, 29 May 2019 09:05:01 +0000 (11:05 +0200)] 
Properly test servers with TCP support disabled

Sending TCP queries to test named instances with TCP support disabled
should cause dig output to contain the phrase "connection refused", not
"connection timed out", as such instances never open the relevant
sockets.  Make sure that the "legacy" system test fails if the expected
phrase is not found in any of the relevant files containing dig output.

7 years agoMerge branch '1044-include-config.h-in-gen.c' into 'master'
Ondřej Surý [Wed, 29 May 2019 08:30:11 +0000 (04:30 -0400)] 
Merge branch '1044-include-config.h-in-gen.c' into 'master'

Resolve "gen fails to generate headers on Debian buster"

Closes #1044

See merge request isc-projects/bind9!1954

7 years agoUse getconf LFS_{CFLAGS,LDFLAGS,LIBS} to get flags to compile lib/dns/gen
Ondřej Surý [Mon, 27 May 2019 14:11:11 +0000 (16:11 +0200)] 
Use getconf LFS_{CFLAGS,LDFLAGS,LIBS} to get flags to compile lib/dns/gen

On some systems (namely Debian buster armhf) the readdir() call fails
with `Value too large for defined data type` unless the
_FILE_OFFSET_BITS=64 is defined.  The correct way to fix this is to
get the appropriate compilation parameters from getconf system
interface.

7 years agoExit the ./gen program on failed readdir() call
Ondřej Surý [Tue, 21 May 2019 17:56:58 +0000 (17:56 +0000)] 
Exit the ./gen program on failed readdir() call

7 years agoMerge branch '1056-misleading-error-message-when-trying-to-build-without-python-suppo...
Mark Andrews [Mon, 27 May 2019 03:35:46 +0000 (23:35 -0400)] 
Merge branch '1056-misleading-error-message-when-trying-to-build-without-python-support' into 'master'

Resolve "Misleading error message when trying to build without Python support"

Closes #1056

See merge request isc-projects/bind9!1964

7 years agofix configire error message to say --without-python
Mark Andrews [Mon, 27 May 2019 03:19:25 +0000 (13:19 +1000)] 
fix configire error message to say --without-python

7 years agoMerge branch '1046-deadlock-in-tcp-code' into 'master'
Witold Krecicki [Fri, 24 May 2019 07:29:44 +0000 (03:29 -0400)] 
Merge branch '1046-deadlock-in-tcp-code' into 'master'

Fix a possible deadlock in TCP accepting

Closes #1046

See merge request isc-projects/bind9!1958

7 years agoFix a possible deadlock in TCP accepting
Witold Kręcicki [Wed, 22 May 2019 10:37:03 +0000 (12:37 +0200)] 
Fix a possible deadlock in TCP accepting

Each network thread holds an array of locks, indexed by a hash
of fd. When we accept a connection we hold a lock in accepting thread.
We then generate the thread number and lock bucket for the new
connection socket - if we hit the same thread and lock bucket as
accepting socket we get a deadlock. Avoid this by checking if we're
in the same thread/lock bucket and not locking in this case.

7 years agoMerge branch '1050-build-failure-on-windows' into 'master'
Mark Andrews [Fri, 24 May 2019 06:39:13 +0000 (02:39 -0400)] 
Merge branch '1050-build-failure-on-windows' into 'master'

Resolve "Build failure on Windows"

Closes #1050

See merge request isc-projects/bind9!1959

7 years agoinclude <isc/string.h> for isc_string_strerror_r prototype
Mark Andrews [Thu, 23 May 2019 03:14:43 +0000 (13:14 +1000)] 
include <isc/string.h> for isc_string_strerror_r prototype

7 years agouse atomics in lib/isc/win32/app.c
Mark Andrews [Thu, 23 May 2019 02:09:49 +0000 (12:09 +1000)] 
use atomics in lib/isc/win32/app.c

7 years agoMerge branch '1028-dig-trace-should-not-set-rd-0-norecurse-for-the-initial-root-hints...
Mark Andrews [Wed, 22 May 2019 03:13:18 +0000 (23:13 -0400)] 
Merge branch '1028-dig-trace-should-not-set-rd-0-norecurse-for-the-initial-root-hints-query' into 'master'

Resolve "dig +trace should not set RD=0 (+norecurse) for the initial root hints query"

Closes #1028

See merge request isc-projects/bind9!1939

7 years agoRecurse to find the root server list with 'dig +trace'.
Mark Andrews [Tue, 14 May 2019 01:38:13 +0000 (11:38 +1000)] 
Recurse to find the root server list with 'dig +trace'.

7 years agoMerge branch '605-add-siphash24' into 'master'
Ondřej Surý [Tue, 21 May 2019 11:50:25 +0000 (07:50 -0400)] 
Merge branch '605-add-siphash24' into 'master'

Add SipHash24 algorithm and use it in isc_hash function

Closes #360

See merge request isc-projects/bind9!1462

7 years agoAdd CHANGES entry:
Ondřej Surý [Mon, 20 May 2019 17:04:54 +0000 (19:04 +0200)] 
Add CHANGES entry:

5236.   [func]          Add SipHash 2-4 implementation in lib/isc/siphash.c
                        and switch isc_hash_function() to use SipHash 2-4.
                        [GL #605]

7 years agoRemove isc_hash_reverse function
Ondřej Surý [Thu, 9 May 2019 08:50:57 +0000 (15:50 +0700)] 
Remove isc_hash_reverse function

7 years agoConvert isc_hash functions to use isc_siphash24
Ondřej Surý [Thu, 4 Apr 2019 11:51:09 +0000 (13:51 +0200)] 
Convert isc_hash functions to use isc_siphash24

7 years agoAdd tests for the isc_siphash24 function
Ondřej Surý [Wed, 9 Jan 2019 13:55:40 +0000 (14:55 +0100)] 
Add tests for the isc_siphash24 function

7 years agoAdd reference SipHash 2-4 implementation
Ondřej Surý [Wed, 9 Jan 2019 13:34:36 +0000 (14:34 +0100)] 
Add reference SipHash 2-4 implementation

7 years agoAdd portable <isc/endian.h> header
Ondřej Surý [Wed, 9 Jan 2019 13:34:19 +0000 (14:34 +0100)] 
Add portable <isc/endian.h> header

7 years agoMerge branch '1023-make-app.c-TSAN-clean' into 'master'
Ondřej Surý [Mon, 20 May 2019 17:00:19 +0000 (13:00 -0400)] 
Merge branch '1023-make-app.c-TSAN-clean' into 'master'

Make isc_app_t opaque and thread-safe

Closes #1023

See merge request isc-projects/bind9!1936

7 years agoAdd CHANGES entry:
Ondřej Surý [Mon, 20 May 2019 16:20:55 +0000 (18:20 +0200)] 
Add CHANGES entry:

5235.   [cleanup]       Refactor lib/isc/app.c to be thread-safe, unused
                        parts of the API has been removed and the
                        isc_appctx_t data type has been changed to be
                        fully opaque. [GL #1023]

7 years agoMake lib/isc/app.c opaque and thread-safe
Ondřej Surý [Mon, 13 May 2019 13:58:20 +0000 (20:58 +0700)] 
Make lib/isc/app.c opaque and thread-safe

This work cleans up the API which includes couple of things:

1. Make the isc_appctx_t type fully opaque

2. Protect all access to the isc_app_t members via stdatomics

3. sigwait() is part of POSIX.1, remove dead non-sigwait code

4. Remove unused code: isc_appctx_set{taskmgr,sockmgr,timermgr}

7 years agoMerge branch 'each-document-bug-ids' into 'master'
Evan Hunt [Fri, 17 May 2019 06:43:38 +0000 (02:43 -0400)] 
Merge branch 'each-document-bug-ids' into 'master'

update README to explain gitlab numbers

See merge request isc-projects/bind9!1946

7 years agoupdate README to explain gitlab numbers
Evan Hunt [Thu, 16 May 2019 23:39:24 +0000 (16:39 -0700)] 
update README to explain gitlab numbers

7 years agoMerge branch '1003-SO_REUSEPORT-tweaks' into 'master'
Ondřej Surý [Fri, 17 May 2019 05:37:48 +0000 (01:37 -0400)] 
Merge branch '1003-SO_REUSEPORT-tweaks' into 'master'

Resolve "socket.c error 'SO_REUSEPORT' undeclared"

Closes #1003

See merge request isc-projects/bind9!1884

7 years agoUse SO_REUSEPORT_LB on FreeBSD if available
Ondřej Surý [Mon, 29 Apr 2019 17:29:09 +0000 (19:29 +0200)] 
Use SO_REUSEPORT_LB on FreeBSD if available

7 years agoAdd safeguard against the other usage of SO_REUSEPORT
Ondřej Surý [Mon, 29 Apr 2019 17:28:24 +0000 (19:28 +0200)] 
Add safeguard against the other usage of SO_REUSEPORT

7 years agoMerge branch 'ondrej/add-all-isc-atomic-defines' into 'master' 1942/head
Ondřej Surý [Mon, 13 May 2019 07:03:17 +0000 (03:03 -0400)] 
Merge branch 'ondrej/add-all-isc-atomic-defines' into 'master'

Add most useful relaxed and acquire-relase stdatomic convenience macros

See merge request isc-projects/bind9!1935

7 years agoAdd most useful relaxed and acquire-relase stdatomic convenience macros
Ondřej Surý [Mon, 13 May 2019 05:17:21 +0000 (12:17 +0700)] 
Add most useful relaxed and acquire-relase stdatomic convenience macros

The header file <isc/atomic.h> now contains convenience macros for
most useful explicit memory ordering for C11 stdatomics, only relaxed
and acquire-release semantics is being used.  These macros SHOULD be
used instead of atomic_<func>_explicit functions.

7 years agoMerge branch '899-remove-unspec' into 'master'
Ondřej Surý [Mon, 13 May 2019 03:51:14 +0000 (23:51 -0400)] 
Merge branch '899-remove-unspec' into 'master'

Remove UNSPEC rrtype

Closes #899

See merge request isc-projects/bind9!1931

7 years agoRemove UNSPEC rrtype
Witold Kręcicki [Wed, 27 Feb 2019 09:04:37 +0000 (10:04 +0100)] 
Remove UNSPEC rrtype

7 years agoMerge branch '981-armv5-build-is-broken' into 'master'
Mark Andrews [Mon, 13 May 2019 01:51:21 +0000 (21:51 -0400)] 
Merge branch '981-armv5-build-is-broken' into 'master'

Resolve "armv5 build is broken"

Closes #981

See merge request isc-projects/bind9!1892

7 years agoarm: just use the compiler's default yield support
Mark Andrews [Mon, 6 May 2019 08:06:59 +0000 (18:06 +1000)] 
arm: just use the compiler's default yield support

7 years agoMerge branch '984-remove-dead-code-in-pkcs11-keygen-c' into 'master'
Mark Andrews [Mon, 13 May 2019 01:38:58 +0000 (21:38 -0400)] 
Merge branch '984-remove-dead-code-in-pkcs11-keygen-c' into 'master'

Resolve "Remove dead code in pkcs11-keygen.c"

Closes #984

See merge request isc-projects/bind9!1814

7 years agoremove dead code and unnecessary call to pkcs_C_GetAttributeValue
Mark Andrews [Wed, 17 Apr 2019 00:56:36 +0000 (10:56 +1000)] 
remove dead code and unnecessary call to pkcs_C_GetAttributeValue

7 years agoMerge branch '713-mem-benchmark' into 'master'
Ondřej Surý [Fri, 10 May 2019 21:20:26 +0000 (17:20 -0400)] 
Merge branch '713-mem-benchmark' into 'master'

Add benchmark for isc_{mem,mempool}_{get,put} operations

Closes #713

See merge request isc-projects/bind9!1928

7 years agoAdd benchmark for isc_{mem,mempool}_{get,put} operations
Ondřej Surý [Fri, 10 May 2019 19:09:50 +0000 (02:09 +0700)] 
Add benchmark for isc_{mem,mempool}_{get,put} operations

7 years agoMerge branch 'prep-release' v9.15.0
Tinderbox User [Fri, 10 May 2019 04:39:56 +0000 (04:39 +0000)] 
Merge branch 'prep-release'

7 years agoprep 9.15.0
Tinderbox User [Fri, 10 May 2019 04:32:56 +0000 (04:32 +0000)] 
prep 9.15.0

7 years agoMerge branch 'placeholder' into 'master'
Evan Hunt [Fri, 10 May 2019 03:59:54 +0000 (23:59 -0400)] 
Merge branch 'placeholder' into 'master'

placeholder

See merge request isc-projects/bind9!1923

7 years agoadd a placeholder that was missed earlier; update subsequent change numbers
Evan Hunt [Fri, 10 May 2019 03:58:27 +0000 (20:58 -0700)] 
add a placeholder that was missed earlier; update subsequent change numbers

7 years agoMerge branch '997-make-ntas-work-with-validating-forwarders' into 'master'
Evan Hunt [Fri, 10 May 2019 03:12:10 +0000 (23:12 -0400)] 
Merge branch '997-make-ntas-work-with-validating-forwarders' into 'master'

Make NTAs work with validating forwarders

Closes #997

See merge request isc-projects/bind9!1859

7 years agoAdd CHANGES entry
Michał Kępień [Wed, 24 Apr 2019 09:17:15 +0000 (11:17 +0200)] 
Add CHANGES entry

5219. [bug] Negative trust anchors did not work with "forward only;"
to validating resolvers. [GL #997]

7 years agoMake NTAs work with validating forwarders
Michał Kępień [Wed, 24 Apr 2019 09:17:15 +0000 (11:17 +0200)] 
Make NTAs work with validating forwarders

If named is configured to perform DNSSEC validation and also forwards
all queries ("forward only;") to validating resolvers, negative trust
anchors do not work properly because the CD bit is not set in queries
sent to the forwarders.  As a result, instead of retrieving bogus DNSSEC
material and making validation decisions based on its configuration,
named is only receiving SERVFAIL responses to queries for bogus data.
Fix by ensuring the CD bit is always set in queries sent to forwarders
if the query name is covered by an NTA.

7 years agoMerge branch '958-improve-message-about-python-ply' into 'master'
Evan Hunt [Fri, 10 May 2019 02:50:54 +0000 (22:50 -0400)] 
Merge branch '958-improve-message-about-python-ply' into 'master'

Improve the error message about missing PLY Python package

Closes #958

See merge request isc-projects/bind9!1918

7 years agoImprove the error message about missing PLY Python package
Ondřej Surý [Fri, 10 May 2019 02:29:00 +0000 (09:29 +0700)] 
Improve the error message about missing PLY Python package

Previously, only a message about missing Python was printed, which was
misleading to many users.  The new message clearly states that Python
AND PLY is required and prints basic instructions how to install PLY
package.

7 years agoMerge branch 'ondrej/reproducible-build' into 'master'
Ondřej Surý [Thu, 9 May 2019 08:24:35 +0000 (04:24 -0400)] 
Merge branch 'ondrej/reproducible-build' into 'master'

Make lib/dns/gen.c compatible with reproducible builds.

See merge request isc-projects/bind9!1758

7 years agoMake lib/dns/gen.c compatible with reproducible builds.
Ondřej Surý [Fri, 29 Mar 2019 15:17:00 +0000 (16:17 +0100)] 
Make lib/dns/gen.c compatible with reproducible builds.

The gen.c will now use SOURCE_DATE_EPOCH[1] if found in environment
to make the build more reproducible build friendly.

1. https://reproducible-builds.org/specs/source-date-epoch/

7 years agoMerge branch '960-add-edns-client-tag-and-edns-server-tag' into 'master'
Mark Andrews [Thu, 9 May 2019 07:55:38 +0000 (03:55 -0400)] 
Merge branch '960-add-edns-client-tag-and-edns-server-tag' into 'master'

Resolve "Add EDNS Client Tag and EDNS Server Tag"

Closes #960

See merge request isc-projects/bind9!1754

7 years agoRecognise EDNS Client Tag and EDNS Server Tag
Mark Andrews [Wed, 27 Mar 2019 06:16:57 +0000 (17:16 +1100)] 
Recognise EDNS Client Tag and EDNS Server Tag

7 years agoMerge branch '1015-ds-sha-1-deprecation' into 'master'
Evan Hunt [Thu, 9 May 2019 01:32:27 +0000 (21:32 -0400)] 
Merge branch '1015-ds-sha-1-deprecation' into 'master'

Deprecate SHA-1 hash in DS/CDS

Closes #1015

See merge request isc-projects/bind9!1908

7 years agoadd CHANGES and release note
Tony Finch [Wed, 30 Jan 2019 22:10:12 +0000 (22:10 +0000)] 
add CHANGES and release note

7 years agoDeprecate SHA-1 CDS records
Tony Finch [Wed, 30 Jan 2019 18:25:21 +0000 (18:25 +0000)] 
Deprecate SHA-1 CDS records

This affects CDS records generated by `named` and `dnssec-signzone`
based on `-P sync` and `-D sync` key timing instructions.

This is for conformance with the DS/CDS algorithm requirements in
https://tools.ietf.org/html/draft-ietf-dnsop-algorithm-update

7 years agoDeprecate SHA-1 DS digests in `dnssec-signzone`
Tony Finch [Wed, 30 Jan 2019 18:04:52 +0000 (18:04 +0000)] 
Deprecate SHA-1 DS digests in `dnssec-signzone`

This affects two cases:

  * When writing a `dsset` file for this zone, to be used by its
    parent, only write a SHA-256 DS record.

  * When reading a `keyset` file for a child, to generate DS records
    to include in this zone, generate SHA-256 DS records only.

This change does not affect digests used in CDS records.

This is for conformance with the DS/CDS algorithm requirements in
https://tools.ietf.org/html/draft-ietf-dnsop-algorithm-update

7 years agoDeprecate SHA-1 in `dnssec-checkds`
Tony Finch [Mon, 4 Feb 2019 13:46:51 +0000 (13:46 +0000)] 
Deprecate SHA-1 in `dnssec-checkds`

This changes the behaviour so that it explicitly lists DS records that
are present in the parent but do not have keys in the child. Any
inconsistency is reported as an error, which is somewhat stricter than
before.

This is for conformance with the DS/CDS algorithm requirements in
https://tools.ietf.org/html/draft-ietf-dnsop-algorithm-update

7 years agoDeprecate SHA-1 in `dnssec-dsfromkey`
Tony Finch [Thu, 31 Jan 2019 17:05:57 +0000 (17:05 +0000)] 
Deprecate SHA-1 in `dnssec-dsfromkey`

This makes the `-12a` options to `dnssec-dsfromkey` work more like
`dnssec-cds`, in that you can specify more than one digest and you
will get multiple records. (Previously you could only get one
non-default digest type at a time.)

The default is now `-2`. You can get the old behaviour with `-12`.

Tests and tools that use `dnssec-dsfromkey` have been updated to use
`-12` where necessary.

This is for conformance with the DS/CDS algorithm requirements in
https://tools.ietf.org/html/draft-ietf-dnsop-algorithm-update

7 years agobin/dnssec: move a little boilerplate into shared code
Tony Finch [Tue, 29 Jan 2019 16:43:54 +0000 (16:43 +0000)] 
bin/dnssec: move a little boilerplate into shared code

7 years agotests/resolver: look for hash algorithm 2 (SHA-256) now
Mark Andrews [Tue, 12 Mar 2019 05:09:01 +0000 (16:09 +1100)] 
tests/resolver: look for hash algorithm 2 (SHA-256) now

7 years agoMerge branch '899-totext-fromtext-fuzz' into 'master'
Mark Andrews [Thu, 9 May 2019 00:41:57 +0000 (20:41 -0400)] 
Merge branch '899-totext-fromtext-fuzz' into 'master'

fuzz dns_rdata_fromwire

See merge request isc-projects/bind9!1582

7 years agodns_rdata_fromwire_text fuzzer
Mark Andrews [Fri, 1 Mar 2019 02:46:48 +0000 (13:46 +1100)] 
dns_rdata_fromwire_text fuzzer

Fuzz input to dns_rdata_fromwire(). Then convert the result
to text, back to wire format, to multiline text, and back to wire
format again, checking for consistency throughout the sequence.

7 years agoMerge branch '852-bind-returning-malformed-packet-error-when-sshfp-record-has-fingerp...
Mark Andrews [Wed, 8 May 2019 22:42:56 +0000 (18:42 -0400)] 
Merge branch '852-bind-returning-malformed-packet-error-when-sshfp-record-has-fingerprint-value-less-than-4-characters' into 'master'

Resolve "Bind returning malformed packet error when sshfp record has fingerprint value less than 4 characters"

Closes #852

See merge request isc-projects/bind9!1445

7 years agoenforce known SSHFP finger print lengths
Mark Andrews [Fri, 1 Feb 2019 07:18:34 +0000 (18:18 +1100)] 
enforce known SSHFP finger print lengths

7 years agoMerge branch '868-fix-trusted-keys-handling-with-dnssec-validation-auto' into 'master'
Evan Hunt [Wed, 8 May 2019 18:38:52 +0000 (14:38 -0400)] 
Merge branch '868-fix-trusted-keys-handling-with-dnssec-validation-auto' into 'master'

fix incorrect behavior mixing trusted-keys with validation auto

Closes #868

See merge request isc-projects/bind9!1483

7 years agoCHANGES, release notes
Evan Hunt [Fri, 8 Feb 2019 06:45:28 +0000 (22:45 -0800)] 
CHANGES, release notes

7 years agoreject the use of trusted-keys and managed-keys for the same name
Evan Hunt [Thu, 7 Feb 2019 23:10:41 +0000 (15:10 -0800)] 
reject the use of trusted-keys and managed-keys for the same name

7 years agoMerge branch 'placeholder' into 'master'
Evan Hunt [Wed, 8 May 2019 02:40:34 +0000 (22:40 -0400)] 
Merge branch 'placeholder' into 'master'

placeholder

See merge request isc-projects/bind9!1903

7 years agoplaceholder
Evan Hunt [Wed, 8 May 2019 02:39:39 +0000 (19:39 -0700)] 
placeholder

7 years agoMerge branch 'placeholder' into 'master'
Evan Hunt [Tue, 7 May 2019 05:20:50 +0000 (01:20 -0400)] 
Merge branch 'placeholder' into 'master'

placeholder

See merge request isc-projects/bind9!1902

7 years agoplaceholder
Evan Hunt [Tue, 7 May 2019 05:19:48 +0000 (22:19 -0700)] 
placeholder

7 years agoMerge branch '765-allow-dig-to-print-aaaa-records-fully-expanded' into 'master'
Mark Andrews [Tue, 7 May 2019 05:06:18 +0000 (01:06 -0400)] 
Merge branch '765-allow-dig-to-print-aaaa-records-fully-expanded' into 'master'

Resolve "Allow dig to print AAAA records fully expanded."

Closes #765

See merge request isc-projects/bind9!1188

7 years agoadd CHANGES
Mark Andrews [Fri, 8 Mar 2019 06:00:27 +0000 (17:00 +1100)] 
add CHANGES

7 years agosupport printing AAAA in expanded form
Mark Andrews [Thu, 6 Dec 2018 06:36:46 +0000 (17:36 +1100)] 
support printing AAAA in expanded form

7 years agoMerge branch '991-provide-ixfr-should-only-be-tests-on-tcp-clients' into 'master'
Mark Andrews [Tue, 7 May 2019 03:23:37 +0000 (23:23 -0400)] 
Merge branch '991-provide-ixfr-should-only-be-tests-on-tcp-clients' into 'master'

Resolve "provide-ixfr should only be tested on TCP clients."

Closes #991

See merge request isc-projects/bind9!1846

7 years agoadd CHANGES
Mark Andrews [Tue, 7 May 2019 03:00:55 +0000 (13:00 +1000)] 
add CHANGES

7 years agoadd test for 'provide-ixfr no;' ; add forensics support
Mark Andrews [Wed, 24 Apr 2019 07:50:00 +0000 (17:50 +1000)] 
add test for 'provide-ixfr no;' ; add forensics support

7 years agoonly test provideixfr if the transport is TCP
Mark Andrews [Tue, 23 Apr 2019 07:48:07 +0000 (17:48 +1000)] 
only test provideixfr if the transport is TCP

7 years agoMerge branch '1005-filter-aaaa-crash-in-9-14-1' into 'master'
Mark Andrews [Tue, 7 May 2019 00:57:51 +0000 (20:57 -0400)] 
Merge branch '1005-filter-aaaa-crash-in-9-14-1' into 'master'

Resolve "filter-aaaa crash in 9.14.1"

Closes #1005

See merge request isc-projects/bind9!1886

7 years agoadd CHANGES
Mark Andrews [Tue, 7 May 2019 00:39:49 +0000 (10:39 +1000)] 
add CHANGES

7 years agolock accesses to hash table
Mark Andrews [Mon, 29 Apr 2019 23:49:42 +0000 (09:49 +1000)] 
lock accesses to hash table

7 years agoclear pointer before hash table
Mark Andrews [Mon, 29 Apr 2019 23:44:12 +0000 (09:44 +1000)] 
clear pointer before hash table