]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Vladimír Čunát [Sat, 17 Jan 2026 09:53:36 +0000 (10:53 +0100)]
daemon/session: fix UDP answers without sendmmsg
This is quite a serious issue on non-Linux.
It's a regression from commit
82e1d596 , i.e. v6.0.9.
Vladimír Čunát [Thu, 15 Jan 2026 13:15:33 +0000 (14:15 +0100)]
Merge !1794: tests/packaging/interactive: skip TLS certs watchdog tests
Aleš Mrázek [Thu, 15 Jan 2026 12:13:53 +0000 (13:13 +0100)]
tests/packaging/interactive: skip TLS certs watchdog tests
Aleš Mrázek [Thu, 15 Jan 2026 12:01:30 +0000 (13:01 +0100)]
Merge branch 'docs-cleanup-fix' into 'master'
doc/user: minor adjustments
See merge request knot/knot-resolver!1793
Aleš Mrázek [Thu, 15 Jan 2026 11:32:17 +0000 (12:32 +0100)]
doc/user/gettingstarted-install.rst: build from source
This part looked like it belonged under the Docker section. At the same time, I didn't want to create a separate section for it and put it at the same level as packages sections.
Aleš Mrázek [Thu, 15 Jan 2026 11:00:28 +0000 (12:00 +0100)]
doc/user/config-overview.rst: json schema app link
Unfortunately, the previous link was not universal for all versions of the docs. Doing link universal automatically is not easy, so a clarification was added.
Vladimír Čunát [Thu, 15 Jan 2026 10:28:50 +0000 (11:28 +0100)]
Merge !1792: docs: remove problematic deps
Aleš Mrázek [Wed, 14 Jan 2026 23:04:13 +0000 (00:04 +0100)]
docs: removed sphinx-tabs and json-schema-for-humans
Vladimír Čunát [Wed, 14 Jan 2026 08:54:17 +0000 (09:54 +0100)]
Merge !1784: python: ruff: linter stricter configuration
Aleš Mrázek [Sun, 11 Jan 2026 00:37:33 +0000 (01:37 +0100)]
python: ruff: ignored and fixed some linter checks
Aleš Mrázek [Sun, 11 Jan 2026 00:31:16 +0000 (01:31 +0100)]
python: fixed too long lines (>120)
Ruff linter: E501 Line too long (>120)
Aleš Mrázek [Sat, 10 Jan 2026 23:58:29 +0000 (00:58 +0100)]
python: specified or removed type check ignore
Ruff linter: PGH003 Use specific rule codes when ignoring type issues
Aleš Mrázek [Sat, 10 Jan 2026 23:43:44 +0000 (00:43 +0100)]
python: replaced python version comparing with tuple
Aleš Mrázek [Sat, 10 Jan 2026 23:33:30 +0000 (00:33 +0100)]
python: client: ignore INP001 for commands modules
Aleš Mrázek [Sat, 10 Jan 2026 21:41:39 +0000 (22:41 +0100)]
python: improved try/exception code
Aleš Mrázek [Sat, 10 Jan 2026 21:32:06 +0000 (22:32 +0100)]
python: applied code simplification improvements
Aleš Mrázek [Sat, 10 Jan 2026 21:06:30 +0000 (22:06 +0100)]
python: fixed docstring formatting
Aleš Mrázek [Sat, 10 Jan 2026 17:47:17 +0000 (18:47 +0100)]
python: added missing type annotations
Aleš Mrázek [Sat, 10 Jan 2026 17:45:35 +0000 (18:45 +0100)]
python: fixed renamed exceptions/errors
Aleš Mrázek [Fri, 12 Dec 2025 00:42:18 +0000 (01:42 +0100)]
*/exceptions.py: updated for more strict linter (Ruff)
Aleš Mrázek [Wed, 10 Dec 2025 23:26:10 +0000 (00:26 +0100)]
exceptions.py: renamed base exception to error Ruff(N818)
Aleš Mrázek [Wed, 10 Dec 2025 23:12:36 +0000 (00:12 +0100)]
constants.py: added freebsd_min_version constant
Aleš Mrázek [Fri, 5 Dec 2025 00:04:57 +0000 (01:04 +0100)]
pyproject.toml: ruff strict config
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