]>
git.ipfire.org Git - thirdparty/unbound.git/log
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 [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
George Thessalonikefs [Mon, 31 Jul 2023 07:41:57 +0000 (09:41 +0200)]
- For #790: clean testcase.
George Thessalonikefs [Sun, 30 Jul 2023 10:28:28 +0000 (12:28 +0200)]
Merge branch 'master' into features/ede-caching-cachedb
George Thessalonikefs [Sun, 30 Jul 2023 09:44:44 +0000 (11:44 +0200)]
- Merge #759 from Tom Carpay: Add EDE (RFC8914) caching.
George Thessalonikefs [Sun, 30 Jul 2023 09:43:06 +0000 (11:43 +0200)]
- For #759: fix doc string.
George Thessalonikefs [Fri, 28 Jul 2023 18:17:07 +0000 (20:17 +0200)]
- Fix unused variable compile warning for kernel timestamps in
netevent.c
George Thessalonikefs [Fri, 28 Jul 2023 15:21:15 +0000 (17:21 +0200)]
- Review for #790: Fix memory leak.
George Thessalonikefs [Fri, 28 Jul 2023 14:55:51 +0000 (16:55 +0200)]
- Review for #790: Address Wouter's comments.
George Thessalonikefs [Fri, 28 Jul 2023 14:54:05 +0000 (16:54 +0200)]
- Review for #790: replace tdir tests with simpler rpl tests.
George Thessalonikefs [Fri, 28 Jul 2023 12:05:25 +0000 (14:05 +0200)]
Address review comments for #759:
- Clear error text when an expected signature is missing.
George Thessalonikefs [Fri, 28 Jul 2023 10:50:36 +0000 (12:50 +0200)]
Address review comments for #759:
- Decrease allocations for "" EDE strings when loading the cachedump.
- Check for existence of EDE code before attaching.
George Thessalonikefs [Fri, 21 Jul 2023 19:10:27 +0000 (21:10 +0200)]
- Merge #889 from borisVanhoof: Free memory in error case + remove
unused function.
George Thessalonikefs [Fri, 21 Jul 2023 19:05:38 +0000 (21:05 +0200)]
- For #889: Account for num_detached_states before possible
mesh_state_delete when erroring out.
George Thessalonikefs [Fri, 21 Jul 2023 19:04:40 +0000 (21:04 +0200)]
- For #889: use netcat-openbsd instead of netcat-traditional.
George Thessalonikefs [Fri, 21 Jul 2023 15:04:33 +0000 (17:04 +0200)]
Merge branch 'free_memory_in_error_case' of https://github.com/borisVanhoof/unbound into borisVanhoof-free_memory_in_error_case
George Thessalonikefs [Fri, 21 Jul 2023 14:53:36 +0000 (16:53 +0200)]
- Cleaner failure code for callback functions in interface.i.