]>
git.ipfire.org Git - thirdparty/unbound.git/log
W.C.A. Wijngaards [Wed, 9 Oct 2024 08:17:32 +0000 (10:17 +0200)]
- dnsoverquic, rerun autoconf.
W.C.A. Wijngaards [Wed, 9 Oct 2024 08:16:09 +0000 (10:16 +0200)]
Merge branch 'master' into dnsoverquic
Yorgos Thessalonikefs [Wed, 9 Oct 2024 07:30:27 +0000 (09:30 +0200)]
- memset for consistency
- no value returned from msghdr_get_ecn when S_SPLINT_S is defined
Yorgos Thessalonikefs [Wed, 9 Oct 2024 07:23:31 +0000 (09:23 +0200)]
- timeval_substruct from timeval_func.h
- lock_protect also for HAVE_NGTCP2_CCERR_DEFAULT
- fix doq logging for inet_ntop failures
W.C.A. Wijngaards [Tue, 8 Oct 2024 13:29:03 +0000 (15:29 +0200)]
- Fix #1128: Cannot override tcp-upstream and tls-upstream with
forward-tcp-upstream and forward-tls-upstream.
W.C.A. Wijngaards [Tue, 8 Oct 2024 09:54:07 +0000 (11:54 +0200)]
- Fix #1149: unbound-control-setup hangs sometimes depending on
the openssl version.
Yorgos Thessalonikefs [Thu, 3 Oct 2024 16:19:01 +0000 (18:19 +0200)]
- The fix for CVE-2024-8508 was part of 1.21.1, a security point release
on 1.21.0. The code repository continues with this fix and the version
number 1.22.0.
Yorgos Thessalonikefs [Thu, 3 Oct 2024 16:14:01 +0000 (18:14 +0200)]
Merge branch 'release-1.21.1'
Yorgos Thessalonikefs [Thu, 3 Oct 2024 12:46:57 +0000 (14:46 +0200)]
- Fix CVE-2024-8508, unbounded name compression could lead to denial of
service.
Yorgos Thessalonikefs [Thu, 3 Oct 2024 12:11:57 +0000 (14:11 +0200)]
- Set version to 1.21.1
Yorgos Thessalonikefs [Tue, 1 Oct 2024 12:02:08 +0000 (14:02 +0200)]
Fix fwrite return value check in doqclient
W.C.A. Wijngaards [Mon, 30 Sep 2024 14:36:01 +0000 (16:36 +0200)]
- Fix unbound dnstap socket test program analyzer warnings about
unused variable assignments and variable initialization.
W.C.A. Wijngaards [Mon, 30 Sep 2024 07:25:51 +0000 (09:25 +0200)]
- Fix negative cache NSEC3 parameter compares for zero length NSEC3
salt.
Yorgos Thessalonikefs [Fri, 27 Sep 2024 11:55:50 +0000 (13:55 +0200)]
Fix getting user data from SSL, fix calloc warning.
W.C.A. Wijngaards [Wed, 25 Sep 2024 09:16:46 +0000 (11:16 +0200)]
- Fix #1144: [FR] log timestamps in ISO8601 format with timezone.
This adds the option `log-time-iso: yes` that logs in ISO8601
format.
Yorgos Thessalonikefs [Tue, 24 Sep 2024 14:49:34 +0000 (16:49 +0200)]
Changelog entry for #1143:
- Merge #1143: Fix cache update when serve expired is used. Expired
records are favored over resolution and validation failures when
serve-expired is used.
Yorgos Thessalonikefs [Tue, 24 Sep 2024 14:47:04 +0000 (16:47 +0200)]
Fix cache update when serve expired is used (#1143)
- Fix cache update when serve expired is used in order to not evict
still usable expired records. Modules are forbidden to update the
cache if their answer is DNSSEC unchecked or bogus and a valid
(expired) entry already exists. Bogus replies from the validator are
also discarded in favor of existing (expired) valid replies.
- serve-expired-ttl-reset should try to keep expired records in the
cache in case they are reset.
Yorgos Thessalonikefs [Tue, 24 Sep 2024 13:10:21 +0000 (15:10 +0200)]
- More clear text for prefetch and minimal-responses in the
unbound.conf man page.
Yorgos Thessalonikefs [Tue, 24 Sep 2024 10:21:03 +0000 (12:21 +0200)]
- Attempt to further fix doh_downstream_buffer_size.tdir flakiness.
Yorgos Thessalonikefs [Mon, 23 Sep 2024 13:31:32 +0000 (15:31 +0200)]
- Fix doxygen warnings by commenting out CLANG_ASSISTED_PARSING,
CLANG_ADD_INC_PATHS, CLANG_OPTIONS and CLANG_DATABASE_PATH; they were
already disabled.
W.C.A. Wijngaards [Mon, 23 Sep 2024 10:19:43 +0000 (12:19 +0200)]
- Fix dns64 with prefetch that the prefetch is stored in cache.
W.C.A. Wijngaards [Tue, 17 Sep 2024 11:10:34 +0000 (13:10 +0200)]
- Add redis-command-timeout: 20 and redis-connect-timeout: 200,
that can set the timeout separately for commands and the
connection set up to the redis server. If they are not
specified, the redis-timeout value is used.
W.C.A. Wijngaards [Mon, 16 Sep 2024 10:15:04 +0000 (12:15 +0200)]
Changelog comment for #1140.
- Merge #1140: Fix spelling mistake in comments.
Tochus [Mon, 16 Sep 2024 10:14:28 +0000 (18:14 +0800)]
Fix spelling mistake in comments (#1140)
I noticed a spelling mistake in the comments. The term “chain of trust” was incorrectly written as “chainoftrust”. This change corrects the spelling to “chain of trust” which is the correct term used in English.
Yorgos Thessalonikefs [Wed, 11 Sep 2024 10:16:02 +0000 (12:16 +0200)]
- Fix and add comments in testdata/val_negcache_ttl.rpl.
W.C.A. Wijngaards [Tue, 10 Sep 2024 08:17:31 +0000 (10:17 +0200)]
- Add unit test for ttl limit for aggressive nsec.
W.C.A. Wijngaards [Tue, 10 Sep 2024 08:13:48 +0000 (10:13 +0200)]
- Fix to limit NSEC and NSEC3 TTL when aggressive nsec is
enabled (RFC9077).
Yorgos Thessalonikefs [Fri, 6 Sep 2024 14:03:20 +0000 (16:03 +0200)]
- Fix comment to not trigger doxygen unknown command.
Yorgos Thessalonikefs [Fri, 6 Sep 2024 14:01:30 +0000 (16:01 +0200)]
- Fix alloc-size and calloc-transposed-args compiler warnings.
W.C.A. Wijngaards [Thu, 5 Sep 2024 07:35:54 +0000 (09:35 +0200)]
- Fix config file read for dnstap-sample-rate.
W.C.A. Wijngaards [Mon, 2 Sep 2024 07:25:44 +0000 (09:25 +0200)]
Changelog note for #1135
- Merge #1135: Add new IANA trust anchor.
Keelan Cannoo [Mon, 2 Sep 2024 07:24:55 +0000 (11:24 +0400)]
Add new IANA trust anchor (#1135)
Signed-off-by: Keelan Cannoo <keelan.cannoo@cyberstorm.mu>
Co-authored-by: Keelan10 <keelan.cannoo@cyberstorm.mu>
W.C.A. Wijngaards [Fri, 30 Aug 2024 06:56:00 +0000 (08:56 +0200)]
- Fix for #1132, comment about adjusted copy of reference check.
W.C.A. Wijngaards [Fri, 30 Aug 2024 06:51:56 +0000 (08:51 +0200)]
Changelog note for #1132 and fix for #1132.
- Merge #1132: b.root renumbering.
- Fix for #1132, adjusted unit test for change in the test file.
Loganaden Velvindron [Fri, 30 Aug 2024 06:48:31 +0000 (10:48 +0400)]
b.root renumbering (#1132)
https://b.root-servers.org/news/2023/05/16/new-addresses.html
Worked together with Jaykishan Muktawoa <jay@cyberstorm.mu>
W.C.A. Wijngaards [Thu, 29 Aug 2024 11:04:03 +0000 (13:04 +0200)]
- Fix to print port number in logs for auth zone transfer activities.
W.C.A. Wijngaards [Thu, 29 Aug 2024 08:40:31 +0000 (10:40 +0200)]
- Unit test for auth zone transfer TLS, and TLS failure.
W.C.A. Wijngaards [Wed, 28 Aug 2024 11:16:29 +0000 (13:16 +0200)]
- Fix that stub-zone and forward-zone clauses do not exhaust memory
for long content.
W.C.A. Wijngaards [Wed, 28 Aug 2024 08:51:22 +0000 (10:51 +0200)]
- Fix that when rpz is applied the message does not get picked up by
the validator. That stops validation failures for the message.
W.C.A. Wijngaards [Tue, 27 Aug 2024 15:00:27 +0000 (17:00 +0200)]
- Fix #1130: Loads of logs: "validation failure: key for validation
<domain>. is marked as invalid because of a previous" for
non-DNSSEC signed zone.
W.C.A. Wijngaards [Fri, 23 Aug 2024 11:19:15 +0000 (13:19 +0200)]
- Fix documentation for cache_fill_missing function.
W.C.A. Wijngaards [Fri, 23 Aug 2024 07:22:07 +0000 (09:22 +0200)]
- Fix #1127: error: "memory exhausted" when defining more than 9994
local-zones.
W.C.A. Wijngaards [Fri, 23 Aug 2024 06:56:48 +0000 (08:56 +0200)]
- Merge patch to fix for glue that is outside of zone, with
`harden-unverified-glue`, from Karthik Umashankar (Microsoft).
Enabling this option protects the Unbound resolver against bad
glue, that is unverified out of zone glue, by resolving them.
It uses the records as last resort if there is no other working
glue.
W.C.A. Wijngaards [Wed, 21 Aug 2024 12:20:04 +0000 (14:20 +0200)]
Enable ci back after debug.
W.C.A. Wijngaards [Wed, 21 Aug 2024 12:15:23 +0000 (14:15 +0200)]
- Fix for char signedness warnings on NetBSD.
W.C.A. Wijngaards [Wed, 21 Aug 2024 12:03:11 +0000 (14:03 +0200)]
- Add cross platform netbsd to github ci.
W.C.A. Wijngaards [Wed, 21 Aug 2024 11:50:55 +0000 (13:50 +0200)]
- Add cross platform openbsd to github ci.
W.C.A. Wijngaards [Wed, 21 Aug 2024 11:37:42 +0000 (13:37 +0200)]
ci for freebsd nicer, with libevent, faster without static compile, and
with grouped output, also the pkg install is conditional on the platform.
W.C.A. Wijngaards [Wed, 21 Aug 2024 11:24:54 +0000 (13:24 +0200)]
Fix for freebsd ci.
W.C.A. Wijngaards [Wed, 21 Aug 2024 11:20:00 +0000 (13:20 +0200)]
- Add cross platform freebsd to github ci.
W.C.A. Wijngaards [Tue, 20 Aug 2024 12:08:52 +0000 (14:08 +0200)]
- Add iter-scrub-ns, iter-scrub-cname and max-global-quota
configuration options.
W.C.A. Wijngaards [Mon, 19 Aug 2024 13:51:47 +0000 (15:51 +0200)]
- Fix #1126: unbound-control-setup hangs while testing for openssl
presence starting from version 1.21.0.
W.C.A. Wijngaards [Thu, 15 Aug 2024 09:01:41 +0000 (11:01 +0200)]
- Tag for release 1.21.0, the repository continues with 1.21.1
in development.
W.C.A. Wijngaards [Fri, 9 Aug 2024 12:04:25 +0000 (14:04 +0200)]
- Fix spelling for the cache-min-negative-ttl entry in the
example.conf.
W.C.A. Wijngaards [Thu, 8 Aug 2024 14:14:09 +0000 (16:14 +0200)]
- Fix that for windows the module startup is called and sets up
the module-config.
W.C.A. Wijngaards [Thu, 8 Aug 2024 07:30:53 +0000 (09:30 +0200)]
- Set version number to 1.21.0 for release.
W.C.A. Wijngaards [Thu, 8 Aug 2024 07:28:44 +0000 (09:28 +0200)]
- Fix CacheFlush issues with limit on NS RRs. Thanks to Yehuda Afek,
Anat Bremler-Barr, Shoham Danino and Yuval Shavitt (Tel-Aviv
University and Reichman University).
W.C.A. Wijngaards [Thu, 8 Aug 2024 07:27:45 +0000 (09:27 +0200)]
- Fix CAMP issues with global quota. Thanks to Huayi Duan, Marco
Bearzi, Jodok Vieli, and Cagin Tanir from NetSec group, ETH Zurich.
W.C.A. Wijngaards [Fri, 2 Aug 2024 13:51:40 +0000 (15:51 +0200)]
- Fix that alloc stats for forwards and hints are printed, and when
alloc stats is enabled, the unit test for unbound control waits for
reloads to complete.
W.C.A. Wijngaards [Fri, 2 Aug 2024 11:36:06 +0000 (13:36 +0200)]
Changelog note for #1090
- Merge #1090: Cookie secret file. Adds
`cookie-secret-file: "unbound_cookiesecrets.txt"` option to store
cookie secrets for EDNS COOKIE secret rollover. The remote control
add_cookie_secret, activate_cookie_secret and drop_cookie_secret
commands can be used for rollover, the command print_cookie_secrets
shows the values in use.
Wouter Wijngaards [Fri, 2 Aug 2024 11:32:08 +0000 (13:32 +0200)]
Cookie secret file (#1090)
* - cookie-secret-file, define struct.
* - cookie-secret-file, add config option, create, read and delete struct.
* - cookie-secret-file, check cookie secrets for cookie validation.
* - cookie-secret-file, unbound-control add_cookie_secret, drop_cookie_secret,
activate_cookie_secret and print_cookie_secrets.
* - cookie-secret-file, test and fix locks, renew writes a fresh cookie,
staging cookies get a fresh cookie and spelling in error message.
* - cookie-secret-file, remove unused variable from cookie file unit test.
* Remove unshare and faketime dependencies for cookie_file test; documentation nits.
---------
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl>
W.C.A. Wijngaards [Fri, 2 Aug 2024 06:59:47 +0000 (08:59 +0200)]
Update changelog.
- Fix testbound for alloc stats strdup in util/alloc.c.
W.C.A. Wijngaards [Fri, 2 Aug 2024 06:58:22 +0000 (08:58 +0200)]
- Fix testbound for alloc stats strdup in util/alloc.c.
W.C.A. Wijngaards [Fri, 2 Aug 2024 06:54:54 +0000 (08:54 +0200)]
- Fix that alloc stats has strdup checks, it stops debuggers from
complaining about mismatch at free time.
W.C.A. Wijngaards [Thu, 1 Aug 2024 15:15:07 +0000 (17:15 +0200)]
- Fix that the worker mem report with alloc stats does not attempt
to print memory use of forwards and hints if they have been
deleted already.
W.C.A. Wijngaards [Thu, 1 Aug 2024 14:12:04 +0000 (16:12 +0200)]
- Fix dnstap test program, cleans up to have clean memory on exit,
for tap_data_free, does not delete NULL items. Also it does not try
to free the tail, specifically in the free of the list since that
picked up the next item in the list for its loop causing invalid
free. Added internal unit test to unbound-dnstap-socket for that.
W.C.A. Wijngaards [Wed, 31 Jul 2024 09:42:44 +0000 (11:42 +0200)]
- Fix for #1114: Fix that cache fill for forward-host names is
performed, so that with nonzero target-fetch-policy it fetches
forwarder addresses and uses them from cache. Also updated that
delegation point cache fill routines use CDflag for AAAA message
lookups, so that its negative lookup stops a recursion since the
cache uses the bit for disambiguation for dns64 but the recursion
uses CDflag for the AAAA target lookups, so the check correctly
stops a useless recursion by its cache lookup.
W.C.A. Wijngaards [Tue, 30 Jul 2024 11:47:53 +0000 (13:47 +0200)]
- Fix to document parameters of auth_zone_verify_zonemd_with_key.
W.C.A. Wijngaards [Thu, 25 Jul 2024 09:42:22 +0000 (11:42 +0200)]
- Add root key 38696 from 2024 for DNSSEC validation. It is added
to the default root keys in unbound-anchor. The content can be
inspected with `unbound-anchor -l`.
Yorgos Thessalonikefs [Tue, 23 Jul 2024 23:54:02 +0000 (01:54 +0200)]
- For #935 and #1104, clarify RPZ order and semantics.
Yorgos Thessalonikefs [Tue, 23 Jul 2024 18:22:25 +0000 (20:22 +0200)]
- Cleanup ede.tdir test.
W.C.A. Wijngaards [Tue, 23 Jul 2024 13:06:54 +0000 (15:06 +0200)]
- Fix link of unbound-dnstap-socket without openssl.
W.C.A. Wijngaards [Tue, 23 Jul 2024 12:56:21 +0000 (14:56 +0200)]
- Fix link of dnstap without openssl.
W.C.A. Wijngaards [Tue, 23 Jul 2024 08:42:36 +0000 (10:42 +0200)]
- Fix uninitialized variable warning in create_tcp_accept_sock.
W.C.A. Wijngaards [Tue, 23 Jul 2024 08:02:39 +0000 (10:02 +0200)]
- Fix to have empty definition when not supported for weak attribute.
W.C.A. Wijngaards [Tue, 23 Jul 2024 07:55:31 +0000 (09:55 +0200)]
- Fix compile when the compiler does not support the noreturn
attribute.
W.C.A. Wijngaards [Tue, 23 Jul 2024 07:47:42 +0000 (09:47 +0200)]
- For #1110: Test for fallthrough attribute in configure and add
fallthrough attribute annotations.
Wouter Wijngaards [Tue, 23 Jul 2024 07:44:28 +0000 (09:44 +0200)]
Merge pull request #1110 from r-barnes/patch-1
Make fallthrough explicit for libworker.c
Yorgos Thessalonikefs [Tue, 23 Jul 2024 07:07:06 +0000 (09:07 +0200)]
- Fix #1106: ratelimit-below-domain logs the wrong FROM address.
Richard Barnes [Mon, 22 Jul 2024 23:37:38 +0000 (16:37 -0700)]
Make fallthrough explicit for libworker.c
The code currently doesn't compile with LLVM's `-Wimplicit-fallthrough` flag, but the attribute works for both GCC (>=7) and LLVM.
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.