]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
9 months agodaemon/io: keep TCP data in system queue on buffer overflow docs-develop-defe-x6j6qe/deployments/5517
Lukáš Ondráček [Wed, 6 Nov 2024 17:26:14 +0000 (18:26 +0100)] 
daemon/io: keep TCP data in system queue on buffer overflow

9 months agodaemon/defer: enable defer by default docs-develop-defe-x6j6qe/deployments/5516
Lukáš Ondráček [Mon, 4 Nov 2024 16:23:34 +0000 (17:23 +0100)] 
daemon/defer: enable defer by default

9 months agolib/mmapped: fix typo docs-develop-rrl-8r8r8r/deployments/5489
Lukáš Ondráček [Mon, 4 Nov 2024 16:19:12 +0000 (17:19 +0100)] 
lib/mmapped: fix typo

9 months agommapped_* nit: move from daemon/ to lib/ docs-develop-rrl-8r8r8r/deployments/5488
Vladimír Čunát [Mon, 4 Nov 2024 14:54:48 +0000 (15:54 +0100)] 
mmapped_* nit: move from daemon/ to lib/

We'll utilize this for cache, so this will be an easy way for GC
to access the mmapped_* symbols.

In lib/ we usually prefix symbols by kr_ but I don't think it's worth
the hassle in this case, as mmapped_ seems like a good enough prefix.

9 months agodaemon/mmapped: use static_assert on undefined padding docs-develop-rrl-8r8r8r/deployments/5486
Lukáš Ondráček [Thu, 31 Oct 2024 16:39:31 +0000 (17:39 +0100)] 
daemon/mmapped: use static_assert on undefined padding

9 months agodaemon/ratelimiting: add log-period and dry-run
Lukáš Ondráček [Thu, 31 Oct 2024 16:28:01 +0000 (17:28 +0100)] 
daemon/ratelimiting: add log-period and dry-run

9 months agolib/kru: improve code formatting
Lukáš Ondráček [Thu, 31 Oct 2024 14:03:30 +0000 (15:03 +0100)] 
lib/kru: improve code formatting

9 months agodaemon/ratelimiting: polish
Lukáš Ondráček [Wed, 30 Oct 2024 18:09:41 +0000 (19:09 +0100)] 
daemon/ratelimiting: polish

9 months agodaemon/ratelimiting: fix runtime configuration reload
Lukáš Ondráček [Wed, 30 Oct 2024 15:46:08 +0000 (16:46 +0100)] 
daemon/ratelimiting: fix runtime configuration reload

9 months agodaemon/ratelimiting: use slip instead of tc_limit
Lukáš Ondráček [Thu, 24 Oct 2024 16:37:00 +0000 (18:37 +0200)] 
daemon/ratelimiting: use slip instead of tc_limit

9 months agoRevert "pytests: change log level from debug to notice" docs-develop-rrl-8r8r8r/deployments/5397
Lukáš Ondráček [Wed, 23 Oct 2024 18:19:58 +0000 (20:19 +0200)] 
Revert "pytests: change log level from debug to notice"

This reverts commit b2cbbac2504106438326ee83dc01e305d9cb64f6.

9 months agodaemon/defer: disable by default, use real time in KRU
Lukáš Ondráček [Wed, 23 Oct 2024 17:59:02 +0000 (19:59 +0200)] 
daemon/defer: disable by default, use real time in KRU

9 months agoRevert "daemon/defer: use total accounted time as KRU time"
Lukáš Ondráček [Wed, 23 Oct 2024 14:02:32 +0000 (16:02 +0200)] 
Revert "daemon/defer: use total accounted time as KRU time"

This reverts commit 9d4ad75d103f1fe5811a1bd2765d5fddaaab0a27.

9 months agoMerge remote-tracking branch 'master' into rrl-wip docs-develop-rrl-8r8r8r/deployments/5381
Lukáš Ondráček [Mon, 21 Oct 2024 17:48:46 +0000 (19:48 +0200)] 
Merge remote-tracking branch 'master' into rrl-wip

