]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Vladimír Čunát [Sat, 10 Jan 2026 08:22:49 +0000 (09:22 +0100)]
Merge !1789: doc/user: updated info about docker images
Aleš Mrázek [Fri, 9 Jan 2026 15:24:08 +0000 (16:24 +0100)]
doc/user: updated info about docker images
Aleš Mrázek [Fri, 9 Jan 2026 13:55:55 +0000 (14:55 +0100)]
Merge branch 'dockerhub-update' into 'master'
ci: docker:dockerhub: update tags
See merge request knot/knot-resolver!1788
Aleš Mrázek [Thu, 8 Jan 2026 17:12:49 +0000 (18:12 +0100)]
.gitlab-ci.yml: docker:dockerhub updated tags
Vladimír Čunát [Fri, 9 Jan 2026 12:53:23 +0000 (13:53 +0100)]
Merge !1787: ci: renamed docs:latest to docs:master
Aleš Mrázek [Fri, 9 Jan 2026 12:24:02 +0000 (13:24 +0100)]
.gitlab-ci.yml: renamed docs:latest to docs:master
Aleš Mrázek [Thu, 8 Jan 2026 13:07:38 +0000 (14:07 +0100)]
Merge branch 'release-6.1.0' into 'master'
Release 6.1.0
See merge request knot/knot-resolver!1783
Vladimír Čunát [Thu, 8 Jan 2026 08:29:04 +0000 (09:29 +0100)]
doc/user: adjust formulation on version compatibility for 6+ situation
Aleš Mrázek [Mon, 5 Jan 2026 11:08:53 +0000 (12:08 +0100)]
release 6.1.0
Vladimír Čunát [Thu, 8 Jan 2026 12:00:46 +0000 (13:00 +0100)]
Merge !1771: datamodel: add /lua/policy-script*
Vladimír Čunát [Mon, 1 Dec 2025 19:36:20 +0000 (20:36 +0100)]
datamodel: add /lua/policy-script*
Vladimír Čunát [Thu, 8 Jan 2026 11:51:51 +0000 (12:51 +0100)]
Merge !1786: meson: fix linking with jemalloc
Vladimír Čunát [Thu, 8 Jan 2026 11:38:06 +0000 (12:38 +0100)]
meson: fix linking with jemalloc
This is a partial revert of
a13235612644
which haven't reached any tags, fortunately.
I'm not sure why this breaks the configure phase in my case
> meson.build:171:33: ERROR: C shared library 'jemalloc' not found
but I looked properly into docs and it wouldn't do what we wanted anyway:
https://mesonbuild.com/Reference-manual_returned_compiler.html#find_library_static
Vladimír Čunát [Wed, 7 Jan 2026 17:40:30 +0000 (18:40 +0100)]
Merge !1785: defer: enable by default
Vladimír Čunát [Wed, 7 Jan 2026 11:48:16 +0000 (12:48 +0100)]
defer: enable by default
Frantisek Tobias [Wed, 7 Jan 2026 15:15:19 +0000 (16:15 +0100)]
doc/schema: add DoQ options
Frantisek Tobias [Tue, 6 Jan 2026 13:26:20 +0000 (14:26 +0100)]
daemon/quic_conn: Move connection termination log to debug level,
restore requirement for payload type in worker unwrap
When the requested connections exceed the worker's capacity it polutes the log with large ammounts of prints, could be removed alltogether
Frantisek Tobias [Tue, 6 Jan 2026 13:22:49 +0000 (14:22 +0100)]
daemon/quic: Avoid invalid element access in the connection expiry heap and only decrease session ref_count once
Frantisek Tobias [Tue, 16 Dec 2025 09:53:16 +0000 (10:53 +0100)]
modules/stats: collect doq statistics
Frantisek Tobias [Tue, 16 Dec 2025 09:52:32 +0000 (10:52 +0100)]
config: Add additional QUIC configuration and documentation
Frantisek Tobias [Mon, 8 Dec 2025 13:12:16 +0000 (14:12 +0100)]
quic: refactor error handling
So far no application error codes (defined in rfc 9250 4.3) were specified when closing connections
Frantisek Tobias [Thu, 27 Nov 2025 10:43:41 +0000 (11:43 +0100)]
daemon/quic_conn: fix stream counting
Frantisek Tobias [Wed, 26 Nov 2025 11:40:02 +0000 (12:40 +0100)]
meson: display use of DoQ
Frantisek Tobias [Wed, 26 Nov 2025 11:39:26 +0000 (12:39 +0100)]
daemon/quic: minor optimizations, remove pointless asserts, discard conn state when RETRY pkt is sent
Frantisek Tobias [Wed, 26 Nov 2025 09:35:56 +0000 (10:35 +0100)]
daemon/network: use quic flag name instead of doq
Frantisek Tobias [Mon, 10 Nov 2025 09:36:20 +0000 (10:36 +0100)]
daemon/quic: Prioritize existing unused conns over new ones when conn limits are reached
This change reduces the number of failed requests when the worker is experiencing heavy trafic.
Frantisek Tobias [Tue, 4 Nov 2025 07:33:22 +0000 (08:33 +0100)]
daemon/quic_conn: remove redundant concurrency check
Frantisek Tobias [Mon, 3 Nov 2025 15:13:55 +0000 (16:13 +0100)]
daemon/quic_conn: fix max_stream extention, use libuv times for idle timeouts
closing streams doesn't increase the number of available streams automatically, for connections with streams over the initial limit this caused connections to idle until closed
Frantisek Tobias [Mon, 3 Nov 2025 14:31:13 +0000 (15:31 +0100)]
daemon/quic_common: adjust idle timer and max concurent conn limits to accommodate heavier trafic
Frantisek Tobias [Fri, 24 Oct 2025 08:08:28 +0000 (10:08 +0200)]
daemon/quic_conn: fix session termination, store send_special payload in a new buffer
Frantisek Tobias [Fri, 24 Oct 2025 07:50:32 +0000 (09:50 +0200)]
daemon/quic: fix session termination, add excesive load reply
Frantisek Tobias [Fri, 24 Oct 2025 07:42:13 +0000 (09:42 +0200)]
daemon/quic/common: Adjust idle timeout threshold to 3 seconds, remove unused function
Frantisek Tobias [Wed, 15 Oct 2025 12:39:02 +0000 (14:39 +0200)]
quic/conn: fix data agregation for queries spread over multiple packets
Frantisek Tobias [Wed, 15 Oct 2025 11:57:03 +0000 (13:57 +0200)]
quic/conn: fix stream->pers_inbuf->end update when realloc is required
Frantisek Tobias [Wed, 15 Oct 2025 11:55:05 +0000 (13:55 +0200)]
quic/stream: Handle IO error event initiated by dns layer
Vladimír Čunát [Wed, 15 Oct 2025 11:01:01 +0000 (13:01 +0200)]
meson: allow libngtcp2 >= 1.11.0
For now. We might revisit the choice,
but this version looks not too old and common in .deb
Frantisek Tobias [Wed, 8 Oct 2025 07:13:23 +0000 (09:13 +0200)]
daemon/quic: split doq log groups, remove asserts
Frantisek Tobias [Mon, 6 Oct 2025 13:11:45 +0000 (15:11 +0200)]
daemon/session: start defer only for DOQ_CONN
Frantisek Tobias [Mon, 6 Oct 2025 10:43:36 +0000 (12:43 +0200)]
doc/schema: add doq
Frantisek Tobias [Mon, 6 Oct 2025 08:59:56 +0000 (10:59 +0200)]
daemon/quic: add version negotiation for initial packet
Frantisek Tobias [Mon, 6 Oct 2025 08:42:31 +0000 (10:42 +0200)]
daemon/defer: replace is_accounting kr_assert with if
this assertion wasn't compatible with the subsession design of DoQ
Frantisek Tobias [Mon, 6 Oct 2025 08:39:03 +0000 (10:39 +0200)]
daemon/session: remove commented code
Frantisek Tobias [Mon, 6 Oct 2025 08:32:13 +0000 (10:32 +0200)]
daemon/quic_common: move code used by more quic layers into common file
Frantisek Tobias [Mon, 6 Oct 2025 08:31:38 +0000 (10:31 +0200)]
daemon/quic_stream: cleanup code
Frantisek Tobias [Mon, 6 Oct 2025 08:25:53 +0000 (10:25 +0200)]
daemon/quic_demux: add events for connection management, clear expired conns, cleanup code
Frantisek Tobias [Mon, 6 Oct 2025 08:24:33 +0000 (10:24 +0200)]
daemon/quic_conn: handle sending special cases, cleanup
Frantisek Tobias [Tue, 23 Sep 2025 09:55:01 +0000 (11:55 +0200)]
daemon/quic: cleanup code, implement proper event handling wip
Frantisek Tobias [Tue, 23 Sep 2025 09:53:50 +0000 (11:53 +0200)]
daemon/quic: remove old reference implementation
Frantisek Tobias [Mon, 22 Sep 2025 07:27:29 +0000 (09:27 +0200)]
daemon/quic: pass session init params on the stack
Frantisek Tobias [Wed, 17 Sep 2025 12:01:53 +0000 (14:01 +0200)]
daemon/quic_stream: steady progress in stream as session refactor
Frantisek Tobias [Tue, 2 Sep 2025 10:01:58 +0000 (12:01 +0200)]
daemon/quic: quic connections as sessions refactor
Frantisek Tobias [Mon, 25 Aug 2025 13:29:46 +0000 (15:29 +0200)]
daemon/quic: split quic conn management and quic conn into separate layers
This abstranction virtually switched from UDP's understanding of session to how TCP sees it, that is session represents one connection, and exists only while the connection is active, WIP
Frantisek Tobias [Tue, 19 Aug 2025 13:19:35 +0000 (15:19 +0200)]
daemon/quic: Fix issues with cached replies, eliminate leaks that occured during typical traffic
Frantisek Tobias [Thu, 14 Aug 2025 10:16:46 +0000 (12:16 +0200)]
daemon/quic: handle errors that reqire response, store outdata
in pl_iter_ctx->payload, resolve some memleaks
Frantisek Tobias [Mon, 11 Aug 2025 08:20:15 +0000 (10:20 +0200)]
daemon/quic: solve endianity issue, handle acks and closing streams
Frantisek Tobias [Thu, 31 Jul 2025 10:54:11 +0000 (12:54 +0200)]
daemon/quic: fix buffering resolved unacked data
Frantisek Tobias [Thu, 31 Jul 2025 10:53:22 +0000 (12:53 +0200)]
daemon/quic: store dcid and stream_id of the latest query in comm->target
Frantisek Tobias [Tue, 29 Jul 2025 07:29:43 +0000 (09:29 +0200)]
daemon/quic_streams: add multistream support and handle output data buffering
Frantisek Tobias [Tue, 29 Jul 2025 07:23:59 +0000 (09:23 +0200)]
daemon/quic: support for multiple streams: collect finished queries into wire_buf a proceed to the next layer
Frantisek Tobias [Mon, 21 Jul 2025 08:20:56 +0000 (10:20 +0200)]
daemon/quic_stream: use wire_buf as the main buffer type
Frantisek Tobias [Mon, 21 Jul 2025 08:19:30 +0000 (10:19 +0200)]
daemon/quic: adjust payload handling to work with wire_buf
Frantisek Tobias [Mon, 21 Jul 2025 08:17:25 +0000 (10:17 +0200)]
daemon/worker: use wire_buf for DoQ
Frantisek Tobias [Tue, 15 Jul 2025 07:33:13 +0000 (09:33 +0200)]
daemon/quic: handle received stream data WIP
Frantisek Tobias [Wed, 9 Jul 2025 08:01:36 +0000 (10:01 +0200)]
daemon/quic: move code from pl_quic_unwrap to a separate function, add overview
Frantisek Tobias [Mon, 7 Jul 2025 08:15:21 +0000 (10:15 +0200)]
daemon/quic: move stream functions to separate file, replace quic_ctx with struct kr_quic_conn everywhere
Frantisek Tobias [Thu, 3 Jul 2025 07:09:14 +0000 (09:09 +0200)]
daemon/quic: stop sending reset token in all frames, fix use after free of protolayer_iter_ctx
Frantisek Tobias [Mon, 9 Jun 2025 12:17:14 +0000 (14:17 +0200)]
daemon/quic: implement send stream functions
Frantisek Tobias [Tue, 3 Jun 2025 06:30:41 +0000 (08:30 +0200)]
daemon/quic: currently sending protected payload with no answer
cleanup and improve logging, prepare for opening streams
Frantisek Tobias [Tue, 3 Jun 2025 06:19:26 +0000 (08:19 +0200)]
daemon/session: pass protolayer_iter_ctx->comm->target to subsequent layers
Communication in DoQ requires an associated connection, target is used to pass destination CID to the wrap direction. This DCID can then be used to get the connection from conn->table.
Frantisek Tobias [Mon, 26 May 2025 10:39:26 +0000 (12:39 +0200)]
daemon/quic: enable QUIC protolayer
Frantisek Tobias [Mon, 26 May 2025 10:33:26 +0000 (12:33 +0200)]
daemon/doq: implement basic serverside comunication
handshake doesn't finish, pl_quic_wrap encounters use after free. steady progress
Frantisek Tobias [Mon, 26 May 2025 10:28:44 +0000 (12:28 +0200)]
Contrib: add ucw head and lists implementations
Frantisek Tobias [Tue, 8 Apr 2025 06:52:04 +0000 (08:52 +0200)]
DoQ: io: add doq flag, io_listen_udp can now create a session for plain udp or doq
Frantisek Tobias [Tue, 25 Mar 2025 11:44:14 +0000 (12:44 +0100)]
daemon/session: add QUIC protolayer type and config listen: interface: kind
Vladimír Čunát [Mon, 5 Jan 2026 10:22:28 +0000 (11:22 +0100)]
Merge !1775: defer: fix sampling multiple answers from same TCP connection
Lukáš Ondráček [Tue, 23 Dec 2025 14:05:14 +0000 (15:05 +0100)]
defer: fix sampling multiple answers from same TCP connection
Vladimír Čunát [Sun, 4 Jan 2026 13:20:49 +0000 (14:20 +0100)]
Merge !1782: distro/pkg: replace retired Jakub's contact by our team alias
Vladimír Čunát [Sun, 4 Jan 2026 12:56:31 +0000 (13:56 +0100)]
distro/pkg: replace retired Jakub's contact by our team alias
Vladimír Čunát [Sun, 4 Jan 2026 12:51:03 +0000 (13:51 +0100)]
NEWS: fix a wrong reference to merge request
Vladimír Čunát [Fri, 2 Jan 2026 10:02:25 +0000 (11:02 +0100)]
Merge !1774: cache packet_ttl(): fix wrong TTL in some cases, typically 32768
Vladimír Čunát [Sun, 21 Dec 2025 12:10:20 +0000 (13:10 +0100)]
add NEWS for the parent commit
Vladimír Čunát [Sun, 21 Dec 2025 12:10:20 +0000 (13:10 +0100)]
cache packet_ttl(): fix wrong TTL in some cases, typically 32768
A notable case is when authoritative server incorrectly sends
a reply without any record but with EDNS.
For the OPT, the TTL field contains extended-error, EDNS version,
DO bit and mandatorily zeroed bits. As extended-error isn't usually
set by authoritative servers outside SERVFAIL, and EDNS version
is just 1 so far, we'd end up with TTL either 32768 (DO=0) or with
a value clamped by maximum TTL (86400 by default).
Vladimír Čunát [Sun, 21 Dec 2025 16:33:30 +0000 (17:33 +0100)]
tests/integration/deckard: add test for the TTL issue
It's failing now and fixed by the following commit.
Vladimír Čunát [Tue, 30 Dec 2025 09:49:30 +0000 (10:49 +0100)]
Merge !1780: don't set AD if both Answer and Authority are empty.
Fixes #914
menakite [Thu, 29 Aug 2024 03:55:28 +0000 (05:55 +0200)]
resolver: don't set AD if both Answer and Authority are empty.
Fixes #914 (nord module: AD=1 is no good)
Vladimír Čunát [Mon, 29 Dec 2025 10:07:46 +0000 (11:07 +0100)]
Merge !1779: doc/user /local-data/rpz: correct the status of support
Vladimír Čunát [Mon, 29 Dec 2025 09:28:02 +0000 (10:28 +0100)]
doc/user /local-data/rpz: correct the status of support
Vladimír Čunát [Sun, 21 Dec 2025 07:36:50 +0000 (08:36 +0100)]
Merge !1770: pyproject.toml and poe tasks improvements
Aleš Mrázek [Thu, 11 Dec 2025 23:55:47 +0000 (00:55 +0100)]
.gitlab-ci.yml: updated names and stages for python jobs
Aleš Mrázek [Thu, 11 Dec 2025 23:35:51 +0000 (00:35 +0100)]
pyproject.toml: updated groups dependencies versions
Aleš Mrázek [Thu, 11 Dec 2025 23:15:43 +0000 (00:15 +0100)]
controller/supervisord/__init__.py: sort imports
Aleš Mrázek [Fri, 5 Dec 2025 11:39:03 +0000 (12:39 +0100)]
.gitlab-ci.yml:: updated poe tasks names
Updated poe tasks names in other places.
Aleš Mrázek [Fri, 5 Dec 2025 10:01:23 +0000 (11:01 +0100)]
scripts/po-tasks: better naming for scripts
Also, check-code gets ruff's checks of imports and formatting.
Aleš Mrázek [Fri, 5 Dec 2025 09:58:41 +0000 (10:58 +0100)]
pyproject.toml: better naming for poe tasks
Vladimír Čunát [Thu, 18 Dec 2025 14:38:22 +0000 (15:38 +0100)]
Merge !1772: tests: migrate off cmocka's deprecated APIs
Vladimír Čunát [Tue, 16 Dec 2025 14:33:29 +0000 (15:33 +0100)]
NEWS: consolidate + add entry for cmocka
Vladimír Čunát [Tue, 16 Dec 2025 14:17:27 +0000 (15:17 +0100)]
tests: migrate off cmocka's deprecated APIs
With cmocka-2.0.0 these broke.
I'm not sure if upstream meant to break them,
but either way we'd better avoid deprecated APIs.
Vladimír Čunát [Tue, 16 Dec 2025 08:32:36 +0000 (09:32 +0100)]
Merge !1769: support libdnssec merged into libknot, as planned for knot >= 3.6
Vladimír Čunát [Tue, 16 Dec 2025 08:04:45 +0000 (09:04 +0100)]
treewide: avoid DNSSEC_EOK
It was zero anyway, just as KNOT_EOK or kr_ok()
Vladimír Čunát [Wed, 22 Oct 2025 07:50:51 +0000 (09:50 +0200)]
libdnssec -->> libknot