]>
git.ipfire.org Git - thirdparty/unbound.git/log
George Thessalonikefs [Fri, 21 Jul 2023 10:43:47 +0000 (12:43 +0200)]
Merge branch 'master' of https://github.com/eaglegai/unbound into eaglegai-master
George Thessalonikefs [Thu, 20 Jul 2023 10:56:31 +0000 (12:56 +0200)]
Merge branch 'master' of github.com:NLnetLabs/unbound
George Thessalonikefs [Thu, 20 Jul 2023 10:52:38 +0000 (12:52 +0200)]
- Merge #901 from Sergei Trofimovich: config: improve handling of
unknown modules.
W.C.A. Wijngaards [Thu, 20 Jul 2023 10:16:24 +0000 (12:16 +0200)]
- For #909: Fix RR class comparison.
George Thessalonikefs [Thu, 20 Jul 2023 10:08:27 +0000 (12:08 +0200)]
Merge branch 'module-error' of https://github.com/trofi/unbound into trofi-module-error
George Thessalonikefs [Thu, 20 Jul 2023 09:54:21 +0000 (11:54 +0200)]
- Merge #909 from headshog: Numeric truncation when parsing TYPEXX and
CLASSXX representation.
- For #909: Fix return values.
George Thessalonikefs [Thu, 20 Jul 2023 09:42:05 +0000 (11:42 +0200)]
For #909: Numeric truncation when parsing TYPEXX and CLASSXX representation
- Fix return values.
- Formatting nits.
George Thessalonikefs [Thu, 20 Jul 2023 09:07:19 +0000 (11:07 +0200)]
Merge branch 'fix-numtrunc' of https://github.com/headshog/unbound into headshog-fix-numtrunc
headshog [Wed, 19 Jul 2023 15:09:03 +0000 (18:09 +0300)]
parse sldns_get_rr_class_by_name and sldns_get_rr_type_by_name return value 0
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.
headshog [Tue, 11 Jul 2023 15:44:31 +0000 (18:44 +0300)]
fix numtrunc in str2wire.c
George Thessalonikefs [Fri, 14 Jul 2023 13:28:42 +0000 (15:28 +0200)]
- More clear description of the different auth-zone behaviors on the
man page.
George Thessalonikefs [Thu, 13 Jul 2023 09:52:14 +0000 (11:52 +0200)]
- Merge #880 from chipitsine: services/authzone.c: remove redundant
check.
George Thessalonikefs [Thu, 13 Jul 2023 09:49:41 +0000 (11:49 +0200)]
Merge branch 'cleanup_cppcheck' of https://github.com/chipitsine/unbound into chipitsine-cleanup_cppcheck
George Thessalonikefs [Thu, 13 Jul 2023 09:25:59 +0000 (11:25 +0200)]
Merge branch 'master' into features/ede-caching
Natalie Reece [Tue, 11 Jul 2023 23:01:26 +0000 (17:01 -0600)]
Exclude EDE before other EDNS options when there isn't enough space
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>
George Thessalonikefs [Thu, 22 Jun 2023 10:21:27 +0000 (12:21 +0200)]
- For #762: please doxygen.
George Thessalonikefs [Thu, 22 Jun 2023 10:11:28 +0000 (12:11 +0200)]
- For #762: relocate edns_opt_list_append_keepalive.
George Thessalonikefs [Thu, 22 Jun 2023 09:45:08 +0000 (11:45 +0200)]
- For #762: More generic integration for siphash.c
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 14:41:01 +0000 (16:41 +0200)]
- For #762: fix compiler C90 warning.
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.
Boris VANHOOF [Tue, 23 May 2023 08:11:07 +0000 (10:11 +0200)]
could not find package netcat for docker container
Boris VANHOOF [Tue, 23 May 2023 07:23:03 +0000 (09:23 +0200)]
free memory in error case
Boris VANHOOF [Tue, 23 May 2023 07:22:35 +0000 (09:22 +0200)]
remove unused function
Boris VANHOOF [Tue, 23 May 2023 07:21:58 +0000 (09:21 +0200)]
typo in comments
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.
W.C.A. Wijngaards [Tue, 2 May 2023 12:54:51 +0000 (14:54 +0200)]
- Fix proxy-protocol to read header in multiple reads and check buffer size.
W.C.A. Wijngaards [Tue, 2 May 2023 12:36:29 +0000 (14:36 +0200)]
- Fix proxy-protocol buffer checks when writing and read from buffer.
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>
W.C.A. Wijngaards [Wed, 26 Apr 2023 09:57:10 +0000 (11:57 +0200)]
streamtcp, implement NOTIFY[=N] that sends a notify packet.
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 [Tue, 25 Apr 2023 14:44:58 +0000 (16:44 +0200)]
streamtcp, implement IXFR=N queries, add documentation for proxy option.
W.C.A. Wijngaards [Tue, 25 Apr 2023 06:16:19 +0000 (08:16 +0200)]
- adjust generic proxy-protocol header for IPv6 support with ifdef.
George Thessalonikefs [Mon, 24 Apr 2023 14:15:56 +0000 (16:15 +0200)]
- Generalise the proxy protocol code
Ilya Shipitsin [Mon, 24 Apr 2023 09:45:41 +0000 (11:45 +0200)]
services/authzone.c: remove redundant check
found by cppcheck
services\authzone.c:7513:12: style: Condition 'rrlist[i]' is always true [knownConditionTrueFalse]
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.