9 months agoMerge !1621: python: Ruff linter and formatter docs-develop-dock-tuv9my/deployments/5459 docs-develop-mast-tzgd0f/deployments/5375 docs-develop-mast-tzgd0f/deployments/5376 docs-develop-mast-tzgd0f/deployments/5379 docs-develop-mast-tzgd0f/deployments/5382 docs-develop-mast-tzgd0f/deployments/5385 docs-develop-mast-tzgd0f/deployments/5391 docs-develop-mast-tzgd0f/deployments/5394 docs-develop-mast-tzgd0f/deployments/5398 docs-develop-mast-tzgd0f/deployments/5400 docs-develop-mast-tzgd0f/deployments/5404 docs-develop-mast-tzgd0f/deployments/5407 docs-develop-mast-tzgd0f/deployments/5408 docs-develop-mast-tzgd0f/deployments/5411 docs-develop-mast-tzgd0f/deployments/5412 docs-develop-mast-tzgd0f/deployments/5415 docs-develop-mast-tzgd0f/deployments/5417 docs-develop-mast-tzgd0f/deployments/5418 docs-develop-mast-tzgd0f/deployments/5421 docs-develop-mast-tzgd0f/deployments/5422 docs-develop-mast-tzgd0f/deployments/5425 docs-develop-mast-tzgd0f/deployments/5432 docs-develop-mast-tzgd0f/deployments/5435 docs-develop-mast-tzgd0f/deployments/5441 docs-develop-mast-tzgd0f/deployments/5444 docs-develop-mast-tzgd0f/deployments/5454 docs-develop-mast-tzgd0f/deployments/5457 docs-develop-nigh-589znp/deployments/5377 docs-develop-nigh-589znp/deployments/5383 docs-develop-nigh-589znp/deployments/5392 docs-develop-nigh-589znp/deployments/5405 docs-develop-nigh-589znp/deployments/5409 docs-develop-nigh-589znp/deployments/5413 docs-develop-nigh-589znp/deployments/5419 docs-develop-nigh-589znp/deployments/5423 docs-develop-nigh-589znp/deployments/5433 docs-develop-nigh-589znp/deployments/5442 docs-develop-nigh-589znp/deployments/5455
Vladimír Čunát [Sun, 20 Oct 2024 09:24:06 +0000 (11:24 +0200)] 
Merge !1621: python: Ruff linter and formatter

9 months agodoc/dev/manager-dev-env.rst: update docs-develop-lint-bm6t77/deployments/5357
Aleš Mrázek [Thu, 17 Oct 2024 10:09:55 +0000 (12:09 +0200)] 
doc/dev/manager-dev-env.rst: update

9 months agotests/pytests: ruff linter fixes
Aleš Mrázek [Tue, 15 Oct 2024 15:58:00 +0000 (17:58 +0200)] 
tests/pytests: ruff linter fixes

9 months agopython/knot_resolver: ruff linter fixes
Aleš Mrázek [Tue, 15 Oct 2024 15:57:29 +0000 (17:57 +0200)] 
python/knot_resolver: ruff linter fixes

9 months ago.gitlab-ci.manager.yml: lint and format added
Aleš Mrázek [Fri, 11 Oct 2024 09:17:12 +0000 (11:17 +0200)] 
.gitlab-ci.manager.yml: lint and format added

9 months agoscripts/poe-tasks: separate lint from other check script
Aleš Mrázek [Fri, 11 Oct 2024 09:15:35 +0000 (11:15 +0200)] 
scripts/poe-tasks: separate lint from other check script

9 months ago.gitlab-ci.manager.yml: install optional deps
Aleš Mrázek [Thu, 10 Oct 2024 13:59:16 +0000 (15:59 +0200)] 
.gitlab-ci.manager.yml: install optional deps

9 months agolint: pylint and flake8 removed
Aleš Mrázek [Thu, 10 Oct 2024 12:36:28 +0000 (14:36 +0200)] 
lint: pylint and flake8 removed

9 months agopython: linting fixes
Aleš Mrázek [Wed, 9 Oct 2024 20:27:56 +0000 (22:27 +0200)] 
python: linting fixes

9 months agopython: code format fixes
Aleš Mrázek [Wed, 9 Oct 2024 20:19:31 +0000 (22:19 +0200)] 
python: code format fixes

9 months agoscripts/poe-tasks: use ruff instead of black, isort, pylint and flake8
Aleš Mrázek [Wed, 9 Oct 2024 20:15:14 +0000 (22:15 +0200)] 
scripts/poe-tasks: use ruff instead of black, isort, pylint and flake8

9 months agopyproject.toml: ruff linter and code formatter added
Aleš Mrázek [Wed, 9 Oct 2024 16:55:36 +0000 (18:55 +0200)] 
pyproject.toml: ruff linter and code formatter added

9 months agopytests: change log level from debug to notice docs-develop-rrl-8r8r8r/deployments/5355
Lukáš Ondráček [Thu, 17 Oct 2024 12:11:27 +0000 (14:11 +0200)] 
pytests: change log level from debug to notice

