]>
git.ipfire.org Git - thirdparty/unbound.git/log
Sergei Trofimovich [Mon, 19 Jun 2023 16:52:49 +0000 (17:52 +0100)]
config: improve handling of unknown modules
The change fixes module print when specified module is unknown. On
example config:
server:
module-config: "respip valdator iterator"
Before the change printed error looked like:
error: Unknown value in module-config, module: ''. This module is
not present (not compiled in), See the list of linked modules with
unbound -V
After the change module is printed as expected:
error: Unknown value in module-config, module: 'valdator'. This
module is not present (not compiled in), See the list of linked
modules with unbound -V
Module truncation happens because parse error does not guarantee that
leading whitespace is removed by `module_factory()` call.
The change always removes leading whitespace (if present).
Philip Homburg [Thu, 15 Jun 2023 09:09:08 +0000 (11:09 +0200)]
Changelog for #887 and #516
Philip Homburg [Thu, 15 Jun 2023 09:06:29 +0000 (11:06 +0200)]
Merge branch 'freebsd-aslr-issue'
George Thessalonikefs [Wed, 14 Jun 2023 09:40:59 +0000 (11:40 +0200)]
- Properly handle all return values of worker_check_request during
early EDE code.
- Do not check the incoming request more than once.
W.C.A. Wijngaards [Mon, 12 Jun 2023 10:39:00 +0000 (12:39 +0200)]
- Fix for uncertain unit test for doh buffer size events.
W.C.A. Wijngaards [Mon, 12 Jun 2023 08:39:44 +0000 (10:39 +0200)]
Changelog note for #895
- Fix #895: python + sysconfig gives ANOTHER path comparing to
distutils.
W.C.A. Wijngaards [Mon, 12 Jun 2023 08:30:50 +0000 (10:30 +0200)]
- Merge #896: Fix: #895: pythonmodule: add all site-packages
directories to sys.path.
Wouter Wijngaards [Mon, 12 Jun 2023 08:30:05 +0000 (10:30 +0200)]
Merge pull request #896 from socketpair/bugfix
Fix: #895: pythonmodule: add all site-packages directories to sys.path
Коренберг Марк [Sun, 11 Jun 2023 06:59:36 +0000 (09:59 +0300)]
Fix: #895: pythonmodule: add all site-packages directories to sys.path
Philip Homburg [Fri, 9 Jun 2023 11:59:31 +0000 (13:59 +0200)]
Fix for issue #887 (Timeouts to forward servers on BSD based system with ASLR)
and proabbly #516 (Stream reuse does not work on Windows)
W.C.A. Wijngaards [Thu, 25 May 2023 14:27:19 +0000 (16:27 +0200)]
- Fix unbound-dnstap-socket time fraction conversion for printout.
W.C.A. Wijngaards [Thu, 25 May 2023 12:30:25 +0000 (14:30 +0200)]
- Fix unbound-dnstap-socket printout when no query is present.
W.C.A. Wijngaards [Fri, 19 May 2023 14:36:31 +0000 (16:36 +0200)]
- Fix to remove unused variables from RPZ clientip data structure.
W.C.A. Wijngaards [Fri, 19 May 2023 12:38:41 +0000 (14:38 +0200)]
- Fix RPZ removal of client-ip, nsip, nsdname triggers from IXFR.
W.C.A. Wijngaards [Tue, 16 May 2023 07:21:21 +0000 (09:21 +0200)]
- Fix to print debug log for ancillary data with correct IP address.
W.C.A. Wijngaards [Tue, 16 May 2023 06:50:38 +0000 (08:50 +0200)]
- Fix #888: [FR] Use kernel timestamps for dnstap.
W.C.A. Wijngaards [Thu, 11 May 2023 07:32:59 +0000 (09:32 +0200)]
- Fix warning in windows compile, in set_recvtimestamp.
W.C.A. Wijngaards [Thu, 4 May 2023 13:53:05 +0000 (15:53 +0200)]
- Fix doxygen in addr_to_nat64 header definition.
W.C.A. Wijngaards [Thu, 4 May 2023 09:17:06 +0000 (11:17 +0200)]
- Fix to remove unused whitespace from acx_nlnetlabs.m4 and config.h.
W.C.A. Wijngaards [Thu, 4 May 2023 09:12:11 +0000 (11:12 +0200)]
- Fix #885: Error: util/configlexer.c: No such file or directory,
adds error messages explaining to install flex and bison.
George Thessalonikefs [Mon, 1 May 2023 16:30:47 +0000 (18:30 +0200)]
Changelog entry for #722:
- Merge #722 from David 'eqvinox' Lamparter: NAT64 support.
- For #722: minor fixes, formatting, refactoring.
George Thessalonikefs [Mon, 1 May 2023 16:24:05 +0000 (18:24 +0200)]
Merge branch 'eqvinox-nat64'
George Thessalonikefs [Mon, 1 May 2023 16:23:13 +0000 (18:23 +0200)]
- For #722: Minor fixes, formatting and refactoring.
W.C.A. Wijngaards [Mon, 1 May 2023 07:26:17 +0000 (09:26 +0200)]
- Fix RPZ IP responses with trigger rpz-drop on cache entries, that
they are dropped.
Philip Homburg [Wed, 26 Apr 2023 15:15:59 +0000 (17:15 +0200)]
Changelog for #860
Philip Homburg [Wed, 26 Apr 2023 15:14:15 +0000 (17:14 +0200)]
Merge branch '0ttl'
Philip Homburg [Wed, 26 Apr 2023 15:11:29 +0000 (17:11 +0200)]
Remove msg_del_for_0ttl, call msg_cache_remove directly
George Thessalonikefs [Wed, 26 Apr 2023 13:14:39 +0000 (15:14 +0200)]
Merge branch 'nat64' of https://github.com/eqvinox/unbound into eqvinox-nat64
W.C.A. Wijngaards [Wed, 26 Apr 2023 12:07:33 +0000 (14:07 +0200)]
- Fix for #882: document variable to stop doxygen warning.
W.C.A. Wijngaards [Wed, 26 Apr 2023 11:49:33 +0000 (13:49 +0200)]
- Fix for #882: small changes, date updated in Copyright for
util/timeval_func.c and util/timeval_func.h. Man page entries and
example entry.
Wouter Wijngaards [Wed, 26 Apr 2023 11:25:32 +0000 (13:25 +0200)]
Merge pull request #882 from vvfedorenko/features/dropqueuedpackets
Features/dropqueuedpackets
Vadim Fedorenko [Fri, 21 Apr 2023 16:23:21 +0000 (09:23 -0700)]
stats: add query max wait time metric
Add new statistic value to know the size of the queue in microseconds.
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Vadim Fedorenko [Mon, 17 Apr 2023 14:02:13 +0000 (07:02 -0700)]
stats: add counter for timed out queries
Add counter `num_queries_timed_out` meaning queries that were sitting in the
socket queue and waiting to being processed too long. There is no reason
to process such queries, so let's drop it in the very beginning of the
pipeline.
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Vadim Fedorenko [Thu, 13 Apr 2023 14:49:32 +0000 (07:49 -0700)]
config: add sock_queue_timeout configuration
Add sock_queue_timeout config option to have queue timeout configurable.
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Vadim Fedorenko [Thu, 13 Apr 2023 14:11:00 +0000 (07:11 -0700)]
netevent: parse and store rcv timestamp from sock
Add special field in comm_point to store the software receive timestamp
for every particular UDP packet. Aux data parser is updated to read
values and the whole callback is switched to use recvmsg form.
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Vadim Fedorenko [Tue, 18 Apr 2023 13:50:12 +0000 (06:50 -0700)]
timeval_func: move all timeval manipulation to separate file
There are several definitions of the same functions manipulating timeval
structures. Let's move them to separate file and arrange the code
preperly.
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Vadim Fedorenko [Thu, 20 Apr 2023 15:39:55 +0000 (08:39 -0700)]
Linting change.
Remove config parser/lexer code as it's rebuilded every time but can
break adding new config options.
Also clean up the code base to avoid mixing actual code changes and lint
issues.
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
W.C.A. Wijngaards [Wed, 19 Apr 2023 07:56:31 +0000 (09:56 +0200)]
- Fix for #878: Invalid IP address in unbound.conf causes Segmentation
Fault on OpenBSD.
W.C.A. Wijngaards [Fri, 14 Apr 2023 09:19:25 +0000 (11:19 +0200)]
Changelog entry for #875 and #874.
- Merge #875: change obsolete txt URL in unbound-anchor.c to point
to RFC 7958, and Fix #874.
Wouter Wijngaards [Fri, 14 Apr 2023 09:17:43 +0000 (11:17 +0200)]
Merge pull request #875 from dyunwei/master
Changelog entry for #874
yunwei [Fri, 14 Apr 2023 08:45:11 +0000 (16:45 +0800)]
Changelog entry for #874
unbound-anchor is compliant with RFC 7958, and the XML format remains unchanged between the old draft and RFC 7958. Update the comments to improve clarity.
W.C.A. Wijngaards [Thu, 13 Apr 2023 09:29:53 +0000 (11:29 +0200)]
- Show build status for branch=master.
W.C.A. Wijngaards [Thu, 13 Apr 2023 09:22:11 +0000 (11:22 +0200)]
- Fix build badge, from failing travis link to github ci action link.
W.C.A. Wijngaards [Thu, 6 Apr 2023 08:04:04 +0000 (10:04 +0200)]
- Fix for #870: Add test case for the qname minimisation and CNAME.
W.C.A. Wijngaards [Tue, 4 Apr 2023 08:06:16 +0000 (10:06 +0200)]
- Fix #870: NXDOMAIN instead of NOERROR rcode when asked for existing
CNAME record.
Philip Homburg [Fri, 24 Mar 2023 13:54:14 +0000 (14:54 +0100)]
Changelog for issue #676
Philip Homburg [Fri, 24 Mar 2023 13:51:37 +0000 (14:51 +0100)]
Fix issue #676: Unencrypted query is sent when forward-tls-upstream: yes is
used without tls-cert-bundle
Model the behavior of unbound in unbound-host: always create a SSL context
Philip Homburg [Thu, 23 Mar 2023 14:15:54 +0000 (15:15 +0100)]
Small fixes from Wouter's review
Philip Homburg [Thu, 23 Mar 2023 14:00:10 +0000 (15:00 +0100)]
Extra consistency check to make sure that when TLS is requested, either we
set up a TLS connection or we return an error.
Philip Homburg [Wed, 22 Mar 2023 14:21:19 +0000 (15:21 +0100)]
Tests for serve-expired in combination with new 0 TTL data.
Philip Homburg [Wed, 22 Mar 2023 09:51:56 +0000 (10:51 +0100)]
Fix issue #860: Bad interaction with 0 TTL records and serve-expired
Philip Homburg [Tue, 21 Mar 2023 12:54:27 +0000 (13:54 +0100)]
Changelog for issue #851
Philip Homburg [Tue, 21 Mar 2023 12:51:51 +0000 (13:51 +0100)]
Fix issue #851: reserved identifier violation
W.C.A. Wijngaards [Mon, 20 Mar 2023 13:55:55 +0000 (14:55 +0100)]
- iana portlist update.
George Thessalonikefs [Fri, 17 Mar 2023 13:39:37 +0000 (14:39 +0100)]
- Fix #812, fix #846, by using the SSL_OP_IGNORE_UNEXPECTED_EOF option
to ignore the unexpected eof while reading in openssl >= 3.
W.C.A. Wijngaards [Thu, 16 Mar 2023 14:40:43 +0000 (15:40 +0100)]
- Fix ssl.h include brackets, instead of quotes.
W.C.A. Wijngaards [Tue, 14 Mar 2023 15:57:37 +0000 (16:57 +0100)]
- Fix unbound-dnstap-socket test program to reply the finish frame
over a TLS connection correctly.
W.C.A. Wijngaards [Thu, 23 Feb 2023 12:38:29 +0000 (13:38 +0100)]
- Fix for #852: Completion of error handling.
Philip Homburg [Tue, 21 Feb 2023 08:29:39 +0000 (09:29 +0100)]
Changelog entry for issue #825
Philip Homburg [Tue, 21 Feb 2023 08:28:13 +0000 (09:28 +0100)]
Merge branch 'master' into ecs-serve-expired-bug
Philip Homburg [Tue, 21 Feb 2023 08:27:03 +0000 (09:27 +0100)]
Improved comment
Philip Homburg [Thu, 9 Feb 2023 13:17:39 +0000 (14:17 +0100)]
Test cache update from serve-expired and client-subnet-always-forward
Philip Homburg [Tue, 21 Feb 2023 08:21:24 +0000 (09:21 +0100)]
ifdef CLIENT_SUBNET
Philip Homburg [Tue, 31 Jan 2023 14:16:38 +0000 (15:16 +0100)]
Fix issue #825: interaction between ECS and serve-expired.
George Thessalonikefs [Fri, 10 Feb 2023 15:54:44 +0000 (16:54 +0100)]
Changelog entry for
- Clean up iterator/iterator.c::error_response_cache() and allow for
better interaction with serve-expired, prefetch and cached error
responses.
George Thessalonikefs [Fri, 10 Feb 2023 15:51:07 +0000 (16:51 +0100)]
- Clean up iterator/iterator.c::error_response_cache() and allow for
better interaction with serve-expired, prefetch and cached error
responses.
George Thessalonikefs [Thu, 9 Feb 2023 11:44:01 +0000 (12:44 +0100)]
- Add testcase for refreshing expired error responses.
W.C.A. Wijngaards [Thu, 9 Feb 2023 11:08:27 +0000 (12:08 +0100)]
- Fix to git ignore the library symbol file that configure can create.
W.C.A. Wijngaards [Thu, 9 Feb 2023 10:46:33 +0000 (11:46 +0100)]
- Fix consistency of unit test without roundrobin answers for the
cnametooptout unit test.
George Thessalonikefs [Thu, 9 Feb 2023 09:52:56 +0000 (10:52 +0100)]
Changelog entry for
- Allow TTL refresh of expired error responses.
George Thessalonikefs [Thu, 9 Feb 2023 09:47:46 +0000 (10:47 +0100)]
- Allow TTL refresh of expired error responses.
W.C.A. Wijngaards [Thu, 9 Feb 2023 09:38:55 +0000 (10:38 +0100)]
- Fix unit tests for spurious empty messages.
W.C.A. Wijngaards [Thu, 9 Feb 2023 08:56:40 +0000 (09:56 +0100)]
- Fix to ignore entirely empty responses, and try at another authority.
This turns completely empty responses, a type of noerror/nodata into
a servfail, but they do not conform to RFC2308, and the retry can
fetch improved content.
W.C.A. Wijngaards [Wed, 8 Feb 2023 10:36:52 +0000 (11:36 +0100)]
- Fix #841: Unbound won't build with aaaa-filter-iterator.patch.
George Thessalonikefs [Mon, 30 Jan 2023 10:33:58 +0000 (11:33 +0100)]
- Add duration variable for speed_local.test.
W.C.A. Wijngaards [Thu, 26 Jan 2023 09:59:16 +0000 (10:59 +0100)]
Regenerate configure for the fix acx_nlnetlabs.m4 for -Wstrict-prototypes.
W.C.A. Wijngaards [Thu, 26 Jan 2023 09:54:38 +0000 (10:54 +0100)]
- Fix acx_nlnetlabs.m4 for -Wstrict-prototypes.
George Thessalonikefs [Mon, 23 Jan 2023 10:38:57 +0000 (11:38 +0100)]
Fix #833: [FR] Ability to set the Redis password.
W.C.A. Wijngaards [Mon, 23 Jan 2023 09:10:23 +0000 (10:10 +0100)]
- Fix #835: [FR] Ability to use Redis unix sockets.
W.C.A. Wijngaards [Mon, 23 Jan 2023 09:09:28 +0000 (10:09 +0100)]
- Add #835: [FR] Ability to use Redis unix sockets.
W.C.A. Wijngaards [Fri, 20 Jan 2023 15:19:20 +0000 (16:19 +0100)]
Changelog note for #819, generate configparser.c and comment syntax change.
- Merge #819: Added new static zone type block_a to suppress all A
queries for specific zones.
Wouter Wijngaards [Fri, 20 Jan 2023 15:18:05 +0000 (16:18 +0100)]
Merge pull request #819 from pavel-odintsov/pavel/suppress_a
Added new static zone type block_a to suppress all A queries for specific zones
W.C.A. Wijngaards [Thu, 19 Jan 2023 15:06:30 +0000 (16:06 +0100)]
- Fix test for new default.
W.C.A. Wijngaards [Thu, 19 Jan 2023 14:45:10 +0000 (15:45 +0100)]
- Set default for harden-unknown-additional to no. So that it does
not hamper future protocol developments.
W.C.A. Wijngaards [Thu, 19 Jan 2023 13:59:18 +0000 (14:59 +0100)]
- Add harden-unknown-additional option. Default on and it removes
unknown records from the authority section and additional section.
Thanks to Xiang Li, from NISL Lab, Tsinghua University.
W.C.A. Wijngaards [Thu, 19 Jan 2023 13:16:17 +0000 (14:16 +0100)]
- Set max-udp-size default to 1232. This is the same default value as
the default value for edns-buffer-size. It restricts client edns
buffer size choices, and makes unbound behave similar to other DNS
resolvers. The new choice, down from 4096 means it is harder to get
large responses from Unbound. Thanks to Xiang Li, from NISL Lab,
Tsinghua University.
W.C.A. Wijngaards [Wed, 18 Jan 2023 12:18:47 +0000 (13:18 +0100)]
- Fix not following cleared RD flags potentially enables amplification
DDoS attacks, reported by Xiang Li and Wei Xu from NISL Lab,
Tsinghua University. The fix stops query loops, by refusing to send
RD=0 queries to a forwarder, they still get answered from cache.
W.C.A. Wijngaards [Fri, 13 Jan 2023 10:22:47 +0000 (11:22 +0100)]
- Improve documentation for #826, describe the large collisions amount.
W.C.A. Wijngaards [Fri, 13 Jan 2023 10:01:46 +0000 (11:01 +0100)]
Changelog note and documentation for #826
- Merge #826: Аdd a metric about the maximum number of collisions in
lrushah.
Wouter Wijngaards [Fri, 13 Jan 2023 09:57:44 +0000 (10:57 +0100)]
Merge pull request #826 from sakateka/lruhash_max_collisions
Аdd a metric about the maximum number of collisions in lrushah
Sergey Kacheev [Fri, 13 Jan 2023 06:33:38 +0000 (13:33 +0700)]
add a metric about the maximum number of collisions in lrushah
W.C.A. Wijngaards [Thu, 12 Jan 2023 09:21:28 +0000 (10:21 +0100)]
Code repository continues with version 1.17.2.
W.C.A. Wijngaards [Mon, 9 Jan 2023 14:10:00 +0000 (15:10 +0100)]
- Fix python version detection in configure.
W.C.A. Wijngaards [Mon, 9 Jan 2023 14:03:38 +0000 (15:03 +0100)]
- Fix python module install path detection.
W.C.A. Wijngaards [Fri, 6 Jan 2023 12:23:02 +0000 (13:23 +0100)]
Changelog note for 1.17.1rc2 fix.
- Fix wildcard in hyperlocal zone service degradation, reported
by Sergey Kacheev. This fix is included in 1.17.1rc2.
W.C.A. Wijngaards [Fri, 6 Jan 2023 12:22:06 +0000 (13:22 +0100)]
Merge branch 'branch-1.17.1'
W.C.A. Wijngaards [Fri, 6 Jan 2023 12:21:39 +0000 (13:21 +0100)]
- Fix wildcard in hyperlocal zone service degradation, reported
by Sergey Kacheev.
W.C.A. Wijngaards [Fri, 6 Jan 2023 08:16:59 +0000 (09:16 +0100)]
- Fix #823: Response change to NODATA for some ANY queries since
1.12, tested on 1.16.1.
W.C.A. Wijngaards [Thu, 5 Jan 2023 10:06:07 +0000 (11:06 +0100)]
Changelog note for tag for 1.17.1rc1.
- Tag for 1.17.1 release.
Alex Band [Wed, 4 Jan 2023 15:21:43 +0000 (16:21 +0100)]
Add Mastodon link