]>
git.ipfire.org Git - thirdparty/unbound.git/log
Wouter Wijngaards [Fri, 13 Oct 2023 11:46:52 +0000 (13:46 +0200)]
Apply suggestions from code review
Co-authored-by: Yorgos Thessalonikefs <george@nlnetlabs.nl>
W.C.A. Wijngaards [Fri, 13 Oct 2023 09:37:18 +0000 (11:37 +0200)]
- cachedb-no-store, example conf and man page documentation.
W.C.A. Wijngaards [Thu, 12 Oct 2023 12:51:12 +0000 (14:51 +0200)]
Merge branch 'master' into cachedb-no-store
W.C.A. Wijngaards [Thu, 12 Oct 2023 12:05:31 +0000 (14:05 +0200)]
Changelog note for #944.
- Merge #944: Disable EDNS DO.
Disable the EDNS DO flag in upstream requests. This can be helpful
for devices that cannot handle DNSSEC information. But it should not
be enabled otherwise, because that would stop DNSSEC validation. The
DNSSEC validation would not work for Unbound itself, and also not
for downstream users. Default is no. The option
is disable-edns-do: no
Wouter Wijngaards [Thu, 12 Oct 2023 12:04:29 +0000 (14:04 +0200)]
Merge pull request #944 from NLnetLabs/disable-edns-do
Disable EDNS DO
W.C.A. Wijngaards [Wed, 11 Oct 2023 11:51:34 +0000 (13:51 +0200)]
Merge branch 'master' into cachedb-no-store
W.C.A. Wijngaards [Wed, 11 Oct 2023 11:47:28 +0000 (13:47 +0200)]
- Fix for #949: Fix pythonmod/ubmodule-tst.py for Python 3.x.
W.C.A. Wijngaards [Wed, 11 Oct 2023 11:29:56 +0000 (13:29 +0200)]
- Fix that cachedb does not warn when serve-expired is disabled about
use of serve-expired-reply-ttl and serve-expired-client-timeout.
W.C.A. Wijngaards [Wed, 11 Oct 2023 10:01:55 +0000 (12:01 +0200)]
- cachedb-no-store, unit test cachedb_no_store.tdir.
W.C.A. Wijngaards [Wed, 11 Oct 2023 09:59:26 +0000 (11:59 +0200)]
- Fix #949: "could not create control compt".
George Thessalonikefs [Wed, 11 Oct 2023 09:44:55 +0000 (11:44 +0200)]
- Fix #850: [FR] Ability to use specific database in Redis, with new
redis-logical-db configuration option.
George Thessalonikefs [Tue, 10 Oct 2023 13:17:48 +0000 (15:17 +0200)]
- Fix infinite loop when reading multiple lines of input on a broken
remote control socket. Addesses #947 and #948.
W.C.A. Wijngaards [Mon, 9 Oct 2023 10:36:54 +0000 (12:36 +0200)]
- Fix that printout of EDNS options shows the EDNS cookie option by
name.
W.C.A. Wijngaards [Mon, 9 Oct 2023 10:21:22 +0000 (12:21 +0200)]
- Fix edns subnet so that queries with a source prefix of zero cause
the recursor send no edns subnet option to the upstream.
Wouter Wijngaards [Fri, 6 Oct 2023 14:40:34 +0000 (16:40 +0200)]
Update doc/unbound.conf.5.in
Co-authored-by: Yorgos Thessalonikefs <george@nlnetlabs.nl>
Wouter Wijngaards [Fri, 6 Oct 2023 14:39:33 +0000 (16:39 +0200)]
Update validator/validator.c
Co-authored-by: Yorgos Thessalonikefs <george@nlnetlabs.nl>
W.C.A. Wijngaards [Fri, 6 Oct 2023 11:22:10 +0000 (13:22 +0200)]
- cachedb-no-store, implement `cachedb-no-store: yes` configuration option.
W.C.A. Wijngaards [Thu, 5 Oct 2023 13:57:41 +0000 (15:57 +0200)]
Merge branch 'master' into disable-edns-do
W.C.A. Wijngaards [Thu, 5 Oct 2023 12:33:22 +0000 (14:33 +0200)]
- disable-edns-do, validator init prints warning when disable-edns-do is
turned on, but there are trust anchors, and then turns off disable-edns-do.
W.C.A. Wijngaards [Wed, 4 Oct 2023 16:16:22 +0000 (18:16 +0200)]
- Fix #946: Forwarder returns servfail on upstream response noerror no
data.
W.C.A. Wijngaards [Wed, 4 Oct 2023 13:28:52 +0000 (15:28 +0200)]
- disable-edns-do, unbound-checkconf warns about disable-edns-do and DNSSEC
validation that is enabled, and suggests to turn one off.
W.C.A. Wijngaards [Wed, 4 Oct 2023 11:54:05 +0000 (13:54 +0200)]
- disable-edns-do, queriers receive no EDNS in response if the
disable-edns-do option is enabled and they set the DO flag. And unit test
for that.
W.C.A. Wijngaards [Wed, 4 Oct 2023 11:34:47 +0000 (13:34 +0200)]
Merge branch 'master' into disable-edns-do
George Thessalonikefs [Tue, 3 Oct 2023 12:49:40 +0000 (14:49 +0200)]
- Merge #881: Generalise the proxy protocol code.
George Thessalonikefs [Mon, 2 Oct 2023 14:13:23 +0000 (16:13 +0200)]
- Fix misplaced comment.
George Thessalonikefs [Fri, 29 Sep 2023 15:31:52 +0000 (17:31 +0200)]
proxy-protocol, review comments:
- more generic switch statement for address families;
- comment the protocol values as such in their definitions;
- less hardcoded values for address family and protocol combinations.
W.C.A. Wijngaards [Fri, 29 Sep 2023 14:03:08 +0000 (16:03 +0200)]
root-zonemd-test, add test for ZONEMD usage from the root zone,
currently with the unsupported algorithm.
W.C.A. Wijngaards [Thu, 28 Sep 2023 14:49:01 +0000 (16:49 +0200)]
Merge branch 'master' into disable-edns-do
W.C.A. Wijngaards [Fri, 22 Sep 2023 11:15:35 +0000 (13:15 +0200)]
- Fix #942: 1.18.0 libunbound DNS regression when built without
OpenSSL.
W.C.A. Wijngaards [Fri, 22 Sep 2023 09:39:39 +0000 (11:39 +0200)]
- disable-edns-do, unit test checks lookup without EDNS DO flag.
W.C.A. Wijngaards [Wed, 20 Sep 2023 11:28:06 +0000 (13:28 +0200)]
- disable-edns-do, the option turns of the EDNS DO flag when a message is
sent from the iterator.
W.C.A. Wijngaards [Wed, 20 Sep 2023 11:18:26 +0000 (13:18 +0200)]
Merge branch 'master' into disable-edns-do
W.C.A. Wijngaards [Mon, 18 Sep 2023 07:55:39 +0000 (09:55 +0200)]
- Fix rpz tcp-only action with rpz triggers nsdname and nsip.
W.C.A. Wijngaards [Fri, 15 Sep 2023 11:30:30 +0000 (13:30 +0200)]
- Fix to remove two c99 notations.
W.C.A. Wijngaards [Fri, 15 Sep 2023 11:24:20 +0000 (13:24 +0200)]
Changelog note and autoconf for #936
- Merge #936: Check for c99 with autoconf versions prior to 2.70.
Wouter Wijngaards [Fri, 15 Sep 2023 11:23:28 +0000 (13:23 +0200)]
Merge pull request #936 from fobser/c99
Check for c99 with autoconf versions prior to 2.70
Florian Obser [Fri, 15 Sep 2023 11:00:17 +0000 (13:00 +0200)]
Check for c99 with autoconf versions prior to 2.70
W.C.A. Wijngaards [Thu, 14 Sep 2023 09:37:49 +0000 (11:37 +0200)]
- Fix authority zone answers for obscured DNAMEs and delegations.
W.C.A. Wijngaards [Wed, 13 Sep 2023 11:11:53 +0000 (13:11 +0200)]
- disable-edns-do, doc and add option disable-edns-do: no.
W.C.A. Wijngaards [Fri, 8 Sep 2023 11:35:42 +0000 (13:35 +0200)]
- Fix send of udp retries when ENOBUFS is returned. It stops looping
and also waits for the condition to go away. Reported by Florian
Obser.
Philip Homburg [Thu, 7 Sep 2023 14:23:11 +0000 (16:23 +0200)]
Avoid calling comm_point_udp_ancil_callback from comm_point_create_udp
Philip Homburg [Thu, 7 Sep 2023 13:35:32 +0000 (15:35 +0200)]
Fix #928 (1.18 doesn't start on macOS/SunOS)
W.C.A. Wijngaards [Thu, 7 Sep 2023 13:28:01 +0000 (15:28 +0200)]
- Fix to print EDE text in readable form in output logs.
W.C.A. Wijngaards [Thu, 7 Sep 2023 12:59:13 +0000 (14:59 +0200)]
- Fix to set ede match in unit test for rr length removal.
Changelog note.
W.C.A. Wijngaards [Thu, 7 Sep 2023 12:58:51 +0000 (14:58 +0200)]
- Fix to set ede match in unit test for rr length removal.
W.C.A. Wijngaards [Thu, 7 Sep 2023 12:44:48 +0000 (14:44 +0200)]
- Fix to add EDE text when RRs have been removed due to length.
W.C.A. Wijngaards [Thu, 7 Sep 2023 09:29:53 +0000 (11:29 +0200)]
- Fix to move msgparse_rrset_remove_rr code to util/msgparse.c.
W.C.A. Wijngaards [Thu, 7 Sep 2023 09:08:04 +0000 (11:08 +0200)]
- Fix to scrub resource records of type A and AAAA that have an
inappropriate size. They are removed from responses.
W.C.A. Wijngaards [Wed, 6 Sep 2023 07:49:35 +0000 (09:49 +0200)]
Changelog note for #931
- Merge #931: Prevent warnings from -Wmissing-prototypes.
Wouter Wijngaards [Wed, 6 Sep 2023 07:49:23 +0000 (09:49 +0200)]
Merge pull request #931 from fobser/missing-prototypes
Prevent warnings from -Wmissing-prototypes.
Florian Obser [Tue, 5 Sep 2023 15:35:30 +0000 (17:35 +0200)]
Prevent warnings from -Wmissing-prototypes.
W.C.A. Wijngaards [Thu, 31 Aug 2023 11:54:03 +0000 (13:54 +0200)]
- Fix #927: unbound 1.18.0 make test error. Fix make test without SHA1.
W.C.A. Wijngaards [Thu, 31 Aug 2023 07:19:24 +0000 (09:19 +0200)]
- Fix autoconf 2.69 warnings in configure.
W.C.A. Wijngaards [Wed, 30 Aug 2023 12:31:24 +0000 (14:31 +0200)]
- Fix for WKS call to getservbyname that creates allocation on exit
in unit test by testing numbers first and testing from the services
list later.
W.C.A. Wijngaards [Wed, 30 Aug 2023 09:03:42 +0000 (11:03 +0200)]
Tag 1.18.0rc1 became the 1.18.0 release on
30 aug 2023, with the fix from 25 aug, fix compile on NetBSD
included. The repository continues with version 1.18.1.
W.C.A. Wijngaards [Mon, 28 Aug 2023 11:25:04 +0000 (13:25 +0200)]
- Fix for version generation race condition that ignored changes.
W.C.A. Wijngaards [Fri, 25 Aug 2023 06:43:27 +0000 (08:43 +0200)]
- Fix compile error on NetBSD in util/netevent.h.
W.C.A. Wijngaards [Wed, 23 Aug 2023 08:49:45 +0000 (10:49 +0200)]
- Tag for 1.18.0rc1 release.
W.C.A. Wijngaards [Tue, 22 Aug 2023 12:32:51 +0000 (14:32 +0200)]
- Set version number to 1.18.0.
W.C.A. Wijngaards [Mon, 21 Aug 2023 14:58:10 +0000 (16:58 +0200)]
- Fix unit test for unbound-control to work when threads are disabled,
and fix cache dump check.
W.C.A. Wijngaards [Mon, 21 Aug 2023 12:32:13 +0000 (14:32 +0200)]
- Fix #923: processQueryResponse() THROWAWAY should be mindful of
fail_reply.
W.C.A. Wijngaards [Mon, 21 Aug 2023 09:28:49 +0000 (11:28 +0200)]
- Fix for #925: unbound.service: Main process exited, code=killed,
status=11/SEGV. Fixes cachedb configuration handling.
W.C.A. Wijngaards [Mon, 21 Aug 2023 08:43:02 +0000 (10:43 +0200)]
- Fix windows ci workflow to install bison and flex.
W.C.A. Wijngaards [Mon, 21 Aug 2023 08:20:23 +0000 (10:20 +0200)]
Further debug for windows ci workflow.
W.C.A. Wijngaards [Mon, 21 Aug 2023 08:16:00 +0000 (10:16 +0200)]
- Debug Windows ci workflow.
W.C.A. Wijngaards [Fri, 18 Aug 2023 11:39:27 +0000 (13:39 +0200)]
- Fix stat_values test to work with dig that enables DNS cookies.
W.C.A. Wijngaards [Fri, 18 Aug 2023 11:18:46 +0000 (13:18 +0200)]
- Fix uninitialized memory passed in padding bytes of cmsg to sendmsg.
W.C.A. Wijngaards [Fri, 18 Aug 2023 11:10:51 +0000 (13:10 +0200)]
Changelog for commit.
- Fix for iter_dec_attempts that could cause a hang, part of
capsforid and qname minimisation, depending on the settings.
W.C.A. Wijngaards [Fri, 18 Aug 2023 07:11:06 +0000 (09:11 +0200)]
- Fix for iter_dec_attempts that could cause a hang, part of
capsforid and qname minimisation, depending on the settings.
W.C.A. Wijngaards [Thu, 17 Aug 2023 13:43:14 +0000 (15:43 +0200)]
- Fix ip_ratelimit test to work with dig that enables DNS cookies.
W.C.A. Wijngaards [Thu, 17 Aug 2023 13:22:54 +0000 (15:22 +0200)]
- Fix regional_alloc_init for potential unaligned source of the copy.
W.C.A. Wijngaards [Thu, 17 Aug 2023 13:18:46 +0000 (15:18 +0200)]
Changelog note for #762.
- Merge PR #762: Downstream DNS Server Cookies a la RFC7873 and
RFC9018. Create server cookies for clients that send client cookies.
This needs to be explicitly turned on in the config file with:
`answer-cookie: yes`. A `cookie-secret:` can be configured for
anycast setups. Without one, a random cookie secret is generated.
The acl option `allow_cookie` allows queries with either a valid
cookie or over a stateful transport. The statistics output has
`queries_cookie_valid` and `queries_cookie_client` and
`queries_cookie_invalid` information. The `ip\-ratelimit\-cookie:`
value determines a rate limit for queries with cookies, if desired.
Wouter Wijngaards [Thu, 17 Aug 2023 13:14:11 +0000 (15:14 +0200)]
Merge pull request #762 from NLnetLabs/features/downstream-cookies
Downstream DNS Server Cookies a la RFC7873 and RFC9018
W.C.A. Wijngaards [Wed, 16 Aug 2023 14:58:49 +0000 (16:58 +0200)]
- Fix out of bounds read in parse_edns_options_from_query, it would read
8 bytes after a client option of length 8, and then ignore them to
recreate a 24 byte response. The fixup does not read out of bounds,
and puts zeroes in the buffer at that point, that then are ignored.
W.C.A. Wijngaards [Wed, 16 Aug 2023 12:57:38 +0000 (14:57 +0200)]
- Fix possibly unaligned memory access.
W.C.A. Wijngaards [Wed, 16 Aug 2023 08:06:06 +0000 (10:06 +0200)]
- Fix possibly unaligned memory access.
George Thessalonikefs [Tue, 8 Aug 2023 13:19:56 +0000 (15:19 +0200)]
- For #762: Introduce stat counters for downstream DNS Cookies per
thread and total: num.queries_cookie_valid, num.queries_cookie_client,
num.queries.cookie_invalid.
George Thessalonikefs [Tue, 8 Aug 2023 08:14:03 +0000 (10:14 +0200)]
- For #762: Interaction between DNS Cookies and source IP ratelimiting
by allowing Cookies to bypass the ratelimit, but still allowing
ratelimit to valid DNS Cookie clients via the new
ip-ratelimit-cookie option.
George Thessalonikefs [Mon, 7 Aug 2023 09:20:48 +0000 (11:20 +0200)]
- For #762: Silence maybe-uninitialized compiler warning.
George Thessalonikefs [Mon, 7 Aug 2023 09:12:49 +0000 (11:12 +0200)]
- For #762: Remove re-introduced files from merge (configlexer.c, configparser.c, configparser.h).
George Thessalonikefs [Mon, 7 Aug 2023 09:04:23 +0000 (11:04 +0200)]
- For #762: annotate case statement fallthrough for gcc.
George Thessalonikefs [Sat, 5 Aug 2023 18:22:46 +0000 (20:22 +0200)]
Merge branch 'master' into features/downstream-cookies
George Thessalonikefs [Sat, 5 Aug 2023 18:18:56 +0000 (20:18 +0200)]
- For #762: remove uneeded include.
George Thessalonikefs [Sat, 5 Aug 2023 18:00:37 +0000 (20:00 +0200)]
- For #762: Cleaner manpage text and uniform use of the term DNS
Cookies.
George Thessalonikefs [Sat, 5 Aug 2023 17:50:57 +0000 (19:50 +0200)]
- For #762: Introduce rpl testing for DNS Cookies.
George Thessalonikefs [Fri, 4 Aug 2023 17:03:23 +0000 (19:03 +0200)]
- For #762: Formatting.
George Thessalonikefs [Fri, 4 Aug 2023 12:26:08 +0000 (14:26 +0200)]
- For #762: relocate EDNS cookie code to util/edns and introduce unit
tests.
George Thessalonikefs [Wed, 2 Aug 2023 13:51:05 +0000 (15:51 +0200)]
- For #762: remove relocated code.
George Thessalonikefs [Wed, 2 Aug 2023 10:33:52 +0000 (12:33 +0200)]
- Move a cache reply callback in worker.c closer to the cache reply
generation.
George Thessalonikefs [Tue, 1 Aug 2023 15:40:49 +0000 (17:40 +0200)]
- For #762: Ignore util/siphash.c for the 01-doc test.
George Thessalonikefs [Tue, 1 Aug 2023 15:26:14 +0000 (17:26 +0200)]
- For #762: relocate RFC 1982 serial number arithmetic functions to their own
file in util/rfc_1982.[ch].
George Thessalonikefs [Tue, 1 Aug 2023 13:23:25 +0000 (15:23 +0200)]
- Fix to use the now cached EDE, if any, for CD_bit queries.
George Thessalonikefs [Tue, 1 Aug 2023 13:15:33 +0000 (15:15 +0200)]
- More braces and formatting for Fix for EDNS EDE size calculation to
avoid future bugs.
W.C.A. Wijngaards [Tue, 1 Aug 2023 13:08:50 +0000 (15:08 +0200)]
- Fix for EDNS EDE size calculation.
George Thessalonikefs [Tue, 1 Aug 2023 07:58:09 +0000 (09:58 +0200)]
- Merge #911 from natalie-reece: Exclude EDE before other EDNS options when
there isn't enough space.
- For #911: Try to trim EXTRA-TEXT (and LDNS_EDE_OTHER options
altogether) before giving up on attaching EDE options.
George Thessalonikefs [Tue, 1 Aug 2023 07:55:28 +0000 (09:55 +0200)]
- For #911: Try to trim EXTRA-TEXT (and LDNS_EDE_OTHER options
altogether) before giving up on attaching EDE options.
W.C.A. Wijngaards [Mon, 31 Jul 2023 08:24:43 +0000 (10:24 +0200)]
- iana portlist update.
George Thessalonikefs [Mon, 31 Jul 2023 08:18:10 +0000 (10:18 +0200)]
- Merge #790 from Tom Carpay: Add support for EDE caching in cachedb
and subnetcache.
Yorgos Thessalonikefs [Mon, 31 Jul 2023 08:13:01 +0000 (10:13 +0200)]
- For #790: Update formatting in cachedb/cachedb.c
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
George Thessalonikefs [Mon, 31 Jul 2023 07:57:21 +0000 (09:57 +0200)]
Merge branch 'master' of https://github.com/natalie-reece/unbound into natalie-reece-master