]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
13 months agokr_request: add a .ratelimited flag docs-develop-rate-aactgk/deployments/6060
Vladimír Čunát [Wed, 18 Dec 2024 11:01:10 +0000 (12:01 +0100)] 
kr_request: add a .ratelimited flag

This makes it simpler for other parts of resolver to react to this
situation, e.g. custom modules pushing the information to analytics.

13 months agoMerge !1646: views: allow overriding price-factor docs-develop-mast-tzgd0f/deployments/6057 docs-develop-mast-tzgd0f/deployments/6058 obs-knot-resolver-es11k1/deployments/6059
Vladimír Čunát [Sun, 19 Jan 2025 18:41:21 +0000 (19:41 +0100)] 
Merge !1646: views: allow overriding price-factor

13 months agodaemon/defer: add price-factor to verbose log, comment
Lukáš Ondráček [Wed, 15 Jan 2025 21:25:53 +0000 (22:25 +0100)] 
daemon/defer: add price-factor to verbose log, comment

13 months agodoc: add price-factor to views
Lukáš Ondráček [Wed, 15 Jan 2025 16:26:12 +0000 (17:26 +0100)] 
doc: add price-factor to views

13 months agodaemon/defer: add price-factor to config schema
Lukáš Ondráček [Wed, 15 Jan 2025 15:35:15 +0000 (16:35 +0100)] 
daemon/defer: add price-factor to config schema

13 months agodaemon/defer: fix setting price-factor from views
Lukáš Ondráček [Wed, 15 Jan 2025 15:20:17 +0000 (16:20 +0100)] 
daemon/defer: fix setting price-factor from views

13 months agodatamodel: types: added custom types for float values
Aleš Mrázek [Thu, 9 Jan 2025 09:55:52 +0000 (10:55 +0100)] 
datamodel: types: added custom types for float values

FloatBase: base type to work with float values
FloatNonNegative: custom type for non-negative float numbers

13 months agoprice_factor WIP
Vladimír Čunát [Tue, 7 Jan 2025 09:08:07 +0000 (10:08 +0100)] 
price_factor WIP

13 months agoMerge branch 'ci-docs-build' into 'master' docs-develop-mast-tzgd0f/deployments/6051 docs-develop-mast-tzgd0f/deployments/6053 docs-develop-mast-tzgd0f/deployments/6055 obs-knot-resolver-es11k1/deployments/6054 obs-knot-resolver-es11k1/deployments/6056
Aleš Mrázek [Fri, 17 Jan 2025 12:27:48 +0000 (13:27 +0100)] 
Merge branch 'ci-docs-build' into 'master'

ci: move docs:build to build stage

See merge request knot/knot-resolver!1647

13 months ago.gitlab-ci.yml: moved docs:build to the right stage docs-develop-ci-d-7iq6on/deployments/6050
Aleš Mrázek [Fri, 17 Jan 2025 12:15:19 +0000 (13:15 +0100)] 
.gitlab-ci.yml: moved docs:build to the right stage

13 months agoMerge branch 'tls-cert-files-watchdog-config' into 'master' docs-develop-mast-tzgd0f/deployments/6033 docs-develop-mast-tzgd0f/deployments/6037 docs-develop-mast-tzgd0f/deployments/6045 docs-develop-mast-tzgd0f/deployments/6048 obs-knot-resolver-es11k1/deployments/6038 obs-knot-resolver-es11k1/deployments/6046 obs-knot-resolver-es11k1/deployments/6049
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

13 months agodatamodel: types: files: handle PermissionError docs-develop-tls-vy3sei/deployments/6032
Aleš Mrázek [Mon, 13 Jan 2025 21:45:16 +0000 (22:45 +0100)] 
datamodel: types: files: handle PermissionError

13 months agoNEWS: update
Aleš Mrázek [Mon, 13 Jan 2025 13:46:20 +0000 (14:46 +0100)] 
NEWS: update

