]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
7 years agoMerge branch 'ondrej/fix-race-condition-in-dnstap-v9_11' into 'v9_11'
Ondřej Surý [Tue, 15 Jan 2019 09:04:04 +0000 (04:04 -0500)] 
Merge branch 'ondrej/fix-race-condition-in-dnstap-v9_11' into 'v9_11'

(v9_11) Fix race condition in cleanup part of dns_dt_create()

See merge request isc-projects/bind9!1345

7 years agoAdd CHANGES entry for GL!1323
Witold Kręcicki [Mon, 14 Jan 2019 09:20:56 +0000 (10:20 +0100)] 
Add CHANGES entry for GL!1323

(cherry picked from commit 4b5337e06b545c18a1177e8c63e9b205c475386a)

7 years agoFix race condition in cleanup part of dns_dt_create()
Ondřej Surý [Fri, 23 Nov 2018 21:05:08 +0000 (22:05 +0100)] 
Fix race condition in cleanup part of dns_dt_create()

(cherry picked from commit 482dd7eed379382d627e81822bad10e876501dc4)

7 years agoMerge branch '590-win32-sample-gai-c-should-call-wsastartup-v9_11' into 'v9_11'
Mark Andrews [Tue, 15 Jan 2019 05:51:32 +0000 (00:51 -0500)] 
Merge branch '590-win32-sample-gai-c-should-call-wsastartup-v9_11' into 'v9_11'

Resolve "[Win32] sample-gai.c should call WSAStartup()"

See merge request isc-projects/bind9!1343

7 years agoadd CHANGES
Mark Andrews [Tue, 15 Jan 2019 03:23:21 +0000 (14:23 +1100)] 
add CHANGES

(cherry picked from commit 4500d9e91af4a09b3b7c47d0de4740b7cdd00399)

7 years agoensure that WSAStartup is called before getservbyname
Mark Andrews [Tue, 15 Jan 2019 03:19:59 +0000 (14:19 +1100)] 
ensure that WSAStartup is called before getservbyname

(cherry picked from commit ac01359871ae1e80b3915b7744373422ddec7ea1)

7 years agoMerge branch 'u/fanf2/rndc-managed-keys-v9_12-v9_11' into 'v9_11'
Evan Hunt [Tue, 15 Jan 2019 02:41:29 +0000 (21:41 -0500)] 
Merge branch 'u/fanf2/rndc-managed-keys-v9_12-v9_11' into 'v9_11'

Fix a few cosmetic issues with `rndc managed-keys`

See merge request isc-projects/bind9!1341

7 years agoadd multi-view server and tests
Mark Andrews [Mon, 14 Jan 2019 05:40:00 +0000 (16:40 +1100)] 
add multi-view server and tests

(cherry picked from commit 7122b5786db12b0811f868977740e12e540488a0)
(cherry picked from commit 22b77f45b739a211c9524ce2528a2b41a809f19e)

7 years agoadd CHANGES note
Mark Andrews [Mon, 14 Jan 2019 05:09:36 +0000 (16:09 +1100)] 
add CHANGES note

(cherry picked from commit 2d3f1597079b6814a3edbd10af381b46a3818ad1)

7 years agoFix a few cosmetic issues with `rndc managed-keys`
Tony Finch [Fri, 11 Jan 2019 15:17:04 +0000 (15:17 +0000)] 
Fix a few cosmetic issues with `rndc managed-keys`

The handling of class and view arguments was broken, because the code
didn't realise that next_token() would overwrite the class name when
it parsed the view name. The code was trying to implement a syntax
like `refresh [[class] view]`, but it was documented to have a syntax
like `refresh [class [view]]`. The latter is consistent with other rndc
commands, so that is how I have fixed it.

Before:

$ rndc managed-keys refresh in rec
rndc: 'managed-keys' failed: unknown class/type
unknown class 'rec'

After:

$ rndc managed-keys refresh in rec
refreshing managed keys for 'rec'

There were missing newlines in the output from `rndc managed-keys
refresh` and `rndc managed-keys destroy`.

Before:

$ rndc managed-keys refresh
refreshing managed keys for 'rec'refreshing managed keys for 'auth'

