Skip to content

Commit e03e759

Browse files
committed
Merge remote-tracking branch 'nlnet/master'
* nlnet/master: - Fix unbound-control-setup.cmd to have CA v3 basicConstraints, like unbound-control-setup.sh has. - Fix doc test so it ignores but outputs unsupported doxygen options. - Fix qname minimisation for reply with a DNAME for qtype CNAME that answers it. - Update doc/unbound.doxygen with 'doxygen -u'. Fixes option deprecation warnings and updates with newer defaults. - Fix validator classification of qtype DNAME for positive and redirection answers, and fix validator signature routine for dealing with the synthesized CNAME for a DNAME without previously encountering it and also for when the qtype is DNAME. - Remove unused portion from iter_dname_ttl unit test. - Fix TTL of synthesized CNAME when a DNAME is used from cache. - Fix unbound-control-setup.cmd to use 3072 bits so that certificates are long enough for newer OpenSSL versions. - Version set to 1.19.3 for release. After 1.19.2 point release with security fix for CVE-2024-1931, Denial of service when trimming EDE text on positive replies. The code repo includes the fix and is for version 1.19.3. - Fix for NLnetLabs#1022: Fix ede prohibited in access control refused answers. - Fix edns subnet replies for scope zero answers to not get stored in the global cache, and in cachedb, when the upstream replies without an EDNS record. - Move github workflows to use checkoutv4. - Document the suspend argument for process_ds_response(). - Fix trim of EDE text from large udp responses from spinning cpu.
2 parents d44139b + 7b62767 commit e03e759

20 files changed

+5613
-956
lines changed

.github/workflows/analysis_ports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
make: "no"
164164

165165
steps:
166-
- uses: actions/checkout@v3
166+
- uses: actions/checkout@v4
167167
with:
168168
submodules: false
169169
- name: test_windows

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- name: configure
1717
run: ./configure --enable-debug
1818
- name: make

configure

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.71 for unbound 1.19.2.
3+
# Generated by GNU Autoconf 2.71 for unbound 1.19.3.
44
#
55
# Report bugs to <unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues>.
66
#
@@ -622,8 +622,8 @@ MAKEFLAGS=
622622
# Identity of this package.
623623
PACKAGE_NAME='unbound'
624624
PACKAGE_TARNAME='unbound'
625-
PACKAGE_VERSION='1.19.2'
626-
PACKAGE_STRING='unbound 1.19.2'
625+
PACKAGE_VERSION='1.19.3'
626+
PACKAGE_STRING='unbound 1.19.3'
627627
PACKAGE_BUGREPORT='unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues'
628628
PACKAGE_URL=''
629629