13 months agomanager: files: watchdog: added 'files-watchdog' to TLS config
Aleš Mrázek [Thu, 9 Jan 2025 12:58:44 +0000 (13:58 +0100)] 
manager: files: watchdog: added 'files-watchdog' to TLS config

13 months agodoc/user/config-network-server-tls.rst: added info about 'files-watchdog' configuration
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

13 months agotests/packaging/interactive/watchdog.sh: updated with 'files-watchdog' config
Aleš Mrázek [Mon, 6 Jan 2025 15:23:27 +0000 (16:23 +0100)] 
tests/packaging/interactive/watchdog.sh: updated with 'files-watchdog' config

13 months agodatamodel: network: tls: added 'files-watchdog' option
Aleš Mrázek [Mon, 6 Jan 2025 15:05:27 +0000 (16:05 +0100)] 
datamodel: network: tls: added 'files-watchdog' option

13 months agopython: constants: added optional dependency import check (prometheus and watchdog)
Aleš Mrázek [Mon, 6 Jan 2025 15:01:43 +0000 (16:01 +0100)] 
python: constants: added optional dependency import check (prometheus and watchdog)

13 months agoMerge branch 'manager-files-reload' into 'master' docs-develop-mast-tzgd0f/deployments/6031
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

13 months agoNEWS: update docs-develop-mana-ybapp7/deployments/6030
Aleš Mrázek [Mon, 13 Jan 2025 20:57:33 +0000 (21:57 +0100)] 
NEWS: update

13 months agotests/packaging/interactive: added files_reload.sh
Aleš Mrázek [Fri, 10 Jan 2025 14:29:05 +0000 (15:29 +0100)] 
tests/packaging/interactive: added files_reload.sh

13 months agomanager: register reload_files callback
Aleš Mrázek [Fri, 27 Dec 2024 15:10:11 +0000 (16:10 +0100)] 
manager: register reload_files callback

13 months agomanager: config_store: added only_on_no_changes_update decorator
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.

13 months agomanager: files: added files_reload callback
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.

13 months agoMerge !1641: Request prioritization (defer) docs-develop-mast-tzgd0f/deployments/6029
Vladimír Čunát [Tue, 14 Jan 2025 08:44:28 +0000 (09:44 +0100)] 
Merge !1641: Request prioritization (defer)

13 months agodoc/user: defer nits docs-develop-defe-x6j6qe/deployments/6028
Vladimír Čunát [Tue, 14 Jan 2025 08:05:54 +0000 (09:05 +0100)] 
doc/user: defer nits

13 months agodefer nits docs-develop-defe-x6j6qe/deployments/6023
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.)

13 months agoNEWS: add defer bullet docs-develop-defe-x6j6qe/deployments/6019
Lukáš Ondráček [Mon, 13 Jan 2025 12:35:48 +0000 (13:35 +0100)] 
NEWS: add defer bullet

13 months agodaemon/defer: disable by default
Lukáš Ondráček [Mon, 13 Jan 2025 12:27:25 +0000 (13:27 +0100)] 
daemon/defer: disable by default

13 months agodaemon/defer: redesign UDP and non-UDP phase transition docs-develop-defe-x6j6qe/deployments/6011
Lukáš Ondráček [Fri, 10 Jan 2025 17:04:41 +0000 (18:04 +0100)] 
daemon/defer: redesign UDP and non-UDP phase transition

13 months agodaemon/defer: update uv time after longer operations docs-develop-defe-x6j6qe/deployments/6004
Lukáš Ondráček [Thu, 9 Jan 2025 16:38:21 +0000 (17:38 +0100)] 
daemon/defer: update uv time after longer operations

13 months agodaemon/defer: fix accounting time to phases docs-develop-defe-x6j6qe/deployments/5994
Lukáš Ondráček [Wed, 8 Jan 2025 23:17:43 +0000 (00:17 +0100)] 
daemon/defer: fix accounting time to phases

13 months agodaemon/defer: fix infinite UDP reclassification after TCP request docs-develop-defe-x6j6qe/deployments/5993
Lukáš Ondráček [Wed, 8 Jan 2025 23:13:16 +0000 (00:13 +0100)] 
daemon/defer: fix infinite UDP reclassification after TCP request