After:

$ rndc managed-keys refresh
refreshing managed keys for 'rec'
refreshing managed keys for 'auth'

(cherry picked from commit 6a3b851f72929802fc10a51f17b170db54988021)
(cherry picked from commit bc984ace12ef57ddbcb8ec6a87dd541b58c80f63)

7 years agoMerge branch 'fix-dnssec-test-v9_12-v9_11' into 'v9_11'
Evan Hunt [Mon, 14 Jan 2019 21:39:10 +0000 (16:39 -0500)] 
Merge branch 'fix-dnssec-test-v9_12-v9_11' into 'v9_11'

b/t/s/dnssec/tests.sh: Cleanup showprivate() function

See merge request isc-projects/bind9!1337

7 years agob/t/s/dnssec/tests.sh: Cleanup showprivate() function
Evan Hunt [Mon, 14 Jan 2019 20:24:21 +0000 (12:24 -0800)] 
b/t/s/dnssec/tests.sh: Cleanup showprivate() function

(cherry picked from commit b241dc58ec9400d690b43ed6a04cd953fe549de8)

7 years agoMerge branch 'each-fix-dnssec-test-error-v9_11' into 'v9_11'
Evan Hunt [Mon, 14 Jan 2019 02:52:19 +0000 (21:52 -0500)] 
Merge branch 'each-fix-dnssec-test-error-v9_11' into 'v9_11'

DNSSEC test error

See merge request isc-projects/bind9!1334

7 years agofix testing errors
Evan Hunt [Fri, 11 Jan 2019 22:37:21 +0000 (14:37 -0800)] 
fix testing errors

- the checkprivate function in the dnssec test set ret=0, erasing
  results from previous tests and making the test appear to have passed
  when it shouldn't have
- checkprivate needed a delay loop to ensure there was time for all
  private signing records to be updated before the test

(cherry picked from commit 82e83d5dc7abdb05908c7971571eaa2d673d8691)

7 years agoMerge branch 'u/fanf2/rndc-alphabetize-v9_11' into 'v9_11'
Mark Andrews [Mon, 14 Jan 2019 02:22:29 +0000 (21:22 -0500)] 
Merge branch 'u/fanf2/rndc-alphabetize-v9_11' into 'v9_11'

cleanup: alphabetize rndc command dispatch

See merge request isc-projects/bind9!1332

7 years agocleanup: alphabetize rndc command dispatch
Tony Finch [Mon, 14 Jan 2019 02:02:02 +0000 (13:02 +1100)] 
cleanup: alphabetize rndc command dispatch

7 years agoMerge branch '784-bind-9-12-3-p1-fatal-error-v9_11' into 'v9_11'
Mark Andrews [Wed, 9 Jan 2019 09:06:00 +0000 (04:06 -0500)] 
Merge branch '784-bind-9-12-3-p1-fatal-error-v9_11' into 'v9_11'

Resolve "bind 9.12.3-P1 fatal error"

See merge request isc-projects/bind9!1325

7 years agoadd CHANGES
Mark Andrews [Thu, 27 Dec 2018 02:47:08 +0000 (13:47 +1100)] 
add CHANGES

(cherry picked from commit 9dd39d53853e6afb7b042cf4ee1e4f9bbdb2efac)

7 years agoupdate refreshkeytime
Mark Andrews [Thu, 27 Dec 2018 02:44:16 +0000 (13:44 +1100)] 
update refreshkeytime

(cherry picked from commit ca977e39767902612498776db4609456b600d108)

7 years agoMerge branch 'marka-maybe_numeric-and-nul-v9_11' into 'v9_11'
Mark Andrews [Wed, 9 Jan 2019 08:20:44 +0000 (03:20 -0500)] 
Merge branch 'marka-maybe_numeric-and-nul-v9_11' into 'v9_11'

maybe_numeric failed to handle NUL in text region.

See merge request isc-projects/bind9!1322

7 years agomaybe_numeric failed to handle NUL in text region.
Mark Andrews [Fri, 4 Jan 2019 04:22:25 +0000 (15:22 +1100)] 
maybe_numeric failed to handle NUL in text region.

