]>
git.ipfire.org Git - thirdparty/unbound.git/log
zhailiangliang [Tue, 9 Apr 2024 03:15:08 +0000 (11:15 +0800)]
Add loongarch support:
1. update config.guess(2024-01-01) and config.sub(2024-01-01)
2. add loongarch to little endian support
Yorgos Thessalonikefs [Mon, 8 Apr 2024 12:15:03 +0000 (14:15 +0200)]
- Fix #595: unbound-anchor cannot deal with full disk; it will now
first write out to a temp file before replacing the original one,
like Unbound already does for auto-trust-anchor-file.
W.C.A. Wijngaards [Fri, 5 Apr 2024 14:11:29 +0000 (16:11 +0200)]
- Fix comment syntax for view function views_find_view.
Yorgos Thessalonikefs [Fri, 5 Apr 2024 09:42:53 +0000 (11:42 +0200)]
- Merge #1027: Introduce 'cache-min-negative-ttl' option.
Yorgos Thessalonikefs [Wed, 3 Apr 2024 13:18:13 +0000 (15:18 +0200)]
- Fix #369: dnstap showing extra responses; for client responses
right from the cache when replying with expired data or
prefetching.
Yorgos Thessalonikefs [Wed, 3 Apr 2024 11:37:57 +0000 (13:37 +0200)]
- Fix #1035: Potential Bug while parsing port from the "stub-host"
string; also affected forward-zones and remote-control host
directives.
W.C.A. Wijngaards [Wed, 3 Apr 2024 08:16:18 +0000 (10:16 +0200)]
- For #1040: adjust error text and disallow negative ports in other
parts of cfg_mark_ports.
W.C.A. Wijngaards [Wed, 3 Apr 2024 08:03:04 +0000 (10:03 +0200)]
Changelog note for #1040
- Fix #1040: fix heap-buffer-overflow issue in function cfg_mark_ports
of file util/config_file.c.
Wouter Wijngaards [Wed, 3 Apr 2024 08:02:45 +0000 (10:02 +0200)]
Merge pull request #1040 from xiaoxiaoafeifei/master
fix heap-buffer-overflow issue in function cfg_mark_ports of file util/config_file.c
zhailiangliang [Wed, 3 Apr 2024 07:40:58 +0000 (15:40 +0800)]
fix heap-buffer-overflow issue in function cfg_mark_ports of file util/config_file.c
W.C.A. Wijngaards [Thu, 28 Mar 2024 08:58:57 +0000 (09:58 +0100)]
- Fix for crypto related failures to have a better error string.
W.C.A. Wijngaards [Thu, 28 Mar 2024 08:58:03 +0000 (09:58 +0100)]
- Fix #1034: DoT forward-zone via unbound-control.
W.C.A. Wijngaards [Wed, 27 Mar 2024 13:52:25 +0000 (14:52 +0100)]
- Fix that the server does not chown the pidfile.
W.C.A. Wijngaards [Wed, 27 Mar 2024 13:07:54 +0000 (14:07 +0100)]
- Fix that when the server truncates the pidfile, it does not follow
symbolic links.
W.C.A. Wijngaards [Wed, 27 Mar 2024 12:33:46 +0000 (13:33 +0100)]
- Fix to add unit test for lruhash space that exercises the routines.
W.C.A. Wijngaards [Wed, 27 Mar 2024 11:30:00 +0000 (12:30 +0100)]
- Fix comment in lruhash space function.
W.C.A. Wijngaards [Wed, 27 Mar 2024 10:49:20 +0000 (11:49 +0100)]
- Fix for #1032, add safeguard to make table space positive.
W.C.A. Wijngaards [Wed, 27 Mar 2024 10:45:34 +0000 (11:45 +0100)]
- Fix #1032: The size of subnet_msg_cache calculation mistake cause
memory usage increased beyond expectations.
W.C.A. Wijngaards [Wed, 27 Mar 2024 10:43:55 +0000 (11:43 +0100)]
- Fix name of unit test for subnet cache response.
Yorgos Thessalonikefs [Mon, 25 Mar 2024 21:02:08 +0000 (22:02 +0100)]
- For #831: Format text, use exclamation icon and explicit label
names.
Yorgos Thessalonikefs [Mon, 25 Mar 2024 15:46:25 +0000 (16:46 +0100)]
Changelog entry for #831
- Merge #831 from Pierre4012: Improve Windows NSIS installer
script (setup.nsi).
Pierre4012 [Mon, 25 Mar 2024 15:43:49 +0000 (16:43 +0100)]
Improve Windows NSIS installer script (setup.nsi) (#831)
* Improve Windows NSIS installer script (setup.nsi)
Two improvements of installer script :
- avoid error message when Unbound is running,
- add "DisplayVersion" in registry thus Windows package manager (Winget) can handle Unbound.
* Update setup.nsi ask user to stop unbound service + DisplayVersion in Windows registry
W.C.A. Wijngaards [Tue, 19 Mar 2024 09:21:10 +0000 (10:21 +0100)]
- Fix localdata and rpz localdata to match CNAME only if no direct
type match is available.
W.C.A. Wijngaards [Tue, 19 Mar 2024 08:32:53 +0000 (09:32 +0100)]
- Fix rpz so that rpz CNAME can apply after rpz CNAME. And fix that
clientip and nsip can give a CNAME.
W.C.A. Wijngaards [Mon, 18 Mar 2024 13:36:29 +0000 (14:36 +0100)]
- Fix rpz for qtype CNAME after nameserver trigger.
W.C.A. Wijngaards [Mon, 18 Mar 2024 13:11:43 +0000 (14:11 +0100)]
- Add rpz unit test for nsip action override.
W.C.A. Wijngaards [Mon, 18 Mar 2024 12:52:59 +0000 (13:52 +0100)]
- Fix rpz that copies the cname override completely to the temp
region, so there are no references to the rpz region.
W.C.A. Wijngaards [Mon, 18 Mar 2024 11:45:00 +0000 (12:45 +0100)]
- Fix rpz, it follows iterator CNAMEs for nsip and nsdname and sets
the reply query_info values, that is better for debug logging.
W.C.A. Wijngaards [Mon, 18 Mar 2024 10:25:29 +0000 (11:25 +0100)]
- Fix that rpz CNAME content is limited to the max number of cnames.
Yorgos Thessalonikefs [Fri, 15 Mar 2024 16:20:22 +0000 (17:20 +0100)]
Merge branch 'features/makedist-persist-windir'
Yorgos Thessalonikefs [Fri, 15 Mar 2024 15:59:46 +0000 (16:59 +0100)]
- For windows build, persist the openssl and expat directories for
repeated builds while debugging.
W.C.A. Wijngaards [Fri, 15 Mar 2024 12:39:49 +0000 (13:39 +0100)]
- Fix that addrinfo is not kept around but copied and freed, so that
log-destaddr uses a copy of the information, much like NSD does.
W.C.A. Wijngaards [Thu, 14 Mar 2024 09:33:13 +0000 (10:33 +0100)]
- The code repository continues with version 1.19.4.
W.C.A. Wijngaards [Wed, 13 Mar 2024 16:14:14 +0000 (17:14 +0100)]
- Fix rpz for cname override action after nsdname and nsip triggers.
W.C.A. Wijngaards [Wed, 13 Mar 2024 15:12:48 +0000 (16:12 +0100)]
- Fix to unify codepath for local alias for rpz cname action override.
W.C.A. Wijngaards [Wed, 13 Mar 2024 15:04:58 +0000 (16:04 +0100)]
- Fix rpz that the rpz override is taken in case of clientip triggers.
Fix that the clientip passthru action is logged. Fix that the
clientip localdata action is logged. Fix rpz override action cname
for the clientip trigger.
W.C.A. Wijngaards [Wed, 13 Mar 2024 12:45:04 +0000 (13:45 +0100)]
- Fix #1029: rpz trigger clientip and action rpz-passthru not working
as expected.
Yorgos Thessalonikefs [Tue, 12 Mar 2024 13:52:57 +0000 (14:52 +0100)]
Changelog entry for #1028:
- Merge #1028: Clearer documentation for tcp-idle-timeout and
edns-tcp-keepalive-timeout.
Yorgos Thessalonikefs [Tue, 12 Mar 2024 13:52:00 +0000 (14:52 +0100)]
Clearer documentation for tcp-idle-timeout and edns-tcp-keepalive-timeout (#1028)
* - Clearer documentation for tcp-idle-timeout and
edns-tcp-keepalive-timeout.
* - Address review comment.
Yorgos Thessalonikefs [Tue, 12 Mar 2024 10:20:44 +0000 (11:20 +0100)]
- Introduce 'cache-min-negative-ttl' option to bound the minimum TTL for
negative answers overriding 'cache-min-ttl'.
W.C.A. Wijngaards [Mon, 11 Mar 2024 15:31:58 +0000 (16:31 +0100)]
- Fix #1021 Inconsistent Behavior with Changing rpz-cname-override
and doing a unbound-control reload.
W.C.A. Wijngaards [Mon, 11 Mar 2024 11:30:24 +0000 (12:30 +0100)]
Update doc/Changelog to note the fixes included in 1.19.3rc2.
W.C.A. Wijngaards [Fri, 8 Mar 2024 16:18:05 +0000 (17:18 +0100)]
- Fix unbound-control-setup.cmd to have CA v3 basicConstraints,
like unbound-control-setup.sh has.
W.C.A. Wijngaards [Fri, 8 Mar 2024 15:43:24 +0000 (16:43 +0100)]
- Fix doc test so it ignores but outputs unsupported doxygen options.
W.C.A. Wijngaards [Fri, 8 Mar 2024 15:33:17 +0000 (16:33 +0100)]
- Fix qname minimisation for reply with a DNAME for qtype CNAME that
answers it.
Yorgos Thessalonikefs [Fri, 8 Mar 2024 15:13:36 +0000 (16:13 +0100)]
- Update doc/unbound.doxygen with 'doxygen -u'. Fixes option
deprecation warnings and updates with newer defaults.
W.C.A. Wijngaards [Fri, 8 Mar 2024 13:10:06 +0000 (14:10 +0100)]
- Fix validator classification of qtype DNAME for positive and
redirection answers, and fix validator signature routine for dealing
with the synthesized CNAME for a DNAME without previously
encountering it and also for when the qtype is DNAME.
W.C.A. Wijngaards [Fri, 8 Mar 2024 08:51:37 +0000 (09:51 +0100)]
- Remove unused portion from iter_dname_ttl unit test.
W.C.A. Wijngaards [Fri, 8 Mar 2024 08:47:59 +0000 (09:47 +0100)]
- Fix TTL of synthesized CNAME when a DNAME is used from cache.
W.C.A. Wijngaards [Fri, 8 Mar 2024 08:07:36 +0000 (09:07 +0100)]
- Fix unbound-control-setup.cmd to use 3072 bits so that certificates
are long enough for newer OpenSSL versions.
W.C.A. Wijngaards [Thu, 7 Mar 2024 10:06:42 +0000 (11:06 +0100)]
- Version set to 1.19.3 for release. After 1.19.2 point release with
security fix for CVE-2024-1931, Denial of service when trimming
EDE text on positive replies. The code repo includes the fix and
is for version 1.19.3.
W.C.A. Wijngaards [Tue, 5 Mar 2024 12:39:29 +0000 (13:39 +0100)]
- Fix for #1022: Fix ede prohibited in access control refused answers.
W.C.A. Wijngaards [Mon, 4 Mar 2024 12:20:13 +0000 (13:20 +0100)]
- Fix edns subnet replies for scope zero answers to not get stored
in the global cache, and in cachedb, when the upstream replies
without an EDNS record.
W.C.A. Wijngaards [Wed, 28 Feb 2024 10:44:52 +0000 (11:44 +0100)]
- Move github workflows to use checkoutv4.
Yorgos Thessalonikefs [Fri, 23 Feb 2024 13:34:33 +0000 (14:34 +0100)]
- Document the suspend argument for process_ds_response().
W.C.A. Wijngaards [Thu, 22 Feb 2024 15:22:31 +0000 (16:22 +0100)]
- Fix trim of EDE text from large udp responses from spinning cpu.
Yorgos Thessalonikefs [Tue, 20 Feb 2024 14:33:18 +0000 (15:33 +0100)]
Changelog entry for #1010:
- Merge #1010: Mention REFUSED has the TC bit set with unmatched
allow_cookie acl in the manpage. It also fixes the code to match the
documentation about clients with a valid cookie that bypass the
ratelimit regardless of the allow_cookie acl.
Willem Toorop [Tue, 20 Feb 2024 14:29:34 +0000 (15:29 +0100)]
Mention REFUSED has the TC bit set with unmatched allow_cookie acl in the manpage (#1010)
* Mention REFUSED with TC with unmatched allow_cookie acl in manpage
Also moved the part about bypassing ip-ratelimit to the ip-ratelimit
description as it will be bypassed with a valid DNS-Cookie regardless of the
allow_cookie acl.
* Apply suggestions from code review
* Update doc/unbound.conf.5.in
* DNS-Cookies should bypass ip-ratelimit setting
W.C.A. Wijngaards [Tue, 13 Feb 2024 13:03:30 +0000 (14:03 +0100)]
- These fixes are part of the 1.19.1 release, that is a security
point release on 1.19.0, the code repository continues with these
fixes, with version number 1.19.2.
W.C.A. Wijngaards [Tue, 13 Feb 2024 12:58:09 +0000 (13:58 +0100)]
W.C.A. Wijngaards [Tue, 13 Feb 2024 12:57:56 +0000 (13:57 +0100)]
W.C.A. Wijngaards [Tue, 13 Feb 2024 12:02:43 +0000 (13:02 +0100)]
- Fix CVE-2023-50868, NSEC3 closest encloser proof can exhaust CPU.
W.C.A. Wijngaards [Tue, 13 Feb 2024 12:02:08 +0000 (13:02 +0100)]
- Fix CVE-2023-50387, DNSSEC verification complexity can be exploited to
exhaust CPU resources and stall DNS resolvers.
W.C.A. Wijngaards [Thu, 8 Feb 2024 13:36:18 +0000 (14:36 +0100)]
- Fix documentation for access-control in the unbound.conf man page.
Yorgos Thessalonikefs [Wed, 7 Feb 2024 09:51:16 +0000 (10:51 +0100)]
- autoconf.
Yorgos Thessalonikefs [Wed, 7 Feb 2024 09:49:28 +0000 (10:49 +0100)]
- For #1006: fix logic error introduced by previous fix.
Yorgos Thessalonikefs [Wed, 7 Feb 2024 09:42:39 +0000 (10:42 +0100)]
- autoheader, autoconf.
Yorgos Thessalonikefs [Wed, 7 Feb 2024 09:38:52 +0000 (10:38 +0100)]
- Fix #1006: Can't find protobuf-c package since #999.
W.C.A. Wijngaards [Tue, 30 Jan 2024 15:24:41 +0000 (16:24 +0100)]
Autoconf and changelog note for #999
- Merge #999: Search for protobuf-c with pkg-config.
Wouter Wijngaards [Tue, 30 Jan 2024 15:23:43 +0000 (16:23 +0100)]
Merge pull request #999 from NickCao/master
Search for protobuf-c with pkg-config
Nick Cao [Fri, 26 Jan 2024 22:52:24 +0000 (17:52 -0500)]
Search for protobuf-c with pkg-config
Yorgos Thessalonikefs [Tue, 23 Jan 2024 09:10:37 +0000 (10:10 +0100)]
- Update message TTL when using cached RRSETs. It could result in
non-expired messages with expired RRSETs (non-usable messages by
Unbound).
Yorgos Thessalonikefs [Mon, 22 Jan 2024 14:53:36 +0000 (15:53 +0100)]
- Update error printout for duplicate trust anchors to include the
trust anchor name (relates to #920).
W.C.A. Wijngaards [Mon, 22 Jan 2024 08:40:36 +0000 (09:40 +0100)]
- Fix for #997: Print details for SSL certificate failure.
W.C.A. Wijngaards [Wed, 17 Jan 2024 15:23:18 +0000 (16:23 +0100)]
For analysis workflow, clean up the script to use OpenSSL Configure
without change.
W.C.A. Wijngaards [Wed, 17 Jan 2024 15:20:22 +0000 (16:20 +0100)]
- workflow for analysis, cleanup of windows compile with msys2 perl.
W.C.A. Wijngaards [Wed, 17 Jan 2024 15:19:56 +0000 (16:19 +0100)]
- Fix warning for windres on resource files due to redefinition.
W.C.A. Wijngaards [Wed, 17 Jan 2024 14:08:56 +0000 (15:08 +0100)]
For workflow, set perl interpreter for build.
W.C.A. Wijngaards [Wed, 17 Jan 2024 13:58:44 +0000 (14:58 +0100)]
- Fix for workflow
W.C.A. Wijngaards [Wed, 17 Jan 2024 13:56:10 +0000 (14:56 +0100)]
For workflow, look for pacman.
W.C.A. Wijngaards [Wed, 17 Jan 2024 13:53:23 +0000 (14:53 +0100)]
For workflow, use msys2 perl.
W.C.A. Wijngaards [Wed, 17 Jan 2024 13:40:57 +0000 (14:40 +0100)]
In workflow, use strawberry perl to run configure script.
W.C.A. Wijngaards [Wed, 17 Jan 2024 13:36:35 +0000 (14:36 +0100)]
For workflow, change path separator.
W.C.A. Wijngaards [Wed, 17 Jan 2024 13:30:48 +0000 (14:30 +0100)]
For windows runner, look at perl contents.
W.C.A. Wijngaards [Wed, 17 Jan 2024 13:07:57 +0000 (14:07 +0100)]
Fix to install with cpanmin a missing perl module for the windows workflow.
W.C.A. Wijngaards [Wed, 17 Jan 2024 13:03:30 +0000 (14:03 +0100)]
Fix for workflow to install perl module.
W.C.A. Wijngaards [Wed, 17 Jan 2024 12:45:59 +0000 (13:45 +0100)]
- Update workflow for ports to use newer openssl on windows compile.
W.C.A. Wijngaards [Tue, 16 Jan 2024 15:44:15 +0000 (16:44 +0100)]
Changelog note for #993
- Merge #993: Update b.root-servers.net also in example config file.
Wouter Wijngaards [Tue, 16 Jan 2024 15:44:02 +0000 (16:44 +0100)]
Merge pull request #993 from InfrastructureServices/b.root-servers.net-conf
Update b.root-servers.net also in example config file
W.C.A. Wijngaards [Tue, 16 Jan 2024 15:40:14 +0000 (16:40 +0100)]
- Fix to link with libssp for libcrypto and getaddrinfo check for
only header. Also update crosscompile to remove ssp for 32bit.
Petr Mensik [Tue, 16 Jan 2024 15:13:29 +0000 (16:13 +0100)]
Update b.root-servers.net also in example config file
Addition to commit
a8739bad76d4d179290627e989c7ef236345bda6 , which
updated only address specified in code. But addresses provided in
example configuration were not updated, I think they should be updated
too.
W.C.A. Wijngaards [Mon, 15 Jan 2024 15:44:27 +0000 (16:44 +0100)]
- Fix to link with -lcrypt32 for OpenSSL 3.2.0 on Windows.
W.C.A. Wijngaards [Tue, 9 Jan 2024 07:41:52 +0000 (08:41 +0100)]
Changelog note for #988.
- Merge #988: Fix NLnetLabs#981: dump_cache truncates large records.
Wouter Wijngaards [Tue, 9 Jan 2024 07:41:30 +0000 (08:41 +0100)]
Merge pull request #988 from dyunwei/master
Fix NLnetLabs#981: dump_cache truncates large records.
dyunwei [Tue, 9 Jan 2024 06:17:31 +0000 (14:17 +0800)]
Fix NLnetLabs#981: dump_cache truncates large records.
W.C.A. Wijngaards [Fri, 5 Jan 2024 13:11:55 +0000 (14:11 +0100)]
- Fix unit test for #987 change in udp1xxx retry packet send.
W.C.A. Wijngaards [Fri, 5 Jan 2024 12:47:30 +0000 (13:47 +0100)]
Changelog note for #987
- Merge #987: skip edns frag retry if advertised udp payload size is
not smaller.
Wouter Wijngaards [Fri, 5 Jan 2024 12:47:15 +0000 (13:47 +0100)]
Merge pull request #987 from borisVanhoof/skip_edns_frag_retry
skip edns frag retry if advertised udp payload size is not smaller
sahnalys12 [Fri, 5 Jan 2024 11:16:23 +0000 (12:16 +0100)]
skip edns frag retry if advertised udp payload size is not smaller
If serviced query is in UDP_EDNS_FRAG mode, and EDNS_ADVERTISED_SIZE
is 1232 (the default) or more, then the retry will have the same edns
udp payload size with the same result.
W.C.A. Wijngaards [Thu, 4 Jan 2024 16:06:15 +0000 (17:06 +0100)]
- Remove unneeded newlines and improve indentation in remote control
code.