@@ -1507,7 +1507,7 @@ if test "$ac_init_help" = "long"; then
15071507
# Omit some internal or obsolete options to make the list less imposing.
15081508
# This message is too long to be a string in the A/UX 3.1 sh.
15091509
cat <<_ACEOF
1510-
\`configure' configures unbound 1.19.2 to adapt to many kinds of systems.
1510+
\`configure' configures unbound 1.19.3 to adapt to many kinds of systems.
15111511

15121512
Usage: $0 [OPTION]... [VAR=VALUE]...
15131513

@@ -1573,7 +1573,7 @@ fi
15731573

15741574
if test -n "$ac_init_help"; then
15751575
case $ac_init_help in
1576-
short | recursive ) echo "Configuration of unbound 1.19.2:";;
1576+
short | recursive ) echo "Configuration of unbound 1.19.3:";;
15771577
esac
15781578
cat <<\_ACEOF
15791579

@@ -1820,7 +1820,7 @@ fi
18201820
test -n "$ac_init_help" && exit $ac_status
18211821
if $ac_init_version; then
18221822
cat <<\_ACEOF
1823-
unbound configure 1.19.2
1823+
unbound configure 1.19.3
18241824
generated by GNU Autoconf 2.71
18251825

18261826
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2477,7 +2477,7 @@ cat >config.log <<_ACEOF
24772477
This file contains any messages produced by compilers while
24782478
running configure, to aid debugging if configure makes a mistake.
24792479

2480-
It was created by unbound $as_me 1.19.2, which was
2480+
It was created by unbound $as_me 1.19.3, which was
24812481
generated by GNU Autoconf 2.71. Invocation command line was
24822482

24832483
$ $0$ac_configure_args_raw
@@ -3241,11 +3241,11 @@ UNBOUND_VERSION_MAJOR=1
32413241

32423242
UNBOUND_VERSION_MINOR=19
32433243

3244-
UNBOUND_VERSION_MICRO=2
3244+
UNBOUND_VERSION_MICRO=3
32453245

32463246

32473247
LIBUNBOUND_CURRENT=9
3248-
LIBUNBOUND_REVISION=25
3248+
LIBUNBOUND_REVISION=26
32493249
LIBUNBOUND_AGE=1
32503250
# 1.0.0 had 0:12:0
32513251
# 1.0.1 had 0:13:0
@@ -3338,6 +3338,7 @@ LIBUNBOUND_AGE=1
33383338
# 1.19.0 had 9:23:1
33393339
# 1.19.1 had 9:24:1
33403340
# 1.19.2 had 9:25:1
3341+
# 1.19.3 had 9:26:1
33413342

33423343
# Current -- the number of the binary API that we're implementing
33433344
# Revision -- which iteration of the implementation of the binary
@@ -24145,7 +24146,7 @@ printf "%s\n" "#define MAXSYSLOGMSGLEN 10240" >>confdefs.h
2414524146

2414624147

2414724148

24148-
version=1.19.2
24149+
version=1.19.3
2414924150

2415024151
date=`date +'%b %e, %Y'`
2415124152

@@ -24657,7 +24658,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2465724658
# report actual input values of CONFIG_FILES etc. instead of their
2465824659
# values after options handling.
2465924660
ac_log="
24660-
This file was extended by unbound $as_me 1.19.2, which was
24661+
This file was extended by unbound $as_me 1.19.3, which was
2466124662
generated by GNU Autoconf 2.71. Invocation command line was
2466224663

2466324664
CONFIG_FILES = $CONFIG_FILES
@@ -24725,7 +24726,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
2472524726
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2472624727
ac_cs_config='$ac_cs_config_escaped'
2472724728
ac_cs_version="\\
24728-
unbound config.status 1.19.2
24729+
unbound config.status 1.19.3
2472924730
configured by $0, generated by GNU Autoconf 2.71,
2473024731
with options \\"\$ac_cs_config\\"
2473124732

configure.ac

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ sinclude(dnscrypt/dnscrypt.m4)
1111
# must be numbers. ac_defun because of later processing
1212
m4_define([VERSION_MAJOR],[1])
1313
m4_define([VERSION_MINOR],[19])
14-
m4_define([VERSION_MICRO],[2])
14+
m4_define([VERSION_MICRO],[3])
1515
AC_INIT([unbound],m4_defn([VERSION_MAJOR]).m4_defn([VERSION_MINOR]).m4_defn([VERSION_MICRO]),[unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues],[unbound])
1616
AC_SUBST(UNBOUND_VERSION_MAJOR, [VERSION_MAJOR])
1717
AC_SUBST(UNBOUND_VERSION_MINOR, [VERSION_MINOR])
1818
AC_SUBST(UNBOUND_VERSION_MICRO, [VERSION_MICRO])
1919

2020
LIBUNBOUND_CURRENT=9
21-
LIBUNBOUND_REVISION=25
21+
LIBUNBOUND_REVISION=26
2222
LIBUNBOUND_AGE=1
2323
# 1.0.0 had 0:12:0
2424
# 1.0.1 had 0:13:0
@@ -111,6 +111,7 @@ LIBUNBOUND_AGE=1
111111
# 1.19.0 had 9:23:1
112112
# 1.19.1 had 9:24:1
113113
# 1.19.2 had 9:25:1
114+
# 1.19.3 had 9:26:1
114115

115116
# Current -- the number of the binary API that we're implementing
116117
# Revision -- which iteration of the implementation of the binary

daemon/worker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ deny_refuse(struct comm_point* c, enum acl_access acl,
11511151
log_assert(sldns_buffer_limit(c->buffer) >= LDNS_HEADER_SIZE
11521152
&& LDNS_QDCOUNT(sldns_buffer_begin(c->buffer)) == 1);
11531153

1154-
sldns_buffer_skip(c->buffer, LDNS_HEADER_SIZE); /* skip header */
1154+
sldns_buffer_set_position(c->buffer, LDNS_HEADER_SIZE); /* skip header */
11551155

11561156
/* check additional section is present and that we respond with EDEs */
11571157
if(LDNS_ARCOUNT(sldns_buffer_begin(c->buffer)) != 1

doc/Changelog

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
8 March 2024: Wouter
2+
- Fix unbound-control-setup.cmd to use 3072 bits so that certificates
3+
are long enough for newer OpenSSL versions.
4+
- Fix TTL of synthesized CNAME when a DNAME is used from cache.
5+
- Remove unused portion from iter_dname_ttl unit test.
6+
- Fix validator classification of qtype DNAME for positive and
7+
redirection answers, and fix validator signature routine for dealing
8+
with the synthesized CNAME for a DNAME without previously
9+
encountering it and also for when the qtype is DNAME.
10+
- Fix qname minimisation for reply with a DNAME for qtype CNAME that
11+
answers it.
12+
- Fix doc test so it ignores but outputs unsupported doxygen options.
13+
- Fix unbound-control-setup.cmd to have CA v3 basicConstraints,
14+
like unbound-control-setup.sh has.
15+
16+
8 March 2024: Yorgos
17+
- Update doc/unbound.doxygen with 'doxygen -u'. Fixes option
18+
deprecation warnings and updates with newer defaults.
19+
20+
7 March 2024: Wouter
21+
- Version set to 1.19.3 for release. After 1.19.2 point release with
22+
security fix for CVE-2024-1931, Denial of service when trimming
23+
EDE text on positive replies. The code repo includes the fix and
24+
is for version 1.19.3.
25+
26+
5 March 2024: Wouter
27+
- Fix for #1022: Fix ede prohibited in access control refused answers.
28+
29+
4 March 2024: Wouter
30+
- Fix edns subnet replies for scope zero answers to not get stored
31+
in the global cache, and in cachedb, when the upstream replies
32+
without an EDNS record.
33+
34+
28 February 2024: Wouter
35+
- Move github workflows to use checkoutv4.
36+
37+
23 February 2024: Yorgos
38+
- Document the suspend argument for process_ds_response().
39+
40+
22 February 2024: Wouter
41+
- Fix trim of EDE text from large udp responses from spinning cpu.
42+
143
20 February 2024: Yorgos
244
- Merge #1010: Mention REFUSED has the TC bit set with unmatched
345
allow_cookie acl in the manpage. It also fixes the code to match the

0 commit comments

Comments
 (0)