9 months agodaemon/ratelimiting: lint fixes docs-develop-rrl-8r8r8r/deployments/5347
Lukáš Ondráček [Wed, 16 Oct 2024 14:43:02 +0000 (16:43 +0200)] 
daemon/ratelimiting: lint fixes

9 months agoMerge !1620: distro/pkg/deb: deep clean Debian packaging with pedantic lintian docs-develop-mast-tzgd0f/deployments/5346 docs-develop-mast-tzgd0f/deployments/5349 docs-develop-mast-tzgd0f/deployments/5352 docs-develop-mast-tzgd0f/deployments/5359 docs-develop-mast-tzgd0f/deployments/5362 docs-develop-mast-tzgd0f/deployments/5367 docs-develop-mast-tzgd0f/deployments/5370 docs-develop-mast-tzgd0f/deployments/5371 docs-develop-mast-tzgd0f/deployments/5374 docs-develop-nigh-589znp/deployments/5350 docs-develop-nigh-589znp/deployments/5360 docs-develop-nigh-589znp/deployments/5368 docs-develop-nigh-589znp/deployments/5372
Vladimír Čunát [Wed, 16 Oct 2024 13:24:06 +0000 (15:24 +0200)] 
Merge !1620: distro/pkg/deb: deep clean Debian packaging with pedantic lintian

9 months agodistro/pkg/deb: silence more irrelevant lintian cries docs-develop-pkg-ztv58y/deployments/5336
Jakub Ružička [Mon, 7 Oct 2024 14:31:53 +0000 (16:31 +0200)] 
distro/pkg/deb: silence more irrelevant lintian cries

9 months agodistro/pkg/deb: make pkgconfig available for cross-compilation
Jakub Ružička [Mon, 7 Oct 2024 15:09:36 +0000 (17:09 +0200)] 
distro/pkg/deb: make pkgconfig available for cross-compilation

This addresses lintian warning

W: knot-resolver6-dev: pkg-config-unavailable-for-cross-compilation [usr/lib/pkgconfig/libkres.pc]

9 months agodistro/pkg/deb: exclude redundant COPYING file
Jakub Ružička [Mon, 7 Oct 2024 15:19:10 +0000 (17:19 +0200)] 
distro/pkg/deb: exclude redundant COPYING file

Silences lintian cry:

I: knot-resolver6: extra-license-file [usr/share/doc/knot-resolver6/COPYING.gz]

9 months agodistro/pkg/deb: extend -dev package description
Jakub Ružička [Mon, 7 Oct 2024 15:13:27 +0000 (17:13 +0200)] 
distro/pkg/deb: extend -dev package description

9 months agodistro/pkg/deb: remove Multi-Arch: same from dnstap
Jakub Ružička [Mon, 7 Oct 2024 13:58:11 +0000 (15:58 +0200)] 
distro/pkg/deb: remove Multi-Arch: same from dnstap

The module isn't really Multi-Arch, remove the false declaration.

9 months agodistro/pkg/deb: improve knot-resolver6.postinst
Jakub Ružička [Mon, 7 Oct 2024 14:14:56 +0000 (16:14 +0200)] 
distro/pkg/deb: improve knot-resolver6.postinst

Switching to deb-systemd-invoke saves one lintian warning about directly
invoking systemd.

9 months agodaemon/defer: cleanup heads of queues after idle docs-develop-rrl-8r8r8r/deployments/5334
Lukáš Ondráček [Mon, 14 Oct 2024 16:36:15 +0000 (18:36 +0200)] 
daemon/defer: cleanup heads of queues after idle

10 months agodaemon/defer: defer or close whole streams at once docs-develop-rrl-8r8r8r/deployments/5316
Lukáš Ondráček [Thu, 10 Oct 2024 17:08:44 +0000 (19:08 +0200)] 
daemon/defer: defer or close whole streams at once

10 months agodistro/pkg/deb: update knot-resolver6.links
Jakub Ružička [Mon, 7 Oct 2024 13:49:40 +0000 (15:49 +0200)] 
distro/pkg/deb: update knot-resolver6.links

10 months agodistro/pkg/deb: use meson through debhelper
Jakub Ružička [Mon, 7 Oct 2024 12:50:47 +0000 (14:50 +0200)] 
distro/pkg/deb: use meson through debhelper

Use standard debhelper as opposed to calling meson and ninja manually.

