]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Aleš Mrázek [Fri, 21 Mar 2025 13:11:58 +0000 (14:11 +0100)]
fixup! fixup! tests/packaging/interactive/rpz_watchdog.sh: configure RPZ using json
Aleš Mrázek [Thu, 20 Mar 2025 12:21:51 +0000 (13:21 +0100)]
fixup! tests/packaging/interactive/rpz_watchdog.sh: configure RPZ using json
Aleš Mrázek [Wed, 19 Mar 2025 10:57:43 +0000 (11:57 +0100)]
tests/packaging/interactive/rpz_watchdog.sh: configure RPZ using json
Aleš Mrázek [Tue, 4 Mar 2025 14:13:20 +0000 (15:13 +0100)]
manager: files: watchdog: added RPZ files
Separate timer for each command.
Aleš Mrázek [Thu, 6 Feb 2025 10:44:41 +0000 (11:44 +0100)]
datamodel: local-data: added watchdog for RPZSchema
Aleš Mrázek [Fri, 21 Feb 2025 14:28:28 +0000 (15:28 +0100)]
manager: files: watchdog for all files
Vladimír Čunát [Fri, 28 Feb 2025 09:40:27 +0000 (10:40 +0100)]
Merge !1664: datamodel: management: reverting to absolute path for unix-socket
Fixes #926
Aleš Mrázek [Fri, 28 Feb 2025 09:18:04 +0000 (10:18 +0100)]
NEWS: update about revert
Aleš Mrázek [Fri, 28 Feb 2025 09:17:17 +0000 (10:17 +0100)]
client: command: get_socket_from_config improved
Aleš Mrázek [Fri, 28 Feb 2025 09:14:22 +0000 (10:14 +0100)]
datamodel: management: warning that the unix-socket is not located in rundir
Aleš Mrázek [Fri, 28 Feb 2025 09:07:35 +0000 (10:07 +0100)]
Revert "datamodel: management socket default based on rundir"
This reverts commit
10fb87547af05cd78e76dfb94951c34f4554d090 .
Aleš Mrázek [Fri, 28 Feb 2025 09:07:08 +0000 (10:07 +0100)]
Revert "python: constants: added API_SOCKET_NAME"
This reverts commit
cee2250c5a52a4d67ea2a37cc97761ba530f856b .
Aleš Mrázek [Wed, 26 Feb 2025 11:54:55 +0000 (12:54 +0100)]
Merge branch 'release-6.0.11' into 'master'
Release 6.0.11
See merge request knot/knot-resolver!1663
Aleš Mrázek [Wed, 26 Feb 2025 08:41:31 +0000 (09:41 +0100)]
release 6.0.11
Vladimír Čunát [Wed, 26 Feb 2025 08:34:02 +0000 (09:34 +0100)]
Merge !1659: validator: accept a confusing NODATA proof with insecure delegation
Vladimír Čunát [Wed, 26 Feb 2025 08:29:12 +0000 (09:29 +0100)]
validator: accept a confusing NODATA proof with insecure delegation
Honestly, I find it ugly and probably unintended,
but it's correctly signed and other vendors tend to accept it.
Example:
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 24204
;; Flags: qr aa rd; QUERY: 1; ANSWER: 0; AUTHORITY: 4; ADDITIONAL: 1
;; EDNS PSEUDOSECTION:
;; Version: 0; flags: do; UDP size: 4096 B; ext-rcode: NOERROR
;; QUESTION SECTION:
;; _domainkey.mail.cez.cz. TXT
;; AUTHORITY SECTION:
cez.cz. 3600 SOA ns10.cez.cz. netmaster.cez.cz.
2025021801 14400 3600 604800 7200
cez.cz. 3600 RRSIG SOA 10 2 3600
20250302073317 20250223063317 45620 cez.cz. JnAonhCOi234lF2A40lYaHcuKtxACKz8X6UFILSgSaK00xyXDk6gWDWo3nmMjXxBwgfP98Gaj8nLMqRZ7ezAEUfWi+5P4YCQzax5Habu3nKB+XKocIPMCHHMhOMf410w4Taz4N2rKgi1p71QkuujISi3JZWzqG4bqzot2cGL12w=
1vk9lupeivbv7dhsb7udm5da1hkd089j.cez.cz. 7200 NSEC3 1 0 1
ACB298B834ADA5FD 1vk9lupeivbv7dhsb7udm5da1hkd089k A NS HINFO MX AAAA SRV RRSIG CAA
1vk9lupeivbv7dhsb7udm5da1hkd089j.cez.cz. 7200 RRSIG NSEC3 10 3 7200
20250303115912 20250224105912 45620 cez.cz. OBW90lof86IoVsiuKkNEf4useG3fikE+npAVkpbiVsgMZWLHRNzAAlIU9wPMH5S4CWpnwoMVTaNtWJxegsG7cvCDZrjVVNOHE9hLOG2eG9f57vx/tVFTe4/DegO9KOyColOOYt4nt/uj7LTJZbzJY3Ev8I9971LEkFf5IxVwwPU=
Vladimír Čunát [Wed, 26 Feb 2025 08:27:08 +0000 (09:27 +0100)]
Merge !1657: datamodel: management: default unix-socket based on rundir
Vladimír Čunát [Wed, 26 Feb 2025 08:16:54 +0000 (09:16 +0100)]
NEWS: add entry
Aleš Mrázek [Wed, 19 Feb 2025 12:16:46 +0000 (13:16 +0100)]
datamodel: management socket default based on rundir
Aleš Mrázek [Wed, 19 Feb 2025 12:13:49 +0000 (13:13 +0100)]
python: constants: added API_SOCKET_NAME
Vladimír Čunát [Tue, 25 Feb 2025 10:38:45 +0000 (11:38 +0100)]
Merge !1662: tests: disable problematic config.http test
Vladimír Čunát [Tue, 25 Feb 2025 10:30:45 +0000 (11:30 +0100)]
tests: disable problematic config.http test
https://gitlab.nic.cz/knot/knot-resolver/-/issues/925
Aleš Mrázek [Wed, 19 Feb 2025 16:26:50 +0000 (17:26 +0100)]
Merge branch 'ci-pkg-debian13' into 'master'
ci: pkg: debian 13
See merge request knot/knot-resolver!1658
Aleš Mrázek [Wed, 19 Feb 2025 14:29:04 +0000 (15:29 +0100)]
ci: pkg: added debian 13
Vladimír Čunát [Wed, 19 Feb 2025 11:05:33 +0000 (12:05 +0100)]
Merge !1656: allow multiple managers
Vladimír Čunát [Tue, 18 Feb 2025 14:23:45 +0000 (15:23 +0100)]
allow multiple managers
This concerns the AF_UNIX socket for sd_notify() protocol
between supervisord and the individual kresd processes.
Before: "@knot-resolver-control-socket"
Now: "/the_rundir/supervisor-notify-socket"
Nits: also some refactoring (goto)
Vladimír Čunát [Tue, 18 Feb 2025 14:18:07 +0000 (15:18 +0100)]
Merge !1655: datamodel: cache: prefill: fix ca-file template
Vladimír Čunát [Tue, 18 Feb 2025 14:09:45 +0000 (15:09 +0100)]
datamodel: cache: prefill: fix ca-file template
> TypeError: can only concatenate str (not "ReadableFile") to str
Vladimír Čunát [Tue, 18 Feb 2025 13:52:43 +0000 (14:52 +0100)]
Merge !1651: manager: processes watchdog error during shutdown
Aleš Mrázek [Thu, 6 Feb 2025 08:07:54 +0000 (09:07 +0100)]
NEWS: processes watchdog fix
Aleš Mrázek [Thu, 30 Jan 2025 10:01:01 +0000 (11:01 +0100)]
manager: server: handle SubprocessControllerError during init
Aleš Mrázek [Wed, 29 Jan 2025 15:00:38 +0000 (16:00 +0100)]
manager: processes_watchdog: handle SubprocessControllerError during shutdown
Aleš Mrázek [Wed, 29 Jan 2025 09:47:05 +0000 (10:47 +0100)]
python: formatting improvements
Aleš Mrázek [Wed, 29 Jan 2025 09:45:27 +0000 (10:45 +0100)]
manager: watchdog renamed to processes_watchdog
Vladimír Čunát [Tue, 4 Feb 2025 14:23:28 +0000 (15:23 +0100)]
Merge !1654: daemon/lua: avoid depending on KNOT_EDNS_MAX_OPTION_CODE
Vladimír Čunát [Tue, 4 Feb 2025 14:03:15 +0000 (15:03 +0100)]
daemon/lua: avoid depending on KNOT_EDNS_MAX_OPTION_CODE
We don't need to use the knot_edns_options_t type from lua,
only there's a pointer in knot_pkt_t.
Now libknot increased this length in v3.4.4,
even without bumping SONAME, and it might happen again.
This way we avoid kres-gen-33.lua depending on this length.
Vladimír Čunát [Tue, 4 Feb 2025 13:59:15 +0000 (14:59 +0100)]
Merge !1653: manager: delayed policy-loader exit
Vladimír Čunát [Tue, 4 Feb 2025 13:57:21 +0000 (14:57 +0100)]
NEWS entry for the policy-loader race
Vladimír Čunát [Mon, 3 Feb 2025 15:33:04 +0000 (16:33 +0100)]
datamodel: policy-loader: avoid dependency on lua-cqueues
Aleš Mrázek [Mon, 3 Feb 2025 14:55:12 +0000 (15:55 +0100)]
datamodel: policy-loader: added sleep after loading the config
Aleš Mrázek [Mon, 20 Jan 2025 09:52:14 +0000 (10:52 +0100)]
Merge branch 'release-6.0.10' into 'master'
Release 6.0.10
See merge request knot/knot-resolver!1648
Aleš Mrázek [Tue, 14 Jan 2025 13:19:19 +0000 (14:19 +0100)]
release 6.0.10
Vladimír Čunát [Mon, 20 Jan 2025 08:30:27 +0000 (09:30 +0100)]
Merge !1642: kr_request: add a .ratelimited flag
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.
Vladimír Čunát [Sun, 19 Jan 2025 18:41:21 +0000 (19:41 +0100)]
Merge !1646: views: allow overriding price-factor
Lukáš Ondráček [Wed, 15 Jan 2025 21:25:53 +0000 (22:25 +0100)]
daemon/defer: add price-factor to verbose log, comment
Lukáš Ondráček [Wed, 15 Jan 2025 16:26:12 +0000 (17:26 +0100)]
doc: add price-factor to views
Lukáš Ondráček [Wed, 15 Jan 2025 15:35:15 +0000 (16:35 +0100)]
daemon/defer: add price-factor to config schema
Lukáš Ondráček [Wed, 15 Jan 2025 15:20:17 +0000 (16:20 +0100)]
daemon/defer: fix setting price-factor from views
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
Vladimír Čunát [Tue, 7 Jan 2025 09:08:07 +0000 (10:08 +0100)]
price_factor WIP
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
Aleš Mrázek [Fri, 17 Jan 2025 12:15:19 +0000 (13:15 +0100)]
.gitlab-ci.yml: moved docs:build to the right stage
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.