13 months agodaemon/defer: fix memory consumption limit check docs-develop-defe-x6j6qe/deployments/5983
Lukáš Ondráček [Mon, 6 Jan 2025 17:45:54 +0000 (18:45 +0100)] 
daemon/defer: fix memory consumption limit check

13 months agodoc: add defer section docs-develop-defe-x6j6qe/deployments/5982
Lukáš Ondráček [Mon, 6 Jan 2025 15:18:37 +0000 (16:18 +0100)] 
doc: add defer section

13 months agodaemon/defer: fix negative priority of follow-up stream packets docs-develop-defe-x6j6qe/deployments/5970
Lukáš Ondráček [Thu, 2 Jan 2025 15:22:33 +0000 (16:22 +0100)] 
daemon/defer: fix negative priority of follow-up stream packets

13 months agoMerge branch 'master' into defer-wip docs-develop-cove-uiak3c/deployments/5969 docs-develop-defe-x6j6qe/deployments/5968
Lukáš Ondráček [Thu, 2 Jan 2025 13:38:53 +0000 (14:38 +0100)] 
Merge branch 'master' into defer-wip

13 months agodaemon/defer: fix configuration reload docs-develop-defe-x6j6qe/deployments/5959
Lukáš Ondráček [Mon, 30 Dec 2024 18:32:34 +0000 (19:32 +0100)] 
daemon/defer: fix configuration reload

13 months agodaemon/defer: tidy
Lukáš Ondráček [Mon, 30 Dec 2024 18:15:33 +0000 (19:15 +0100)] 
daemon/defer: tidy

13 months agodaemon/defer: avoid warnings from gcc and coverity docs-develop-defe-x6j6qe/deployments/5958
Vladimír Čunát [Mon, 30 Dec 2024 16:25:20 +0000 (17:25 +0100)] 
daemon/defer: avoid warnings from gcc and coverity

13 months agodaemon/defer: add subpriorities by prefix length
Lukáš Ondráček [Mon, 30 Dec 2024 15:01:05 +0000 (16:01 +0100)] 
daemon/defer: add subpriorities by prefix length

14 months agoMerge branch 'kresctl-tab-completion' into 'master' docs-develop-mast-tzgd0f/deployments/5937 docs-develop-mast-tzgd0f/deployments/5940 docs-develop-mast-tzgd0f/deployments/5942 docs-develop-mast-tzgd0f/deployments/5944 docs-develop-mast-tzgd0f/deployments/5946 docs-develop-mast-tzgd0f/deployments/5949 docs-develop-mast-tzgd0f/deployments/5951 docs-develop-mast-tzgd0f/deployments/5953 docs-develop-mast-tzgd0f/deployments/5960 docs-develop-mast-tzgd0f/deployments/5964 docs-develop-mast-tzgd0f/deployments/5966 docs-develop-mast-tzgd0f/deployments/5971 docs-develop-mast-tzgd0f/deployments/5973 docs-develop-mast-tzgd0f/deployments/5975 docs-develop-mast-tzgd0f/deployments/5977 docs-develop-mast-tzgd0f/deployments/5984 docs-develop-mast-tzgd0f/deployments/5988 docs-develop-mast-tzgd0f/deployments/5996 docs-develop-mast-tzgd0f/deployments/6006 docs-develop-mast-tzgd0f/deployments/6012 docs-develop-mast-tzgd0f/deployments/6014 docs-develop-mast-tzgd0f/deployments/6016 docs-develop-mast-tzgd0f/deployments/6026 obs-knot-resolver-es11k1/deployments/5941 obs-knot-resolver-es11k1/deployments/5943 obs-knot-resolver-es11k1/deployments/5945 obs-knot-resolver-es11k1/deployments/5947 obs-knot-resolver-es11k1/deployments/5950 obs-knot-resolver-es11k1/deployments/5952 obs-knot-resolver-es11k1/deployments/5954 obs-knot-resolver-es11k1/deployments/5961 obs-knot-resolver-es11k1/deployments/5965 obs-knot-resolver-es11k1/deployments/5967 obs-knot-resolver-es11k1/deployments/5972 obs-knot-resolver-es11k1/deployments/5974 obs-knot-resolver-es11k1/deployments/5976 obs-knot-resolver-es11k1/deployments/5978 obs-knot-resolver-es11k1/deployments/5985 obs-knot-resolver-es11k1/deployments/5989 obs-knot-resolver-es11k1/deployments/5997 obs-knot-resolver-es11k1/deployments/6007 obs-knot-resolver-es11k1/deployments/6013 obs-knot-resolver-es11k1/deployments/6015 obs-knot-resolver-es11k1/deployments/6017 obs-knot-resolver-es11k1/deployments/6027
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

