]>
git.ipfire.org Git - thirdparty/unbound.git/log
W.C.A. Wijngaards [Thu, 13 Nov 2025 14:45:27 +0000 (15:45 +0100)]
Changelog note for #1375, and lock for lockchecks and ifdef for compile fix.
- Merge #1375: Copy DNSTAP changes from daemon to workers after
fast_reload.
smeddlep [Thu, 13 Nov 2025 14:42:44 +0000 (14:42 +0000)]
Copy DNSTAP changes from daemon to workers after fast_reload (#1375)
- On fast_reload, the identity and version strings are always freed and
reallocated as part of dt_apply_cfg(). Add fr_worker_pickup_dnstap_changes()
to copy any changes from daemon to workers.
W.C.A. Wijngaards [Thu, 13 Nov 2025 08:34:45 +0000 (09:34 +0100)]
Changelog note for #1374
- Merge #1374: Mesh reply counters.
This adds the statistics num.queries.replyaddr_limit and
requestlist.current.replies.
Robert Edmonds [Thu, 13 Nov 2025 08:33:05 +0000 (03:33 -0500)]
Mesh reply counters (#1374)
* Statistics counter for number of queries dropped by limit on reply addresses
Request list entries can be associated with multiple pending "reply
addresses". Basically each request list entry keeps its own list of
clients that should receive the response once the recursion is finished.
This requires keeping allocations around for each client, and there is
a global limit on the number of *additional* reply addresses that can
be allocated. (Each new request list entry seems to get its own initial
reply address which is not counted against the limit.)
This commit adds a statistics counter "num_queries_replyaddr_limit" that
counts the number of incoming client queries that have been dropped due
to the restriction on allocating additional reply addresses. This allows
distinguishing these drops from other kinds of drops.
* Statistics counter for number of mesh reply entries
Request list entries can be associated with multiple pending "reply
addresses". Since there is a limit on the number of additional reply
addresses that can be allocated which can cause incoming queries to be
dropped if exceeded, it would be nice to be able to track this number.
This commit basically exports the mesh_area's internal counter
`num_reply_addrs` as "threadX.requestlist.current.replies" /
"total.requestlist.current.replies".
W.C.A. Wijngaards [Wed, 12 Nov 2025 10:49:21 +0000 (11:49 +0100)]
- iana portlist updated.
W.C.A. Wijngaards [Wed, 12 Nov 2025 10:49:04 +0000 (11:49 +0100)]
- Fix that when discard timeout drops packet, they are accounted as
less reply addresses in use in the mesh area.
W.C.A. Wijngaards [Thu, 6 Nov 2025 14:03:17 +0000 (15:03 +0100)]
- Fix configure test for nonstring attribute so that it does not
accept when the compiler prints a warning about an unknown
attribute.
W.C.A. Wijngaards [Thu, 6 Nov 2025 14:00:08 +0000 (15:00 +0100)]
- Fix configure test for noreturn attribute so it compiles without
warning.
W.C.A. Wijngaards [Thu, 6 Nov 2025 13:32:56 +0000 (14:32 +0100)]
- Fix add comment to worker_handle_request function that explain it.
W.C.A. Wijngaards [Tue, 4 Nov 2025 09:19:03 +0000 (10:19 +0100)]
- Fix dns64 log output to log the default instead of a null string.
Yorgos Thessalonikefs [Sat, 1 Nov 2025 14:10:27 +0000 (15:10 +0100)]
- Fix #1366: Infra cache does not work correctly for NAT64, by
moving the NAT64 synthesis from the iterator when selecting a target
address, to the delegation point itself when adding target
addresses.
Yorgos Thessalonikefs [Tue, 28 Oct 2025 13:42:20 +0000 (14:42 +0100)]
- Fix typo; spotted by T3rm1.
Yorgos Thessalonikefs [Mon, 27 Oct 2025 13:00:15 +0000 (14:00 +0100)]
- Fix #1165, document the possible circular dependency when using
host names instead of IP addresses for name servers in stub/forward
zones and log a warning when spotted in the configuration.
Yorgos Thessalonikefs [Mon, 27 Oct 2025 08:59:35 +0000 (09:59 +0100)]
Changelog entry for #1331:
- Merge #1331 from Jitka PlesnĂková: Replace deprecated $function by
new $action, for SWIG.
Yorgos Thessalonikefs [Mon, 27 Oct 2025 08:57:59 +0000 (09:57 +0100)]
Merge pull request #1331 from jplesnik/master
Replace deprecated $function by new $action
Yorgos Thessalonikefs [Fri, 24 Oct 2025 13:43:22 +0000 (15:43 +0200)]
- For #1364, use OPENSSL_VERSION_TEXT instead of OPENSSL_VERSION_NUMBER
for part of the configure script. OPENSSL_VERSION_TEXT is more
consistent across versions.
Yorgos Thessalonikefs [Fri, 24 Oct 2025 12:44:58 +0000 (14:44 +0200)]
- Fix unused attribute warning in redis.c when threads are not
supported.
Yorgos Thessalonikefs [Fri, 24 Oct 2025 12:26:08 +0000 (14:26 +0200)]
- Note Havard Eidnes for his suggestions on the mailing list.
Yorgos Thessalonikefs [Fri, 24 Oct 2025 12:23:53 +0000 (14:23 +0200)]
- unbound.conf man page updates to include a preview of the section
clauses and some reformatting around the use of "clause", "option"
and "attributes".
Yorgos Thessalonikefs [Wed, 22 Oct 2025 10:49:29 +0000 (12:49 +0200)]
- Tag for 1.24.1 release.
The repository continues with version 1.24.2.
Yorgos Thessalonikefs [Wed, 22 Oct 2025 10:44:59 +0000 (12:44 +0200)]
Merge branch 'branch-1.24.1'
Yorgos Thessalonikefs [Wed, 22 Oct 2025 08:54:57 +0000 (10:54 +0200)]
- Fix CVE-2025-11411 (possible domain hijacking attack), reported by Yuxiao Wu,
Yunyi Zhang, Baojun Liu and Haixin Duan from Tsinghua University.
Yorgos Thessalonikefs [Wed, 22 Oct 2025 08:50:18 +0000 (10:50 +0200)]
- Set version to 1.24.1.
Yorgos Thessalonikefs [Mon, 20 Oct 2025 12:34:40 +0000 (14:34 +0200)]
- Update the unbound.conf online man page link and some text
reformatting in README.md.
Wouter Wijngaards [Wed, 15 Oct 2025 14:12:39 +0000 (16:12 +0200)]
Fix for analysis and ports workflows iOS, Windows (#1361)
* - Remove SDK_VERSION and only run failed jobs, echo windows config.log
* Use commented out to fix syntax of ci.
* - Turn off succeeded tests, only link libssp for cross compile, use
no-shared for openssl ios.
* - Remove iPhone armv7s, and iPhoneSimulator i386 from ios ci.
The lib system does not provide symbols for it on the new macos
runner.
- Fix to exclude libssp for windows compiles.
W.C.A. Wijngaards [Wed, 15 Oct 2025 13:40:47 +0000 (15:40 +0200)]
- Fix unbound.conf man page entry for root-hints to say it can
be used without strongly recommending it.
Yorgos Thessalonikefs [Wed, 15 Oct 2025 12:59:48 +0000 (14:59 +0200)]
- Remove extra gpg instructions from makedist.sh output.
Yorgos Thessalonikefs [Wed, 15 Oct 2025 12:10:20 +0000 (14:10 +0200)]
- ci: don't fail fast for the analysis_port workflow.
W.C.A. Wijngaards [Wed, 15 Oct 2025 11:41:36 +0000 (13:41 +0200)]
Update ios ci with older sdk version to use.
W.C.A. Wijngaards [Wed, 15 Oct 2025 10:25:44 +0000 (12:25 +0200)]
- Fix to update openssl version in ios ci.
W.C.A. Wijngaards [Wed, 15 Oct 2025 09:39:58 +0000 (11:39 +0200)]
- Add extended dns error code for invalid query type to definition
list.
W.C.A. Wijngaards [Wed, 15 Oct 2025 09:36:29 +0000 (11:36 +0200)]
- Fix to reply with SERVFAIL when the wait-limit is exceeded.
W.C.A. Wijngaards [Wed, 15 Oct 2025 09:04:22 +0000 (11:04 +0200)]
- Fix to drop UDP for discard-timeout, but not stream connections.
W.C.A. Wijngaards [Fri, 10 Oct 2025 07:17:08 +0000 (09:17 +0200)]
- Fix #1358 Enabling FIPS in OpenSSL causes unit test to fail.
Yorgos Thessalonikefs [Fri, 3 Oct 2025 14:44:44 +0000 (16:44 +0200)]
- Note clearly that 'wait-limit: 0' disables all wait limits.
- 'wait-limit-cookie: 0' can now disable cookie validated wait
limits.
Yorgos Thessalonikefs [Fri, 3 Oct 2025 09:27:26 +0000 (11:27 +0200)]
- Note 'respip' and 'dns64' module order in the unbound.conf
man page.
W.C.A. Wijngaards [Thu, 2 Oct 2025 08:16:06 +0000 (10:16 +0200)]
- Fix that https is set up as enabled when the port is listed in
interface-automatic-ports. Also for the set up of quic it is
enabled when listed there.
W.C.A. Wijngaards [Tue, 30 Sep 2025 09:28:15 +0000 (11:28 +0200)]
- Fix for #1344: Fix that respip and dns64 can be enabled at the
same time, the client info is copied for attach_sub and add_sub
calls. That makes respip work on dns64 synthesized answers, and
also makes RPZ work with DNS64. The order for the modules is
module-config: "respip dns64 validator iterator".
W.C.A. Wijngaards [Mon, 29 Sep 2025 14:11:50 +0000 (16:11 +0200)]
- Fix #1344: module conf 'respip dns64 validator cachedb iterator'
is not known to work.
W.C.A. Wijngaards [Mon, 29 Sep 2025 12:24:31 +0000 (14:24 +0200)]
- Fix #1353: auth-zone can not use empty label for $ORIGIN when
http download.
Yorgos Thessalonikefs [Mon, 29 Sep 2025 11:13:19 +0000 (13:13 +0200)]
Changelog entry for #1351:
- Merge #1351: ac_cv_func_malloc_0_nonnull for malloc(0) check.
W.C.A. Wijngaards [Mon, 29 Sep 2025 11:13:15 +0000 (13:13 +0200)]
- Rebuild configure script from its sources.
Yorgos Thessalonikefs [Mon, 29 Sep 2025 11:12:27 +0000 (13:12 +0200)]
ac_cv_func_malloc_0_nonnull for malloc(0) check (#1351)
- For #1339, use the standard variable ac_cv_func_malloc_0_nonnull for
the malloc(0) check during configure; patch from Helmut Grohne.
Yorgos Thessalonikefs [Mon, 29 Sep 2025 10:10:34 +0000 (12:10 +0200)]
Changelog entry for #1349:
- Merge #1349: Fix #1346: [FR] Please allow back TLS 1.2.
W.C.A. Wijngaards [Mon, 29 Sep 2025 10:08:30 +0000 (12:08 +0200)]
- Fix fr_atomic_copy_cfg.
Yorgos Thessalonikefs [Mon, 29 Sep 2025 10:03:56 +0000 (12:03 +0200)]
Fix #1346: [FR] Please allow back TLS 1.2. (#1349)
* 'tls-use-system-policy-versions' is introduced to allow Unbound to use
any system available TLS version when serving TLS.
* Apply suggestions from code review
---------
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
W.C.A. Wijngaards [Mon, 29 Sep 2025 09:40:14 +0000 (11:40 +0200)]
- Neaten up the change in acx_nlnetlabs.m4 to version 49.
W.C.A. Wijngaards [Mon, 29 Sep 2025 09:31:50 +0000 (11:31 +0200)]
- Fix modstack_call_init to use the original string when it has
changed, to call modstack_config with. And skip the changed name
in the string correctly. Thanks to Jan Komissar.
W.C.A. Wijngaards [Mon, 29 Sep 2025 08:02:54 +0000 (10:02 +0200)]
- Rebuild configure script from its sources.
Yorgos Thessalonikefs [Fri, 26 Sep 2025 14:22:00 +0000 (16:22 +0200)]
- Test for nonstring attribute in configure and add
nonstring attribute annotations.
Alex Band [Thu, 25 Sep 2025 19:39:39 +0000 (21:39 +0200)]
Update Mastodon shield
Yorgos Thessalonikefs [Wed, 24 Sep 2025 12:30:24 +0000 (14:30 +0200)]
- Avoid calling mesh_detect_cycle_found() when there is no mesh state
to begin with.
Yorgos Thessalonikefs [Tue, 23 Sep 2025 15:42:41 +0000 (17:42 +0200)]
- For #1350, same CAP_NET_ADMIN change for unbound_portable.service.in
as well.
Yorgos Thessalonikefs [Tue, 23 Sep 2025 15:37:59 +0000 (17:37 +0200)]
Changelog entry for #1350:
- Merge #1350 from Maryse47: unbound.service.in: allow CAP_NET_ADMIN.
Yorgos Thessalonikefs [Tue, 23 Sep 2025 15:37:09 +0000 (17:37 +0200)]
Merge pull request #1350 from Maryse47/patch-1
unbound.service.in: allow CAP_NET_ADMIN and drop CAP_NET_RAW (redundant now).
Yorgos Thessalonikefs [Tue, 23 Sep 2025 15:31:55 +0000 (17:31 +0200)]
- For #1352, align with the current Python<3 code.
Yorgos Thessalonikefs [Tue, 23 Sep 2025 15:15:16 +0000 (17:15 +0200)]
Changelog entry for #1352:
- Merge #1352 from Petr Vaganov: pythonmod: fix HANDLE_LEAK on
pythonmod_init.
Maryse47 [Tue, 23 Sep 2025 15:13:31 +0000 (17:13 +0200)]
unbound.service.in: drop CAP_NET_RAW
CAP_NET_RAW is unnecessary after CAP_NET_ADMIN was added
Yorgos Thessalonikefs [Tue, 23 Sep 2025 15:13:30 +0000 (17:13 +0200)]
Merge pull request #1352 from petrvaganoff/dev-52227
pythonmod: fix HANDLE_LEAK on pythonmod_init
Petr Vaganov [Tue, 23 Sep 2025 14:51:46 +0000 (19:51 +0500)]
pythonmod: fix HANDLE_LEAK on pythonmod_init
Found by the static analyzer Svace (ISP RAS).
Handle 'script_py' is created at pythonmod.c:436
by calling function 'fopen' and lost at pythonmod.c:457,465.
Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com>
Maryse47 [Tue, 23 Sep 2025 11:00:50 +0000 (13:00 +0200)]
unbound.service.in: allow CAP_NET_ADMIN
Allowing CAP_NET_ADMIN is necessary for SO_SNDBUFFORCE and SO_RCVBUFFORCE calls.
Yorgos Thessalonikefs [Fri, 19 Sep 2025 13:49:07 +0000 (15:49 +0200)]
- unbound.conf manpage: explicitly mention RFC6891.
Yorgos Thessalonikefs [Fri, 19 Sep 2025 13:01:30 +0000 (15:01 +0200)]
Changelog entry for #1337:
- Merge #1337: 0 TTL cached replies and some TTL behavior changes.
Yorgos Thessalonikefs [Fri, 19 Sep 2025 12:56:04 +0000 (14:56 +0200)]
Merge branch 'features/no-ttl-zero-cacherep'
Yorgos Thessalonikefs [Fri, 19 Sep 2025 08:03:10 +0000 (10:03 +0200)]
- Update README.man with clearer text.
W.C.A. Wijngaards [Fri, 19 Sep 2025 07:46:34 +0000 (09:46 +0200)]
- Fix to remove configure~ from release tarballs.
W.C.A. Wijngaards [Thu, 18 Sep 2025 08:57:37 +0000 (10:57 +0200)]
- Tag for 1.24.0 release. Includes the fixes below after rc1.
The repository continues with version 1.24.1.
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 [Wed, 17 Sep 2025 09:27:16 +0000 (11:27 +0200)]
- Too many quotes for the EDE message debug printout.
W.C.A. Wijngaards [Mon, 15 Sep 2025 14:11:27 +0000 (16:11 +0200)]
- Fix to print warning for when so-sndbuf setsockopt is not granted.
Yorgos Thessalonikefs [Mon, 15 Sep 2025 10:06:49 +0000 (12:06 +0200)]
- Small debug output improvement when attaching an EDE.
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
W.C.A. Wijngaards [Thu, 11 Sep 2025 11:23:51 +0000 (13:23 +0200)]
- Update contrib/aaaa-filter-iterator.patch so it applies on 1.24.0.
W.C.A. Wijngaards [Thu, 11 Sep 2025 07:03:40 +0000 (09:03 +0200)]
- version set to 1.24.0 for release.
- tag for 1.24.0rc1.
W.C.A. Wijngaards [Tue, 9 Sep 2025 10:34:11 +0000 (12:34 +0200)]
- Fix #1332: CNAME chains are sometimes not followed when RPZs add a
local CNAME rewrite.
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.
Jitka Plesnikova [Mon, 8 Sep 2025 08:11:49 +0000 (10:11 +0200)]
Replace deprecated $function by new $action
The long-deprecated $function was removed from future SWIG 4.4.0.
It can be safely replaced by $action.
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.