(cherry picked from commit ee23780246e89affc31c739bbc4cbd429410fba2)

7 years agoMerge branch 'marka-fail-when-required-field-is-missing-v9_11' into 'v9_11'
Mark Andrews [Wed, 9 Jan 2019 08:05:41 +0000 (03:05 -0500)] 
Merge branch 'marka-fail-when-required-field-is-missing-v9_11' into 'v9_11'

Ensure base64/base32/hex fields in DNS records that should be non-empty are.

See merge request isc-projects/bind9!1321

7 years agoEnsure base64/base32/hex fields in DNS records that should be non-empty are.
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.

(cherry picked from commit 5e8b772ad15f8e6d26c6b3d8d243ad9d59b58d29)

7 years agoMerge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache...
Mark Andrews [Wed, 9 Jan 2019 05:33:45 +0000 (00:33 -0500)] 
Merge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache-and-eventually-formerr-instead-of-nxdomain-v9_11' into 'v9_11'

Resolve "Large NSEC3 responses cause failure in adding records to ncache and, eventually, FORMERR (instead of NXDOMAIN)"

See merge request isc-projects/bind9!1316

7 years agoadd CHANGES entry
Mark Andrews [Thu, 3 Jan 2019 05:11:19 +0000 (16:11 +1100)] 
add CHANGES entry

(cherry picked from commit 3328116b572605880cd54e84a0b320ff20581370)

7 years agoallow for up 100 records or 64K of data to be in a ncache 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

(cherry picked from commit 604889e6274d80845ffce529a4247818c3c4b50d)

7 years agoMerge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache...
Evan Hunt [Wed, 9 Jan 2019 05:09:01 +0000 (00:09 -0500)] 
Merge branch '804-large-nsec3-responses-cause-failure-in-adding-records-to-ncache-and-eventually-formerr-instead-of-nxdomain-2-v9_11' into 'v9_11'

Resolve "Large NSEC3 responses cause failure in adding records to ncache and, eventually, FORMERR (instead of NXDOMAIN)"

See merge request isc-projects/bind9!1315

7 years agoadd CHANGES
Mark Andrews [Wed, 9 Jan 2019 04:07:40 +0000 (15:07 +1100)] 
add CHANGES

(cherry picked from commit 188c1843810fe0953f0332db5339cb8b946a966c)

7 years agoexplictly convert ISC_R_NOSPACE from dns_message_parse to DNS_R_FORMERR and remove...
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

(cherry picked from commit 0c42a9c0aba9a791a8ec7ec835c979634b5bc2ab)

7 years agoMerge branch '812-cookie-test-failed-v9_11' into 'v9_11'
Evan Hunt [Wed, 9 Jan 2019 04:31:36 +0000 (23:31 -0500)] 
Merge branch '812-cookie-test-failed-v9_11' into 'v9_11'

Resolve "cookie test failed."

See merge request isc-projects/bind9!1313

7 years agowait longer for dump to complete
Mark Andrews [Mon, 7 Jan 2019 04:18:46 +0000 (15:18 +1100)] 
wait longer for dump to complete

(cherry picked from commit 8a8d378deff2b8e38ca3213b92f7d3558c5b2066)

7 years agoMerge branch 'ondrej/disable-CI-in-release-branches-v9_11' into 'v9_11'
Ondřej Surý [Tue, 8 Jan 2019 14:16:59 +0000 (09:16 -0500)] 
Merge branch 'ondrej/disable-CI-in-release-branches-v9_11' into 'v9_11'

(v9_11) Run the regular pipelines only for merge requests, and run only the Debian sid...

See merge request isc-projects/bind9!1311

7 years agoRun the regular pipelines only for merge requests, and run only the Debian sid build...
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

(cherry picked from commit 24961f606882939b62f461f843933da9c2d44ea8)

7 years agoMerge branch '692-dig-fix-cleanup-upon-an-error-before-tcp-socket-creation-v9_11...
Michał Kępień [Tue, 8 Jan 2019 10:57:12 +0000 (05:57 -0500)] 
Merge branch '692-dig-fix-cleanup-upon-an-error-before-tcp-socket-creation-v9_11' into 'v9_11'