14 months agodistro: add bash completion to packages docs-develop-kres-ph09xl/deployments/5930
Jakub Ružička [Fri, 20 Dec 2024 17:47:21 +0000 (18:47 +0100)] 
distro: add bash completion to packages

14 months agoNEWS: update
Aleš Mrázek [Fri, 20 Dec 2024 13:29:06 +0000 (14:29 +0100)] 
NEWS: update

14 months agopython: client: completion: config: remove COMP_NOSPACE for last node
Aleš Mrázek [Fri, 20 Dec 2024 10:25:34 +0000 (11:25 +0100)] 
python: client: completion: config: remove COMP_NOSPACE for last node

14 months agoutils/shell-completion/meson.build: install client.bash on a system
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

14 months agopython: client: completion: not to sugest already used args and alternatives to them
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

14 months agokresctl: tab-completion: stop appending space after one config layer is completed
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

14 months agopython: client: add completion for all config layers
Frantisek Tobias [Fri, 6 Dec 2024 15:20:34 +0000 (16:20 +0100)] 
python: client: add completion for all config layers

14 months agopython: client: handle the escape '--' argument better because we need it in completion
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

14 months agopython: client: command: move the getting of completion words to function
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

14 months agopython: client: completion: improved top-level behavior
Aleš Mrázek [Fri, 6 Dec 2024 15:06:28 +0000 (16:06 +0100)] 
python: client: completion: improved top-level behavior

14 months agoutils/shell-completion/client.bash: compgen escape '--' arguments and minor adjustments
Frantisek Tobias [Tue, 15 Oct 2024 10:41:52 +0000 (12:41 +0200)] 
utils/shell-completion/client.bash: compgen escape '--' arguments and minor adjustments

14 months agoutils/shell-completion/client.bash: skip program name in COMP_WORDS
Frantisek Tobias [Fri, 11 Oct 2024 07:12:34 +0000 (09:12 +0200)] 
utils/shell-completion/client.bash: skip program name in COMP_WORDS

14 months agokresctl: tab-completion: enable config completion
Frantisek Tobias [Tue, 15 Oct 2024 10:40:23 +0000 (12:40 +0200)] 
kresctl: tab-completion: enable config completion

14 months agokresctl: tab-completion: auto-complete for all commands except config
Frantisek Tobias [Fri, 11 Oct 2024 08:36:47 +0000 (10:36 +0200)] 
kresctl: tab-completion: auto-complete for all commands except config

14 months agopython: client: completion: use argparse.REMAINDER
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.

14 months agokresctl: tab-completion: implement suggestions/completion for first argument
Frantisek Tobias [Mon, 7 Oct 2024 11:51:46 +0000 (13:51 +0200)] 
kresctl: tab-completion: implement suggestions/completion for first argument

14 months agoMerge !1643: kr_module_load(): clean up the code a bit docs-develop-mast-tzgd0f/deployments/5928 docs-develop-mast-tzgd0f/deployments/5931 docs-develop-mast-tzgd0f/deployments/5933 docs-develop-mast-tzgd0f/deployments/5935 obs-knot-resolver-es11k1/deployments/5932 obs-knot-resolver-es11k1/deployments/5934 obs-knot-resolver-es11k1/deployments/5936
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

