]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Aleš Mrázek [Mon, 20 Jul 2026 13:46:58 +0000 (15:46 +0200)]
controller: supervisord controller
Aleš Mrázek [Mon, 20 Jul 2026 13:46:19 +0000 (15:46 +0200)]
controller: subprocess module
Aleš Mrázek [Fri, 17 Jul 2026 13:14:36 +0000 (15:14 +0200)]
python: config: initial structure with templates
Aleš Mrázek [Fri, 17 Jul 2026 11:24:22 +0000 (13:24 +0200)]
controller: logger patch to unify logging
With stdio, supervisord aggregates and tags the logs from all subprocesses.
With syslog, each subprocess writes its own logs to it directly.
Aleš Mrázek [Sat, 11 Jul 2026 22:22:07 +0000 (00:22 +0200)]
controller: dispatcher to inject notify feature to supervisord
Aleš Mrázek [Fri, 10 Jul 2026 09:33:53 +0000 (11:33 +0200)]
controller: notify socket implementation in python
Aleš Mrázek [Tue, 30 Jun 2026 23:23:30 +0000 (01:23 +0200)]
python/knot_resolver: start manager with args
Aleš Mrázek [Tue, 30 Jun 2026 08:54:16 +0000 (10:54 +0200)]
python/knot_resolver: start resolver with args
Aleš Mrázek [Tue, 30 Jun 2026 08:52:52 +0000 (10:52 +0200)]
python/knot_resolver/logging.py: custom KresLogger and function for 'start_logging'
Logger that is initiated by 'get_logger' function have a build-in 'notice' level.
Aleš Mrázek [Tue, 30 Jun 2026 08:25:31 +0000 (10:25 +0200)]
python/knot_resolver: parse arguments
Aleš Mrázek [Mon, 29 Jun 2026 22:44:17 +0000 (00:44 +0200)]
python/knot_resolver: new architecture
Aleš Mrázek [Mon, 29 Jun 2026 22:28:04 +0000 (00:28 +0200)]
python/knot_resolver: clear for new architecture
Aleš Mrázek [Tue, 30 Jun 2026 22:12:48 +0000 (00:12 +0200)]
ruff: config for python 3.11+
Aleš Mrázek [Tue, 30 Jun 2026 21:59:58 +0000 (23:59 +0200)]
mypy: strict by default and python 3.11+
Aleš Mrázek [Mon, 29 Jun 2026 15:05:47 +0000 (17:05 +0200)]
tests/manager: compare version with VERSION file
Aleš Mrázek [Mon, 29 Jun 2026 14:52:37 +0000 (16:52 +0200)]
.gitlab-ci.yml: python: use venv instead of poetry
Aleš Mrázek [Mon, 29 Jun 2026 14:42:20 +0000 (16:42 +0200)]
poe: scripts: use PyPI instead of Poetry
Aleš Mrázek [Mon, 29 Jun 2026 14:32:35 +0000 (16:32 +0200)]
python: remove legacy setup.py and build_c_extensions.py
Aleš Mrázek [Mon, 29 Jun 2026 13:20:26 +0000 (15:20 +0200)]
pyproject.toml: move to PEP 621 standard and setuptools
- minimal project config
- use VERSION file as source for version
- increased Python version to 3.11+
- remove typing-extensions (unnecessary for 3.11+)
Aleš Mrázek [Mon, 29 Jun 2026 11:41:09 +0000 (13:41 +0200)]
VERSION: main source for the project version
- scripts/make-archive.sh: use VERSION file instead of meson.build
- meson: files() supported since 0.57 version
- doc: sphinx: read version from file
Aleš Mrázek [Mon, 29 Jun 2026 11:35:54 +0000 (13:35 +0200)]
.python-version: support 3.11+ and versions update
Aleš Mrázek [Wed, 22 Jul 2026 09:34:49 +0000 (11:34 +0200)]
Merge branch 'release-6.4.1' into 'master'
Release 6.4.1
See merge request knot/knot-resolver!1865
Aleš Mrázek [Wed, 22 Jul 2026 08:16:14 +0000 (10:16 +0200)]
release 6.4.1
Vladimír Čunát [Thu, 9 Jul 2026 09:45:37 +0000 (11:45 +0200)]
lib/rules: correctly match DoQ protocol
Reported by r00tth3w0r1d@gmail.com as KRES-DOQ-04
The confusion stems from (my) original plans
to represent DoQ here as (fl.tls && !fl.tcp && !fl.http)
but ftobias ended up adding fl.quic.
Vladimír Čunát [Wed, 22 Jul 2026 05:52:13 +0000 (07:52 +0200)]
add NEWS items for these security issues
Vladimír Čunát [Wed, 8 Jul 2026 13:25:10 +0000 (15:25 +0200)]
restrict RRSIGs claiming wildcard reach out of the zone [QZKF-005]
This issue was reported by Qifan Zhang from Palo Alto Networks.
Nit: this assignments of `ret` aren't important,
but they might be a bit useful when debugging.
Vladimír Čunát [Tue, 5 May 2026 08:24:41 +0000 (10:24 +0200)]
lib/dnssec.c: guard NSEC's next name against zone bailiwick [QZKF-001]
This issue was reported by Qifan Zhang from Palo Alto Networks.
Frantisek Tobias [Tue, 23 Jun 2026 13:05:26 +0000 (15:05 +0200)]
daemon/quic: various smaller changes, improvements and fixes aggregated into a single commit
list of changes:
- lower default concurrent stream limit 1024 to 16
- rename quic_idle_timeout to quic_handle_timeout
- use PTO for closing/draining state timeouts
- move kr_quic_table_rem2 to quic_common.c
- set_tls_error for tls alerts (in conn close messages with error type
TRANSPORT)
- add some function documentation to quic_*.h
- improve/fix error messages in conn close packets
- fix and simplify tls alert transport when conn close is sent
- fix cid handling
- call uv_close on the timers in sub-sessions
- add QUIC_SEND_NONE for read errors which forbid/do not need a reply
- quic_bye for closing conns which are in states <= CLOSING (i.e. conn
that can still send)
- unite handshake timer with ngtcp2 driver timer loop
- add a custom state for failed handshake - QUIC_STATE_HS_ABORT
- handle cid removal from the table for conns which fail before their
ngtcp2_conn is created
- kr_quic_table_sweep is no longer used, termination handled complately
by timers
- failed attempt to create ngtcp2_conn now causes the conn session to be
destroyed immediately
Frantisek Tobias [Wed, 3 Jun 2026 13:23:19 +0000 (15:23 +0200)]
daemon/quic: move ngtcp2_conn_extend_max_streams_bidi to session data deinit
This prevents superfluous resource consumption since the concurent stream limits are raised once the stream is actually terminated and all it's memory is freed.
Frantisek Tobias [Wed, 3 Jun 2026 13:17:23 +0000 (15:17 +0200)]
daemon/session2: pass events to parent sessions and create convenience function for parent session retrieval
for transport.type = SESSION2_TRANSPORT_PARENT sessions pass events along to parent sessions. This is useful for DoQ (which is the only protolayer group using sub-sessions) as it allows us to cleanup references to sub-sessions that are about to be closed
Frantisek Tobias [Wed, 3 Jun 2026 13:11:29 +0000 (15:11 +0200)]
daemon/quic: rewrite timer system, let terminal tasks traverse the entire DoQ group to assure gracefull termination
the timer system was incorrectly oblivious to some ngtcp2 states, this revrite amends missing functionality improving performance stability and correctness. Terminal events now reach all layers, this most importantly solves issues with dangling qr_tasks.
Frantisek Tobias [Wed, 6 May 2026 12:46:56 +0000 (14:46 +0200)]
daemon/quic: remove assert and handle partial query data with FIN safely
receiving only part of the data that is promised by the size prefix before receiving stream FIN is an DoQ application error, handle it as such and terminate the connection
Frantisek Tobias [Wed, 6 May 2026 05:53:57 +0000 (07:53 +0200)]
daemon/doq: improve recv function
receiving split size prefix was not handled correctly
Vladimír Čunát [Wed, 15 Jul 2026 14:26:07 +0000 (16:26 +0200)]
Merge !1854: /local-data/addresses*: make multiple addresses work
Fixes #808 and #954
Vladimír Čunát [Wed, 24 Jun 2026 08:10:37 +0000 (10:10 +0200)]
lib/rules: fix kr_rule_local_data_merge()
This fixes using multiple RRs in an RRset in some interfaces, e.g.
/local-data/addresses* but not /local-data/{records,rpz}
Vladimír Čunát [Wed, 24 Jun 2026 08:10:37 +0000 (10:10 +0200)]
lib/cache/cdb: add it_del()
Vladimír Čunát [Wed, 24 Jun 2026 08:10:37 +0000 (10:10 +0200)]
lib/cache/cdb: support iterating inside an RW transaction
Vladimír Čunát [Thu, 23 Apr 2026 08:50:28 +0000 (10:50 +0200)]
lib/cache/cdb: add txn_open_rw()
This was extracted from jezek-test commit:
lib/rules: make kr_rule_local_subtree() safer wrt. transactions
While we don't use this so far, picking will reduce conflicts
e.g. when moving changes between the branches.
Vladimír Čunát [Wed, 15 Jul 2026 13:50:37 +0000 (15:50 +0200)]
Merge !1847: update IANA's certificate for root trust anchor bootstrapping
Vladimír Čunát [Thu, 4 Jun 2026 12:21:43 +0000 (14:21 +0200)]
update IANA's certificate for root trust anchor bootstrapping
The file now contains both old and new certificate, as downloaded from:
https://data.iana.org/root-anchors/icannbundle.pem
The switch of signatures themselves is planned for 2028.
Vladimír Čunát [Thu, 9 Jul 2026 12:31:03 +0000 (14:31 +0200)]
Merge !1861: tests/packaging/dependencies.py: replace deprecated pkg_resources
Closes #955 and #942
Aleš Mrázek [Thu, 9 Jul 2026 12:04:26 +0000 (14:04 +0200)]
.gitlab-ci.yml: python: use virtualenv <20.30 when running python 3.8
Use a virtualenv release that still supports seeding Python 3.8 environments.
Aleš Mrázek [Thu, 9 Jul 2026 11:16:40 +0000 (13:16 +0200)]
tests/packaging/dependencies.py: replace pkg_resources
Replace deprecated pkg_resources with importlib.metadata and packaging.
Aleš Mrázek [Tue, 7 Jul 2026 11:54:58 +0000 (13:54 +0200)]
Merge branch 'ci-dockerhub-fix' into 'master'
ci: docker:dockerhub: avoid SIGPIPE when determining latest tag
See merge request knot/knot-resolver!1859
Aleš Mrázek [Tue, 7 Jul 2026 10:59:17 +0000 (12:59 +0200)]
.gitlab-ci.yml: docker:dockerhub: avoid SIGPIPE
Replaced the piped 'git tag | head' command with 'git for-each-ref'
to avoid intermittent exit code 141 failures in CI.
Aleš Mrázek [Fri, 26 Jun 2026 14:23:01 +0000 (16:23 +0200)]
Merge branch 'docker-debian-13' into 'master'
docker: upgrade to Debian 13
See merge request knot/knot-resolver!1856
Aleš Mrázek [Thu, 28 May 2026 13:38:27 +0000 (15:38 +0200)]
Dockerfile: upgrade to Debian 13
Remove unused ENV vars.
Vladimír Čunát [Thu, 25 Jun 2026 11:12:28 +0000 (13:12 +0200)]
Merge !1855: tests/integration/deckard: unblock val_nsec3_optout_unsec_cache.rpl
Vladimír Čunát [Thu, 25 Jun 2026 10:52:12 +0000 (12:52 +0200)]
tests/integration/deckard: unblock val_nsec3_optout_unsec_cache.rpl
Aleš Mrázek [Wed, 17 Jun 2026 09:14:00 +0000 (11:14 +0200)]
Merge branch 'release-6.4.0' into 'master'
Release 6.4.0
See merge request knot/knot-resolver!1852
Aleš Mrázek [Wed, 17 Jun 2026 08:59:05 +0000 (10:59 +0200)]
AUTHORS: update
Aleš Mrázek [Wed, 17 Jun 2026 07:47:18 +0000 (09:47 +0200)]
release 6.4.0
Vladimír Čunát [Wed, 10 Jun 2026 10:06:39 +0000 (12:06 +0200)]
Merge !1851: ci: pkg: add openSUSE Leap 16
Aleš Mrázek [Tue, 9 Jun 2026 09:29:45 +0000 (11:29 +0200)]
.gitlab-ci.yml: pkg: add openSUSE Leap 16
Unfortunately, supervisor is currently not available in the official Leap 16 repositories.
Vladimír Čunát [Mon, 8 Jun 2026 08:50:15 +0000 (10:50 +0200)]
Merge !1849: ci: pkg: add Fedora Rawhide
Aleš Mrázek [Fri, 5 Jun 2026 15:15:00 +0000 (17:15 +0200)]
.gitlab-ci.yml: pkg: add Fedora Rawhide
Vladimír Čunát [Mon, 8 Jun 2026 08:49:38 +0000 (10:49 +0200)]
Merge !1850: ci: lint:coverity: allow failure
Aleš Mrázek [Mon, 8 Jun 2026 08:28:26 +0000 (10:28 +0200)]
.gitlab-ci.yml: lint:coverity: allow failure
The Coverity scan is currently down.
Vladimír Čunát [Sun, 7 Jun 2026 11:07:29 +0000 (13:07 +0200)]
Merge !1848: ci: pkg: add openSUSE Tumbleweed
Aleš Mrázek [Thu, 4 Jun 2026 22:35:06 +0000 (00:35 +0200)]
pkg: rpm: requires python3-jinja2
Aleš Mrázek [Thu, 4 Jun 2026 09:11:04 +0000 (11:11 +0200)]
.gitlab-ci: pkg: add openSUSE Tumbleweed
Leap 15.6 has not been added yet, as it requires further modifications to the RPM .spec file.
Vladimír Čunát [Wed, 3 Jun 2026 14:38:44 +0000 (16:38 +0200)]
Merge !1840: fix DNS64 with CNAMEs
Fixes #797
Vladimír Čunát [Mon, 25 May 2026 09:29:46 +0000 (11:29 +0200)]
iterate: fix DNS64 on CNAMEs
It's a bit embarassing that the issue has lasted this long.
Overall the DNS64 module is slightly hacky/prototype-ish.
Vladimír Čunát [Mon, 25 May 2026 09:55:36 +0000 (11:55 +0200)]
dns64 tests: also test CNAMEs
Unfortunately, the test still isn't able to catch the issue
which we have there now, so this addition might be pointless.
The problem is that the code answers correctly when satisfied locally
(from local-data or cache).
Aleš Mrázek [Wed, 3 Jun 2026 08:03:51 +0000 (10:03 +0200)]
Merge branch 'scripts-makefile-docker' into 'master'
scripts/Makefile.docker: changed LABEL to knot-resolver
See merge request knot/knot-resolver!1846
Aleš Mrázek [Wed, 3 Jun 2026 08:00:38 +0000 (10:00 +0200)]
scripts/Makefile.docker: changed LABEL to knot-resolver
Vladimír Čunát [Tue, 2 Jun 2026 08:42:24 +0000 (10:42 +0200)]
Merge !1843: ci: dockerhub automatic deploy from scheduled pipeline
Aleš Mrázek [Mon, 1 Jun 2026 15:21:44 +0000 (17:21 +0200)]
scripts/Makefile.docker: synced with KnotDNS makefile
Aleš Mrázek [Mon, 1 Jun 2026 14:19:38 +0000 (16:19 +0200)]
.gitlab-ci.yml: docker:dockerhub: only auto-deploy on latest tag
Aleš Mrázek [Mon, 1 Jun 2026 12:52:11 +0000 (14:52 +0200)]
.gitlab-ci.yml: docker:dockerhub: allow automatic deploy from schedule
Aleš Mrázek [Mon, 1 Jun 2026 12:50:45 +0000 (14:50 +0200)]
.gitlab-ci.yml: docker:dockerhub: added tag with date-stamp
Aleš Mrázek [Mon, 1 Jun 2026 12:23:11 +0000 (14:23 +0200)]
.gitlab-ci.yml: docker:build:cross-platform: unique builder for every build
Vladimír Čunát [Fri, 29 May 2026 11:53:28 +0000 (13:53 +0200)]
Merge !1841: policy: Add flag to force TCP as transport
Michael Tremer [Wed, 27 May 2026 11:41:27 +0000 (11:41 +0000)]
policy: Add flag to force TCP as transport
This is already implemented in the backend, but the flag has not been
exposed. This patch adds the flag so that any forwarders will be
connected to using TCP.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Vladimír Čunát [Wed, 20 May 2026 14:29:03 +0000 (16:29 +0200)]
Merge !1837: pkg: rpm: package provides user/group
Aleš Mrázek [Tue, 19 May 2026 12:44:39 +0000 (14:44 +0200)]
pkg: rpm: package provides user and group
Return to static user/group creation.
Vladimír Čunát [Mon, 18 May 2026 11:33:26 +0000 (13:33 +0200)]
Merge !1834: controller: improved error handling when sending commands to workers
Aleš Mrázek [Wed, 13 May 2026 13:58:16 +0000 (15:58 +0200)]
controller/registered_workers.py: command_registered_workers() better error handling
Improved handling of unexpected errors when sending commands to individual workers.
Vladimír Čunát [Thu, 14 May 2026 10:03:32 +0000 (12:03 +0200)]
Merge !1835: ci: use Debian 13 image as default
Aleš Mrázek [Thu, 14 May 2026 09:38:18 +0000 (11:38 +0200)]
.gitlab-ci.yml: updated IMAGE_TAG
Vladimír Čunát [Thu, 14 May 2026 09:06:24 +0000 (11:06 +0200)]
.gitlab-ci.yml: switch to kres-gen-35 only
As the CI is now, it's not possible to satisfy 3.3 and 3.5 simultanously.
The diff has no practical impact for us, which is why libknot added it.
As 3.3 and 3.5 are still compatible in practice, it's OK to only check 3.5.
Aleš Mrázek [Wed, 13 May 2026 14:19:26 +0000 (16:19 +0200)]
.gitlab-ci.yml: all images updated to debian13
Vladimír Čunát [Wed, 13 May 2026 05:59:20 +0000 (07:59 +0200)]
Merge !1830: pkg: rpm: sysusers and other improvements/fixes
Aleš Mrázek [Tue, 5 May 2026 12:29:26 +0000 (14:29 +0200)]
distro/pkg/rpm: removed rhel == 7
Aleš Mrázek [Tue, 5 May 2026 12:07:01 +0000 (14:07 +0200)]
distro/pkg/rpm: removed alpha conflicts
Aleš Mrázek [Tue, 5 May 2026 11:55:26 +0000 (13:55 +0200)]
distro/pkg/rpm: added systemd-sysusers
The recommended systemd's sysusers is used to add user and group.
Aleš Mrázek [Wed, 29 Apr 2026 09:59:04 +0000 (11:59 +0200)]
.gitlab-ci.yml: pkg: added fedora-43 and fedora-44
Aleš Mrázek [Wed, 29 Apr 2026 09:58:25 +0000 (11:58 +0200)]
distro/pkg/rpm: added python3-setuptools as build requirement
Aleš Mrázek [Mon, 27 Apr 2026 12:00:42 +0000 (14:00 +0200)]
Merge branch 'release-6.3.0' into 'master'
Release 6.3.0
See merge request knot/knot-resolver!1829
Aleš Mrázek [Mon, 27 Apr 2026 11:25:04 +0000 (13:25 +0200)]
release 6.3.0
Vladimír Čunát [Mon, 27 Apr 2026 11:14:55 +0000 (13:14 +0200)]
Merge !1828: lib/rules: warn about non-CNAME wildcards in RPZ
Vladimír Čunát [Tue, 26 Aug 2025 08:49:12 +0000 (10:49 +0200)]
lib/rules: warn about non-CNAME wildcards in RPZ
Vladimír Čunát [Mon, 27 Apr 2026 10:13:03 +0000 (12:13 +0200)]
Merge !1827: Fix price overflow caused by high price_factor in ratelimiting, defer
Lukáš Ondráček [Thu, 23 Apr 2026 14:02:53 +0000 (16:02 +0200)]
daemon/defer: rewrite BASE_PRICE macro to function
Lukáš Ondráček [Thu, 23 Apr 2026 11:31:35 +0000 (13:31 +0200)]
doc/user: Fix typo in rate-limiting
Lukáš Ondráček [Thu, 23 Apr 2026 11:10:55 +0000 (13:10 +0200)]
Fix price overflow in ratelimiting, defer
Vladimír Čunát [Wed, 22 Apr 2026 08:29:35 +0000 (10:29 +0200)]
Merge !1818: ruledb: drop the MDB_WRITEMAP flag
Vladimír Čunát [Thu, 12 Mar 2026 10:34:01 +0000 (11:34 +0100)]
ruledb: drop the MDB_WRITEMAP flag
I like the property of mapping this memory as read-only.
All writes should have been deferred to the policy-loader,
at least in normal operation.
Vladimír Čunát [Wed, 22 Apr 2026 08:15:45 +0000 (10:15 +0200)]
Merge !1816: fix luajit includedir when cross-compiling
Nicolas PARLANT [Thu, 5 Mar 2026 15:07:52 +0000 (16:07 +0100)]
Fix luajit includedir when cross-compiling
The use of --variable=includedir for luajit doesn't include the
root-directory when cross-compiling.
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>