]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Aleš Mrázek [Tue, 14 Jan 2025 11:07:19 +0000 (12:07 +0100)]
fixup! .gitlab-ci.yml: docker:test:cross-platform: added missing interactive tests
Aleš Mrázek [Tue, 14 Jan 2025 10:30:56 +0000 (11:30 +0100)]
.gitlab-ci.yml: docker:test:cross-platform: added missing interactive tests
Aleš Mrázek [Tue, 14 Jan 2025 09:30:57 +0000 (10:30 +0100)]
Merge branch 'tls-cert-files-watchdog-config' into 'master'
manager: datamodel: 'files-watchdog' config for TLS certificate files
See merge request knot/knot-resolver!1645
Aleš Mrázek [Mon, 13 Jan 2025 21:45:16 +0000 (22:45 +0100)]
datamodel: types: files: handle PermissionError
Aleš Mrázek [Mon, 13 Jan 2025 13:46:20 +0000 (14:46 +0100)]
NEWS: update
Aleš Mrázek [Thu, 9 Jan 2025 12:58:44 +0000 (13:58 +0100)]
manager: files: watchdog: added 'files-watchdog' to TLS config
Aleš Mrázek [Mon, 6 Jan 2025 15:24:31 +0000 (16:24 +0100)]
doc/user/config-network-server-tls.rst: added info about 'files-watchdog' configuration
Aleš Mrázek [Mon, 6 Jan 2025 15:23:27 +0000 (16:23 +0100)]
tests/packaging/interactive/watchdog.sh: updated with 'files-watchdog' config
Aleš Mrázek [Mon, 6 Jan 2025 15:05:27 +0000 (16:05 +0100)]
datamodel: network: tls: added 'files-watchdog' option
Aleš Mrázek [Mon, 6 Jan 2025 15:01:43 +0000 (16:01 +0100)]
python: constants: added optional dependency import check (prometheus and watchdog)
Aleš Mrázek [Tue, 14 Jan 2025 09:02:02 +0000 (10:02 +0100)]
Merge branch 'manager-files-reload' into 'master'
manager: TLS cert files reload (force)
See merge request knot/knot-resolver!1644
Aleš Mrázek [Mon, 13 Jan 2025 20:57:33 +0000 (21:57 +0100)]
NEWS: update
Aleš Mrázek [Fri, 10 Jan 2025 14:29:05 +0000 (15:29 +0100)]
tests/packaging/interactive: added files_reload.sh
Aleš Mrázek [Fri, 27 Dec 2024 15:10:11 +0000 (16:10 +0100)]
manager: register reload_files callback
Aleš Mrázek [Fri, 27 Dec 2024 15:05:51 +0000 (16:05 +0100)]
manager: config_store: added only_on_no_changes_update decorator
This decorator will only trigger the function if the selected config has not been changed.
Aleš Mrázek [Fri, 27 Dec 2024 15:02:51 +0000 (16:02 +0100)]
manager: files: added files_reload callback
Now it will only reload the TLS cert files.
Vladimír Čunát [Tue, 14 Jan 2025 08:44:28 +0000 (09:44 +0100)]
Merge !1641: Request prioritization (defer)
Vladimír Čunát [Tue, 14 Jan 2025 08:05:54 +0000 (09:05 +0100)]
doc/user: defer nits
Vladimír Čunát [Mon, 6 Jan 2025 15:24:17 +0000 (16:24 +0100)]
defer nits
Swapping the fields reduces the size of the struct.
(I see no reason for the previous field order.)
Lukáš Ondráček [Mon, 13 Jan 2025 12:35:48 +0000 (13:35 +0100)]
NEWS: add defer bullet
Lukáš Ondráček [Mon, 13 Jan 2025 12:27:25 +0000 (13:27 +0100)]
daemon/defer: disable by default
Lukáš Ondráček [Fri, 10 Jan 2025 17:04:41 +0000 (18:04 +0100)]
daemon/defer: redesign UDP and non-UDP phase transition
Lukáš Ondráček [Thu, 9 Jan 2025 16:38:21 +0000 (17:38 +0100)]
daemon/defer: update uv time after longer operations
Lukáš Ondráček [Wed, 8 Jan 2025 23:17:43 +0000 (00:17 +0100)]
daemon/defer: fix accounting time to phases
Lukáš Ondráček [Wed, 8 Jan 2025 23:13:16 +0000 (00:13 +0100)]
daemon/defer: fix infinite UDP reclassification after TCP request
Lukáš Ondráček [Mon, 6 Jan 2025 17:45:54 +0000 (18:45 +0100)]
daemon/defer: fix memory consumption limit check
Lukáš Ondráček [Mon, 6 Jan 2025 15:18:37 +0000 (16:18 +0100)]
doc: add defer section
Lukáš Ondráček [Thu, 2 Jan 2025 15:22:33 +0000 (16:22 +0100)]
daemon/defer: fix negative priority of follow-up stream packets
Lukáš Ondráček [Thu, 2 Jan 2025 13:38:53 +0000 (14:38 +0100)]
Merge branch 'master' into defer-wip
Lukáš Ondráček [Mon, 30 Dec 2024 18:32:34 +0000 (19:32 +0100)]
daemon/defer: fix configuration reload
Lukáš Ondráček [Mon, 30 Dec 2024 18:15:33 +0000 (19:15 +0100)]
daemon/defer: tidy
Vladimír Čunát [Mon, 30 Dec 2024 16:25:20 +0000 (17:25 +0100)]
daemon/defer: avoid warnings from gcc and coverity
Lukáš Ondráček [Mon, 30 Dec 2024 15:01:05 +0000 (16:01 +0100)]
daemon/defer: add subpriorities by prefix length
Aleš Mrázek [Mon, 23 Dec 2024 08:26:44 +0000 (09:26 +0100)]
Merge branch 'kresctl-tab-completion' into 'master'
kresctl: implement tab completion
See merge request knot/knot-resolver!1622
Jakub Ružička [Fri, 20 Dec 2024 17:47:21 +0000 (18:47 +0100)]
distro: add bash completion to packages
Aleš Mrázek [Fri, 20 Dec 2024 13:29:06 +0000 (14:29 +0100)]
NEWS: update
Aleš Mrázek [Fri, 20 Dec 2024 10:25:34 +0000 (11:25 +0100)]
python: client: completion: config: remove COMP_NOSPACE for last node
Aleš Mrázek [Fri, 20 Dec 2024 10:12:24 +0000 (11:12 +0100)]
utils/shell-completion/meson.build: install client.bash on a system
Aleš Mrázek [Thu, 19 Dec 2024 23:33:49 +0000 (00:33 +0100)]
python: client: completion: not to sugest already used args and alternatives to them
Frantisek Tobias [Tue, 10 Dec 2024 07:23:44 +0000 (08:23 +0100)]
kresctl: tab-completion: stop appending space after one config layer is completed
Frantisek Tobias [Fri, 6 Dec 2024 15:20:34 +0000 (16:20 +0100)]
python: client: add completion for all config layers
Aleš Mrázek [Mon, 16 Dec 2024 17:14:15 +0000 (18:14 +0100)]
python: client: handle the escape '--' argument better because we need it in completion
Aleš Mrázek [Mon, 16 Dec 2024 17:04:47 +0000 (18:04 +0100)]
python: client: command: move the getting of completion words to function
- #dirnames# and #filenames# words to indicate that we want complete also files and dirs
Aleš Mrázek [Fri, 6 Dec 2024 15:06:28 +0000 (16:06 +0100)]
python: client: completion: improved top-level behavior
Frantisek Tobias [Tue, 15 Oct 2024 10:41:52 +0000 (12:41 +0200)]
utils/shell-completion/client.bash: compgen escape '--' arguments and minor adjustments
Frantisek Tobias [Fri, 11 Oct 2024 07:12:34 +0000 (09:12 +0200)]
utils/shell-completion/client.bash: skip program name in COMP_WORDS
Frantisek Tobias [Tue, 15 Oct 2024 10:40:23 +0000 (12:40 +0200)]
kresctl: tab-completion: enable config completion
Frantisek Tobias [Fri, 11 Oct 2024 08:36:47 +0000 (10:36 +0200)]
kresctl: tab-completion: auto-complete for all commands except config
Aleš Mrázek [Tue, 5 Nov 2024 09:27:49 +0000 (10:27 +0100)]
python: client: completion: use argparse.REMAINDER
Use argparse.REMAINDER to tell argparse to accept everything after argument as value for that argument.
Frantisek Tobias [Mon, 7 Oct 2024 11:51:46 +0000 (13:51 +0200)]
kresctl: tab-completion: implement suggestions/completion for first argument
Vladimír Čunát [Fri, 20 Dec 2024 13:41:48 +0000 (14:41 +0100)]
Merge !1643: kr_module_load(): clean up the code a bit
Vladimír Čunát [Fri, 20 Dec 2024 13:40:49 +0000 (14:40 +0100)]
NEWS nit: avoid a Sphinx warning
> NEWS:2: WARNING: Title underline too short.
Vladimír Čunát [Fri, 20 Dec 2024 12:49:41 +0000 (13:49 +0100)]
modules/stats: be more correct on ENOMEM
Vladimír Čunát [Fri, 20 Dec 2024 12:27:41 +0000 (13:27 +0100)]
kr_module_load(): don't pass the_engine in module->data
It was a confusing way of repurposing the field.
My comment from over five years ago (
129002fc0d ) said that
some external C modules might be relying on this.
But that certainly sounds moot nowadays. To get more confidence,
I rechecked all kr_module::data references (as found by libclang).
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.
Lukáš Ondráček [Mon, 16 Dec 2024 15:29:42 +0000 (16:29 +0100)]
daemon/defer: make rate limits relative to single cpu
Lukáš Ondráček [Thu, 12 Dec 2024 14:39:06 +0000 (15:39 +0100)]
daemon/defer: fix price overflow for too long operations
Lukáš Ondráček [Thu, 12 Dec 2024 14:36:56 +0000 (15:36 +0100)]
daemon/defer: change KRU configuration
Lukáš Ondráček [Mon, 9 Dec 2024 15:37:50 +0000 (16:37 +0100)]
daemon/defer: increase request timeout to 1s
Lukáš Ondráček [Mon, 9 Dec 2024 14:54:02 +0000 (15:54 +0100)]
daemon/defer: add log-period for dropped data logging
Lukáš Ondráček [Thu, 5 Dec 2024 18:50:57 +0000 (19:50 +0100)]
daemon/defer: improve time measuring
Lukáš Ondráček [Wed, 4 Dec 2024 16:42:45 +0000 (17:42 +0100)]
daemon/defer: increase request timeout to 50 ms
Lukáš Ondráček [Wed, 4 Dec 2024 16:31:36 +0000 (17:31 +0100)]
Merge remote-tracking branch 'origin/master' into defer-wip
Lukáš Ondráček [Wed, 4 Dec 2024 16:17:26 +0000 (17:17 +0100)]
daemon/defer: add missing libm dependency
Lukáš Ondráček [Wed, 4 Dec 2024 16:08:11 +0000 (17:08 +0100)]
daemon/defer: use defer instead of prioritization in logs
Lukáš Ondráček [Wed, 4 Dec 2024 16:04:59 +0000 (17:04 +0100)]
daemon/defer: configuration changes + logging
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
Lukáš Ondráček [Mon, 2 Dec 2024 17:00:27 +0000 (18:00 +0100)]
daemon/defer: change address mismatch assert to warning
Lukáš Ondráček [Mon, 2 Dec 2024 15:29:16 +0000 (16:29 +0100)]
daemon/defer: fix other places with recursive time measurements
Lukáš Ondráček [Mon, 2 Dec 2024 11:44:06 +0000 (12:44 +0100)]
daemon/defer: increase deferred request timeout
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.
Lukáš Ondráček [Thu, 28 Nov 2024 16:00:59 +0000 (17:00 +0100)]
daemon/defer: fix charging time to UDP and non-UDP phases
Lukáš Ondráček [Thu, 28 Nov 2024 11:45:29 +0000 (12:45 +0100)]
daemon/defer: minor changes
Lukáš Ondráček [Wed, 27 Nov 2024 14:27:16 +0000 (15:27 +0100)]
daemon/defer: fix using src_addr instead of comm_addr
Lukáš Ondráček [Mon, 25 Nov 2024 18:10:20 +0000 (19:10 +0100)]
daemon/defer: allow recursive time accounting, fix subreq accounting
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.