14 months agoNEWS nit: avoid a Sphinx warning
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.

14 months agomodules/stats: be more correct on ENOMEM docs-develop-kr-m-flu34d/deployments/5926
Vladimír Čunát [Fri, 20 Dec 2024 12:49:41 +0000 (13:49 +0100)] 
modules/stats: be more correct on ENOMEM

14 months agokr_module_load(): don't pass the_engine in module->data docs-develop-kr-m-flu34d/deployments/5925
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).

14 months agokr_module_load(): avoid calling deinit() on errors
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.

14 months agodaemon/defer: make rate limits relative to single cpu docs-develop-cove-uiak3c/deployments/5920 docs-develop-defe-x6j6qe/deployments/5900
Lukáš Ondráček [Mon, 16 Dec 2024 15:29:42 +0000 (16:29 +0100)] 
daemon/defer: make rate limits relative to single cpu

14 months agodaemon/defer: fix price overflow for too long operations docs-develop-defe-x6j6qe/deployments/5882
Lukáš Ondráček [Thu, 12 Dec 2024 14:39:06 +0000 (15:39 +0100)] 
daemon/defer: fix price overflow for too long operations

14 months agodaemon/defer: change KRU configuration
Lukáš Ondráček [Thu, 12 Dec 2024 14:36:56 +0000 (15:36 +0100)] 
daemon/defer: change KRU configuration

14 months agodaemon/defer: increase request timeout to 1s docs-develop-defe-x6j6qe/deployments/5877
Lukáš Ondráček [Mon, 9 Dec 2024 15:37:50 +0000 (16:37 +0100)] 
daemon/defer: increase request timeout to 1s

14 months agodaemon/defer: add log-period for dropped data logging
Lukáš Ondráček [Mon, 9 Dec 2024 14:54:02 +0000 (15:54 +0100)] 
daemon/defer: add log-period for dropped data logging

14 months agodaemon/defer: improve time measuring
Lukáš Ondráček [Thu, 5 Dec 2024 18:50:57 +0000 (19:50 +0100)] 
daemon/defer: improve time measuring

14 months agodaemon/defer: increase request timeout to 50 ms
Lukáš Ondráček [Wed, 4 Dec 2024 16:42:45 +0000 (17:42 +0100)] 
daemon/defer: increase request timeout to 50 ms

14 months agoMerge remote-tracking branch 'origin/master' into defer-wip
Lukáš Ondráček [Wed, 4 Dec 2024 16:31:36 +0000 (17:31 +0100)] 
Merge remote-tracking branch 'origin/master' into defer-wip

14 months agodaemon/defer: add missing libm dependency
Lukáš Ondráček [Wed, 4 Dec 2024 16:17:26 +0000 (17:17 +0100)] 
daemon/defer: add missing libm dependency

14 months agodaemon/defer: use defer instead of prioritization in logs
Lukáš Ondráček [Wed, 4 Dec 2024 16:08:11 +0000 (17:08 +0100)] 
daemon/defer: use defer instead of prioritization in logs

14 months agodaemon/defer: configuration changes + logging docs-develop-defe-x6j6qe/deployments/5839
Lukáš Ondráček [Wed, 4 Dec 2024 16:04:59 +0000 (17:04 +0100)] 
daemon/defer: configuration changes + logging

