]>
git.ipfire.org Git - thirdparty/unbound.git/log
George Thessalonikefs [Sun, 30 Jul 2023 09:43:06 +0000 (11:43 +0200)]
- For #759: fix doc string.
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 [Wed, 19 Jul 2023 15:06:10 +0000 (17:06 +0200)]
- For #759: add support for cached EDEs to cachedump
George Thessalonikefs [Wed, 19 Jul 2023 13:26:08 +0000 (15:26 +0200)]
- Remove redundant checks when attaching EDE to a SERVFAIL answer.
George Thessalonikefs [Wed, 19 Jul 2023 12:52:20 +0000 (14:52 +0200)]
Review for #759:
- Keep EDE information for keys close to key creation.
- Fix inconsistencies between reply and cached EDEs.
- Incorporate EDE caching checks in EDE tests.
- Fix some EDE cases where missing DNSKEY was wrongly reported.
George Thessalonikefs [Mon, 17 Jul 2023 15:26:31 +0000 (17:26 +0200)]
Review for #759:
- Fix SEGFAULT in load_cache control command.
- Change reason_bogus_str to an explicit NULL-terminated string.
- Fix potential memory leak when discarding a message for referrals and
0 TTL answers.
- Fix reason_bogus initialization in localzone answers.
- reply_info creation in validator is always regional.
George Thessalonikefs [Thu, 13 Jul 2023 09:25:59 +0000 (11:25 +0200)]
Merge branch 'master' into features/ede-caching
George Thessalonikefs [Tue, 11 Jul 2023 12:31:49 +0000 (14:31 +0200)]
- Merge #664 from tilan7763: Add prefetch support for subnet cache
entries.
- For #664: Easier code flow for subnetcache prefetching.
- For #664: Add testcase.
- For #664: Rename subnet_prefetch tests to subnet_global_prefetch to
differentiate from the new subnet prefetch support.
George Thessalonikefs [Fri, 7 Jul 2023 14:27:49 +0000 (16:27 +0200)]
Merge branch 'tilan7663-subnet_cache_prefetch' into subnet_cache_prefetch
George Thessalonikefs [Thu, 6 Jul 2023 19:57:27 +0000 (21:57 +0200)]
- For #664: easier code flow for subnetcache prefetching.
- For #664: add testcase.
George Thessalonikefs [Mon, 3 Jul 2023 13:36:30 +0000 (15:36 +0200)]
- Skip the 00-lint test. splint is not maintained; it either does not
work or produces false positives. Static analysis is handled in the
clang test.
George Thessalonikefs [Mon, 3 Jul 2023 12:47:05 +0000 (14:47 +0200)]
- Merge #802: add validation EDEs to queries where the CD bit is set.
- For #802: Cleanup comments and add RCODE check for CD bit test case.
George Thessalonikefs [Mon, 3 Jul 2023 12:40:01 +0000 (14:40 +0200)]
- For #802: Cleanup comments and add RCODE check for CD bit test case.
W.C.A. Wijngaards [Mon, 3 Jul 2023 11:50:39 +0000 (13:50 +0200)]
- Fix dereference of NULL variable warning in mesh_do_callback.
George Thessalonikefs [Mon, 3 Jul 2023 09:00:13 +0000 (11:00 +0200)]
- Merge #739: Add SVCB dohpath support.
- Code cleanup for sldns_str2wire_svcparam_key_lookup.
George Thessalonikefs [Mon, 3 Jul 2023 08:51:34 +0000 (10:51 +0200)]
- Code cleanup for sldns_str2wire_svcparam_key_lookup.
W.C.A. Wijngaards [Mon, 3 Jul 2023 08:23:37 +0000 (10:23 +0200)]
- Fix #906: warning: ‘Py_SetProgramName’ is deprecated.
George Thessalonikefs [Mon, 3 Jul 2023 08:10:16 +0000 (10:10 +0200)]
- For #739: minor cleanup for testcases.
George Thessalonikefs [Fri, 30 Jun 2023 09:50:23 +0000 (11:50 +0200)]
Merge branch 'master' into features/dohpath-for-unbound
George Thessalonikefs [Thu, 29 Jun 2023 10:30:06 +0000 (12:30 +0200)]
- Merge #827 from rcmcdonald91: Eliminate unnecessary Python reloading
which causes memory leaks.
George Thessalonikefs [Thu, 29 Jun 2023 10:26:49 +0000 (12:26 +0200)]
- More fixes for reference counting for python module and clean up
failure code.
W.C.A. Wijngaards [Thu, 29 Jun 2023 08:16:37 +0000 (10:16 +0200)]
- Fix python modules with multiple scripts, by incrementing reference
counts.
George Thessalonikefs [Tue, 27 Jun 2023 14:44:29 +0000 (16:44 +0200)]
- Remove warning about unknown cast-function-type warning pragma.
George Thessalonikefs [Tue, 27 Jun 2023 08:49:52 +0000 (10:49 +0200)]
- Merge #892: Add cachedb hit stat. Introduces 'num.query.cachedb' as
a new statistical counter.
W.C.A. Wijngaards [Thu, 22 Jun 2023 13:41:17 +0000 (15:41 +0200)]
Add changelog and contrib/README mention for #903
- Merge #903: contrib: add yocto compatible init script.
Wouter Wijngaards [Thu, 22 Jun 2023 13:37:07 +0000 (15:37 +0200)]
Merge pull request #903 from beni-sandu/master
contrib: add yocto compatible init script
Beniamin Sandu [Thu, 22 Jun 2023 11:18:45 +0000 (14:18 +0300)]
contrib: add yocto compatible init script
Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
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)
Yorgos Thessalonikefs [Fri, 2 Jun 2023 10:39:23 +0000 (12:39 +0200)]
Review comment for daemon/stats.c
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
Yorgos Thessalonikefs [Wed, 31 May 2023 15:09:16 +0000 (17:09 +0200)]
Review comment for testdata/stat_values.tdir/stat_values.test
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
George Thessalonikefs [Tue, 30 May 2023 21:34:31 +0000 (23:34 +0200)]
- More efficient mesh accounting per client.
George Thessalonikefs [Tue, 30 May 2023 21:33:48 +0000 (23:33 +0200)]
- More predictable testing for cachedb.
George Thessalonikefs [Tue, 30 May 2023 15:49:50 +0000 (17:49 +0200)]
- Introduce num.query.cachedb to track cache hits for the external cache.
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.
Christian McDonald [Fri, 24 Feb 2023 14:31:19 +0000 (09:31 -0500)]
#827 review response
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.