[v9_11] Fix cleanup upon an error before TCP socket creation

See merge request isc-projects/bind9!1308

7 years agoAdd CHANGES entry
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]

(cherry picked from commit 3242cb53ecd1df56b2dba9e022e78ae950185345)

7 years agoFix cleanup upon an error before TCP socket creation
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.

(cherry picked from commit 13975b32c6a9ba50b249dede668a1461546b5793)

7 years agoRefactor code sending a query to the next server upon a timeout
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.

(cherry picked from commit c108fc5c6e318184f32dae306baa57ef3ad545c0)

7 years agoRemove dead code handling address family mismatches for TCP sockets
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.

(cherry picked from commit ef1da8731b7b176179ba5ca09ae884a524aadc98)

7 years agoMerge branch '315-track-forwarder-timeouts-in-fetch-contexts-v9_11' into 'v9_11'
Michał Kępień [Tue, 8 Jan 2019 10:00:06 +0000 (05:00 -0500)] 
Merge branch '315-track-forwarder-timeouts-in-fetch-contexts-v9_11' into 'v9_11'

[v9_11] Track forwarder timeouts in fetch contexts

See merge request isc-projects/bind9!1306

7 years agoAdd CHANGES entry
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]

(cherry picked from commit 1df9ca9e6a190b8d601f21bd6d812a16c401240e)

7 years agoTrack forwarder timeouts in fetch contexts
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.

(cherry picked from commit 33350626f9b14bed48a6d0478dfe0823da175848)

7 years agoMerge branch 'marka-fix-stub_dlz_allowzonexfr-v9_11' into 'v9_11'
Mark Andrews [Mon, 7 Jan 2019 04:43:02 +0000 (23:43 -0500)] 
Merge branch 'marka-fix-stub_dlz_allowzonexfr-v9_11' into 'v9_11'

return ISC_R_NOTFOUND when name does not match the zone name

See merge request isc-projects/bind9!1302

7 years agoadd CHANGES
Mark Andrews [Mon, 7 Jan 2019 03:38:48 +0000 (14:38 +1100)] 
add CHANGES

(cherry picked from commit bb57c7f775305e241976f5da15f60bf81d8d7bdd)

7 years agoreturn ISC_R_NOTFOUND when name does not match the zone name
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

(cherry picked from commit 402190df1819293d009a6ff0b47d3d670dee5eea)

7 years agoMerge branch 'indenting-v9_11' into 'v9_11'
Mark Andrews [Wed, 2 Jan 2019 01:11:51 +0000 (20:11 -0500)] 
Merge branch 'indenting-v9_11' into 'v9_11'

indenting

See merge request isc-projects/bind9!1291

7 years agoindenting
Mark Andrews [Tue, 1 Jan 2019 23:11:51 +0000 (10:11 +1100)] 
indenting

(cherry picked from commit c69ad952383f5bb26f7c2680fd2572461fe87b19)

7 years agoMerge branch 'copyrights-v9_11' into 'v9_11'
Mark Andrews [Tue, 1 Jan 2019 23:45:03 +0000 (18:45 -0500)] 
Merge branch 'copyrights-v9_11' into 'v9_11'

update copyrights

See merge request isc-projects/bind9!1289

7 years agoupdate copyrights
Mark Andrews [Tue, 1 Jan 2019 23:26:49 +0000 (10:26 +1100)] 
update copyrights

7 years agoMerge branch 'ondrej/sync-gitlab-ci-with-master' into 'v9_11'
Ondřej Surý [Fri, 21 Dec 2018 09:11:14 +0000 (04:11 -0500)] 
Merge branch 'ondrej/sync-gitlab-ci-with-master' into 'v9_11'

[v9_11] Sync GitLab CI jobs with master

See merge request isc-projects/bind9!1222

7 years agoFor system tests, retry twice before failing
Ondřej Surý [Tue, 18 Dec 2018 14:33:59 +0000 (15:33 +0100)] 
For system tests, retry twice before failing