14 months agoMerge !1450: manager: subprocess debugging via GDB docs-develop-mast-tzgd0f/deployments/5834 docs-develop-mast-tzgd0f/deployments/5835 docs-develop-mast-tzgd0f/deployments/5837 docs-develop-mast-tzgd0f/deployments/5844 docs-develop-mast-tzgd0f/deployments/5846 docs-develop-mast-tzgd0f/deployments/5849 docs-develop-mast-tzgd0f/deployments/5851 docs-develop-mast-tzgd0f/deployments/5854 docs-develop-mast-tzgd0f/deployments/5856 docs-develop-mast-tzgd0f/deployments/5858 docs-develop-mast-tzgd0f/deployments/5860 docs-develop-mast-tzgd0f/deployments/5862 docs-develop-mast-tzgd0f/deployments/5864 docs-develop-mast-tzgd0f/deployments/5869 docs-develop-mast-tzgd0f/deployments/5871 docs-develop-mast-tzgd0f/deployments/5873 docs-develop-mast-tzgd0f/deployments/5875 docs-develop-mast-tzgd0f/deployments/5878 docs-develop-mast-tzgd0f/deployments/5880 docs-develop-mast-tzgd0f/deployments/5883 docs-develop-mast-tzgd0f/deployments/5885 docs-develop-mast-tzgd0f/deployments/5888 docs-develop-mast-tzgd0f/deployments/5890 docs-develop-mast-tzgd0f/deployments/5892 docs-develop-mast-tzgd0f/deployments/5894 docs-develop-mast-tzgd0f/deployments/5896 docs-develop-mast-tzgd0f/deployments/5898 docs-develop-mast-tzgd0f/deployments/5901 docs-develop-mast-tzgd0f/deployments/5903 docs-develop-mast-tzgd0f/deployments/5905 docs-develop-mast-tzgd0f/deployments/5907 docs-develop-mast-tzgd0f/deployments/5910 docs-develop-mast-tzgd0f/deployments/5912 docs-develop-mast-tzgd0f/deployments/5918 docs-develop-nigh-589znp/deployments/5836 docs-develop-nigh-589znp/deployments/5845 docs-develop-nigh-589znp/deployments/5850 docs-develop-nigh-589znp/deployments/5855 docs-develop-nigh-589znp/deployments/5859 docs-develop-nigh-589znp/deployments/5863 docs-develop-nigh-589znp/deployments/5870 docs-develop-nigh-589znp/deployments/5874 docs-develop-nigh-589znp/deployments/5879 docs-develop-nigh-589znp/deployments/5884 docs-develop-nigh-589znp/deployments/5889 docs-develop-nigh-589znp/deployments/5893 docs-develop-nigh-589znp/deployments/5897 docs-develop-nigh-589znp/deployments/5902 docs-develop-nigh-589znp/deployments/5906 docs-develop-nigh-589znp/deployments/5911 obs-knot-resolver-es11k1/deployments/5891 obs-knot-resolver-es11k1/deployments/5899 obs-knot-resolver-es11k1/deployments/5904 obs-knot-resolver-es11k1/deployments/5908 obs-knot-resolver-es11k1/deployments/5913 obs-knot-resolver-es11k1/deployments/5919
Vladimír Čunát [Tue, 3 Dec 2024 11:01:16 +0000 (12:01 +0100)] 
Merge !1450: manager: subprocess debugging via GDB

14 months agodoc: debugging with kresctl moved to dev docs-develop-mana-z56um3/deployments/5833
Aleš Mrázek [Tue, 3 Dec 2024 10:40:45 +0000 (11:40 +0100)] 
doc: debugging with kresctl moved to dev

14 months agokresctl debug: add --print-only and be silent by default
Oto Šťáva [Mon, 18 Mar 2024 11:21:28 +0000 (12:21 +0100)] 
kresctl debug: add --print-only and be silent by default

14 months agokresctl debug: adjust defaults, documentation
Oto Šťáva [Fri, 15 Mar 2024 09:16:16 +0000 (10:16 +0100)] 
kresctl debug: adjust defaults, documentation

14 months agokresctl debug: allow paths for '--gdb' and add existence checks
Oto Šťáva [Thu, 5 Oct 2023 13:49:00 +0000 (15:49 +0200)] 
kresctl debug: allow paths for '--gdb' and add existence checks

14 months agokresctl: debug command help message
Oto Šťáva [Wed, 4 Oct 2023 13:01:07 +0000 (15:01 +0200)] 
kresctl: debug command help message

14 months agomanager, kresctl: print status in pids
Oto Šťáva [Fri, 22 Sep 2023 08:07:29 +0000 (10:07 +0200)] 
manager, kresctl: print status in pids

