]>
git.ipfire.org Git - thirdparty/unbound.git/log
Yorgos Thessalonikefs [Wed, 17 Sep 2025 10:19:20 +0000 (12:19 +0200)]
code review: use proper roundrobin index
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
Yorgos Thessalonikefs [Mon, 15 Sep 2025 08:03:35 +0000 (10:03 +0200)]
A few changes for TTL processing:
- Cached messages that reach 0 TTL are considered expired. This prevents
Unbound itself from issuing replies with TTL 0 and possibly causing a
thundering herd at the last second. Upstream replies of TTL 0 still
get the usual pass-through but they are not considered for caching
from Unbound or any of its caching modules.
- 'serve-expired-reply-ttl' is changed and is now capped by the original
TTL value of the record to try and make some sense when replying
with expired records.
- TTL decoding was updated to adhere to RFC8767 section 4 where a set
high-order bit means the value is positive instead of 0.
Yorgos Thessalonikefs [Fri, 12 Sep 2025 13:24:06 +0000 (15:24 +0200)]
Merge branch 'master' into features/no-ttl-zero-cacherep
Yorgos Thessalonikefs [Mon, 8 Sep 2025 12:50:27 +0000 (14:50 +0200)]
- Update man pages.
Yorgos Thessalonikefs [Mon, 8 Sep 2025 12:49:12 +0000 (14:49 +0200)]
- Update documentation for using "SET ... EX" in Redis.
- Document max buffer sizes for Redis commands.
W.C.A. Wijngaards [Wed, 3 Sep 2025 12:04:24 +0000 (14:04 +0200)]
- For #1328: make depend.
W.C.A. Wijngaards [Tue, 2 Sep 2025 15:12:14 +0000 (17:12 +0200)]
- Fix indentation in tcp-mss option parsing.
W.C.A. Wijngaards [Tue, 2 Sep 2025 15:10:42 +0000 (17:10 +0200)]
- Fix #1324: Memory leak in 'msgparse.c' in
'parse_edns_options_from_query(...)'.
W.C.A. Wijngaards [Tue, 2 Sep 2025 10:54:03 +0000 (12:54 +0200)]
- Fix #1235: Outdated Python2 code in
unbound/pythonmod/examples/log.py.
W.C.A. Wijngaards [Mon, 1 Sep 2025 07:28:29 +0000 (09:28 +0200)]
- Fix for #1324: Fix to free edns options scratch in ratelimit case.
Yorgos Thessalonikefs [Fri, 29 Aug 2025 13:35:32 +0000 (15:35 +0200)]
- Limit the number of consecutive reads on an HTTP/2 session.
Thanks to Gal Bar Nahum for exposing the possibility of infinite
reads on the session.
W.C.A. Wijngaards [Thu, 28 Aug 2025 12:19:52 +0000 (14:19 +0200)]
- Fix setup_listen_sslctx warning for nettle compile.
W.C.A. Wijngaards [Wed, 27 Aug 2025 14:55:55 +0000 (16:55 +0200)]
- Fix unbound-control dump_cache for double unlock of lruhash table.
Changelog entry.
W.C.A. Wijngaards [Wed, 27 Aug 2025 14:55:38 +0000 (16:55 +0200)]
- Fix unbound-control dump_cache for double unlock of lruhash table.
W.C.A. Wijngaards [Tue, 26 Aug 2025 12:41:13 +0000 (14:41 +0200)]
- Fix ports workflow to install expat for macos.
W.C.A. Wijngaards [Fri, 22 Aug 2025 12:06:51 +0000 (14:06 +0200)]
- Fix that the zone acquired timestamp is set after the
zonefile is read.
W.C.A. Wijngaards [Fri, 22 Aug 2025 10:40:00 +0000 (12:40 +0200)]
- Fix #1319: [FR] zone status for Unbound auth-zones.
W.C.A. Wijngaards [Fri, 22 Aug 2025 08:04:57 +0000 (10:04 +0200)]
- Fix sha1 enable environment variable in test code on windows.
W.C.A. Wijngaards [Fri, 22 Aug 2025 08:04:00 +0000 (10:04 +0200)]
- For #1318: Fix compile warnings for DoH compile on windows.
W.C.A. Wijngaards [Thu, 21 Aug 2025 13:49:42 +0000 (15:49 +0200)]
- Fix for #1317: Fix contrib/unbound.service comment path for
systemd network configuration.
W.C.A. Wijngaards [Thu, 21 Aug 2025 13:14:42 +0000 (15:14 +0200)]
- Fix #1317: Unbound starts too early. Add
Wants=network-online.target under [Unit] in unbound.service.
W.C.A. Wijngaards [Thu, 21 Aug 2025 08:00:41 +0000 (10:00 +0200)]
- Fix to check for extraneous command arguments for unbound-control,
when the command takes no arguments but there are arguments present.
Changelog note for the fix.
W.C.A. Wijngaards [Thu, 21 Aug 2025 07:47:24 +0000 (09:47 +0200)]
- Fix to check for extraneous command arguments for unbound-control,
when the command takes no arguments but there are arguments present.
W.C.A. Wijngaards [Fri, 15 Aug 2025 14:04:34 +0000 (16:04 +0200)]
- Fix cache_lookup subnet print to not print messages without rrsets
and perform in-depth check on node in the addrtree.
W.C.A. Wijngaards [Fri, 15 Aug 2025 14:04:23 +0000 (16:04 +0200)]
- Fix cache_lookup subnet print to not print messages without rrsets
and perform in-depth check on node in the addrtree.
W.C.A. Wijngaards [Fri, 15 Aug 2025 12:07:05 +0000 (14:07 +0200)]
- Fix cache_lookup subnet printout to wipe zero part of the prefix.
Changelog entry.
W.C.A. Wijngaards [Fri, 15 Aug 2025 12:06:54 +0000 (14:06 +0200)]
- Fix cache_lookup subnet printout to wipe zero part of the prefix.
W.C.A. Wijngaards [Fri, 15 Aug 2025 11:03:31 +0000 (13:03 +0200)]
- unbound-control cache_lookup +t allows tld and root names. And
subnet cache contents are printed.
Changelog, documentation and unit test.
W.C.A. Wijngaards [Fri, 15 Aug 2025 11:03:00 +0000 (13:03 +0200)]
- unbound-control cache_lookup +t allows tld and root names. And
subnet cache contents are printed.
W.C.A. Wijngaards [Thu, 14 Aug 2025 10:20:22 +0000 (12:20 +0200)]
- Fix to decouple file descriptor activity and cache lookups in
dump_cache.
Changelog note.
W.C.A. Wijngaards [Thu, 14 Aug 2025 10:20:10 +0000 (12:20 +0200)]
- Fix to decouple file descriptor activity and cache lookups in
dump_cache.
W.C.A. Wijngaards [Thu, 14 Aug 2025 09:25:40 +0000 (11:25 +0200)]
- Fix to increase responsiveness of dump_cache.
W.C.A. Wijngaards [Wed, 13 Aug 2025 10:02:41 +0000 (12:02 +0200)]
- Fix to unlock cache_lookup message for malformed records.
W.C.A. Wijngaards [Wed, 13 Aug 2025 09:59:53 +0000 (11:59 +0200)]
- Fix to remove debug from cache_lookup.
W.C.A. Wijngaards [Wed, 13 Aug 2025 09:36:47 +0000 (11:36 +0200)]
- unbound-control cache_lookup <domains> prints the cached rrsets
and messages for those.
Changelog and information.
W.C.A. Wijngaards [Wed, 13 Aug 2025 09:31:42 +0000 (11:31 +0200)]
- unbound-control cache_lookup <domains> prints the cached rrsets
and messages for those.
W.C.A. Wijngaards [Tue, 12 Aug 2025 10:00:01 +0000 (12:00 +0200)]
- Fix that unbound-control dump_cache releases the cache locks
every so often, so that the server stays responsive.
Changelog entry for it.
W.C.A. Wijngaards [Tue, 12 Aug 2025 09:59:48 +0000 (11:59 +0200)]
- Fix that unbound-control dump_cache releases the cache locks
every so often, so that the server stays responsive.
W.C.A. Wijngaards [Thu, 7 Aug 2025 14:19:10 +0000 (16:19 +0200)]
- Fix to whitespace in dname_str.
W.C.A. Wijngaards [Thu, 7 Aug 2025 14:09:47 +0000 (16:09 +0200)]
- Fix that edns-subnet failure to create a subquery errors as
servfail, and not formerror.
W.C.A. Wijngaards [Thu, 7 Aug 2025 07:45:02 +0000 (09:45 +0200)]
- Fix dname_str for printout of long names. Thanks to Jan Komissar
for the fix.
W.C.A. Wijngaards [Wed, 6 Aug 2025 10:08:44 +0000 (12:08 +0200)]
- Fix edns subnet, so that the subquery without subnet is stored in
global cache if the querier used 0.0.0.0/0 and the name and address
do not receive subnet treatment. If the name and address are
configured for subnet, it is stored in the subnet cache.
W.C.A. Wijngaards [Wed, 6 Aug 2025 10:01:42 +0000 (12:01 +0200)]
- Fix edns subnet, so that the subquery without subnet is stored in
global cache if the querier used 0.0.0.0/0 and the name and address
do not receive subnet treatment. If the name and address are
configured for subnet, it is stored in the subnet cache.
W.C.A. Wijngaards [Tue, 5 Aug 2025 14:20:01 +0000 (16:20 +0200)]
- Fix to use assertions for consistency checks in #1309 reclaimed
W.C.A. Wijngaards [Tue, 5 Aug 2025 13:46:54 +0000 (15:46 +0200)]
- Fix #1309: incorrectly reclaimed tcp handler can cause data
corruption and segfault.
W.C.A. Wijngaards [Fri, 1 Aug 2025 08:34:12 +0000 (10:34 +0200)]
- Fix testbound test program to accurately output packets from hex.
W.C.A. Wijngaards [Mon, 28 Jul 2025 07:33:42 +0000 (09:33 +0200)]
- Fix redis cachedb module gettimeofday init failure.
Changelog note for the fix.
W.C.A. Wijngaards [Mon, 28 Jul 2025 07:32:55 +0000 (09:32 +0200)]
- Fix redis cachedb module gettimeofday init failure.
W.C.A. Wijngaards [Thu, 24 Jul 2025 09:06:00 +0000 (11:06 +0200)]
- Redis checks for server down and throttles reconnects.
And unit test for redis reconnect interval.
W.C.A. Wijngaards [Thu, 24 Jul 2025 09:05:25 +0000 (11:05 +0200)]
- Redis checks for server down and throttles reconnects.
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.