]>
git.ipfire.org Git - thirdparty/unbound.git/log
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.
W.C.A. Wijngaards [Wed, 3 Jan 2024 12:33:43 +0000 (13:33 +0100)]
- Fix #983: Sha1 runtime insecure change was incomplete.
W.C.A. Wijngaards [Wed, 3 Jan 2024 09:37:44 +0000 (10:37 +0100)]
Changelog note for #985.
- Merge #985: Add DoH and DoT to dnstap message.
Wouter Wijngaards [Wed, 3 Jan 2024 09:36:38 +0000 (10:36 +0100)]
Merge pull request #985 from k-akashi/dnstap_dot_doh
Add DoH and DoT to dnstap message
W.C.A. Wijngaards [Wed, 3 Jan 2024 09:04:06 +0000 (10:04 +0100)]
Changelog note for #979 and #980.
- Merge #980: DoH: reject non-h2 early. To fix #979: Improve errors
for non-HTTP/2 DoH clients.
Wouter Wijngaards [Wed, 3 Jan 2024 08:59:15 +0000 (09:59 +0100)]
Merge pull request #980 from jsha/reject-non-h2
DoH: reject non-h2 early
k-akashi [Tue, 26 Dec 2023 22:26:21 +0000 (07:26 +0900)]
Add DoH and DoT to dnstap message
Yorgos Thessalonikefs [Fri, 22 Dec 2023 10:42:20 +0000 (11:42 +0100)]
- Update example.conf with cookie options.
Jacob Hoffman-Andrews [Thu, 14 Dec 2023 00:58:44 +0000 (16:58 -0800)]
DoH: reject non-h2 early
Previously, non-h2 connections would be accepted, and then error out
with a verbose message "http2: session_recv from ____ failed,
error: Received bad client magic byte string". Instead, we can detect
absence of h2 support at connection time and reject with a clearer
verbose message.
W.C.A. Wijngaards [Fri, 8 Dec 2023 16:17:23 +0000 (17:17 +0100)]
Fixup doc/Changelog.
W.C.A. Wijngaards [Fri, 8 Dec 2023 16:15:35 +0000 (17:15 +0100)]
- Fix root_zonemd unit test, it checks that the root ZONEMD verifies,
now that the root has a valid ZONEMD.
Yorgos Thessalonikefs [Fri, 8 Dec 2023 08:20:33 +0000 (09:20 +0100)]
- Merge PR #973: Use the origin (DNAME) TTL for synthesized CNAMEs as per RFC 6672.
W.C.A. Wijngaards [Thu, 7 Dec 2023 11:11:03 +0000 (12:11 +0100)]
Changelog note for #975
- Merge #975: Fixed some syntax errors in rpl files.
Wouter Wijngaards [Thu, 7 Dec 2023 11:10:40 +0000 (12:10 +0100)]
Merge pull request #975 from NLnetLabs/testdata-syntax
Fixed some syntax errors in rpl files.
Philip Homburg [Thu, 7 Dec 2023 10:38:01 +0000 (11:38 +0100)]
Fixed some syntax errors in rpl files.
W.C.A. Wijngaards [Thu, 7 Dec 2023 08:41:03 +0000 (09:41 +0100)]
- Fix #974: doc: default number of outgoing ports without libevent.
Yorgos Thessalonikefs [Wed, 6 Dec 2023 22:40:01 +0000 (23:40 +0100)]
- Use the origin (DNAME) TTL for syntesized CNAMEs as per RFC 6672.
W.C.A. Wijngaards [Wed, 6 Dec 2023 15:32:06 +0000 (16:32 +0100)]
- Fix tests to use new common.sh functions, wait_logfile and
kill_from_pidfile.
W.C.A. Wijngaards [Wed, 6 Dec 2023 15:14:24 +0000 (16:14 +0100)]
- Update test script file common.sh.
W.C.A. Wijngaards [Wed, 6 Dec 2023 12:25:58 +0000 (13:25 +0100)]
- Updated IPv4 and IPv6 address for b.root-servers.net in root hints.
W.C.A. Wijngaards [Wed, 6 Dec 2023 12:22:35 +0000 (13:22 +0100)]
- iana portlist update.
W.C.A. Wijngaards [Wed, 6 Dec 2023 10:58:14 +0000 (11:58 +0100)]
- Fix to sync the tests script file common.sh.
W.C.A. Wijngaards [Tue, 5 Dec 2023 12:14:08 +0000 (13:14 +0100)]
- Fix dnstap that assertion failed on logging other than UDP and TCP
traffic. It lists it as TCP traffic.
W.C.A. Wijngaards [Tue, 5 Dec 2023 09:05:51 +0000 (10:05 +0100)]
- Fix #969: [FR] distinguish Do53, DoT and DoH in the logs.
W.C.A. Wijngaards [Tue, 5 Dec 2023 08:09:42 +0000 (09:09 +0100)]
Changelog note for #971
- Merge #971: fix 'WARNING: Message has 41 extra bytes at end'.
Wouter Wijngaards [Tue, 5 Dec 2023 08:09:23 +0000 (09:09 +0100)]
Merge pull request #971 from dukeartem/master
fix 'WARNING: Message has 41 extra bytes at end'
Artem [Tue, 5 Dec 2023 06:43:15 +0000 (09:43 +0300)]
fix 'WARNING: Message has 41 extra bytes at end'
Yorgos Thessalonikefs [Mon, 27 Nov 2023 15:43:59 +0000 (16:43 +0100)]
- Merge #968: Replace the obsolescent fgrep with grep -F in tests.
W.C.A. Wijngaards [Mon, 27 Nov 2023 15:04:33 +0000 (16:04 +0100)]
- Fix #964: config.h.in~ backup file in release tar balls.
Yorgos Thessalonikefs [Fri, 24 Nov 2023 14:51:17 +0000 (15:51 +0100)]
- Replace the obsolescent fgrep with grep -F in tests.
Yorgos Thessalonikefs [Fri, 24 Nov 2023 14:26:35 +0000 (15:26 +0100)]
- Use 127.0.0.1 explicitly in tests to avoid delays and errors on newer
systems.
W.C.A. Wijngaards [Thu, 9 Nov 2023 14:26:46 +0000 (15:26 +0100)]
- Fix unit test parse of origin syntax.
W.C.A. Wijngaards [Wed, 8 Nov 2023 09:59:25 +0000 (10:59 +0100)]
- The repository continues with 1.19.1.
W.C.A. Wijngaards [Thu, 2 Nov 2023 07:40:20 +0000 (08:40 +0100)]
- Set version number to 1.19.0.
- Tag for 1.19.0rc1 release.
W.C.A. Wijngaards [Wed, 1 Nov 2023 16:09:37 +0000 (17:09 +0100)]
- Fix compilation without openssl, remove unused function warning.
W.C.A. Wijngaards [Wed, 1 Nov 2023 13:20:52 +0000 (14:20 +0100)]
- Fix SSL compile failure for other missing definitions in
log_crypto_err_io_code_arg.
W.C.A. Wijngaards [Wed, 1 Nov 2023 13:14:02 +0000 (14:14 +0100)]
- Fix SSL compile failure for definition in log_crypto_err_io_code_arg.
George Thessalonikefs [Wed, 1 Nov 2023 12:57:06 +0000 (13:57 +0100)]
- Mention flex and bison in README.md when building from repository
source.
George Thessalonikefs [Tue, 31 Oct 2023 21:41:06 +0000 (22:41 +0100)]
- Fix #941: dnscrypt doesn't work after upgrade to 1.18 with
suggestion by dukeartem to also fix the udp_ancil with dnscrypt.
George Thessalonikefs [Mon, 30 Oct 2023 11:18:01 +0000 (12:18 +0100)]
Changelog entry for #930
- Merge #930 from Stuart Henderson: add void to
log_ident_revert_to_default declaration.
Yorgos Thessalonikefs [Mon, 30 Oct 2023 10:53:39 +0000 (11:53 +0100)]
Merge pull request #930 from sthen/patch-1
add void to log_ident_revert_to_default declaration
W.C.A. Wijngaards [Mon, 30 Oct 2023 09:44:23 +0000 (10:44 +0100)]
- autoconf.
George Thessalonikefs [Tue, 24 Oct 2023 14:34:12 +0000 (16:34 +0200)]
- Clearer configure text for missing protobuf-c development libraries.
W.C.A. Wijngaards [Fri, 20 Oct 2023 15:01:13 +0000 (17:01 +0200)]
Changelog entry for #951.
- Merge #951: Cachedb no store. The cachedb-no-store: yes option is
used to stop cachedb from writing messages to the backend storage.
It reads messages when data is available from the backend. The
default is no.
Wouter Wijngaards [Fri, 20 Oct 2023 15:00:13 +0000 (17:00 +0200)]
Merge pull request #951 from NLnetLabs/cachedb-no-store
Cachedb no store
W.C.A. Wijngaards [Thu, 19 Oct 2023 09:17:32 +0000 (11:17 +0200)]
- Fix to print detailed errors when an SSL IO routine fails via
SSL_get_error.
George Thessalonikefs [Wed, 18 Oct 2023 13:11:38 +0000 (15:11 +0200)]
- Changelog entry for:
Merge #955 from buevsan: fix ipset wrong behavior.
- Update testdata/ipset.tdir test for ipset fix.
Yorgos Thessalonikefs [Wed, 18 Oct 2023 13:08:08 +0000 (15:08 +0200)]
Merge pull request #955 from buevsan/fix-ipset
fix ipset wrong behavior
George Thessalonikefs [Wed, 18 Oct 2023 10:59:54 +0000 (12:59 +0200)]
- Update the dns64_lookup.rpl test for the DNS64 fallback patch.
George Thessalonikefs [Wed, 18 Oct 2023 10:16:35 +0000 (12:16 +0200)]
- Changelog entry for DNS64 patches from Daniel Gröber.
George Thessalonikefs [Wed, 18 Oct 2023 09:59:41 +0000 (11:59 +0200)]
Fixes for dns64 fallback to plain AAAA when no A records:
- Cleanup if condition.
- Rename variable for readability.
Daniel Gröber via Unbound-users [Mon, 9 Oct 2023 12:46:35 +0000 (14:46 +0200)]
dns64: Fall back to plain AAAA query with synthall but no A records
Networks which only have tunneled IPv6 access but still want to go
IPv6-only internally can use unbound's DNS64 module together with the
dns64-synthall or dns64-ignore-aaaa options to direct most traffic (any
dualstack domain) to their NAT64.
There is only one problem with this setup, currently domains with only AAAA
records will fail to resolve.
To allow for this use-case arrange for the A sub-query to make the AAAA
super query advance along the module stack when no records are returned.
Signed-off-by: Daniel Gröber <dxld@darkboxed.org>
George Thessalonikefs [Tue, 17 Oct 2023 13:00:07 +0000 (15:00 +0200)]
Fixes for dns64 readability refactoring:
- Move declarations to the top for C90 compliance.
- Save cycles by not calling (yet) unneeded functions.
- Possible use of uninitialised value.
- Consistent formatting.
Daniel Gröber via Unbound-users [Mon, 9 Oct 2023 12:43:35 +0000 (14:43 +0200)]
dns64: Fix misleading indentation
Signed-off-by: Daniel Gröber <dxld@darkboxed.org>
Daniel Gröber via Unbound-users [Mon, 9 Oct 2023 12:43:34 +0000 (14:43 +0200)]
dns64: Refactor handle_event checks for readability
No functional change intended.
Signed-off-by: Daniel Gröber <dxld@darkboxed.org>
Alexander V. Buev [Tue, 17 Oct 2023 15:35:42 +0000 (18:35 +0300)]
fix ipset wrong behavior
Issue description:
If local zone directive is assigned as following:
"local-zone domain.com ipset"
then any answers for query with names such as
"anytext1domain.com" or "example2domain.com"
will be added to ipset.
This commit fixes this issue.
W.C.A. Wijngaards [Tue, 17 Oct 2023 14:47:04 +0000 (16:47 +0200)]
- Fix #954: Inconsistent RPZ handling for A record returned along with
CNAME.
George Thessalonikefs [Mon, 16 Oct 2023 14:32:09 +0000 (16:32 +0200)]
- Update pymod tests for the new Python script variable.
George Thessalonikefs [Mon, 16 Oct 2023 14:03:11 +0000 (16:03 +0200)]
- For multi Python module setups, clean previously parsed module
functions in __main__'s dictionary, if any, so that only current
module functions are registered.
George Thessalonikefs [Mon, 16 Oct 2023 13:53:47 +0000 (15:53 +0200)]
- Expose the configured listening and outgoing interfaces, if any, as
a list of strings in the Python 'config_file' class instead of the
current Swig object proxy; fixes #79.
George Thessalonikefs [Mon, 16 Oct 2023 13:47:18 +0000 (15:47 +0200)]
- Expose the script filename in the Python module environment 'mod_env'
instead of the config_file structure which includes the linked list
of scripts in a multi Python module setup; fixes #79.
George Thessalonikefs [Fri, 13 Oct 2023 12:58:16 +0000 (14:58 +0200)]
- Better fix for infinite loop when reading multiple lines of input on
a broken remote control socket, by treating a zero byte line the
same as transmission end. Addesses #947 and #948.
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