10 months agoMerge branch 'ci-manager-py3.13' into 'master' docs-develop-mast-tzgd0f/deployments/5304 docs-develop-mast-tzgd0f/deployments/5307 docs-develop-mast-tzgd0f/deployments/5310 docs-develop-mast-tzgd0f/deployments/5317 docs-develop-mast-tzgd0f/deployments/5319 docs-develop-mast-tzgd0f/deployments/5322 docs-develop-mast-tzgd0f/deployments/5325 docs-develop-mast-tzgd0f/deployments/5326 docs-develop-mast-tzgd0f/deployments/5329 docs-develop-mast-tzgd0f/deployments/5330 docs-develop-mast-tzgd0f/deployments/5333 docs-develop-mast-tzgd0f/deployments/5337 docs-develop-mast-tzgd0f/deployments/5339 docs-develop-mast-tzgd0f/deployments/5342 docs-develop-mast-tzgd0f/deployments/5345 docs-develop-nigh-589znp/deployments/5308 docs-develop-nigh-589znp/deployments/5323 docs-develop-nigh-589znp/deployments/5327 docs-develop-nigh-589znp/deployments/5331 docs-develop-nigh-589znp/deployments/5343
Aleš Mrázek [Wed, 9 Oct 2024 15:56:16 +0000 (17:56 +0200)] 
Merge branch 'ci-manager-py3.13' into 'master'

python: support for the new python 3.13

See merge request knot/knot-resolver!1619

10 months agodaemon/ratelimiting: disable for non-UDP requests docs-develop-rrl-8r8r8r/deployments/5303
Lukáš Ondráček [Wed, 9 Oct 2024 12:27:42 +0000 (14:27 +0200)] 
daemon/ratelimiting: disable for non-UDP requests

10 months agopython: utils: 'typing.Pattern' compatibility fix docs-develop-ci-m-6n00ea/deployments/5302
Aleš Mrázek [Tue, 8 Oct 2024 20:33:10 +0000 (22:33 +0200)] 
python: utils: 'typing.Pattern' compatibility fix

10 months agopython: datamodel: types: pylint error fix
Aleš Mrázek [Tue, 8 Oct 2024 19:27:19 +0000 (21:27 +0200)] 
python: datamodel: types: pylint error fix

10 months ago.python-version: versions update
Aleš Mrázek [Tue, 8 Oct 2024 19:06:38 +0000 (21:06 +0200)] 
.python-version: versions update

10 months ago.gitlab-ci.manager.yml: python3.13 unit tests
Aleš Mrázek [Tue, 8 Oct 2024 18:09:31 +0000 (20:09 +0200)] 
.gitlab-ci.manager.yml: python3.13 unit tests

10 months agodaemon/defer: add alternate UDP and non-UDP phases docs-develop-rrl-8r8r8r/deployments/5284
Lukáš Ondráček [Mon, 7 Oct 2024 16:28:49 +0000 (18:28 +0200)] 
daemon/defer: add alternate UDP and non-UDP phases

10 months agoMerge !1616: datamodel: types: files: improvements and fixes docs-develop-mast-tzgd0f/deployments/5281 docs-develop-mast-tzgd0f/deployments/5285 docs-develop-mast-tzgd0f/deployments/5288 docs-develop-mast-tzgd0f/deployments/5298 docs-develop-mast-tzgd0f/deployments/5301 docs-develop-nigh-589znp/deployments/5286 docs-develop-nigh-589znp/deployments/5299
Vladimír Čunát [Mon, 7 Oct 2024 10:16:54 +0000 (12:16 +0200)] 
Merge !1616: datamodel: types: files: improvements and fixes

Fixes #919

10 months agodaemon/defer: use total accounted time as KRU time docs-develop-rrl-8r8r8r/deployments/5260
Lukáš Ondráček [Wed, 2 Oct 2024 15:13:10 +0000 (17:13 +0200)] 
daemon/defer: use total accounted time as KRU time

10 months agolib/kru: fix zero increment docs-develop-rrl-8r8r8r/deployments/5259
Lukáš Ondráček [Wed, 2 Oct 2024 13:27:10 +0000 (15:27 +0200)] 
lib/kru: fix zero increment

10 months agofixup! lib/log: add [defer ] group docs-develop-rrl-8r8r8r/deployments/5254
Lukáš Ondráček [Tue, 1 Oct 2024 15:34:23 +0000 (17:34 +0200)] 
fixup! lib/log: add [defer ] group

10 months agofixup! lib/log: add [defer ] group docs-develop-rrl-8r8r8r/deployments/5253
Vladimír Čunát [Tue, 1 Oct 2024 13:18:11 +0000 (15:18 +0200)] 
fixup! lib/log: add [defer ] group