7 years agoFix the stdatomic #ifdefs to work with older compilers
Ondřej Surý [Thu, 13 Dec 2018 13:45:02 +0000 (14:45 +0100)] 
Fix the stdatomic #ifdefs to work with older compilers

7 years agoAdd better EMPTY_TRANSLATION_UNIT to isc/util.h
Ondřej Surý [Thu, 14 Jun 2018 21:55:17 +0000 (23:55 +0200)] 
Add better EMPTY_TRANSLATION_UNIT to isc/util.h

7 years agoFix ECC algorithms unused constants in PKCS#11 build
Ondřej Surý [Thu, 19 Jul 2018 17:46:01 +0000 (13:46 -0400)] 
Fix ECC algorithms unused constants in PKCS#11 build

7 years agoAdd Ubuntu Xenial and Bionic to GitLab CI jobs
Ondřej Surý [Wed, 12 Dec 2018 13:52:29 +0000 (14:52 +0100)] 
Add Ubuntu Xenial and Bionic to GitLab CI jobs

7 years agoSoftHSM 2.4.0 only supports softhsm2.conf now, rewrite GitLab CI commands to properly...
Ondřej Surý [Mon, 13 Aug 2018 09:24:36 +0000 (11:24 +0200)] 
SoftHSM 2.4.0 only supports softhsm2.conf now, rewrite GitLab CI commands to properly support that

7 years agoAdd unreachable.spatch coccinelle recipe and run it in precheck CI phase
Ondřej Surý [Thu, 8 Nov 2018 15:38:46 +0000 (22:38 +0700)] 
Add unreachable.spatch coccinelle recipe and run it in precheck CI phase

7 years agoSync GitLab CI jobs with master branch
Ondřej Surý [Wed, 12 Dec 2018 14:29:47 +0000 (15:29 +0100)] 
Sync GitLab CI jobs with master branch

7 years agoMerge branch '674-abort-when-memory-allocation-fails-v9_11-strerror-fix' into 'v9_11'
Ondřej Surý [Fri, 21 Dec 2018 08:29:06 +0000 (03:29 -0500)] 
Merge branch '674-abort-when-memory-allocation-fails-v9_11-strerror-fix' into 'v9_11'

Resolve "Abort when memory allocation or other mandatory resource allocation fails"

See merge request isc-projects/bind9!1278

7 years agoUse isc__strerror instead of strerror_r in v9_11 branch
Ondřej Surý [Fri, 21 Dec 2018 08:26:50 +0000 (09:26 +0100)] 
Use isc__strerror instead of strerror_r in v9_11 branch

7 years agoMerge branch '674-abort-when-memory-allocation-fails-v9_11' into 'v9_11'
Ondřej Surý [Fri, 21 Dec 2018 08:13:37 +0000 (03:13 -0500)] 
Merge branch '674-abort-when-memory-allocation-fails-v9_11' into 'v9_11'

(v9_11) Resolve "abort when memory allocation fails"

See merge request isc-projects/bind9!1274

7 years agoAdd CHANGES entry for GL #674
Ondřej Surý [Mon, 12 Nov 2018 11:00:07 +0000 (12:00 +0100)] 
Add CHANGES entry for GL #674

(cherry picked from commit 37ff7f635b93ef6fd3c98e5432151e807ecb1cd3)

7 years agoAbort on allocation failure only if the memory functions are used internally in BIND 9
Ondřej Surý [Thu, 20 Dec 2018 10:20:10 +0000 (11:20 +0100)] 
Abort on allocation failure only if the memory functions are used internally in BIND 9

(cherry picked from commit c22241ae9009391c1d28085c5cf0009a6caef09c)

7 years agoAbort on memory allocation failure
Ondřej Surý [Mon, 12 Nov 2018 10:50:52 +0000 (11:50 +0100)] 
Abort on memory allocation failure

(cherry picked from commit 8de2451756d7baaaf842a300d35b00a8d8b22cb0)

7 years agoMerge branch '783-dnssec-signzone-unsupported-algorithms-v9_11' into 'v9_11'
Matthijs Mekking [Thu, 20 Dec 2018 15:32:59 +0000 (10:32 -0500)] 
Merge branch '783-dnssec-signzone-unsupported-algorithms-v9_11' into 'v9_11'