14 months agomanager: add more verbose PIDs listing
Oto Šťáva [Mon, 18 Sep 2023 13:53:40 +0000 (15:53 +0200)] 
manager: add more verbose PIDs listing

14 months agokresctl: add command to run a debugger on subprocesses
Oto Šťáva [Thu, 24 Aug 2023 06:05:21 +0000 (08:05 +0200)] 
kresctl: add command to run a debugger on subprocesses

14 months agomanager: add option to list PIDs
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.

14 months agoMerge !1626: manager: TLS certificate files auto-reload docs-develop-mast-tzgd0f/deployments/5832
Vladimír Čunát [Tue, 3 Dec 2024 08:32:22 +0000 (09:32 +0100)] 
Merge !1626: manager: TLS certificate files auto-reload

14 months agodoc, NEWS: added 'watchdog' info docs-develop-file-cvmk6l/deployments/5831
Aleš Mrázek [Mon, 2 Dec 2024 21:56:35 +0000 (22:56 +0100)] 
doc, NEWS: added  'watchdog' info

14 months ago.gitlab-ci.yml: pkg: alma-9: install 'watchdog' with PyPi just for testing
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

14 months ago.gitlab-ci.yml: pkg: arch: install python-watchdog
Aleš Mrázek [Mon, 2 Dec 2024 19:24:05 +0000 (20:24 +0100)] 
.gitlab-ci.yml: pkg: arch: install python-watchdog

14 months agomanager: files watchdog: watch parent directory for changes
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.

14 months ago.gitlab-ci.yml: pkg-tests: show knot-resolver.service log
Aleš Mrázek [Thu, 28 Nov 2024 09:57:38 +0000 (10:57 +0100)] 
.gitlab-ci.yml: pkg-tests: show knot-resolver.service log

14 months agomanager: server: globally handle configuration validation errors
Aleš Mrázek [Wed, 27 Nov 2024 10:38:25 +0000 (11:38 +0100)] 
manager: server: globally handle configuration validation errors

14 months agotests/packaging/interactive: added watchdog test
Aleš Mrázek [Tue, 26 Nov 2024 22:01:38 +0000 (23:01 +0100)] 
tests/packaging/interactive: added watchdog test

14 months agotests/packaging/interactive: suppress some commands stdout
Aleš Mrázek [Tue, 26 Nov 2024 20:43:48 +0000 (21:43 +0100)] 
tests/packaging/interactive: suppress some commands stdout

14 months agodistro/pkg: added python-watchdog as optional dependency
Aleš Mrázek [Tue, 26 Nov 2024 20:02:45 +0000 (21:02 +0100)] 
distro/pkg: added python-watchdog as optional dependency

14 months agomanager: files watchdog: watchdog created specifically for TLS certificate files
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)

14 months agopython/knot_resolver/manager: added files watchdog
Aleš Mrázek [Fri, 18 Oct 2024 09:13:54 +0000 (11:13 +0200)] 
python/knot_resolver/manager: added files watchdog

14 months agopyproject.toml: 'watchdog' added as optional dependency
Aleš Mrázek [Thu, 17 Oct 2024 15:42:30 +0000 (17:42 +0200)] 
pyproject.toml: 'watchdog' added as optional dependency

14 months agodaemon/defer: change address mismatch assert to warning docs-develop-defe-x6j6qe/deployments/5822
Lukáš Ondráček [Mon, 2 Dec 2024 17:00:27 +0000 (18:00 +0100)] 
daemon/defer: change address mismatch assert to warning

14 months agodaemon/defer: fix other places with recursive time measurements docs-develop-defe-x6j6qe/deployments/5817
Lukáš Ondráček [Mon, 2 Dec 2024 15:29:16 +0000 (16:29 +0100)] 
daemon/defer: fix other places with recursive time measurements

14 months agodaemon/defer: increase deferred request timeout docs-develop-defe-x6j6qe/deployments/5815
Lukáš Ondráček [Mon, 2 Dec 2024 11:44:06 +0000 (12:44 +0100)] 
daemon/defer: increase deferred request timeout