10 months agodaemon/mmapped: remove padding from header where used docs-develop-rrl-8r8r8r/deployments/5252
Lukáš Ondráček [Tue, 1 Oct 2024 13:13:21 +0000 (15:13 +0200)] 
daemon/mmapped: remove padding from header where used

10 months agolib/log: add [defer ] group docs-develop-rrl-8r8r8r/deployments/5251
Vladimír Čunát [Tue, 1 Oct 2024 13:08:13 +0000 (15:08 +0200)] 
lib/log: add [defer ] group

In particular this turns off those debug logs by default.

10 months agofixup! Merge branch 'master' into rrl-wip docs-develop-rrl-8r8r8r/deployments/5250
Vladimír Čunát [Tue, 1 Oct 2024 10:57:35 +0000 (12:57 +0200)] 
fixup! Merge branch 'master' into rrl-wip

The python module was renamed in 79af7dea85687fb399ff4654c87

10 months agolib/utils: deduplicate kr_straddr_socket* + describe docs-develop-rrl-8r8r8r/deployments/5249
Vladimír Čunát [Tue, 1 Oct 2024 08:42:36 +0000 (10:42 +0200)] 
lib/utils: deduplicate kr_straddr_socket* + describe

10 months agoMerge branch 'master' into rrl-wip
Vladimír Čunát [Mon, 30 Sep 2024 13:34:11 +0000 (15:34 +0200)] 
Merge branch 'master' into rrl-wip

10 months agopython: datamodel: added permissions_default to global validation context docs-develop-data-nk5iee/deployments/5243
Aleš Mrázek [Tue, 24 Sep 2024 08:40:45 +0000 (10:40 +0200)] 
python: datamodel: added permissions_default to global validation context

It is used to change the check of dirs/files permissions against the default constant user:group or the current user the process is running as.

10 months agopython: manager: check the current user against the default constant when the server...
Aleš Mrázek [Tue, 24 Sep 2024 08:08:37 +0000 (10:08 +0200)] 
python: manager: check the current user against the default constant when the server starts

10 months agodatamodel: types: files: improvements
Aleš Mrázek [Mon, 23 Sep 2024 15:57:26 +0000 (17:57 +0200)] 
datamodel: types: files: improvements

- compare intended uid with current working uid
- check permissions for current user and group
- use os.getuid() and pwd.getpwuid() instead of os.getlogin() #919

10 months agoMerge branch 'python-constants-module' into 'master' docs-develop-mast-tzgd0f/deployments/5242 docs-develop-mast-tzgd0f/deployments/5244 docs-develop-mast-tzgd0f/deployments/5247 docs-develop-mast-tzgd0f/deployments/5255 docs-develop-mast-tzgd0f/deployments/5258 docs-develop-mast-tzgd0f/deployments/5261 docs-develop-mast-tzgd0f/deployments/5264 docs-develop-mast-tzgd0f/deployments/5265 docs-develop-mast-tzgd0f/deployments/5268 docs-develop-mast-tzgd0f/deployments/5269 docs-develop-mast-tzgd0f/deployments/5272 docs-develop-mast-tzgd0f/deployments/5273 docs-develop-mast-tzgd0f/deployments/5276 docs-develop-mast-tzgd0f/deployments/5277 docs-develop-mast-tzgd0f/deployments/5280 docs-develop-nigh-589znp/deployments/5245 docs-develop-nigh-589znp/deployments/5256 docs-develop-nigh-589znp/deployments/5262 docs-develop-nigh-589znp/deployments/5266 docs-develop-nigh-589znp/deployments/5270 docs-develop-nigh-589znp/deployments/5274 docs-develop-nigh-589znp/deployments/5278
Aleš Mrázek [Mon, 30 Sep 2024 09:34:29 +0000 (11:34 +0200)] 
Merge branch 'python-constants-module' into 'master'

python/knot_resolver: meson configured constants

See merge request knot/knot-resolver!1613

10 months ago.gitlab-ci.yml: IMAGE_TAG update docs-develop-pyth-8ypubt/deployments/5241
Aleš Mrázek [Tue, 24 Sep 2024 11:49:24 +0000 (13:49 +0200)] 
.gitlab-ci.yml: IMAGE_TAG update

10 months agoCI: use standard docker for pkg:arch
Jakub Ružička [Mon, 23 Sep 2024 14:09:33 +0000 (16:09 +0200)] 
CI: use standard docker for pkg:arch

Arch LXC images currently don't work :(

Standard docker can't test systemd but it's better than nothing.

10 months agotests/packaging: skip systemd tests without systemd
Jakub Ružička [Mon, 23 Sep 2024 14:59:52 +0000 (16:59 +0200)] 
tests/packaging: skip systemd tests without systemd