(v9_11) Resolve "Allow unsupported algorithms in zone when not used for signing"

See merge request isc-projects/bind9!1271

7 years agoRemove dig_with_opts
Matthijs Mekking [Thu, 20 Dec 2018 14:23:07 +0000 (15:23 +0100)] 
Remove dig_with_opts

7 years agoReplace DSA with Reserved algorithm
Matthijs Mekking [Wed, 19 Dec 2018 09:16:10 +0000 (10:16 +0100)] 
Replace DSA with Reserved algorithm

(cherry picked from commit 17cdde1e56abae5c3bf5256ecbdacbd8cbef05b6)

7 years agoMove REQUIRE outside comment unsupported alg
Matthijs Mekking [Tue, 18 Dec 2018 21:06:08 +0000 (22:06 +0100)] 
Move REQUIRE outside comment unsupported alg

(cherry picked from commit 5ca649967e661cd3f292913f54a72080da245523)

7 years agoAllow unsupported alg in zone /w dnssec-signzone
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.

(cherry picked from commit 1dd11fc754baf396bb3040527087b14f0678dd83)

7 years agoAdd dnssec-signzone tests with unsupported alg
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.

(cherry picked from commit 6d976b37c1b2b2c4bcede89252cf26b6f170c142)
(cherry picked from commit 8619318a1e6207e487438a93bd7a620967091347)

7 years agoMerge branch '768-add-description-to-ldap-schema-v9_11' into 'v9_11'
Ondřej Surý [Thu, 20 Dec 2018 09:47:01 +0000 (04:47 -0500)] 
Merge branch '768-add-description-to-ldap-schema-v9_11' into 'v9_11'

(v9_11) Add optional description field to LDAP schema

See merge request isc-projects/bind9!1269

7 years agoAdd optional description field to LDAP schema
Roland Gruber [Thu, 20 Dec 2018 08:46:32 +0000 (09:46 +0100)] 
Add optional description field to LDAP schema

(cherry picked from commit 83903f6f5e03030100fc1d1b31ee078345090883)

7 years agoMerge branch '787-set-the-clang-define-to-1-v9_11' into 'v9_11'
Ondřej Surý [Wed, 19 Dec 2018 23:16:51 +0000 (18:16 -0500)] 
Merge branch '787-set-the-clang-define-to-1-v9_11' into 'v9_11'

(v9_11) __SANITIZE_ADDRESS__ needs to be defined to 1

See merge request isc-projects/bind9!1266

7 years ago__SANITIZE_ADDRESS__ needs to be defined to 1
Ondřej Surý [Wed, 19 Dec 2018 21:02:37 +0000 (22:02 +0100)] 
__SANITIZE_ADDRESS__ needs to be defined to 1

(cherry picked from commit ff7c868f25f109ddfcef254cc0d6803ce40097b1)

7 years agoMerge branch '782-add-support-for-msys2-in-stop.pl-script-v9_11' into 'v9_11'
Ondřej Surý [Wed, 19 Dec 2018 21:14:18 +0000 (16:14 -0500)] 
Merge branch '782-add-support-for-msys2-in-stop.pl-script-v9_11' into 'v9_11'

(v9_11) Properly detect msys/msys2 environment in the stop.pl script.

See merge request isc-projects/bind9!1261

7 years agoProperly detect msys/msys2 environment in the stop.pl script.
Ondřej Surý [Tue, 18 Dec 2018 12:20:10 +0000 (13:20 +0100)] 
Properly detect msys/msys2 environment in the stop.pl script.

(cherry picked from commit 808dac07601dcd8a3c17a28a445fe54caf4385ba)

7 years agoMerge branch '787-use-correct-define-v9_11' into 'v9_11'
Ondřej Surý [Wed, 19 Dec 2018 11:47:44 +0000 (06:47 -0500)] 
Merge branch '787-use-correct-define-v9_11' into 'v9_11'

gcc defines __SANITIZE_ADDRESS__ and not __ADDRESS_SANITIZER__, use the correct #define

