mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 08:05:21 +00:00
Merge branch 'security-master'
This commit is contained in:
16
CHANGES
16
CHANGES
@@ -6,9 +6,15 @@
|
|||||||
readability and allow correct parsing of YAML
|
readability and allow correct parsing of YAML
|
||||||
output. [GL #1226]
|
output. [GL #1226]
|
||||||
|
|
||||||
5299. [placeholder]
|
--- 9.15.5 released ---
|
||||||
|
|
||||||
5298. [placeholder]
|
5299. [security] A flaw in DNSSEC verification when transferring
|
||||||
|
mirror zones could allow data to be incorrectly
|
||||||
|
marked valid. (CVE-2019-6475) [GL #1252]
|
||||||
|
|
||||||
|
5298. [security] Named could assert if a forwarder returned a
|
||||||
|
referral, rather than resolving the query, when QNAME
|
||||||
|
minimization was enabled. (CVE-2019-6476) [GL #1051]
|
||||||
|
|
||||||
5297. [bug] Check whether a previous QNAME minimization fetch
|
5297. [bug] Check whether a previous QNAME minimization fetch
|
||||||
is still running before starting a new one; return
|
is still running before starting a new one; return
|
||||||
@@ -39,7 +45,7 @@
|
|||||||
5289. [bug] Address NULL pointer dereference in rpz.c:rpz_detach.
|
5289. [bug] Address NULL pointer dereference in rpz.c:rpz_detach.
|
||||||
[GL #1210]
|
[GL #1210]
|
||||||
|
|
||||||
5288. [bug] dnssec-must-be-secure was not always honoured.
|
5288. [bug] dnssec-must-be-secure was not always honored.
|
||||||
[GL #1209]
|
[GL #1209]
|
||||||
|
|
||||||
5287. [placeholder]
|
5287. [placeholder]
|
||||||
@@ -116,7 +122,7 @@
|
|||||||
|
|
||||||
5268. [placeholder]
|
5268. [placeholder]
|
||||||
|
|
||||||
5267. [func] Allow statistics groups display to be toggleable.
|
5267. [func] Allow statistics groups display to be toggle-able.
|
||||||
[GL #1030]
|
[GL #1030]
|
||||||
|
|
||||||
5266. [bug] named-checkconf failed to report dnstap-output
|
5266. [bug] named-checkconf failed to report dnstap-output
|
||||||
@@ -224,7 +230,7 @@
|
|||||||
code in a high-load cold-cache resolver scenario.
|
code in a high-load cold-cache resolver scenario.
|
||||||
[GL #943]
|
[GL #943]
|
||||||
|
|
||||||
5242. [bug] In relaxed qname minimizatiom mode, fall back to
|
5242. [bug] In relaxed qname minimization mode, fall back to
|
||||||
normal resolution when encountering a lame
|
normal resolution when encountering a lame
|
||||||
delegation, and use _.domain/A queries rather
|
delegation, and use _.domain/A queries rather
|
||||||
than domain/NS. [GL #1055]
|
than domain/NS. [GL #1055]
|
||||||
|
@@ -51,6 +51,11 @@ zone "example5." {
|
|||||||
file "example.db";
|
file "example.db";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
zone "sld.tld" {
|
||||||
|
type master;
|
||||||
|
file "sld.tld.db";
|
||||||
|
};
|
||||||
|
|
||||||
/* A forward zone without forwarders. */
|
/* A forward zone without forwarders. */
|
||||||
zone "example6" {
|
zone "example6" {
|
||||||
type forward;
|
type forward;
|
||||||
|
11
bin/tests/system/forward/ns1/sld.tld.db
Normal file
11
bin/tests/system/forward/ns1/sld.tld.db
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
$TTL 300 ; 5 minutes
|
||||||
|
@ IN SOA ns root (
|
||||||
|
2000082401 ; serial
|
||||||
|
1800 ; refresh (30 minutes)
|
||||||
|
1800 ; retry (30 minutes)
|
||||||
|
1814400 ; expire (3 weeks)
|
||||||
|
3600 ; minimum (1 hour)
|
||||||
|
)
|
||||||
|
NS ns
|
||||||
|
ns A 10.53.0.1
|
||||||
|
xxx TXT "foo"
|
@@ -60,3 +60,8 @@ zone "1.0.10.in-addr.arpa." {
|
|||||||
type master;
|
type master;
|
||||||
file "example.db";
|
file "example.db";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
zone "tld" {
|
||||||
|
type master;
|
||||||
|
file "tld.db";
|
||||||
|
};
|
||||||
|
12
bin/tests/system/forward/ns2/tld.db
Normal file
12
bin/tests/system/forward/ns2/tld.db
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
$TTL 300 ; 5 minutes
|
||||||
|
@ IN SOA ns root (
|
||||||
|
2000082401 ; serial
|
||||||
|
1800 ; refresh (30 minutes)
|
||||||
|
1800 ; retry (30 minutes)
|
||||||
|
1814400 ; expire (3 weeks)
|
||||||
|
3600 ; minimum (1 hour)
|
||||||
|
)
|
||||||
|
NS ns
|
||||||
|
ns A 10.53.0.2
|
||||||
|
sld NS ns.sld
|
||||||
|
ns.sld A 10.53.0.1
|
28
bin/tests/system/forward/ns8/named.conf.in
Normal file
28
bin/tests/system/forward/ns8/named.conf.in
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
||||||
|
*
|
||||||
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
*
|
||||||
|
* See the COPYRIGHT file distributed with this work for additional
|
||||||
|
* information regarding copyright ownership.
|
||||||
|
*/
|
||||||
|
|
||||||
|
options {
|
||||||
|
query-source address 10.53.0.8;
|
||||||
|
notify-source 10.53.0.8;
|
||||||
|
transfer-source 10.53.0.8;
|
||||||
|
port @PORT@;
|
||||||
|
pid-file "named.pid";
|
||||||
|
listen-on { 10.53.0.8; };
|
||||||
|
listen-on-v6 { none; };
|
||||||
|
forwarders { 10.53.0.2; }; // returns referrals
|
||||||
|
forward first;
|
||||||
|
dnssec-validation yes;
|
||||||
|
};
|
||||||
|
|
||||||
|
zone "." {
|
||||||
|
type hint;
|
||||||
|
file "root.db";
|
||||||
|
};
|
11
bin/tests/system/forward/ns8/root.db
Normal file
11
bin/tests/system/forward/ns8/root.db
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
||||||
|
;
|
||||||
|
; This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
; License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
;
|
||||||
|
; See the COPYRIGHT file distributed with this work for additional
|
||||||
|
; information regarding copyright ownership.
|
||||||
|
|
||||||
|
. NS a.root-servers.nil.
|
||||||
|
a.root-servers.nil. A 10.53.0.1
|
@@ -19,3 +19,4 @@ copy_setports ns3/named.conf.in ns3/named.conf
|
|||||||
copy_setports ns4/named.conf.in ns4/named.conf
|
copy_setports ns4/named.conf.in ns4/named.conf
|
||||||
copy_setports ns5/named.conf.in ns5/named.conf
|
copy_setports ns5/named.conf.in ns5/named.conf
|
||||||
copy_setports ns7/named.conf.in ns7/named.conf
|
copy_setports ns7/named.conf.in ns7/named.conf
|
||||||
|
copy_setports ns8/named.conf.in ns8/named.conf
|
||||||
|
@@ -159,5 +159,12 @@ sent=`grep "10.53.0.7#.* (.): query '\./NS/IN' approved" ns1/named.run | wc -l`
|
|||||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||||
status=`expr $status + $ret`
|
status=`expr $status + $ret`
|
||||||
|
|
||||||
|
echo_i "checking recovery from forwarding to a non-recursive server"
|
||||||
|
ret=0
|
||||||
|
$DIG $DIGOPTS xxx.sld.tld txt @10.53.0.8 > dig.out.f8
|
||||||
|
grep "status: NOERROR" dig.out.f8 > /dev/null || ret=1
|
||||||
|
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||||
|
status=`expr $status + $ret`
|
||||||
|
|
||||||
echo_i "exit status: $status"
|
echo_i "exit status: $status"
|
||||||
[ $status -eq 0 ] || exit 1
|
[ $status -eq 0 ] || exit 1
|
||||||
|
@@ -614,6 +614,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -146,6 +146,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -856,6 +856,6 @@ controls {
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -2840,6 +2840,6 @@ $ORIGIN 0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa.
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -14897,6 +14897,6 @@ HOST-127.EXAMPLE. MX 0 .
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -360,6 +360,6 @@ allow-query { !{ !10/8; any; }; key example; };
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -191,6 +191,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
<div class="toc">
|
<div class="toc">
|
||||||
<p><b>Table of Contents</b></p>
|
<p><b>Table of Contents</b></p>
|
||||||
<dl class="toc">
|
<dl class="toc">
|
||||||
<dt><span class="section"><a href="Bv9ARM.ch08.html#id-1.9.2">Release Notes for BIND Version 9.15.4</a></span></dt>
|
<dt><span class="section"><a href="Bv9ARM.ch08.html#id-1.9.2">Release Notes for BIND Version 9.15.5</a></span></dt>
|
||||||
<dd><dl>
|
<dd><dl>
|
||||||
<dt><span class="section"><a href="Bv9ARM.ch08.html#relnotes_intro">Introduction</a></span></dt>
|
<dt><span class="section"><a href="Bv9ARM.ch08.html#relnotes_intro">Introduction</a></span></dt>
|
||||||
<dt><span class="section"><a href="Bv9ARM.ch08.html#relnotes_versions">Note on Version Numbering</a></span></dt>
|
<dt><span class="section"><a href="Bv9ARM.ch08.html#relnotes_versions">Note on Version Numbering</a></span></dt>
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||||
<a name="id-1.9.2"></a>Release Notes for BIND Version 9.15.4</h2></div></div></div>
|
<a name="id-1.9.2"></a>Release Notes for BIND Version 9.15.5</h2></div></div></div>
|
||||||
|
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<div class="titlepage"><div><div><h3 class="title">
|
<div class="titlepage"><div><div><h3 class="title">
|
||||||
@@ -152,6 +152,21 @@
|
|||||||
This flaw is disclosed in CVE-2019-6471. [GL #942]
|
This flaw is disclosed in CVE-2019-6471. [GL #942]
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="listitem">
|
||||||
|
<p>
|
||||||
|
<span class="command"><strong>named</strong></span> could crash with an assertion failure
|
||||||
|
if a forwarder returned a referral, rather than resolving the
|
||||||
|
query, when QNAME minimization was enabled. This flaw is
|
||||||
|
disclosed in CVE-2019-6476. [GL #1051]
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li class="listitem">
|
||||||
|
<p>
|
||||||
|
A flaw in DNSSEC verification when transferring mirror zones
|
||||||
|
could allow data to be incorrectly marked valid. This flaw
|
||||||
|
is disclosed in CVE-2019-6475. [GL #1252]
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="section">
|
<div class="section">
|
||||||
@@ -530,6 +545,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -148,6 +148,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -914,6 +914,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -537,6 +537,6 @@ $ <strong class="userinput"><code>sample-update -a sample-update -k Kxxx.+nnn+mm
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -210,6 +210,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<div><h1 class="title">
|
<div><h1 class="title">
|
||||||
<a name="id-1"></a>BIND 9 Administrator Reference Manual</h1></div>
|
<a name="id-1"></a>BIND 9 Administrator Reference Manual</h1></div>
|
||||||
<div><p class="releaseinfo">BIND Version 9.15.4</p></div>
|
<div><p class="releaseinfo">BIND Version 9.15.5</p></div>
|
||||||
<div><p class="copyright">Copyright <20> 2000-2019 Internet Systems Consortium, Inc. ("ISC")</p></div>
|
<div><p class="copyright">Copyright <20> 2000-2019 Internet Systems Consortium, Inc. ("ISC")</p></div>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
@@ -245,7 +245,7 @@
|
|||||||
</dl></dd>
|
</dl></dd>
|
||||||
<dt><span class="appendix"><a href="Bv9ARM.ch08.html">A. Release Notes</a></span></dt>
|
<dt><span class="appendix"><a href="Bv9ARM.ch08.html">A. Release Notes</a></span></dt>
|
||||||
<dd><dl>
|
<dd><dl>
|
||||||
<dt><span class="section"><a href="Bv9ARM.ch08.html#id-1.9.2">Release Notes for BIND Version 9.15.4</a></span></dt>
|
<dt><span class="section"><a href="Bv9ARM.ch08.html#id-1.9.2">Release Notes for BIND Version 9.15.5</a></span></dt>
|
||||||
<dd><dl>
|
<dd><dl>
|
||||||
<dt><span class="section"><a href="Bv9ARM.ch08.html#relnotes_intro">Introduction</a></span></dt>
|
<dt><span class="section"><a href="Bv9ARM.ch08.html#relnotes_intro">Introduction</a></span></dt>
|
||||||
<dt><span class="section"><a href="Bv9ARM.ch08.html#relnotes_versions">Note on Version Numbering</a></span></dt>
|
<dt><span class="section"><a href="Bv9ARM.ch08.html#relnotes_versions">Note on Version Numbering</a></span></dt>
|
||||||
@@ -443,6 +443,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Binary file not shown.
@@ -90,6 +90,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -220,6 +220,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -621,6 +621,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1188,6 +1188,6 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -376,6 +376,6 @@ nsupdate -l
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -156,6 +156,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -270,6 +270,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -341,6 +341,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -250,6 +250,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -498,6 +498,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -555,6 +555,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -405,6 +405,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -171,6 +171,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -349,6 +349,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -707,6 +707,6 @@ db.example.com.signed
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -214,6 +214,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -143,6 +143,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -168,6 +168,6 @@ plugin query "/usr/local/lib/filter-aaaa.so" {
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -366,6 +366,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -610,6 +610,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -214,6 +214,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -463,6 +463,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -117,6 +117,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -119,6 +119,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -121,6 +121,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1069,6 +1069,6 @@ zone
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -492,6 +492,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -155,6 +155,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -437,6 +437,6 @@ nslookup -query=hinfo -timeout=10
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -818,6 +818,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -162,6 +162,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -200,6 +200,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -158,6 +158,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -123,6 +123,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -260,6 +260,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -268,6 +268,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1017,6 +1017,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.4 (Development Release)</p>
|
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.15.5 (Development Release)</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -34,5 +34,20 @@
|
|||||||
This flaw is disclosed in CVE-2019-6471. [GL #942]
|
This flaw is disclosed in CVE-2019-6471. [GL #942]
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<command>named</command> could crash with an assertion failure
|
||||||
|
if a forwarder returned a referral, rather than resolving the
|
||||||
|
query, when QNAME minimization was enabled. This flaw is
|
||||||
|
disclosed in CVE-2019-6476. [GL #1051]
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
A flaw in DNSSEC verification when transferring mirror zones
|
||||||
|
could allow data to be incorrectly marked valid. This flaw
|
||||||
|
is disclosed in CVE-2019-6475. [GL #1252]
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||||
<a name="id-1.2"></a>Release Notes for BIND Version 9.15.4</h2></div></div></div>
|
<a name="id-1.2"></a>Release Notes for BIND Version 9.15.5</h2></div></div></div>
|
||||||
|
|
||||||
<div class="section">
|
<div class="section">
|
||||||
<div class="titlepage"><div><div><h3 class="title">
|
<div class="titlepage"><div><div><h3 class="title">
|
||||||
@@ -112,6 +112,21 @@
|
|||||||
This flaw is disclosed in CVE-2019-6471. [GL #942]
|
This flaw is disclosed in CVE-2019-6471. [GL #942]
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="listitem">
|
||||||
|
<p>
|
||||||
|
<span class="command"><strong>named</strong></span> could crash with an assertion failure
|
||||||
|
if a forwarder returned a referral, rather than resolving the
|
||||||
|
query, when QNAME minimization was enabled. This flaw is
|
||||||
|
disclosed in CVE-2019-6476. [GL #1051]
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li class="listitem">
|
||||||
|
<p>
|
||||||
|
A flaw in DNSSEC verification when transferring mirror zones
|
||||||
|
could allow data to be incorrectly marked valid. This flaw
|
||||||
|
is disclosed in CVE-2019-6475. [GL #1252]
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="section">
|
<div class="section">
|
||||||
|
Binary file not shown.
@@ -1,4 +1,4 @@
|
|||||||
Release Notes for BIND Version 9.15.4
|
Release Notes for BIND Version 9.15.5
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
|
|
||||||
@@ -63,6 +63,14 @@ Security Fixes
|
|||||||
number of incoming packets were being rejected. This flaw is disclosed
|
number of incoming packets were being rejected. This flaw is disclosed
|
||||||
in CVE-2019-6471. [GL #942]
|
in CVE-2019-6471. [GL #942]
|
||||||
|
|
||||||
|
* named could crash with an assertion failure if a forwarder returned a
|
||||||
|
referral, rather than resolving the query, when QNAME minimization was
|
||||||
|
enabled. This flaw is disclosed in CVE-2019-6476. [GL #1051]
|
||||||
|
|
||||||
|
* A flaw in DNSSEC verification when transferring mirror zones could
|
||||||
|
allow data to be incorrectly marked valid. This flaw is disclosed in
|
||||||
|
CVE-2019-6475. [GL #1252]
|
||||||
|
|
||||||
New Features
|
New Features
|
||||||
|
|
||||||
* Added a new command line option to dig: +[no]unexpected. By default,
|
* Added a new command line option to dig: +[no]unexpected. By default,
|
||||||
|
@@ -10,6 +10,6 @@
|
|||||||
# 9.12: 1200-1299
|
# 9.12: 1200-1299
|
||||||
# 9.13/9.14: 1300-1499
|
# 9.13/9.14: 1300-1499
|
||||||
# 9.15/9.16: 1500-1699
|
# 9.15/9.16: 1500-1699
|
||||||
LIBINTERFACE = 1503
|
LIBINTERFACE = 1504
|
||||||
LIBREVISION = 0
|
LIBREVISION = 0
|
||||||
LIBAGE = 0
|
LIBAGE = 1
|
||||||
|
@@ -9184,6 +9184,23 @@ rctx_referral(respctx_t *rctx) {
|
|||||||
return (ISC_R_COMPLETE);
|
return (ISC_R_COMPLETE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((fctx->options & DNS_FETCHOPT_QMINIMIZE) != 0) {
|
||||||
|
dns_name_free(&fctx->qmindcname, fctx->mctx);
|
||||||
|
dns_name_init(&fctx->qmindcname, NULL);
|
||||||
|
result = dns_name_dup(rctx->ns_name, fctx->mctx,
|
||||||
|
&fctx->qmindcname);
|
||||||
|
if (result != ISC_R_SUCCESS) {
|
||||||
|
rctx->result = result;
|
||||||
|
return (ISC_R_COMPLETE);
|
||||||
|
}
|
||||||
|
|
||||||
|
result= fctx_minimize_qname(fctx);
|
||||||
|
if (result != ISC_R_SUCCESS) {
|
||||||
|
rctx->result = result;
|
||||||
|
return (ISC_R_COMPLETE);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
result = fcount_incr(fctx, true);
|
result = fcount_incr(fctx, true);
|
||||||
if (result != ISC_R_SUCCESS) {
|
if (result != ISC_R_SUCCESS) {
|
||||||
rctx->result = result;
|
rctx->result = result;
|
||||||
|
@@ -1503,9 +1503,9 @@ static isc_result_t
|
|||||||
check_dnskey_sigs(vctx_t *vctx, const dns_rdata_dnskey_t *dnskey,
|
check_dnskey_sigs(vctx_t *vctx, const dns_rdata_dnskey_t *dnskey,
|
||||||
dns_rdata_t *rdata, bool is_ksk)
|
dns_rdata_t *rdata, bool is_ksk)
|
||||||
{
|
{
|
||||||
unsigned char *active_keys, *standby_keys;
|
unsigned char *active_keys = NULL, *standby_keys = NULL;
|
||||||
dns_keynode_t *keynode = NULL;
|
dns_keynode_t *keynode = NULL;
|
||||||
bool *goodkey;
|
bool *goodkey = NULL;
|
||||||
dst_key_t *key = NULL;
|
dst_key_t *key = NULL;
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
|
|
||||||
@@ -1551,42 +1551,48 @@ check_dnskey_sigs(vctx_t *vctx, const dns_rdata_dnskey_t *dnskey,
|
|||||||
if (result != ISC_R_SUCCESS) {
|
if (result != ISC_R_SUCCESS) {
|
||||||
return (result);
|
return (result);
|
||||||
}
|
}
|
||||||
|
|
||||||
result = dns_keytable_findkeynode(vctx->secroots, vctx->origin,
|
result = dns_keytable_findkeynode(vctx->secroots, vctx->origin,
|
||||||
dst_key_alg(key), dst_key_id(key),
|
dst_key_alg(key), dst_key_id(key),
|
||||||
&keynode);
|
&keynode);
|
||||||
switch (result) {
|
|
||||||
case ISC_R_SUCCESS:
|
|
||||||
/*
|
|
||||||
* The supplied key is a trust anchor.
|
|
||||||
*/
|
|
||||||
dns_keytable_detachkeynode(vctx->secroots, &keynode);
|
|
||||||
dns_rdataset_settrust(&vctx->keyset, dns_trust_secure);
|
|
||||||
dns_rdataset_settrust(&vctx->keysigs, dns_trust_secure);
|
|
||||||
*goodkey = true;
|
|
||||||
break;
|
|
||||||
case DNS_R_PARTIALMATCH:
|
|
||||||
case ISC_R_NOTFOUND:
|
|
||||||
/*
|
|
||||||
* The supplied key is not present in the trust anchor table,
|
|
||||||
* but other keys signing the DNSKEY RRset may be, so this is
|
|
||||||
* not an error, we just do not set 'vctx->good[kz]sk'.
|
|
||||||
*/
|
|
||||||
result = ISC_R_SUCCESS;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
/*
|
|
||||||
* An error occurred while searching the trust anchor table,
|
|
||||||
* return it to the caller.
|
|
||||||
*/
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Clean up.
|
* No such trust anchor.
|
||||||
*/
|
*/
|
||||||
dst_key_free(&key);
|
if (result != ISC_R_SUCCESS) {
|
||||||
|
if (result == DNS_R_PARTIALMATCH || result == ISC_R_NOTFOUND) {
|
||||||
|
result = ISC_R_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
return (result);
|
goto cleanup;
|
||||||
|
}
|
||||||
|
|
||||||
|
while (result == ISC_R_SUCCESS) {
|
||||||
|
dns_keynode_t *nextnode = NULL;
|
||||||
|
|
||||||
|
if (dst_key_compare(key, dns_keynode_key(keynode))) {
|
||||||
|
dns_keytable_detachkeynode(vctx->secroots, &keynode);
|
||||||
|
dns_rdataset_settrust(&vctx->keyset, dns_trust_secure);
|
||||||
|
dns_rdataset_settrust(&vctx->keysigs, dns_trust_secure);
|
||||||
|
*goodkey = true;
|
||||||
|
|
||||||
|
goto cleanup;
|
||||||
|
}
|
||||||
|
|
||||||
|
result = dns_keytable_findnextkeynode(vctx->secroots,
|
||||||
|
keynode, &nextnode);
|
||||||
|
dns_keytable_detachkeynode(vctx->secroots, &keynode);
|
||||||
|
keynode = nextnode;
|
||||||
|
}
|
||||||
|
|
||||||
|
cleanup:
|
||||||
|
if (keynode != NULL) {
|
||||||
|
dns_keytable_detachkeynode(vctx->secroots, &keynode);
|
||||||
|
}
|
||||||
|
if (key != NULL) {
|
||||||
|
dst_key_free(&key);
|
||||||
|
}
|
||||||
|
return (ISC_R_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*%
|
/*%
|
||||||
|
@@ -11,5 +11,5 @@
|
|||||||
# 9.13/9.14: 1300-1499
|
# 9.13/9.14: 1300-1499
|
||||||
# 9.15/9.16: 1500-1699
|
# 9.15/9.16: 1500-1699
|
||||||
LIBINTERFACE = 1501
|
LIBINTERFACE = 1501
|
||||||
LIBREVISION = 0
|
LIBREVISION = 1
|
||||||
LIBAGE = 0
|
LIBAGE = 0
|
||||||
|
@@ -10,6 +10,6 @@
|
|||||||
# 9.12: 1200-1299
|
# 9.12: 1200-1299
|
||||||
# 9.13/9.14: 1300-1499
|
# 9.13/9.14: 1300-1499
|
||||||
# 9.15/9.16: 1500-1699
|
# 9.15/9.16: 1500-1699
|
||||||
LIBINTERFACE = 1502
|
LIBINTERFACE = 1503
|
||||||
LIBREVISION = 1
|
LIBREVISION = 0
|
||||||
LIBAGE = 0
|
LIBAGE = 0
|
||||||
|
@@ -11,5 +11,5 @@
|
|||||||
# 9.13/9.14: 1300-1499
|
# 9.13/9.14: 1300-1499
|
||||||
# 9.15/9.16: 1500-1699
|
# 9.15/9.16: 1500-1699
|
||||||
LIBINTERFACE = 1501
|
LIBINTERFACE = 1501
|
||||||
LIBREVISION = 0
|
LIBREVISION = 1
|
||||||
LIBAGE = 0
|
LIBAGE = 0
|
||||||
|
@@ -11,5 +11,5 @@
|
|||||||
# 9.13/9.14: 1300-1499
|
# 9.13/9.14: 1300-1499
|
||||||
# 9.15/9.16: 1500-1699
|
# 9.15/9.16: 1500-1699
|
||||||
LIBINTERFACE = 1501
|
LIBINTERFACE = 1501
|
||||||
LIBREVISION = 0
|
LIBREVISION = 1
|
||||||
LIBAGE = 0
|
LIBAGE = 0
|
||||||
|
Reference in New Issue
Block a user