10 months agodistro/pkg: update packaging for single python module
Jakub Ružička [Thu, 19 Sep 2024 14:05:44 +0000 (16:05 +0200)] 
distro/pkg: update packaging for single python module

10 months agopyproject.toml: exclude meson templates
Jakub Ružička [Tue, 24 Sep 2024 09:10:23 +0000 (11:10 +0200)] 
pyproject.toml: exclude meson templates

Make sure constants.py.in and meson.build are excluded from
knot_resolver python module.

10 months agopython: meson constants.py template moved to knot_resolver module
Aleš Mrázek [Thu, 19 Sep 2024 13:43:30 +0000 (15:43 +0200)] 
python: meson constants.py template moved to knot_resolver module

10 months agoscripts/poe-tasks: created gen-constantspy script
Aleš Mrázek [Tue, 17 Sep 2024 22:33:17 +0000 (00:33 +0200)] 
scripts/poe-tasks: created gen-constantspy script

New script to build constants.py module using Meson. Also check that the module is the current one.

10 months agoscripts/poe-tasks: _env.sh improvements and formatting
Aleš Mrázek [Tue, 17 Sep 2024 22:05:11 +0000 (00:05 +0200)] 
scripts/poe-tasks: _env.sh improvements and formatting

10 months agoscripts/poe-tasks: ./configure not required for some tasks
Aleš Mrázek [Mon, 16 Sep 2024 16:28:49 +0000 (18:28 +0200)] 
scripts/poe-tasks: ./configure not required for some tasks

10 months agomeson.build: use non-standard prefix for run_dir
Aleš Mrázek [Mon, 16 Sep 2024 15:56:27 +0000 (17:56 +0200)] 
meson.build: use non-standard prefix for run_dir

10 months agoscripts/poe-tasks: doc-schema added
Aleš Mrázek [Mon, 16 Sep 2024 15:53:12 +0000 (17:53 +0200)] 
scripts/poe-tasks: doc-schema added

The script that generates the configuration JSON schema with the correct values.

10 months agopython: use CACHE_DIR and RUN_DIR constants
Aleš Mrázek [Mon, 16 Sep 2024 10:59:36 +0000 (12:59 +0200)] 
python: use CACHE_DIR and RUN_DIR constants

10 months agopython: removed env vars from python code
Aleš Mrázek [Sun, 15 Sep 2024 19:45:36 +0000 (21:45 +0200)] 
python: removed env vars from python code

10 months agoscripts/poe-tasks: improvements
Aleš Mrázek [Fri, 13 Sep 2024 09:59:13 +0000 (11:59 +0200)] 
scripts/poe-tasks: improvements

10 months agodoc/_static/config.schema.json: update
Aleš Mrázek [Thu, 12 Sep 2024 20:45:16 +0000 (22:45 +0200)] 
doc/_static/config.schema.json: update

10 months agoci/images/manager/DockerFile removed
Aleš Mrázek [Thu, 12 Sep 2024 13:15:41 +0000 (15:15 +0200)] 
ci/images/manager/DockerFile removed

Docker images are handled in a separate repository (knot-resolver-ci), so this file is no longer needed.

10 months agoscripts/poe-tasks: use id cmd instead of $USER env var in _env.sh
Aleš Mrázek [Tue, 10 Sep 2024 14:00:26 +0000 (16:00 +0200)] 
scripts/poe-tasks: use id cmd instead of $USER env var in _env.sh

10 months agoci: manager: configure meson before every test
Aleš Mrázek [Tue, 10 Sep 2024 10:02:32 +0000 (12:02 +0200)] 
ci: manager: configure meson before every test

10 months agopython/knot_resolver: constants fixes
Aleš Mrázek [Tue, 10 Sep 2024 09:18:11 +0000 (11:18 +0200)] 
python/knot_resolver: constants fixes

10 months agopython/knot_resolver: use constants.py configured by Meson
Aleš Mrázek [Tue, 10 Sep 2024 09:07:09 +0000 (11:07 +0200)] 
python/knot_resolver: use constants.py configured by Meson

10 months agoscripts/poe-tasks: text and naming improvements
Aleš Mrázek [Mon, 9 Sep 2024 21:44:28 +0000 (23:44 +0200)] 
scripts/poe-tasks: text and naming improvements

10 months agoMerge !1618: daemon udp connect: use connected udp communication docs-develop-mast-tzgd0f/deployments/5240
Vladimír Čunát [Mon, 30 Sep 2024 08:07:22 +0000 (10:07 +0200)] 
Merge !1618: daemon udp connect: use connected udp communication

