]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Vladimír Čunát [Fri, 20 Dec 2024 12:27:41 +0000 (13:27 +0100)]
kr_module_load(): avoid calling deinit() on errors
If the module's init() failed or wasn't even called,
I see it as an API error to call deinit().
When init() fails, it should take care of cleanup itself.
Vladimír Čunát [Tue, 3 Dec 2024 11:01:16 +0000 (12:01 +0100)]
Merge !1450: manager: subprocess debugging via GDB
Aleš Mrázek [Tue, 3 Dec 2024 10:40:45 +0000 (11:40 +0100)]
doc: debugging with kresctl moved to dev
Oto Šťáva [Mon, 18 Mar 2024 11:21:28 +0000 (12:21 +0100)]
kresctl debug: add --print-only and be silent by default
Oto Šťáva [Fri, 15 Mar 2024 09:16:16 +0000 (10:16 +0100)]
kresctl debug: adjust defaults, documentation
Oto Šťáva [Thu, 5 Oct 2023 13:49:00 +0000 (15:49 +0200)]
kresctl debug: allow paths for '--gdb' and add existence checks
Oto Šťáva [Wed, 4 Oct 2023 13:01:07 +0000 (15:01 +0200)]
kresctl: debug command help message
Oto Šťáva [Fri, 22 Sep 2023 08:07:29 +0000 (10:07 +0200)]
manager, kresctl: print status in pids
Oto Šťáva [Mon, 18 Sep 2023 13:53:40 +0000 (15:53 +0200)]
manager: add more verbose PIDs listing
Oto Šťáva [Thu, 24 Aug 2023 06:05:21 +0000 (08:05 +0200)]
kresctl: add command to run a debugger on subprocesses
Oto Šťáva [Tue, 22 Aug 2023 07:55:03 +0000 (09:55 +0200)]
manager: add option to list PIDs
This commit is the groundwork for adding support for debugging via GDB
(or another compatible debugger). This way, we can retrieve the
subprocesses' PIDs and pass those to the debugger.
Vladimír Čunát [Tue, 3 Dec 2024 08:32:22 +0000 (09:32 +0100)]
Merge !1626: manager: TLS certificate files auto-reload
Aleš Mrázek [Mon, 2 Dec 2024 21:56:35 +0000 (22:56 +0100)]
doc, NEWS: added 'watchdog' info
Aleš Mrázek [Mon, 2 Dec 2024 20:09:03 +0000 (21:09 +0100)]
.gitlab-ci.yml: pkg: alma-9: install 'watchdog' with PyPi just for testing
python-watchdog is not included in the official Alma 9 packages
Aleš Mrázek [Mon, 2 Dec 2024 19:24:05 +0000 (20:24 +0100)]
.gitlab-ci.yml: pkg: arch: install python-watchdog
Aleš Mrázek [Thu, 28 Nov 2024 16:44:58 +0000 (17:44 +0100)]
manager: files watchdog: watch parent directory for changes
Watching the whole parent directory is better because we can see file deletion and creation and there is no need to reinitiate the watchdog when a file is replaced.
Aleš Mrázek [Thu, 28 Nov 2024 09:57:38 +0000 (10:57 +0100)]
.gitlab-ci.yml: pkg-tests: show knot-resolver.service log
Aleš Mrázek [Wed, 27 Nov 2024 10:38:25 +0000 (11:38 +0100)]
manager: server: globally handle configuration validation errors
Aleš Mrázek [Tue, 26 Nov 2024 22:01:38 +0000 (23:01 +0100)]
tests/packaging/interactive: added watchdog test
Aleš Mrázek [Tue, 26 Nov 2024 20:43:48 +0000 (21:43 +0100)]
tests/packaging/interactive: suppress some commands stdout
Aleš Mrázek [Tue, 26 Nov 2024 20:02:45 +0000 (21:02 +0100)]
distro/pkg: added python-watchdog as optional dependency
Aleš Mrázek [Mon, 25 Nov 2024 11:51:38 +0000 (12:51 +0100)]
manager: files watchdog: watchdog created specifically for TLS certificate files
- on_modified: the command is delayed to avoid sending too many
- on_deleted: files watching is stopped rescheduled (replaced file)
Aleš Mrázek [Fri, 18 Oct 2024 09:13:54 +0000 (11:13 +0200)]
python/knot_resolver/manager: added files watchdog
Aleš Mrázek [Thu, 17 Oct 2024 15:42:30 +0000 (17:42 +0200)]
pyproject.toml: 'watchdog' added as optional dependency
Vladimír Čunát [Mon, 2 Dec 2024 08:51:41 +0000 (09:51 +0100)]
Merge !1608: daemon: add sd_notify alternative
Frantisek Tobias [Mon, 2 Sep 2024 12:20:30 +0000 (14:20 +0200)]
daemon: add sd_notify alternative
This allows kresd to run even if libsystemd is not available.
Vladimír Čunát [Mon, 25 Nov 2024 13:06:21 +0000 (14:06 +0100)]
Merge !1633: daemon/worker: decrease log level of uv_udp_connect() failure
Vladimír Čunát [Tue, 19 Nov 2024 07:42:44 +0000 (08:42 +0100)]
daemon/worker: decrease log level of uv_udp_connect() failure
In particular, ENETUNREACH happens on systems without IPv6,
and it doesn't make much sense to log about that by default:
[io ] Failed to establish udp connection: address not available
Introduced in
82e1d596 (v6.0.9).
Also log the IP address.
Vladimír Čunát [Mon, 25 Nov 2024 11:44:12 +0000 (12:44 +0100)]
Merge !1639: .gitlab-ci.yml: pkg:arch: run proper LXC tests again
Vladimír Čunát [Wed, 20 Nov 2024 06:12:14 +0000 (07:12 +0100)]
.gitlab-ci.yml: pkg:arch: install prometheus explicitly
Vladimír Čunát [Tue, 19 Nov 2024 14:49:29 +0000 (15:49 +0100)]
Revert "CI: use standard docker for pkg:arch"
This reverts commit
c1660b0236c0b0d6abce5ebf8b497a9f905dc071 .
Vladimír Čunát [Mon, 25 Nov 2024 11:26:51 +0000 (12:26 +0100)]
Merge !1640: python: controller: write subprocess config synchronously
Aleš Mrázek [Thu, 21 Nov 2024 13:18:31 +0000 (14:18 +0100)]
python: controller: write subprocess config synchronously
Vladimír Čunát [Tue, 19 Nov 2024 14:39:50 +0000 (15:39 +0100)]
Merge !1638: ci: pkg: add Ubuntu 24.10
Aleš Mrázek [Tue, 19 Nov 2024 14:28:24 +0000 (15:28 +0100)]
.gitlab-ci.yml: pkg: added Ubuntu 24.10
Vladimír Čunát [Tue, 19 Nov 2024 14:31:27 +0000 (15:31 +0100)]
Merge !1637: ci: pkg: add Fedora 41, drop Fedora 39
Aleš Mrázek [Tue, 5 Nov 2024 07:58:26 +0000 (08:58 +0100)]
.gitlab-ci.yml: pkg: added Fedora 41
Removed Fedora 39
Vladimír Čunát [Tue, 19 Nov 2024 13:34:15 +0000 (14:34 +0100)]
Merge !1636: ci: docker: specify platform explicitly
Aleš Mrázek [Tue, 19 Nov 2024 13:08:58 +0000 (14:08 +0100)]
.gitlab-ci.yml: docker: specify platform explicitly
Aleš Mrázek [Mon, 18 Nov 2024 14:06:54 +0000 (15:06 +0100)]
Merge branch 'ci-docker-tags' into 'master'
ci: added missing tags to docker jobs
See merge request knot/knot-resolver!1632
Aleš Mrázek [Mon, 18 Nov 2024 14:02:51 +0000 (15:02 +0100)]
.gitlab-ci.yml: added missing tags to docker jobs
Aleš Mrázek [Mon, 18 Nov 2024 13:53:44 +0000 (14:53 +0100)]
Merge branch 'ci-docker-except-null' into 'master'
ci: reset 'except:' for docker jobs
See merge request knot/knot-resolver!1631
Aleš Mrázek [Mon, 18 Nov 2024 13:49:53 +0000 (14:49 +0100)]
.gitlab-ci.yml: reset 'except:' for docker jobs
Aleš Mrázek [Mon, 18 Nov 2024 13:17:17 +0000 (14:17 +0100)]
Merge branch 'ci-docker-images-tests' into 'master'
ci: docker: cross-platform build, test and deploy
See merge request knot/knot-resolver!1629
Aleš Mrázek [Fri, 15 Nov 2024 05:06:50 +0000 (06:06 +0100)]
.gitlab-ci.yml: docker:build
Aleš Mrázek [Thu, 14 Nov 2024 21:06:27 +0000 (22:06 +0100)]
.gitlab-ci.yml: docker: jobs better naming
Aleš Mrázek [Thu, 14 Nov 2024 18:45:41 +0000 (19:45 +0100)]
default API socket update
- tests/packaging/interactive
- etc/config/config.yaml
- documentation
Aleš Mrázek [Thu, 14 Nov 2024 15:17:41 +0000 (16:17 +0100)]
etc/config/config.examples.docker.yaml: keep management API config default
Aleš Mrázek [Wed, 13 Nov 2024 08:46:39 +0000 (09:46 +0100)]
.gitlab-ci.yml: added docker image test
Aleš Mrázek [Wed, 13 Nov 2024 08:46:00 +0000 (09:46 +0100)]
.gitlab-ci.yml: docker: added cross-platform build and deploy
Vladimír Čunát [Mon, 11 Nov 2024 13:28:35 +0000 (14:28 +0100)]
NEWS: add forgotten "rate-limiting" bullet
Aleš Mrázek [Mon, 11 Nov 2024 09:40:01 +0000 (10:40 +0100)]
Merge branch 'release-6.0.9' into 'master'
Release 6.0.9
See merge request knot/knot-resolver!1628
Aleš Mrázek [Mon, 11 Nov 2024 09:27:19 +0000 (10:27 +0100)]
.gitlab-ci.yml: update path for 'make-obs.sh' script
Aleš Mrázek [Mon, 11 Nov 2024 08:59:41 +0000 (09:59 +0100)]
AUTHORS: update
Aleš Mrázek [Mon, 11 Nov 2024 08:51:52 +0000 (09:51 +0100)]
release 6.0.9
Vladimír Čunát [Mon, 11 Nov 2024 08:53:36 +0000 (09:53 +0100)]
Merge !1624: add rate-limiting
Vladimír Čunát [Mon, 11 Nov 2024 08:39:21 +0000 (09:39 +0100)]
Merge branch 'master' into rrl-wip
Lukáš Ondráček [Thu, 7 Nov 2024 16:11:53 +0000 (17:11 +0100)]
doc/user: add ratelimiting section
(with minor changes from vcunat)
Aleš Mrázek [Mon, 11 Nov 2024 08:27:24 +0000 (09:27 +0100)]
Merge branch 'docker-cache' into 'master'
docker: cache improvements
See merge request knot/knot-resolver!1627
Aleš Mrázek [Mon, 11 Nov 2024 08:16:39 +0000 (09:16 +0100)]
NEWS: fixed formatting
Aleš Mrázek [Mon, 11 Nov 2024 08:00:38 +0000 (09:00 +0100)]
NEWS: update docker improvements
Aleš Mrázek [Fri, 8 Nov 2024 06:07:28 +0000 (07:07 +0100)]
doc/user/deployment-docker.rst: added info about cache
Aleš Mrázek [Fri, 8 Nov 2024 06:06:42 +0000 (07:06 +0100)]
Dockerfile: added VOLUME for cache
Vladimír Čunát [Wed, 6 Nov 2024 10:16:11 +0000 (11:16 +0100)]
rate-limiting config: use more precise types
This gives us a bit more consistency.
I suppose that IntRangeBase isn't worth doing for the other cases.
Aleš helped with this.
Vladimír Čunát [Tue, 5 Nov 2024 09:58:17 +0000 (10:58 +0100)]
Merge !1625: docker: improvements and fixes
Aleš Mrázek [Mon, 4 Nov 2024 12:47:57 +0000 (13:47 +0100)]
NEWS: update about docker multiplatform builds
Aleš Mrázek [Mon, 4 Nov 2024 10:13:29 +0000 (11:13 +0100)]
Dockerfile: set root user and group in constants.py
Aleš Mrázek [Fri, 1 Nov 2024 10:03:44 +0000 (11:03 +0100)]
Dockerfile: prepare shared directories
Aleš Mrázek [Fri, 1 Nov 2024 10:03:00 +0000 (11:03 +0100)]
Dockerfile: edit config path
Aleš Mrázek [Fri, 1 Nov 2024 09:45:28 +0000 (10:45 +0100)]
doc/user/deployment-docker.rst: info update
Lukáš Ondráček [Mon, 4 Nov 2024 16:19:12 +0000 (17:19 +0100)]
lib/mmapped: fix typo
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.
Lukáš Ondráček [Thu, 31 Oct 2024 16:39:31 +0000 (17:39 +0100)]
daemon/mmapped: use static_assert on undefined padding
Lukáš Ondráček [Thu, 31 Oct 2024 16:28:01 +0000 (17:28 +0100)]
daemon/ratelimiting: add log-period and dry-run
Lukáš Ondráček [Thu, 31 Oct 2024 14:03:30 +0000 (15:03 +0100)]
lib/kru: improve code formatting
Lukáš Ondráček [Wed, 30 Oct 2024 18:09:41 +0000 (19:09 +0100)]
daemon/ratelimiting: polish
Lukáš Ondráček [Wed, 30 Oct 2024 15:46:08 +0000 (16:46 +0100)]
daemon/ratelimiting: fix runtime configuration reload
Lukáš Ondráček [Thu, 24 Oct 2024 16:37:00 +0000 (18:37 +0200)]
daemon/ratelimiting: use slip instead of tc_limit
Aleš Mrázek [Fri, 1 Nov 2024 09:17:29 +0000 (10:17 +0100)]
Merge branch 'docker-makefile' into 'master'
scripts: created Makefile.docker
See merge request knot/knot-resolver!1623
Vladimír Čunát [Thu, 31 Oct 2024 09:12:13 +0000 (10:12 +0100)]
scripts/Makefile.docker: allow calling from a different directory
Aleš Mrázek [Wed, 30 Oct 2024 10:56:17 +0000 (11:56 +0100)]
Dockerfile: temporary fix for files/dirs permission validation bug in docker
Aleš Mrázek [Wed, 30 Oct 2024 10:47:15 +0000 (11:47 +0100)]
scripts: created Makefile.docker
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 .
Lukáš Ondráček [Wed, 23 Oct 2024 17:59:02 +0000 (19:59 +0200)]
daemon/defer: disable by default, use real time in KRU
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 .
Lukáš Ondráček [Mon, 21 Oct 2024 17:48:46 +0000 (19:48 +0200)]
Merge remote-tracking branch 'master' into rrl-wip
Vladimír Čunát [Sun, 20 Oct 2024 09:24:06 +0000 (11:24 +0200)]
Merge !1621: python: Ruff linter and formatter
Aleš Mrázek [Thu, 17 Oct 2024 10:09:55 +0000 (12:09 +0200)]
doc/dev/manager-dev-env.rst: update
Aleš Mrázek [Tue, 15 Oct 2024 15:58:00 +0000 (17:58 +0200)]
tests/pytests: ruff linter fixes
Aleš Mrázek [Tue, 15 Oct 2024 15:57:29 +0000 (17:57 +0200)]
python/knot_resolver: ruff linter fixes
Aleš Mrázek [Fri, 11 Oct 2024 09:17:12 +0000 (11:17 +0200)]
.gitlab-ci.manager.yml: lint and format added
Aleš Mrázek [Fri, 11 Oct 2024 09:15:35 +0000 (11:15 +0200)]
scripts/poe-tasks: separate lint from other check script
Aleš Mrázek [Thu, 10 Oct 2024 13:59:16 +0000 (15:59 +0200)]
.gitlab-ci.manager.yml: install optional deps
Aleš Mrázek [Thu, 10 Oct 2024 12:36:28 +0000 (14:36 +0200)]
lint: pylint and flake8 removed
Aleš Mrázek [Wed, 9 Oct 2024 20:27:56 +0000 (22:27 +0200)]
python: linting fixes
Aleš Mrázek [Wed, 9 Oct 2024 20:19:31 +0000 (22:19 +0200)]
python: code format fixes
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
Aleš Mrázek [Wed, 9 Oct 2024 16:55:36 +0000 (18:55 +0200)]
pyproject.toml: ruff linter and code formatter added
Lukáš Ondráček [Thu, 17 Oct 2024 12:11:27 +0000 (14:11 +0200)]
pytests: change log level from debug to notice
Lukáš Ondráček [Wed, 16 Oct 2024 14:43:02 +0000 (16:43 +0200)]
daemon/ratelimiting: lint fixes