See merge request isc-projects/bind9!1257

7 years agogcc defines __SANITIZE_ADDRESS__ and not __ADDRESS_SANITIZER__, use the correct ...
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

(cherry picked from commit 8903d68d69bfb843a75225f23c279f88d4107c4c)

7 years agoMerge branch '787-disable-rtld_deepbind-when-compiled-under-asan-v9_11' into 'v9_11'
Ondřej Surý [Wed, 19 Dec 2018 10:38:46 +0000 (05:38 -0500)] 
Merge branch '787-disable-rtld_deepbind-when-compiled-under-asan-v9_11' into 'v9_11'

(v9_11) Resolve "RTLD_DEEPBIND and AddressSanitizer aren't compatible"

See merge request isc-projects/bind9!1254

7 years agoDisable RTLD_DEEPBIND when compiled under AddressSanitizer
Ondřej Surý [Wed, 19 Dec 2018 08:59:40 +0000 (09:59 +0100)] 
Disable RTLD_DEEPBIND when compiled under AddressSanitizer

(cherry picked from commit cad6b39cabb78d0c0c2ae7201255948ed24766c5)

7 years agoDefine __ADDRESS_SANITIZER__ if compiling under clang's AddressSanitizer
Ondřej Surý [Wed, 19 Dec 2018 08:54:37 +0000 (09:54 +0100)] 
Define __ADDRESS_SANITIZER__ if compiling under clang's AddressSanitizer

(cherry picked from commit e1ce3a3d42ecc4cfcddc7b31f20956f87865b860)

7 years agoMerge branch '782-revert-cygwin-grep-CRLF-issue-v9_12-v9_11' into 'v9_11'
Ondřej Surý [Mon, 17 Dec 2018 11:57:14 +0000 (06:57 -0500)] 
Merge branch '782-revert-cygwin-grep-CRLF-issue-v9_12-v9_11' into 'v9_11'

Revert "Merge branch '782-cygwin-grep-CRLF-issue-v9_12-v9_11' into 'v9_11'"

See merge request isc-projects/bind9!1243

7 years agoRevert "Merge branch '782-cygwin-grep-CRLF-issue-v9_12-v9_11' into 'v9_11'"
Ondřej Surý [Mon, 17 Dec 2018 11:44:24 +0000 (12:44 +0100)] 
Revert "Merge branch '782-cygwin-grep-CRLF-issue-v9_12-v9_11' into 'v9_11'"

This reverts commit b644eb672bc8190e1eedb77ace089db97c9a7b14, reversing
changes made to 3b302c58e2d1ad975089d693e6649727a117b25a.

7 years agoMerge branch '782-cygwin-grep-CRLF-issue-v9_12-v9_11' into 'v9_11'
Evan Hunt [Sat, 15 Dec 2018 05:24:05 +0000 (00:24 -0500)] 
Merge branch '782-cygwin-grep-CRLF-issue-v9_12-v9_11' into 'v9_11'

Resolve "current version of cygwin grep causes tests to fail when grepping for end of line character"

See merge request isc-projects/bind9!1240

7 years agominor fixes to dns64 and rndc CRLF fix. rpzrecurse failure will be addressed in a...
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

7 years agomore CRLF fixes (dns64)
Curtis Blackburn [Fri, 14 Dec 2018 01:08:57 +0000 (17:08 -0800)] 
more CRLF fixes (dns64)

7 years agodigdelv test fixed for CRLF issue
Curtis Blackburn [Fri, 14 Dec 2018 00:22:49 +0000 (16:22 -0800)] 
digdelv test fixed for CRLF issue

7 years agowindows CRLF issues fixed in builtin test
Curtis Blackburn [Fri, 14 Dec 2018 00:00:49 +0000 (16:00 -0800)] 
windows CRLF issues fixed in builtin test

7 years agoMerge branch '779-named-checkconf-crashes-in-parser-c-v9_11' into 'v9_11'
Mark Andrews [Fri, 14 Dec 2018 22:51:13 +0000 (17:51 -0500)] 
Merge branch '779-named-checkconf-crashes-in-parser-c-v9_11' into 'v9_11'