10 months agomeson, NEWS: bump minimal libuv version docs-develop-daem-dkiae0/deployments/5239
Vladimír Čunát [Mon, 30 Sep 2024 07:50:52 +0000 (09:50 +0200)] 
meson, NEWS: bump minimal libuv version

10 months agodaemon udp connect: use connected udp communication
Frantisek Tobias [Mon, 30 Sep 2024 06:01:49 +0000 (08:01 +0200)] 
daemon udp connect: use connected udp communication

10 months agoMerge !1617: daemon/session2: avoid incorrectly generated errors docs-develop-mast-tzgd0f/deployments/5213 docs-develop-mast-tzgd0f/deployments/5214 docs-develop-mast-tzgd0f/deployments/5217 docs-develop-mast-tzgd0f/deployments/5218 docs-develop-mast-tzgd0f/deployments/5221 docs-develop-mast-tzgd0f/deployments/5227 docs-develop-mast-tzgd0f/deployments/5230 docs-develop-mast-tzgd0f/deployments/5231 docs-develop-mast-tzgd0f/deployments/5233 docs-develop-mast-tzgd0f/deployments/5234 docs-develop-mast-tzgd0f/deployments/5237 docs-develop-nigh-589znp/deployments/5215 docs-develop-nigh-589znp/deployments/5219 docs-develop-nigh-589znp/deployments/5228 docs-develop-nigh-589znp/deployments/5235
Vladimír Čunát [Wed, 25 Sep 2024 08:49:39 +0000 (10:49 +0200)] 
Merge !1617: daemon/session2: avoid incorrectly generated errors

10 months agodaemon/session2: avoid incorrectly generated errors docs-develop-uv-t-p5pt2q/deployments/5212
Vladimír Čunát [Wed, 25 Sep 2024 08:39:43 +0000 (10:39 +0200)] 
daemon/session2: avoid incorrectly generated errors

The _try_ functions additionally return positive values on success,
and the code around didn't deal with that.

So far there's no evidence that this caused any issues beyond debug-logs:
  [prlayr] ... iteration of group ... ended with status 'Unknown error ...

10 months agoMerge !1609: local-data: generate CNAMEs from DNAMEs docs-develop-mast-tzgd0f/deployments/5211
Vladimír Čunát [Wed, 25 Sep 2024 08:38:48 +0000 (10:38 +0200)] 
Merge !1609: local-data: generate CNAMEs from DNAMEs

10 months agolocal-data: generate CNAMEs from DNAMEs docs-develop-loca-9060ob/deployments/5210
Vladimír Čunát [Wed, 25 Sep 2024 08:27:16 +0000 (10:27 +0200)] 
local-data: generate CNAMEs from DNAMEs

As with some other aspects, these DNAMEs do not work exactly as
in a real zone, e.g. they don't cause occlusion.

10 months agoMerge !1615: nits (see commits) docs-develop-mast-tzgd0f/deployments/5150 docs-develop-mast-tzgd0f/deployments/5153 docs-develop-mast-tzgd0f/deployments/5156 docs-develop-mast-tzgd0f/deployments/5159 docs-develop-mast-tzgd0f/deployments/5162 docs-develop-mast-tzgd0f/deployments/5163 docs-develop-mast-tzgd0f/deployments/5166 docs-develop-mast-tzgd0f/deployments/5169 docs-develop-mast-tzgd0f/deployments/5172 docs-develop-mast-tzgd0f/deployments/5173 docs-develop-mast-tzgd0f/deployments/5176 docs-develop-mast-tzgd0f/deployments/5177 docs-develop-mast-tzgd0f/deployments/5180 docs-develop-mast-tzgd0f/deployments/5181 docs-develop-mast-tzgd0f/deployments/5184 docs-develop-mast-tzgd0f/deployments/5197 docs-develop-mast-tzgd0f/deployments/5200 docs-develop-mast-tzgd0f/deployments/5206 docs-develop-mast-tzgd0f/deployments/5209 docs-develop-nigh-589znp/deployments/5154 docs-develop-nigh-589znp/deployments/5160 docs-develop-nigh-589znp/deployments/5164 docs-develop-nigh-589znp/deployments/5170 docs-develop-nigh-589znp/deployments/5174 docs-develop-nigh-589znp/deployments/5178 docs-develop-nigh-589znp/deployments/5182 docs-develop-nigh-589znp/deployments/5198 docs-develop-nigh-589znp/deployments/5207
Vladimír Čunát [Mon, 16 Sep 2024 15:19:24 +0000 (17:19 +0200)] 
Merge !1615: nits (see commits)

