]>
git.ipfire.org Git - thirdparty/unbound.git/log
Willem Toorop [Sun, 21 Jul 2024 17:11:11 +0000 (10:11 -0700)]
Start with SVCB AliasMode processing
As requested by @nialor in issue #1065.
This may be of benefit (when completed) to DELEG as well.
W.C.A. Wijngaards [Fri, 19 Jul 2024 14:16:02 +0000 (16:16 +0200)]
- Fix dnstap wakeup, a running wakeup timer is left to expire and not
increased, a timer is started when the dtio thread is sleeping,
the timer set disabled when the dtio thread goes to sleep, and
after sleep the thread checks to see if there are messages to log
immediately.
W.C.A. Wijngaards [Fri, 19 Jul 2024 08:04:40 +0000 (10:04 +0200)]
- Add dnstap-sample-rate that logs only 1/N messages, for high volume
server environments. Thanks Dan Luther.
W.C.A. Wijngaards [Tue, 16 Jul 2024 12:23:10 +0000 (14:23 +0200)]
- For #1103: Fix to drop mesh state reference for the http2 stream
associated with the reply, not the currently active stream. And
it does not remove it twice on a mesh_send_reply call. The reply
h2_stream is NULL when not in use, for more initialisation.
W.C.A. Wijngaards [Mon, 15 Jul 2024 12:51:20 +0000 (14:51 +0200)]
- For #1103: fix to also drop mesh state reference when the discard
limit is reached, when there is an error making a new recursion
state and when the connection is dropped with is_drop.
W.C.A. Wijngaards [Fri, 12 Jul 2024 14:41:58 +0000 (16:41 +0200)]
Merge branch 'master' of github.com:NLnetLabs/unbound
W.C.A. Wijngaards [Fri, 12 Jul 2024 14:41:46 +0000 (16:41 +0200)]
- For #1103: fix to also drop mesh state reference when a h2 reply is
dropped.
Yorgos Thessalonikefs [Fri, 12 Jul 2024 14:29:44 +0000 (16:29 +0200)]
- For #1102: clearer text for using interface-* options for the
loopback interface.
W.C.A. Wijngaards [Fri, 12 Jul 2024 14:11:29 +0000 (16:11 +0200)]
- Fix #1103: unbound 1.20.0 segmentation fault with nghttp2.
Yorgos Thessalonikefs [Fri, 12 Jul 2024 13:38:12 +0000 (15:38 +0200)]
- Add RPZ tag tests in acl_interface.tdir.
W.C.A. Wijngaards [Wed, 10 Jul 2024 12:05:43 +0000 (14:05 +0200)]
- For #773: In contrib/unbound.service.in set unbound to start after
network-online.target. Also for contrib/unbound_portable.service.in.
Yorgos Thessalonikefs [Tue, 9 Jul 2024 13:58:30 +0000 (15:58 +0200)]
- Update list of known EDE codes.
W.C.A. Wijngaards [Mon, 8 Jul 2024 14:50:16 +0000 (16:50 +0200)]
- Fix shadowed error string variable in validator dnskey handling.
W.C.A. Wijngaards [Mon, 8 Jul 2024 13:38:27 +0000 (15:38 +0200)]
- Fixup algo_needs_reason string buffer length.
W.C.A. Wijngaards [Mon, 8 Jul 2024 13:29:20 +0000 (15:29 +0200)]
- Fix that validation reason failure that uses string print uses
separate buffer that is passed, from the scratch validation buffer.
Yorgos Thessalonikefs [Fri, 5 Jul 2024 17:58:19 +0000 (19:58 +0200)]
- Don't check for message TTL changes if the RRsets remain the same.
W.C.A. Wijngaards [Fri, 5 Jul 2024 15:54:46 +0000 (17:54 +0200)]
- Fix for #1099: Fix to check for deleted RRset when the contents
is updated and fetched after it is stored, and also check for a
changed RRset.
W.C.A. Wijngaards [Fri, 5 Jul 2024 15:18:01 +0000 (17:18 +0200)]
- Fix #1099: Unbound core dump on SIGSEGV.
W.C.A. Wijngaards [Fri, 5 Jul 2024 12:11:26 +0000 (14:11 +0200)]
- Fix neater printout.
W.C.A. Wijngaards [Fri, 5 Jul 2024 06:49:52 +0000 (08:49 +0200)]
- Fix for neater printout for error for missing DS response.
W.C.A. Wijngaards [Thu, 4 Jul 2024 12:51:18 +0000 (14:51 +0200)]
- Fix to print details about the failure to lookup a DNSKEY record
when validation fails due to the missing DNSKEY. Also for key prime
and DS lookups.
W.C.A. Wijngaards [Wed, 3 Jul 2024 14:42:52 +0000 (16:42 +0200)]
- Fix compile warnings in fptr_wlist.c.
W.C.A. Wijngaards [Wed, 3 Jul 2024 13:51:22 +0000 (15:51 +0200)]
- Fix to remove unneeded linebreak in fptr_wlist.c.
W.C.A. Wijngaards [Wed, 3 Jul 2024 13:49:13 +0000 (15:49 +0200)]
- Fix to use modstack_init in zonemd unit test.
W.C.A. Wijngaards [Wed, 3 Jul 2024 12:59:39 +0000 (14:59 +0200)]
- Add unit test skip files and bison and flex output to gitignore.
W.C.A. Wijngaards [Wed, 3 Jul 2024 12:53:42 +0000 (14:53 +0200)]
Changelog entry for #144 and #1098
- Fix #144: Port ipset to BSD pf tables.
Wouter Wijngaards [Wed, 3 Jul 2024 12:49:16 +0000 (14:49 +0200)]
Merge pull request #1098 from NLnetLabs/ipset-pf-support
Ipset pf support
W.C.A. Wijngaards [Wed, 3 Jul 2024 11:53:44 +0000 (13:53 +0200)]
ipset-pf-support, move startup and destartup to the front of the module
func block functions, modstack call deinit function names, and detect
module change when no startup functions are needed.
Wouter Wijngaards [Wed, 3 Jul 2024 11:08:51 +0000 (13:08 +0200)]
Apply suggestions from code review
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl>
Yorgos Thessalonikefs [Wed, 3 Jul 2024 08:08:44 +0000 (10:08 +0200)]
- Fix for repeated use of a DNAME record: first overallocate and then
move the exact size of the init value to avoid false positive heap
overflow reads from address sanitizers.
W.C.A. Wijngaards [Tue, 2 Jul 2024 07:44:58 +0000 (09:44 +0200)]
- Fix compile warning in worker pthread id printout.
W.C.A. Wijngaards [Tue, 2 Jul 2024 07:33:22 +0000 (09:33 +0200)]
- Fix unused variable warning in do_cache_remove.
W.C.A. Wijngaards [Tue, 2 Jul 2024 07:31:34 +0000 (09:31 +0200)]
- Fix to remove unused include from the readzone test program.
W.C.A. Wijngaards [Tue, 2 Jul 2024 07:08:27 +0000 (09:08 +0200)]
ipset-pf-support, simplification of code.
W.C.A. Wijngaards [Mon, 1 Jul 2024 15:11:20 +0000 (17:11 +0200)]
- ipset-pf-support, fix to skip unit test if no pf dev.
W.C.A. Wijngaards [Mon, 1 Jul 2024 15:06:11 +0000 (17:06 +0200)]
ipset-pf-support, fix to log error on failure to open pf.
W.C.A. Wijngaards [Mon, 1 Jul 2024 15:02:49 +0000 (17:02 +0200)]
ipset-pf-support, fix to remove unused include, free at end, adjust
qname for comparison.
W.C.A. Wijngaards [Mon, 1 Jul 2024 14:10:07 +0000 (16:10 +0200)]
Call module init init again, and new function startup and destartup.
NULL can be used if the function is not used. Open shared ports during
reload. Deinit is called during reload.
W.C.A. Wijngaards [Mon, 1 Jul 2024 12:54:45 +0000 (14:54 +0200)]
ipset-pf-support, fix compilation, close of pf socket.
W.C.A. Wijngaards [Mon, 1 Jul 2024 12:36:33 +0000 (14:36 +0200)]
Merge branch 'master' of https://github.com/madroach/unbound into ipset-pf-support
W.C.A. Wijngaards [Thu, 27 Jun 2024 12:51:58 +0000 (14:51 +0200)]
- Fix ip-ratelimit-cookie setting, it was not applied.
Yorgos Thessalonikefs [Wed, 26 Jun 2024 13:51:58 +0000 (15:51 +0200)]
- Explicitly set the RD bit for the mesh query flags when prefetching.
These queries have no waiting client but they need to be treated as
recursive.
Yorgos Thessalonikefs [Fri, 21 Jun 2024 12:34:12 +0000 (14:34 +0200)]
- Fix pkg-config availability check in dnstap/dnstap.m4 and
systemd.m4.
- autoconf.
Yorgos Thessalonikefs [Wed, 19 Jun 2024 13:27:50 +0000 (15:27 +0200)]
- Fix #1092: Ubuntu 22.04 Jammy fails to compile unbound 1.20.0; by
adding helpful text for the Python interpreter version and allowing
the default pkg-config unavailability error message to be shown.
- autoconf.
W.C.A. Wijngaards [Mon, 17 Jun 2024 10:28:45 +0000 (12:28 +0200)]
- Fix #1091: Build fails with OpenSSL >= 3.0 built with
OPENSSL_NO_DEPRECATED.
W.C.A. Wijngaards [Fri, 7 Jun 2024 09:56:19 +0000 (11:56 +0200)]
- Add unit test for validation of repeated use of a DNAME record.
W.C.A. Wijngaards [Thu, 6 Jun 2024 13:28:21 +0000 (15:28 +0200)]
- Fix validation for repeated use of a DNAME record.
W.C.A. Wijngaards [Thu, 6 Jun 2024 07:35:57 +0000 (09:35 +0200)]
- Fix typos for 'the the' in text.
W.C.A. Wijngaards [Thu, 6 Jun 2024 07:30:09 +0000 (09:30 +0200)]
- Fix memory leak in setup of dsa sig.
Yorgos Thessalonikefs [Tue, 4 Jun 2024 15:30:43 +0000 (17:30 +0200)]
- Merge #1080: AddressSanitizer detection in tdir tests and memory leak
fixes.
Yorgos Thessalonikefs [Tue, 4 Jun 2024 14:59:58 +0000 (16:59 +0200)]
- Skip unbound-dnstap-socket unit test when not compiled with
--enable-debug.
W.C.A. Wijngaards [Mon, 3 Jun 2024 10:14:51 +0000 (12:14 +0200)]
- Fix to squelch connection reset by peer errors from log. And fix
that the tcp read errors are labeled as initial for the first calls.
Yorgos Thessalonikefs [Fri, 31 May 2024 10:11:17 +0000 (12:11 +0200)]
- Fix memory leak on exit for unbound-dnstap-socket; creates false negatives
during testing.
Yorgos Thessalonikefs [Fri, 31 May 2024 10:09:35 +0000 (12:09 +0200)]
- Fix memory leak when reload_keep_cache is used and num-threads changes.
Yorgos Thessalonikefs [Fri, 31 May 2024 10:08:43 +0000 (12:08 +0200)]
- Enable AddressSanitizer error detection in tdir tests.
W.C.A. Wijngaards [Thu, 30 May 2024 10:44:26 +0000 (12:44 +0200)]
- Fix for #1079: fix RPZ taglist in iterator callback that no client
info is like no taglist intersection.
W.C.A. Wijngaards [Thu, 30 May 2024 10:11:30 +0000 (12:11 +0200)]
- Fix #1079: tags from tagged rpz zones are no longer honored after
upgrade from 1.19.3 to 1.20.0.
W.C.A. Wijngaards [Wed, 29 May 2024 12:45:01 +0000 (14:45 +0200)]
Changelog note for #1078.
- Merge #1078: Only check old pid if no username.
Wouter Wijngaards [Wed, 29 May 2024 12:44:31 +0000 (14:44 +0200)]
Merge pull request #1078 from vopatek/master
Only check old pid if no username
Martin Vopatek [Wed, 29 May 2024 12:14:09 +0000 (14:14 +0200)]
Only check old pid if no username
Do as the comment says and only check old pid if there is no username
configured.
Yorgos Thessalonikefs [Mon, 27 May 2024 15:17:48 +0000 (17:17 +0200)]
- Update patch to remove 'command' shell builtin and update error
text.
Michael Tokarev [Tue, 19 Apr 2022 15:14:01 +0000 (18:14 +0300)]
unbound-control-setup: check openssl
Before doing anything, check if openssl binary (which we will use)
is available, and print a useful error message if it is not found.
Yorgos Thessalonikefs [Mon, 27 May 2024 12:56:52 +0000 (14:56 +0200)]
- Fix unused variable warning on compilation with no thread support.
W.C.A. Wijngaards [Mon, 27 May 2024 12:36:35 +0000 (14:36 +0200)]
- Fix spelling of tcp-idle-timeout docs, from Michael Tokarev.
W.C.A. Wijngaards [Mon, 27 May 2024 11:53:16 +0000 (13:53 +0200)]
- Fix to enable that SERVFAIL is cached, for a short period, for more
cases. In the cases where limits are exceeded.
Yorgos Thessalonikefs [Fri, 24 May 2024 13:24:52 +0000 (15:24 +0200)]
Changelog entry for #1059:
- Fix #1059: Intermittent DNS blocking failure with local-zone and
always_nxdomain. Addition of local_zones dynamically via
unbound-control was not finding the zone's parent correctly.
Yorgos Thessalonikefs [Fri, 24 May 2024 13:21:40 +0000 (15:21 +0200)]
Proper parent identification for dynamically entered local zones (#1076)
- Fix #1059: Intermittent DNS blocking failure with local-zone and
always_nxdomain. Addition of local_zones dynamically via
unbound-control was not finding the zone's parent correctly.
W.C.A. Wijngaards [Fri, 24 May 2024 07:06:48 +0000 (09:06 +0200)]
- Fix #1064: Unbound 1.20 Cachedb broken?
Add unit test for validation status commit.
W.C.A. Wijngaards [Tue, 21 May 2024 15:06:18 +0000 (17:06 +0200)]
- Fix for #1064: Fix that cachedb expired messages are considered
insecure, and thus can be served to clients when dnssec is enabled.
W.C.A. Wijngaards [Tue, 21 May 2024 10:04:57 +0000 (12:04 +0200)]
- Fix for parse end of forward-zone, stub-zone and view.
W.C.A. Wijngaards [Tue, 21 May 2024 09:54:18 +0000 (11:54 +0200)]
- Fix to print a parse error when config is read with no name for
a forward-zone, stub-zone or view.
W.C.A. Wijngaards [Tue, 21 May 2024 09:52:47 +0000 (11:52 +0200)]
Changelog note for #1073.
- Merge #1073: fix null pointer dereference issue in function
ub_ctx_set_fwd.
Wouter Wijngaards [Tue, 21 May 2024 09:51:52 +0000 (11:51 +0200)]
Merge pull request #1073 from xiaoxiaoafeifei/master
fix null pointer dereference issue in function ub_ctx_set_fwd
zhailiangliang [Tue, 21 May 2024 08:40:16 +0000 (08:40 +0000)]
fix null pointer dereference issue in function ub_ctx_set_fwd of file libunbound/libunbound.c
Yorgos Thessalonikefs [Fri, 17 May 2024 08:29:35 +0000 (10:29 +0200)]
Changelog entry for #1069:
- Merge #1069: Fix unbound-control stdin commands for multi-process
Unbounds.
Yorgos Thessalonikefs [Fri, 17 May 2024 08:25:24 +0000 (10:25 +0200)]
Fix unbound-control stdin commands for multi-process Unbounds (#1069)
- Fix unbound-control commands that read stdin in multi-process
operation (local_zones_remove, local_zones, local_datas_remove,
local_datas, view_local_datas_remove, view_local_datas). They will
be properly distributed to all processes. dump_cache and load_cache
are no longer supported in multi-process operation.
- Remove testdata/remote-threaded.tdir. testdata/09-unbound-control.tdir
now checks both single and multi process/thread operation.
---------
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
W.C.A. Wijngaards [Thu, 16 May 2024 14:56:58 +0000 (16:56 +0200)]
- Fix #1071: [FR] Clear both in-memory and cachedb module cache with
`unbound-control flush*` commands.
Yorgos Thessalonikefs [Thu, 16 May 2024 11:43:24 +0000 (13:43 +0200)]
Changelog entry for #1070:
- Merge #1070: Fix rtt assignement for low values of
infra-cache-max-rtt.
Yorgos Thessalonikefs [Thu, 16 May 2024 11:42:32 +0000 (13:42 +0200)]
Fix rtt assignement for low values of infra-cache-max-rtt (#1070)
* Fix rtt assignement for still useful servers when a low value for
infra-cache-max-rtt is configured.
Yorgos Thessalonikefs [Wed, 15 May 2024 09:20:36 +0000 (11:20 +0200)]
- Add missing common functions to tdir tests.
W.C.A. Wijngaards [Fri, 10 May 2024 07:50:35 +0000 (09:50 +0200)]
- Fix when the mesh jostle is exceeded that nameserver targets are
marked as resolved, so that the lookup is not stuck on the
requestlist.
W.C.A. Wijngaards [Wed, 8 May 2024 14:40:41 +0000 (16:40 +0200)]
- Fix to squelch udp connect errors in the log at low verbosity about
invalid argument for IPv6 link local addresses.
W.C.A. Wijngaards [Wed, 8 May 2024 09:10:53 +0000 (11:10 +0200)]
The code repository continues with version 1.20.1.
W.C.A. Wijngaards [Tue, 7 May 2024 12:05:21 +0000 (14:05 +0200)]
- Fix for #1062: declaration before statement, avoid print of null,
and redundant check for array size.
And changelog note for merge of #1062.
Wouter Wijngaards [Tue, 7 May 2024 12:02:21 +0000 (14:02 +0200)]
Merge pull request #1062 from xiaoxiaoafeifei/master
Fix potential overflow bug while parsing port in function cfg_mark_ports
zhailiangliang [Tue, 7 May 2024 11:35:52 +0000 (11:35 +0000)]
Fix potential overflow bug while parsing port in function cfg_mark_ports
W.C.A. Wijngaards [Wed, 1 May 2024 08:15:12 +0000 (10:15 +0200)]
- Set version number to 1.20.0 for release.
W.C.A. Wijngaards [Wed, 1 May 2024 08:10:58 +0000 (10:10 +0200)]
- Fix for the DNSBomb vulnerability CVE-2024-33655. Thanks to Xiang Li
from the Network and Information Security Lab of Tsinghua University
for reporting it.
W.C.A. Wijngaards [Mon, 29 Apr 2024 11:42:26 +0000 (13:42 +0200)]
- Fix doxygen comment for errinf_to_str_bogus.
Yorgos Thessalonikefs [Mon, 29 Apr 2024 08:15:19 +0000 (10:15 +0200)]
- Cleanup unnecessary strdup calls for EDE strings.
W.C.A. Wijngaards [Fri, 26 Apr 2024 12:54:25 +0000 (14:54 +0200)]
- Man page entry for unbound-checkconf -q.
Yorgos Thessalonikefs [Fri, 26 Apr 2024 12:50:39 +0000 (14:50 +0200)]
- Fix #876: [FR] can unbound-checkconf be silenced when configuration
is valid?
W.C.A. Wijngaards [Fri, 26 Apr 2024 11:33:26 +0000 (13:33 +0200)]
- Add unit tests for cachedb and subnet cache expired data.
W.C.A. Wijngaards [Fri, 26 Apr 2024 11:32:15 +0000 (13:32 +0200)]
- Fix cachedb with serve-expired-client-timeout disabled. The edns
subnet module deletes global cache and cachedb cache when it
stores a result, and serve-expired is enabled, so that the global
reply, that is older than the ecs reply, does not return after
the ecs reply expires.
W.C.A. Wijngaards [Thu, 25 Apr 2024 15:06:06 +0000 (17:06 +0200)]
- Fix doc unit test for out of directory build.
W.C.A. Wijngaards [Thu, 25 Apr 2024 10:53:05 +0000 (12:53 +0200)]
- Fix to disable fragmentation on systems with IP_DONTFRAG,
with a nonzero value for the socket option argument.
W.C.A. Wijngaards [Thu, 25 Apr 2024 09:12:27 +0000 (11:12 +0200)]
Changelog note for #1041 and #1038.
- Merge #1041: Stub and Forward unshare. This has one structure
for them and fixes #1038: fatal error: Could not initialize
thread / error: reading root hints.
Wouter Wijngaards [Thu, 25 Apr 2024 09:11:00 +0000 (11:11 +0200)]
Merge pull request #1041 from NLnetLabs/stubfwd-unshare
Stub and Forward unshare
Yorgos Thessalonikefs [Thu, 25 Apr 2024 09:05:58 +0000 (11:05 +0200)]
Update locking management for iter_fwd and iter_hints methods. (#1054)
fast reload, move most of the locking management to iter_fwd and
iter_hints methods. The caller still has the ability to handle its
own locking, if desired, for atomic operations on sets of different
structs.
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
W.C.A. Wijngaards [Thu, 25 Apr 2024 08:53:35 +0000 (10:53 +0200)]
- Fix configure flto check error, by finding grep for it.