]>
git.ipfire.org Git - thirdparty/unbound.git/log
W.C.A. Wijngaards [Wed, 16 Aug 2023 14:58:49 +0000 (16:58 +0200)]
- Fix out of bounds read in parse_edns_options_from_query, it would read
8 bytes after a client option of length 8, and then ignore them to
recreate a 24 byte response. The fixup does not read out of bounds,
and puts zeroes in the buffer at that point, that then are ignored.
W.C.A. Wijngaards [Wed, 16 Aug 2023 12:57:38 +0000 (14:57 +0200)]
- Fix possibly unaligned memory access.
W.C.A. Wijngaards [Wed, 16 Aug 2023 08:06:06 +0000 (10:06 +0200)]
- Fix possibly unaligned memory access.
George Thessalonikefs [Tue, 8 Aug 2023 13:19:56 +0000 (15:19 +0200)]
- For #762: Introduce stat counters for downstream DNS Cookies per
thread and total: num.queries_cookie_valid, num.queries_cookie_client,
num.queries.cookie_invalid.
George Thessalonikefs [Tue, 8 Aug 2023 08:14:03 +0000 (10:14 +0200)]
- For #762: Interaction between DNS Cookies and source IP ratelimiting
by allowing Cookies to bypass the ratelimit, but still allowing
ratelimit to valid DNS Cookie clients via the new
ip-ratelimit-cookie option.
George Thessalonikefs [Mon, 7 Aug 2023 09:20:48 +0000 (11:20 +0200)]
- For #762: Silence maybe-uninitialized compiler warning.
George Thessalonikefs [Mon, 7 Aug 2023 09:12:49 +0000 (11:12 +0200)]
- For #762: Remove re-introduced files from merge (configlexer.c, configparser.c, configparser.h).
George Thessalonikefs [Mon, 7 Aug 2023 09:04:23 +0000 (11:04 +0200)]
- For #762: annotate case statement fallthrough for gcc.
George Thessalonikefs [Sat, 5 Aug 2023 18:22:46 +0000 (20:22 +0200)]
Merge branch 'master' into features/downstream-cookies
George Thessalonikefs [Sat, 5 Aug 2023 18:18:56 +0000 (20:18 +0200)]
- For #762: remove uneeded include.
George Thessalonikefs [Sat, 5 Aug 2023 18:00:37 +0000 (20:00 +0200)]
- For #762: Cleaner manpage text and uniform use of the term DNS
Cookies.
George Thessalonikefs [Sat, 5 Aug 2023 17:50:57 +0000 (19:50 +0200)]
- For #762: Introduce rpl testing for DNS Cookies.
George Thessalonikefs [Fri, 4 Aug 2023 17:03:23 +0000 (19:03 +0200)]
- For #762: Formatting.
George Thessalonikefs [Fri, 4 Aug 2023 12:26:08 +0000 (14:26 +0200)]
- For #762: relocate EDNS cookie code to util/edns and introduce unit
tests.
George Thessalonikefs [Wed, 2 Aug 2023 13:51:05 +0000 (15:51 +0200)]
- For #762: remove relocated code.
George Thessalonikefs [Wed, 2 Aug 2023 10:33:52 +0000 (12:33 +0200)]
- Move a cache reply callback in worker.c closer to the cache reply
generation.
George Thessalonikefs [Tue, 1 Aug 2023 15:40:49 +0000 (17:40 +0200)]
- For #762: Ignore util/siphash.c for the 01-doc test.
George Thessalonikefs [Tue, 1 Aug 2023 15:26:14 +0000 (17:26 +0200)]
- For #762: relocate RFC 1982 serial number arithmetic functions to their own
file in util/rfc_1982.[ch].
George Thessalonikefs [Tue, 1 Aug 2023 13:23:25 +0000 (15:23 +0200)]
- Fix to use the now cached EDE, if any, for CD_bit queries.
George Thessalonikefs [Tue, 1 Aug 2023 13:15:33 +0000 (15:15 +0200)]
- More braces and formatting for Fix for EDNS EDE size calculation to
avoid future bugs.
W.C.A. Wijngaards [Tue, 1 Aug 2023 13:08:50 +0000 (15:08 +0200)]
- Fix for EDNS EDE size calculation.
George Thessalonikefs [Tue, 1 Aug 2023 07:58:09 +0000 (09:58 +0200)]
- Merge #911 from natalie-reece: Exclude EDE before other EDNS options when
there isn't enough space.
- For #911: Try to trim EXTRA-TEXT (and LDNS_EDE_OTHER options
altogether) before giving up on attaching EDE options.
George Thessalonikefs [Tue, 1 Aug 2023 07:55:28 +0000 (09:55 +0200)]
- For #911: Try to trim EXTRA-TEXT (and LDNS_EDE_OTHER options
altogether) before giving up on attaching EDE options.
W.C.A. Wijngaards [Mon, 31 Jul 2023 08:24:43 +0000 (10:24 +0200)]
- iana portlist update.
George Thessalonikefs [Mon, 31 Jul 2023 08:18:10 +0000 (10:18 +0200)]
- Merge #790 from Tom Carpay: Add support for EDE caching in cachedb
and subnetcache.
Yorgos Thessalonikefs [Mon, 31 Jul 2023 08:13:01 +0000 (10:13 +0200)]
- For #790: Update formatting in cachedb/cachedb.c
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
George Thessalonikefs [Mon, 31 Jul 2023 07:57:21 +0000 (09:57 +0200)]
Merge branch 'master' of https://github.com/natalie-reece/unbound into natalie-reece-master
George Thessalonikefs [Mon, 31 Jul 2023 07:41:57 +0000 (09:41 +0200)]
- For #790: clean testcase.
George Thessalonikefs [Sun, 30 Jul 2023 10:28:28 +0000 (12:28 +0200)]
Merge branch 'master' into features/ede-caching-cachedb
George Thessalonikefs [Sun, 30 Jul 2023 09:44:44 +0000 (11:44 +0200)]
- Merge #759 from Tom Carpay: Add EDE (RFC8914) caching.
George Thessalonikefs [Sun, 30 Jul 2023 09:43:06 +0000 (11:43 +0200)]
- For #759: fix doc string.
George Thessalonikefs [Fri, 28 Jul 2023 18:17:07 +0000 (20:17 +0200)]
- Fix unused variable compile warning for kernel timestamps in
netevent.c
George Thessalonikefs [Fri, 28 Jul 2023 15:21:15 +0000 (17:21 +0200)]
- Review for #790: Fix memory leak.
George Thessalonikefs [Fri, 28 Jul 2023 14:55:51 +0000 (16:55 +0200)]
- Review for #790: Address Wouter's comments.
George Thessalonikefs [Fri, 28 Jul 2023 14:54:05 +0000 (16:54 +0200)]
- Review for #790: replace tdir tests with simpler rpl tests.
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 [Fri, 21 Jul 2023 19:10:27 +0000 (21:10 +0200)]
- Merge #889 from borisVanhoof: Free memory in error case + remove
unused function.
George Thessalonikefs [Fri, 21 Jul 2023 19:05:38 +0000 (21:05 +0200)]
- For #889: Account for num_detached_states before possible
mesh_state_delete when erroring out.
George Thessalonikefs [Fri, 21 Jul 2023 19:04:40 +0000 (21:04 +0200)]
- For #889: use netcat-openbsd instead of netcat-traditional.
George Thessalonikefs [Fri, 21 Jul 2023 15:04:33 +0000 (17:04 +0200)]
Merge branch 'free_memory_in_error_case' of https://github.com/borisVanhoof/unbound into borisVanhoof-free_memory_in_error_case
George Thessalonikefs [Fri, 21 Jul 2023 14:53:36 +0000 (16:53 +0200)]
- Cleaner failure code for callback functions in interface.i.
George Thessalonikefs [Fri, 21 Jul 2023 14:49:22 +0000 (16:49 +0200)]
- Merge #390 from Frank Riley: Add missing callbacks to the python
module.
George Thessalonikefs [Fri, 21 Jul 2023 13:19:12 +0000 (15:19 +0200)]
Merge branch 'python_add_missing_callbacks' of https://github.com/fhriley/unbound into fhriley-python_add_missing_callbacks
George Thessalonikefs [Fri, 21 Jul 2023 13:00:24 +0000 (15:00 +0200)]
- Merge #118 from mibere: Changed verbosity level for Redis init &
deinit.
mibere [Sun, 24 Nov 2019 01:04:25 +0000 (02:04 +0100)]
Log established connection to Redis
mibere [Sat, 23 Nov 2019 23:03:38 +0000 (00:03 +0100)]
Changed verbosity level for Redis init & deinit
Redis init & deinit are basic (operational) information
George Thessalonikefs [Fri, 21 Jul 2023 12:02:33 +0000 (14:02 +0200)]
- Merge #857 from eaglegai: fix potential memory leaks when errors
happen.
George Thessalonikefs [Fri, 21 Jul 2023 12:02:01 +0000 (14:02 +0200)]
- For #857: fix mixed declarations and code.
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