10 months agodoc/user/gettingstarted-install.rst: don't advertise launchpad here docs-develop-nits-2dntdj/deployments/5149
Vladimír Čunát [Mon, 16 Sep 2024 15:10:29 +0000 (17:10 +0200)] 
doc/user/gettingstarted-install.rst: don't advertise launchpad here

We have it, but it probably adds more confusion than use to mention it here.

10 months agopython datamodel: tweak cache TTL validation
Vladimír Čunát [Mon, 16 Sep 2024 15:10:29 +0000 (17:10 +0200)] 
python datamodel: tweak cache TTL validation

I'm not aware of a use case for the limits to be equal,
but it's at least a sane combination.

10 months agoCI: allow_failure in pkg:arch
Vladimír Čunát [Mon, 16 Sep 2024 15:10:25 +0000 (17:10 +0200)] 
CI: allow_failure in pkg:arch

So far we don't know how to fix this.

10 months agoMerge !1606: doc/dev: add layered-protocols.rst docs-develop-mast-tzgd0f/deployments/5148
Vladimír Čunát [Mon, 16 Sep 2024 14:40:00 +0000 (16:40 +0200)] 
Merge !1606: doc/dev: add layered-protocols.rst

10 months agodoc/dev/layered-protocols.rst: tweak the intro titles docs-develop-doc-xywm10/deployments/5147
Vladimír Čunát [Mon, 2 Sep 2024 11:00:36 +0000 (13:00 +0200)] 
doc/dev/layered-protocols.rst: tweak the intro titles

10 months agodoc/dev: add layered-protocols.rst
Oto Šťáva [Fri, 30 Aug 2024 13:34:00 +0000 (15:34 +0200)] 
doc/dev: add layered-protocols.rst

This is a `pandoc` conversion with just a couple tiny manual modifications.

10 months agoMerge !1614: daemon/session2: more Coverity in *wrap_after() docs-develop-mast-tzgd0f/deployments/5146
Vladimír Čunát [Mon, 16 Sep 2024 13:43:13 +0000 (15:43 +0200)] 
Merge !1614: daemon/session2: more Coverity in *wrap_after()

10 months agodaemon/session2: more Coverity in *wrap_after() docs-develop-cove-bpjqwc/deployments/5140
Vladimír Čunát [Fri, 13 Sep 2024 08:24:31 +0000 (10:24 +0200)] 
daemon/session2: more Coverity in *wrap_after()

Let's assert that we don't run over the edge.
If I look right, so far we don't use this in a way
that this could happen, and I can't see how it would make sense.

10 months agoMerge !1612: coverity fixes docs-develop-mast-tzgd0f/deployments/5120 docs-develop-mast-tzgd0f/deployments/5124 docs-develop-mast-tzgd0f/deployments/5127 docs-develop-mast-tzgd0f/deployments/5131 docs-develop-mast-tzgd0f/deployments/5134 docs-develop-mast-tzgd0f/deployments/5136 docs-develop-mast-tzgd0f/deployments/5139 docs-develop-mast-tzgd0f/deployments/5141 docs-develop-mast-tzgd0f/deployments/5144 docs-develop-nigh-589znp/deployments/5125 docs-develop-nigh-589znp/deployments/5132 docs-develop-nigh-589znp/deployments/5137 docs-develop-nigh-589znp/deployments/5142
Vladimír Čunát [Thu, 12 Sep 2024 13:58:50 +0000 (15:58 +0200)] 
Merge !1612: coverity fixes

10 months agolib/generic/array: extend the return type of array_push*() docs-develop-cove-uiak3c/deployments/5118
Vladimír Čunát [Thu, 12 Sep 2024 12:54:16 +0000 (14:54 +0200)] 
lib/generic/array: extend the return type of array_push*()

In case of no error, the index is returned,
but `int` isn't a great choice for returning array indices.
(though I doubt that we can get anywhere near 2^31 elements in practice)

Detected by Coverity.

10 months agodaemon/session2: try to avoid triggering Coverity
Vladimír Čunát [Thu, 12 Sep 2024 12:54:16 +0000 (14:54 +0200)] 
daemon/session2: try to avoid triggering Coverity

Strictly speaking, the .ip member is on 16 bytes long,
so it doesn't suffice in case it's an IPv6.
Practically it doesn't matter, as there's the union containing all this.

Either way, I think it's cleaner to copy to the whole union.
Also we don't support it in this case,
but theoretically e.g. an AF_UNIX could happen,
so let's be defensive and guard by kr_require().