]>
git.ipfire.org Git - thirdparty/unbound.git/log
Willem Toorop [Sat, 19 Jul 2025 12:35:38 +0000 (14:35 +0200)]
A typo and a reorder (without impact)
Willem Toorop [Sat, 19 Jul 2025 12:23:50 +0000 (14:23 +0200)]
Merge branch 'master' into hackathon/poisonlicious-update
W.C.A. Wijngaards [Thu, 17 Jul 2025 12:50:29 +0000 (14:50 +0200)]
- iana portlist updated.
W.C.A. Wijngaards [Thu, 17 Jul 2025 12:50:13 +0000 (14:50 +0200)]
- Fix #1303: [FR] Disable TLSv1.2.
W.C.A. Wijngaards [Thu, 17 Jul 2025 09:40:31 +0000 (11:40 +0200)]
- Fix to not set rlimits in the unit tests.
W.C.A. Wijngaards [Wed, 16 Jul 2025 09:46:04 +0000 (11:46 +0200)]
- Add unit tests for non-ecs aggregation.
W.C.A. Wijngaards [Wed, 16 Jul 2025 09:40:32 +0000 (11:40 +0200)]
- Fix for RebirthDay Attack CVE-2025-5994, reported by Xiang Li
from AOSP Lab Nankai University.
- Tag for 1.23.1 with the release of 1.23.0 and the CVE fix, the
repository continues with the previous fixes, with 1.23.2.
W.C.A. Wijngaards [Wed, 16 Jul 2025 09:34:44 +0000 (11:34 +0200)]
Merge branch 'branch-1.23.1'
W.C.A. Wijngaards [Wed, 16 Jul 2025 08:02:01 +0000 (10:02 +0200)]
- Fix RebirthDay Attack CVE-2025-5994, reported by Xiang Li from AOSP
Lab Nankai University.
W.C.A. Wijngaards [Wed, 16 Jul 2025 08:00:39 +0000 (10:00 +0200)]
- Set version to 1.23.1.
Yorgos Thessalonikefs [Sat, 12 Jul 2025 15:37:54 +0000 (17:37 +0200)]
- Update man page templates from rst.
Yorgos Thessalonikefs [Sat, 12 Jul 2025 15:35:16 +0000 (17:35 +0200)]
- For #1289: add num.valops in the unbound-control man page.
Yorgos Thessalonikefs [Sat, 12 Jul 2025 15:33:43 +0000 (17:33 +0200)]
- For #1289: test num.valops in existing stat_values.tdir.
Yorgos Thessalonikefs [Sat, 12 Jul 2025 14:33:50 +0000 (16:33 +0200)]
Changelog entry for #1289:
- Merge #1289 from Roland van Rijswijk-Deij: Add extra statistic to
track the number of signature validation operations.
Adds 'num.valops' to extended statistics.
Roland van Rijswijk-Deij [Sat, 12 Jul 2025 14:29:38 +0000 (16:29 +0200)]
Add extra statistic to track the number of signature validation operations (#1289)
* Add extra statistic to track the number of signature validation operations performed by the validator module
* Move validation operation statistic to mesh as suggested
* Fix NULL pointer dereference in case the mesh is not used (and is `NULL`)
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
* Fix NULL pointer dereference on qstate and qstate->env in unit test situation
---------
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
W.C.A. Wijngaards [Fri, 11 Jul 2025 13:58:50 +0000 (15:58 +0200)]
- For #1301: configure cant find SSL_is_quic in OpenSSL 3.5.1.
W.C.A. Wijngaards [Fri, 11 Jul 2025 13:47:59 +0000 (15:47 +0200)]
- Fix detection of SSL_CTX_set_tmp_ecdh function.
W.C.A. Wijngaards [Tue, 8 Jul 2025 07:29:27 +0000 (09:29 +0200)]
- Fix to improve dnstap discovery on Fedora.
W.C.A. Wijngaards [Thu, 3 Jul 2025 13:57:49 +0000 (15:57 +0200)]
- Fix layout of comm_point_udp_ancil_callback.
W.C.A. Wijngaards [Thu, 3 Jul 2025 13:54:33 +0000 (15:54 +0200)]
- For #1300: implement sock-queue-timeout for FreeBSD as well.
W.C.A. Wijngaards [Thu, 3 Jul 2025 12:10:46 +0000 (14:10 +0200)]
- Fix #1300: Is 'sock-queue-timeout' a linux only feature.
W.C.A. Wijngaards [Wed, 2 Jul 2025 08:57:23 +0000 (10:57 +0200)]
Changelog note for #1299
- Generate ltmain.sh and configure again.
Jose Luis Duran [Wed, 2 Jul 2025 08:50:49 +0000 (05:50 -0300)]
Fix typos (#1299)
Yorgos Thessalonikefs [Wed, 25 Jun 2025 12:02:47 +0000 (14:02 +0200)]
- For #1247, replay test (added tcp_transport to
outnet_serviced_query).
Yorgos Thessalonikefs [Wed, 25 Jun 2025 11:59:17 +0000 (13:59 +0200)]
- For #1247, turn off fetch-policy for delegation when looking into
parent side name servers that may not update the addresses and hit
NXNS limits.
Yorgos Thessalonikefs [Wed, 25 Jun 2025 11:56:50 +0000 (13:56 +0200)]
- Fix #1247: forward-first: ssl handshake failed on root nameservers.
Yorgos Thessalonikefs [Fri, 20 Jun 2025 12:11:22 +0000 (14:11 +0200)]
Changelog entry for #1293:
- Fix #1293: EDE 6 is attached to insecure cached answers when client
sends the CD bit.
Yorgos Thessalonikefs [Fri, 20 Jun 2025 12:09:30 +0000 (14:09 +0200)]
- Fix #1293: EDE 6 is attached to insecure cached answers when client sends
the CD bit.
W.C.A. Wijngaards [Thu, 19 Jun 2025 14:27:13 +0000 (16:27 +0200)]
- Fix rrset cache create allocation failure case.
W.C.A. Wijngaards [Thu, 19 Jun 2025 14:24:54 +0000 (16:24 +0200)]
Changelog note for #1297
- Merge #1297: edns-subnet: fix NULL_AFTER_DEREF on subnetmod.
Kostya [Thu, 19 Jun 2025 14:24:21 +0000 (17:24 +0300)]
edns-subnet: fix NULL_AFTER_DEREF on subnetmod (#1297)
Found by static analyzer svace.
Static analyzer message: Redundant comparison with a NULL value at subnetmod.c:236 for pointer 'sn_env->subnet_msg_cache',
which was dereferenced at slabhash.c:228 by passing as 1st parameter to function 'slabhash_setmarkdel' at subnetmod.c:235.
Moved usage of sn_env->subnet_msg_cache in slabhash_setmarkdel after checking.
Signed-off-by: Konstantin Kamanin <bewflast@gmail.com>
W.C.A. Wijngaards [Thu, 19 Jun 2025 12:39:45 +0000 (14:39 +0200)]
- Fix #1296: DNS over QUIC depends on a very outdated version of
ngtcp2. Fixed so it works with ngtcp2 1.13.0 and OpenSSL 3.5.0.
Yorgos Thessalonikefs [Tue, 17 Jun 2025 13:03:29 +0000 (15:03 +0200)]
- Fix for consistent use of local zone CNAME alias for configured auth
zones. Now it also applies to downstream configured auth zones.
W.C.A. Wijngaards [Mon, 16 Jun 2025 12:26:54 +0000 (14:26 +0200)]
- Fix #1295: Windows 32-bit binaries download seems to be missing dll
dependency.
W.C.A. Wijngaards [Mon, 16 Jun 2025 10:43:31 +0000 (12:43 +0200)]
- Fix to check control-interface addresses in unbound-checkconf.
W.C.A. Wijngaards [Thu, 12 Jun 2025 10:17:01 +0000 (12:17 +0200)]
- Fix header return value description for skip_pkt_rrs and
parse_edns_from_query_pkt.
W.C.A. Wijngaards [Wed, 11 Jun 2025 14:42:43 +0000 (16:42 +0200)]
- Fix conditional expressions with parentheses for bitwise and.
W.C.A. Wijngaards [Wed, 11 Jun 2025 13:46:31 +0000 (15:46 +0200)]
- Fix bitwise operators in conditional expressions with parentheses.
W.C.A. Wijngaards [Thu, 5 Jun 2025 09:11:56 +0000 (11:11 +0200)]
- iana portlist updated.
W.C.A. Wijngaards [Thu, 5 Jun 2025 09:11:32 +0000 (11:11 +0200)]
- Fix comment for the dname_remove_label_limit_len function.
W.C.A. Wijngaards [Thu, 5 Jun 2025 09:09:53 +0000 (11:09 +0200)]
- Fix unbound-anchor certificate file read for line ends and end of
file.
Yorgos Thessalonikefs [Tue, 3 Jun 2025 12:10:53 +0000 (14:10 +0200)]
- Small man page corrections for the 'disable-dnssec-lame-check' option.
W.C.A. Wijngaards [Wed, 21 May 2025 10:41:54 +0000 (12:41 +0200)]
- Fix #1288: [FR] Improve fuzzing of unbound by adapting the netbound
program.
Yorgos Thessalonikefs [Tue, 20 May 2025 14:21:02 +0000 (16:21 +0200)]
- Add more checks about respip in unbound-checkconf.
Also fixes #310: unbound-checkconf not reporting RPZ configuration
error.
Yorgos Thessalonikefs [Tue, 20 May 2025 10:23:32 +0000 (12:23 +0200)]
Changelog entry for #1285:
- Merge #1285: RST man pages.
Yorgos Thessalonikefs [Tue, 20 May 2025 10:20:20 +0000 (12:20 +0200)]
RST man pages (#1285)
Introduce restructuredText man pages to sync the online and source code man page documentation.
The templated man pages (*.in) are still part of the repo but generated with docutils from their .rst counterpart.
Documentation on how to generate those (mainly for core developers) are in README.man.
W.C.A. Wijngaards [Mon, 19 May 2025 11:17:21 +0000 (13:17 +0200)]
- Fix for cname chain length with qtype ANY and qname minimisation.
Thanks to Jim Greenwood from Nominet for the report.
W.C.A. Wijngaards [Thu, 15 May 2025 12:34:18 +0000 (14:34 +0200)]
- Fix config of slab values when there is no config file.
W.C.A. Wijngaards [Tue, 13 May 2025 13:31:05 +0000 (15:31 +0200)]
- Adjusted so-sndbuf default to 4m.
W.C.A. Wijngaards [Tue, 13 May 2025 13:04:32 +0000 (15:04 +0200)]
- Change default for so-sndbuf to 1m, to mitigate a cross-layer
issue where the UDP socket send buffers are exhausted waiting
for ARP/NDP resolution. Thanks to Reflyable for the report.
Yorgos Thessalonikefs [Tue, 13 May 2025 09:02:58 +0000 (11:02 +0200)]
- Fix #1282: log-destaddr fail on long ipv6 addresses.
Yorgos Thessalonikefs [Tue, 13 May 2025 09:00:23 +0000 (11:00 +0200)]
- Fix #1284: NULL pointer deref in az_find_nsec_cover() (latent bug)
by adding a log_assert() to safeguard future development.
W.C.A. Wijngaards [Mon, 12 May 2025 12:57:42 +0000 (14:57 +0200)]
- Fix #1283: Unsafe usage of atoi() while parsing the configuration
file.
Yorgos Thessalonikefs [Mon, 12 May 2025 12:29:11 +0000 (14:29 +0200)]
Changelog entry for #1280:
- Merge #1280: Fix auth nsec3 code. Fixes NSEC3 code to not break on
broken auth zones that include unsigned out of zone (above apex)
data. Could lead to hang while trying to prove a wildcard answer.
Yorgos Thessalonikefs [Mon, 12 May 2025 12:26:47 +0000 (14:26 +0200)]
Fix auth nsec3 code (#1280)
- Fix NSEC3 code to not break on broken auth zones that include unsigned
out of zone (above apex) data. Could lead to hang while trying to
prove a wildcard answer.
Reported by Dmitrii Kuvaiskii from Amazon Web Services.
- Tests for NSEC3 auth zones with out of zone data.
W.C.A. Wijngaards [Fri, 9 May 2025 14:01:41 +0000 (16:01 +0200)]
- Fix #1281: forward-zone "name: ." conflicts with auth-zone "name: ."
in 1.23.0, but worked in 1.22.0.
Yorgos Thessalonikefs [Mon, 5 May 2025 12:47:12 +0000 (14:47 +0200)]
- Sync unbound and unbound-checkconf log output for unknown modules.
Yorgos Thessalonikefs [Tue, 29 Apr 2025 13:23:07 +0000 (15:23 +0200)]
Changelog entry for #1276:
- Merge #1276: Auto-configure '-slabs' values.
Yorgos Thessalonikefs [Tue, 29 Apr 2025 13:21:47 +0000 (15:21 +0200)]
Auto-configure '-slabs' values (#1276)
- Auto-configure '-slabs' values to a power of 2 value close to num-threads
by default for multi-threaded environments.
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
W.C.A. Wijngaards [Tue, 29 Apr 2025 10:43:56 +0000 (12:43 +0200)]
- Fix dnstap to use protoc.
W.C.A. Wijngaards [Tue, 29 Apr 2025 10:38:41 +0000 (12:38 +0200)]
- Fix for parallel build of dnstap protoc-c output.
Yorgos Thessalonikefs [Mon, 28 Apr 2025 13:50:03 +0000 (15:50 +0200)]
Changelog entry for #1275:
- Merge #1275: Use macros for the fr_check_changed* functions.
Yorgos Thessalonikefs [Mon, 28 Apr 2025 13:48:45 +0000 (15:48 +0200)]
Use macros for the fr_check_changed* functions (#1275)
W.C.A. Wijngaards [Fri, 25 Apr 2025 09:12:28 +0000 (11:12 +0200)]
- Fix #1272: assertion failure testcode/unitverify.c:202.
W.C.A. Wijngaards [Thu, 24 Apr 2025 08:17:45 +0000 (10:17 +0200)]
- Tag for 1.23.0rc2. This became the release of 1.23.0 on 24 April
2025. The code repository continues with 1.23.1 in development.
W.C.A. Wijngaards [Thu, 24 Apr 2025 08:14:02 +0000 (10:14 +0200)]
Merge branch 'branch-1.23.0'
W.C.A. Wijngaards [Wed, 16 Apr 2025 10:03:08 +0000 (12:03 +0200)]
- Increase default to `num-queries-per-thread: 2048`, when unbound is
compiled with libevent. It makes saturation of the task queue more
resource intensive and less practical. Thanks to Shiming Liu,
Network and Information Security Lab, Tsinghua University for the
report.
Yorgos Thessalonikefs [Fri, 11 Apr 2025 13:07:25 +0000 (15:07 +0200)]
Changelog entry for #1265:
- Merge #1265: Fix WSAPoll.
Yorgos Thessalonikefs [Fri, 11 Apr 2025 13:05:52 +0000 (15:05 +0200)]
Fix WSAPoll (#1265)
* Fix calling WSAPoll.
* fast_reload: explicitly set tcp_wouldblock on Windows when there is no
command to read from the fast_reload thread.
* For poll(), also check for ENOMEM (Linux).
* Remove ifdefs for ENOMEM.
* Some systems return EAGAIN for poll.
Yorgos Thessalonikefs [Fri, 11 Apr 2025 13:07:25 +0000 (15:07 +0200)]
Changelog entry for #1265:
- Merge #1265: Fix WSAPoll.
Yorgos Thessalonikefs [Fri, 11 Apr 2025 13:05:52 +0000 (15:05 +0200)]
Fix WSAPoll (#1265)
* Fix calling WSAPoll.
* fast_reload: explicitly set tcp_wouldblock on Windows when there is no
command to read from the fast_reload thread.
* For poll(), also check for ENOMEM (Linux).
* Remove ifdefs for ENOMEM.
* Some systems return EAGAIN for poll.
W.C.A. Wijngaards [Thu, 10 Apr 2025 07:33:51 +0000 (09:33 +0200)]
- Fix for print of connection type in log-replies for dot and doh.
W.C.A. Wijngaards [Wed, 9 Apr 2025 12:20:22 +0000 (14:20 +0200)]
Merge branch 'master' into branch-1.23.0
W.C.A. Wijngaards [Wed, 9 Apr 2025 12:13:58 +0000 (14:13 +0200)]
- Fix #1264: unbound 1.22.0 leaks memory when doing DoH.
W.C.A. Wijngaards [Wed, 9 Apr 2025 09:06:25 +0000 (11:06 +0200)]
- Fix to detect if atomic_store links in configure.
W.C.A. Wijngaards [Tue, 8 Apr 2025 13:43:05 +0000 (15:43 +0200)]
Merge branch 'branch-1.23.0' of github.com:NLnetLabs/unbound into branch-1.23.0
W.C.A. Wijngaards [Tue, 8 Apr 2025 13:42:56 +0000 (15:42 +0200)]
- Fix fast_reload to print chroot with config file name.
Yorgos Thessalonikefs [Tue, 8 Apr 2025 13:34:51 +0000 (15:34 +0200)]
- Update to the manpage for the fast_reload part.
W.C.A. Wijngaards [Tue, 8 Apr 2025 06:37:30 +0000 (08:37 +0200)]
- Tag for 1.23.0rc1.
Yorgos Thessalonikefs [Mon, 7 Apr 2025 14:56:38 +0000 (16:56 +0200)]
- More explicit text about memory usage during fast_reload.
Yorgos Thessalonikefs [Mon, 7 Apr 2025 08:28:37 +0000 (10:28 +0200)]
Changelog entry for #902:
- Merge #902: DNS Error Reporting (RFC 9567). Introduces new
configuration option 'dns-error-reporting' and new statistics for
'num.dns_error_reports'.
Willem Toorop [Mon, 7 Apr 2025 08:25:10 +0000 (10:25 +0200)]
DNS Error Reporting (RFC 9567) (#902)
* v1 EDER poc
* remove superfluous edns_list_get_option function
* create an EDER configurable
* Hackathon 114
* Fixes for version -04
* Generated configparser and configlexer are not versioned in master anymore
* Remove NOERROR DNS Error Reporting; not part of final RFC.
* Use assigned IANA EDNS0 Option Code for Report-Channel.
* Fix buffer protection and agent domain validity
* Use DNS Error Reporting instead of the eder nickname
* Update documentation.
* Fix typo.
* Bail out early if ede is not present.
* Forget previous EDNS options from upstream; this is what was
implicitly happening but not deterministacally.
* Don't report LDNS_EDE_OTHER and bail early if there is no reporting
agent.
* Only do DNS error reporting when a client asked for something that
went wrong.
* Add an error reporting agent in the parent that should be ignored.
* review feedback.
* fixup for fast reload
* Add 'num.dns_error_reports' to stats and test for it.
---------
Co-authored-by: TCY16 <tom@nlnetlabs.nl>
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl>
W.C.A. Wijngaards [Fri, 4 Apr 2025 09:55:42 +0000 (11:55 +0200)]
- Fix to update common.sh for speed of kill_pid.
W.C.A. Wijngaards [Fri, 4 Apr 2025 09:37:42 +0000 (11:37 +0200)]
- Fix test to speed up common.sh script kill_pid.
W.C.A. Wijngaards [Fri, 4 Apr 2025 09:00:16 +0000 (11:00 +0200)]
Fix typo in Changelog entry.
Yorgos Thessalonikefs [Fri, 4 Apr 2025 08:58:05 +0000 (10:58 +0200)]
Changelog entry for #1019:
- Merge #1019: Redis read-only replica support.
Introduces new 'redis-replica-*' options for the Redis cache backend.
W.C.A. Wijngaards [Fri, 4 Apr 2025 08:57:53 +0000 (10:57 +0200)]
- Fix redis_replicat test for unused option defaults and log printout.
W.C.A. Wijngaards [Fri, 4 Apr 2025 08:30:22 +0000 (10:30 +0200)]
- Fix nettle compile for warnings and ticket keys.
Yorgos Thessalonikefs [Fri, 4 Apr 2025 08:20:47 +0000 (10:20 +0200)]
Redis read-only replica support (#1019)
* Set version to 1.19.1 for point release.
* Initial work for Redis read-only replica support.
* Test for Redis replica.
* Documentation for the Redis replica timeouts.
* redis replica, rewrite set_timeout()
* clean merge.
* Add new options for fast reload.
* Apply suggestions from code review
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
* some more typos
---------
Co-authored-by: W.C.A. Wijngaards <wouter@nlnetlabs.nl>
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
W.C.A. Wijngaards [Fri, 4 Apr 2025 06:58:54 +0000 (08:58 +0200)]
- Fix comment name in the rpz nsdname test.
W.C.A. Wijngaards [Fri, 4 Apr 2025 06:57:24 +0000 (08:57 +0200)]
- Fix mesh_copy_client_info to omit null contents from copy.
W.C.A. Wijngaards [Thu, 3 Apr 2025 13:21:16 +0000 (15:21 +0200)]
- Fix parameter unused warning in net_help.c.
W.C.A. Wijngaards [Thu, 3 Apr 2025 12:50:30 +0000 (14:50 +0200)]
- Fix test for stat_values for wait limit defaults for localhost.
W.C.A. Wijngaards [Thu, 3 Apr 2025 08:59:41 +0000 (10:59 +0200)]
- Fix ub_event and include dnstap and win_svc headers.
W.C.A. Wijngaards [Thu, 3 Apr 2025 07:53:27 +0000 (09:53 +0200)]
- Fix wait-limit-netblock and wait-limit-cookie-netblock config parse
to allow two arguments.
W.C.A. Wijngaards [Thu, 3 Apr 2025 07:45:36 +0000 (09:45 +0200)]
- Fix #1263: Exempt loopback addresses from wait-limit.
W.C.A. Wijngaards [Wed, 2 Apr 2025 14:25:58 +0000 (16:25 +0200)]
- Fix that ub_event has the facility to deal with callbacks for
fast reload, doq, windows-stop and dnstap.
- Fix fast reload test to check if pid exists before acting on it.
W.C.A. Wijngaards [Wed, 2 Apr 2025 13:52:20 +0000 (15:52 +0200)]
- Fix unbound-control test so it counts the new flush_negative output,
also answers the _ta probe from testns and prints command output
and skip a thread specific test when no threads are available.
Yorgos Thessalonikefs [Wed, 2 Apr 2025 09:53:50 +0000 (11:53 +0200)]
- For #1262, ifdef is no longer needed.
Yorgos Thessalonikefs [Wed, 2 Apr 2025 09:52:04 +0000 (11:52 +0200)]
Changelog entry for #1262:
- Merge #1262 from markyang92, fix build with
'gcc-15 -Wbuiltin-declaration-mismatch' error in compat/malloc.c.