Resolve "named-checkconf crashes in parser.c"

See merge request isc-projects/bind9!1237

7 years agopass the correct object to cfg_obj_log
Mark Andrews [Fri, 14 Dec 2018 05:29:02 +0000 (16:29 +1100)] 
pass the correct object to cfg_obj_log

(cherry picked from commit 53a33f736547e0bafae9b6228107e09592b98f17)

7 years agoMerge branch '742-isc-support-13767-nsec3-typemap-improperly-includes-dnskey-rrset...
Mark Andrews [Fri, 14 Dec 2018 03:58:25 +0000 (22:58 -0500)] 
Merge branch '742-isc-support-13767-nsec3-typemap-improperly-includes-dnskey-rrset-instead-of-ignoring-it-as-out-of-zone-v9_11' into 'v9_11'

Resolve "[ISC-support

See merge request isc-projects/bind9!1233

7 years agoadd CHANGES
Mark Andrews [Fri, 14 Dec 2018 01:53:13 +0000 (12:53 +1100)] 
add CHANGES

(cherry picked from commit 85da986d68080605aa1002d28c8664af3378ea22)

7 years agoadd unit tests for dns_rdatatype_atcname, dns_rdatatype_atparent and iszonecutauth
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

(cherry picked from commit f2f77119778cd701bfdd9d0598a82fd4da2ad926)

7 years agocheck that DNSKEY and other occluded data are excluded from the delegating bitmap
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

(cherry picked from commit 7e4b82103be08f0cbd17e1e3871e17246a53e859)

7 years agocreate dns_rdatatype_atcname to split records that can appear along side CNAME from...
Mark Andrews [Sun, 25 Nov 2018 23:57:02 +0000 (10:57 +1100)] 
create dns_rdatatype_atcname to split records that can appear along side CNAME from DNSSEC; dns_rdatatype_iszonecutauth allowed too many types

(cherry picked from commit f4ceb12b691682a4bd46345f9a2b90ed4e298808)

7 years agoMerge branch 'marka-tabify-changes-precheck-v9_11' into 'v9_11'
Evan Hunt [Thu, 13 Dec 2018 05:53:25 +0000 (00:53 -0500)] 
Merge branch 'marka-tabify-changes-precheck-v9_11' into 'v9_11'

tabify changes precheck

See merge request isc-projects/bind9!1227

7 years agowhite space
Mark Andrews [Tue, 11 Dec 2018 23:40:35 +0000 (10:40 +1100)] 
white space

7 years agotabify-changes precheck
Mark Andrews [Tue, 11 Dec 2018 23:37:57 +0000 (10:37 +1100)] 
tabify-changes precheck

(cherry picked from commit 87b3b460962ed2735a5f95e3d7e258da5b714a09)

7 years agoMerge branch 'ondrej/rename-the-envvar-to-BUILD_PARALLEL_JOBS-v9_11' into 'v9_11'
Ondřej Surý [Wed, 12 Dec 2018 22:27:17 +0000 (17:27 -0500)] 
Merge branch 'ondrej/rename-the-envvar-to-BUILD_PARALLEL_JOBS-v9_11' into 'v9_11'

(v9_11) Rename the GitLab CI environment variable to BUILD_PARALLEL_JOBS

See merge request isc-projects/bind9!1225

7 years agoRename the GitLab CI environment variable to BUILD_PARALLEL_JOBS
Ondřej Surý [Wed, 12 Dec 2018 20:54:54 +0000 (21:54 +0100)] 
Rename the GitLab CI environment variable to BUILD_PARALLEL_JOBS

(cherry picked from commit e20d5e4dd237d5c0358f50104c92e8822eb9f4f2)

7 years agoMerge branch '760-the-notify-system-test-incorrectly-detects-startup-notify-rate...
Mark Andrews [Tue, 11 Dec 2018 23:44:25 +0000 (18:44 -0500)] 
Merge branch '760-the-notify-system-test-incorrectly-detects-startup-notify-rate-error-v9_11' into 'v9_11'

Resolve "The notify system test incorrectly detects startup notify rate error."

See merge request isc-projects/bind9!1219