]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
7 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.

8 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

8 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

8 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

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

8 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

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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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

8 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)

8 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

8 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

8 months agoMerge !1608: daemon: add sd_notify alternative docs-develop-mast-tzgd0f/deployments/5814 docs-develop-mast-tzgd0f/deployments/5826 docs-develop-mast-tzgd0f/deployments/5827
Vladimír Čunát [Mon, 2 Dec 2024 08:51:41 +0000 (09:51 +0100)] 
Merge !1608: daemon: add sd_notify alternative

8 months agodaemon: add sd_notify alternative docs-develop-daem-b51ind/deployments/5813
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.

8 months agoMerge !1633: daemon/worker: decrease log level of uv_udp_connect() failure docs-develop-mast-tzgd0f/deployments/5749 docs-develop-mast-tzgd0f/deployments/5755 docs-develop-mast-tzgd0f/deployments/5757 docs-develop-mast-tzgd0f/deployments/5765 docs-develop-mast-tzgd0f/deployments/5767 docs-develop-mast-tzgd0f/deployments/5781 docs-develop-mast-tzgd0f/deployments/5782 docs-develop-mast-tzgd0f/deployments/5792 docs-develop-mast-tzgd0f/deployments/5794 docs-develop-mast-tzgd0f/deployments/5801 docs-develop-mast-tzgd0f/deployments/5803 docs-develop-mast-tzgd0f/deployments/5805 docs-develop-mast-tzgd0f/deployments/5807 docs-develop-mast-tzgd0f/deployments/5809 docs-develop-mast-tzgd0f/deployments/5811 docs-develop-nigh-589znp/deployments/5756 docs-develop-nigh-589znp/deployments/5766 docs-develop-nigh-589znp/deployments/5793 docs-develop-nigh-589znp/deployments/5802 docs-develop-nigh-589znp/deployments/5806 docs-develop-nigh-589znp/deployments/5810
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

8 months agodaemon/worker: decrease log level of uv_udp_connect() failure docs-develop-log-7sjd37/deployments/5748
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.

8 months agoMerge !1639: .gitlab-ci.yml: pkg:arch: run proper LXC tests again docs-develop-mast-tzgd0f/deployments/5746
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

8 months ago.gitlab-ci.yml: pkg:arch: install prometheus explicitly docs-develop-ci-a-oiegld/deployments/5745
Vladimír Čunát [Wed, 20 Nov 2024 06:12:14 +0000 (07:12 +0100)] 
.gitlab-ci.yml: pkg:arch: install prometheus explicitly

8 months agoRevert "CI: use standard docker for pkg:arch"
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.

8 months agoMerge !1640: python: controller: write subprocess config synchronously docs-develop-mast-tzgd0f/deployments/5744
Vladimír Čunát [Mon, 25 Nov 2024 11:26:51 +0000 (12:26 +0100)] 
Merge !1640: python: controller: write subprocess config synchronously

8 months agopython: controller: write subprocess config synchronously docs-develop-mana-vriuor/deployments/5718
Aleš Mrázek [Thu, 21 Nov 2024 13:18:31 +0000 (14:18 +0100)] 
python: controller: write subprocess config synchronously

8 months agoMerge !1638: ci: pkg: add Ubuntu 24.10 docs-develop-mast-tzgd0f/deployments/5704 docs-develop-mast-tzgd0f/deployments/5706 docs-develop-mast-tzgd0f/deployments/5708 docs-develop-mast-tzgd0f/deployments/5714 docs-develop-mast-tzgd0f/deployments/5716 docs-develop-mast-tzgd0f/deployments/5726 docs-develop-mast-tzgd0f/deployments/5727 docs-develop-mast-tzgd0f/deployments/5732 docs-develop-mast-tzgd0f/deployments/5734 docs-develop-mast-tzgd0f/deployments/5736 docs-develop-mast-tzgd0f/deployments/5738 docs-develop-mast-tzgd0f/deployments/5740 docs-develop-mast-tzgd0f/deployments/5742 docs-develop-nigh-589znp/deployments/5707 docs-develop-nigh-589znp/deployments/5715 docs-develop-nigh-589znp/deployments/5733 docs-develop-nigh-589znp/deployments/5737 docs-develop-nigh-589znp/deployments/5741 obs-knot-resolver-es11k1/deployments/5709 obs-knot-resolver-es11k1/deployments/5717
Vladimír Čunát [Tue, 19 Nov 2024 14:39:50 +0000 (15:39 +0100)] 
Merge !1638: ci: pkg: add Ubuntu 24.10

8 months ago.gitlab-ci.yml: pkg: added Ubuntu 24.10 docs-develop-ci-p-xpwig4/deployments/5703
Aleš Mrázek [Tue, 19 Nov 2024 14:28:24 +0000 (15:28 +0100)] 
.gitlab-ci.yml: pkg: added Ubuntu 24.10

8 months agoMerge !1637: ci: pkg: add Fedora 41, drop Fedora 39
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

8 months ago.gitlab-ci.yml: pkg: added Fedora 41 docs-develop-ci-p-9109ar/deployments/5701
Aleš Mrázek [Tue, 5 Nov 2024 07:58:26 +0000 (08:58 +0100)] 
.gitlab-ci.yml: pkg: added Fedora 41

Removed Fedora 39

8 months agoMerge !1636: ci: docker: specify platform explicitly docs-develop-mast-tzgd0f/deployments/5699
Vladimír Čunát [Tue, 19 Nov 2024 13:34:15 +0000 (14:34 +0100)] 
Merge !1636: ci: docker: specify platform explicitly

8 months ago.gitlab-ci.yml: docker: specify platform explicitly docs-develop-ci-d-w1r2gu/deployments/5696
Aleš Mrázek [Tue, 19 Nov 2024 13:08:58 +0000 (14:08 +0100)] 
.gitlab-ci.yml: docker: specify platform explicitly

8 months agoMerge branch 'ci-docker-tags' into 'master' docs-develop-mast-tzgd0f/deployments/5675 docs-develop-mast-tzgd0f/deployments/5678 docs-develop-mast-tzgd0f/deployments/5680 docs-develop-nigh-589znp/deployments/5679 obs-knot-resolver-es11k1/deployments/5681
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

8 months ago.gitlab-ci.yml: added missing tags to docker jobs docs-develop-ci-d-t4l9g5/deployments/5674
Aleš Mrázek [Mon, 18 Nov 2024 14:02:51 +0000 (15:02 +0100)] 
.gitlab-ci.yml: added missing tags to docker jobs

8 months agoMerge branch 'ci-docker-except-null' into 'master' docs-develop-mast-tzgd0f/deployments/5672
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

8 months ago.gitlab-ci.yml: reset 'except:' for docker jobs docs-develop-ci-d-28vljk/deployments/5671
Aleš Mrázek [Mon, 18 Nov 2024 13:49:53 +0000 (14:49 +0100)] 
.gitlab-ci.yml: reset 'except:' for docker jobs

8 months agoMerge branch 'ci-docker-images-tests' into 'master' docs-develop-mast-tzgd0f/deployments/5669
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

8 months ago.gitlab-ci.yml: docker:build docs-develop-ci-d-6lpii6/deployments/5668
Aleš Mrázek [Fri, 15 Nov 2024 05:06:50 +0000 (06:06 +0100)] 
.gitlab-ci.yml: docker:build

8 months ago.gitlab-ci.yml: docker: jobs better naming
Aleš Mrázek [Thu, 14 Nov 2024 21:06:27 +0000 (22:06 +0100)] 
.gitlab-ci.yml: docker: jobs better naming

8 months agodefault API socket update
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

8 months agoetc/config/config.examples.docker.yaml: keep management API config default
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

8 months ago.gitlab-ci.yml: added docker image test
Aleš Mrázek [Wed, 13 Nov 2024 08:46:39 +0000 (09:46 +0100)] 
.gitlab-ci.yml: added docker image test

8 months ago.gitlab-ci.yml: docker: added cross-platform build and deploy
Aleš Mrázek [Wed, 13 Nov 2024 08:46:00 +0000 (09:46 +0100)] 
.gitlab-ci.yml: docker: added cross-platform build and deploy

8 months agoNEWS: add forgotten "rate-limiting" bullet docs-develop-mast-tzgd0f/deployments/5566 docs-develop-mast-tzgd0f/deployments/5576 docs-develop-mast-tzgd0f/deployments/5579 docs-develop-mast-tzgd0f/deployments/5594 docs-develop-mast-tzgd0f/deployments/5597 docs-develop-mast-tzgd0f/deployments/5600 docs-develop-mast-tzgd0f/deployments/5603 docs-develop-mast-tzgd0f/deployments/5638 docs-develop-mast-tzgd0f/deployments/5640 docs-develop-mast-tzgd0f/deployments/5652 docs-develop-mast-tzgd0f/deployments/5655 docs-develop-mast-tzgd0f/deployments/5656 docs-develop-mast-tzgd0f/deployments/5659 docs-develop-mast-tzgd0f/deployments/5660 docs-develop-mast-tzgd0f/deployments/5663 docs-develop-nigh-589znp/deployments/5577 docs-develop-nigh-589znp/deployments/5595 docs-develop-nigh-589znp/deployments/5601 docs-develop-nigh-589znp/deployments/5653 docs-develop-nigh-589znp/deployments/5657 docs-develop-nigh-589znp/deployments/5661 obs-knot-resolver-es11k1/deployments/5578 obs-knot-resolver-es11k1/deployments/5596 obs-knot-resolver-es11k1/deployments/5602 obs-knot-resolver-es11k1/deployments/5639 obs-knot-resolver-es11k1/deployments/5654 obs-knot-resolver-es11k1/deployments/5658 obs-knot-resolver-es11k1/deployments/5662
Vladimír Čunát [Mon, 11 Nov 2024 13:28:35 +0000 (14:28 +0100)] 
NEWS: add forgotten "rate-limiting" bullet

8 months agoMerge branch 'release-6.0.9' into 'master' docs-develop-mast-tzgd0f/deployments/5560 docs-release-v6-0-sc9se5/deployments/5562 obs-knot-resolver-8xyvhu/deployments/5563 obs-knot-resolver-kv62s6/deployments/5561 v6.0.9
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

8 months ago.gitlab-ci.yml: update path for 'make-obs.sh' script docs-develop-rele-3s3vda/deployments/5558 docs-develop-rele-3s3vda/deployments/5559 obs-knot-resolver-bs4hbr/deployments/5557
Aleš Mrázek [Mon, 11 Nov 2024 09:27:19 +0000 (10:27 +0100)] 
.gitlab-ci.yml: update path for 'make-obs.sh' script

8 months agoAUTHORS: update docs-develop-rele-3s3vda/deployments/5554 docs-develop-rele-3s3vda/deployments/5556
Aleš Mrázek [Mon, 11 Nov 2024 08:59:41 +0000 (09:59 +0100)] 
AUTHORS: update

8 months agorelease 6.0.9
Aleš Mrázek [Mon, 11 Nov 2024 08:51:52 +0000 (09:51 +0100)] 
release 6.0.9

8 months agoMerge !1624: add rate-limiting docs-develop-mast-tzgd0f/deployments/5551
Vladimír Čunát [Mon, 11 Nov 2024 08:53:36 +0000 (09:53 +0100)] 
Merge !1624: add rate-limiting

8 months agoMerge branch 'master' into rrl-wip docs-develop-rrl-8r8r8r/deployments/5550
Vladimír Čunát [Mon, 11 Nov 2024 08:39:21 +0000 (09:39 +0100)] 
Merge branch 'master' into rrl-wip

8 months agodoc/user: add ratelimiting section
Lukáš Ondráček [Thu, 7 Nov 2024 16:11:53 +0000 (17:11 +0100)] 
doc/user: add ratelimiting section

(with minor changes from vcunat)

8 months agoMerge branch 'docker-cache' into 'master' docs-develop-mast-tzgd0f/deployments/5549
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

8 months agoNEWS: fixed formatting docs-develop-dock-51ud85/deployments/5548
Aleš Mrázek [Mon, 11 Nov 2024 08:16:39 +0000 (09:16 +0100)] 
NEWS: fixed formatting

8 months agoNEWS: update docker improvements docs-develop-dock-51ud85/deployments/5545
Aleš Mrázek [Mon, 11 Nov 2024 08:00:38 +0000 (09:00 +0100)] 
NEWS: update docker improvements

8 months agodoc/user/deployment-docker.rst: added info about cache docs-develop-dock-51ud85/deployments/5532
Aleš Mrázek [Fri, 8 Nov 2024 06:07:28 +0000 (07:07 +0100)] 
doc/user/deployment-docker.rst: added info about cache

8 months agoDockerfile: added VOLUME for cache
Aleš Mrázek [Fri, 8 Nov 2024 06:06:42 +0000 (07:06 +0100)] 
Dockerfile: added VOLUME for cache

8 months agorate-limiting config: use more precise types docs-develop-rrl-8r8r8r/deployments/5522
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.

9 months agoMerge !1625: docker: improvements and fixes docs-develop-mast-tzgd0f/deployments/5500 docs-develop-mast-tzgd0f/deployments/5507 docs-develop-mast-tzgd0f/deployments/5510 docs-develop-mast-tzgd0f/deployments/5523 docs-develop-mast-tzgd0f/deployments/5526 docs-develop-mast-tzgd0f/deployments/5528 docs-develop-mast-tzgd0f/deployments/5531 docs-develop-mast-tzgd0f/deployments/5533 docs-develop-mast-tzgd0f/deployments/5536 docs-develop-mast-tzgd0f/deployments/5537 docs-develop-mast-tzgd0f/deployments/5540 docs-develop-mast-tzgd0f/deployments/5541 docs-develop-mast-tzgd0f/deployments/5544 docs-develop-nigh-589znp/deployments/5508 docs-develop-nigh-589znp/deployments/5524 docs-develop-nigh-589znp/deployments/5529 docs-develop-nigh-589znp/deployments/5534 docs-develop-nigh-589znp/deployments/5538 docs-develop-nigh-589znp/deployments/5542
Vladimír Čunát [Tue, 5 Nov 2024 09:58:17 +0000 (10:58 +0100)] 
Merge !1625: docker: improvements and fixes

9 months agoNEWS: update about docker multiplatform builds docs-develop-dock-tuv9my/deployments/5499
Aleš Mrázek [Mon, 4 Nov 2024 12:47:57 +0000 (13:47 +0100)] 
NEWS: update about docker multiplatform builds

9 months agoDockerfile: set root user and group in constants.py
Aleš Mrázek [Mon, 4 Nov 2024 10:13:29 +0000 (11:13 +0100)] 
Dockerfile: set root user and group in constants.py

9 months agoDockerfile: prepare shared directories
Aleš Mrázek [Fri, 1 Nov 2024 10:03:44 +0000 (11:03 +0100)] 
Dockerfile: prepare shared directories

9 months agoDockerfile: edit config path
Aleš Mrázek [Fri, 1 Nov 2024 10:03:00 +0000 (11:03 +0100)] 
Dockerfile: edit config path

9 months agodoc/user/deployment-docker.rst: info update
Aleš Mrázek [Fri, 1 Nov 2024 09:45:28 +0000 (10:45 +0100)] 
doc/user/deployment-docker.rst: info update

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 agoMerge branch 'docker-makefile' into 'master' docs-develop-mast-tzgd0f/deployments/5458 docs-develop-mast-tzgd0f/deployments/5469 docs-develop-mast-tzgd0f/deployments/5472 docs-develop-mast-tzgd0f/deployments/5473 docs-develop-mast-tzgd0f/deployments/5476 docs-develop-mast-tzgd0f/deployments/5477 docs-develop-mast-tzgd0f/deployments/5480 docs-develop-mast-tzgd0f/deployments/5491 docs-develop-mast-tzgd0f/deployments/5494 docs-develop-nigh-589znp/deployments/5470 docs-develop-nigh-589znp/deployments/5474 docs-develop-nigh-589znp/deployments/5478 docs-develop-nigh-589znp/deployments/5492
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

9 months agoscripts/Makefile.docker: allow calling from a different directory docs-develop-dock-jputok/deployments/5445
Vladimír Čunát [Thu, 31 Oct 2024 09:12:13 +0000 (10:12 +0100)] 
scripts/Makefile.docker: allow calling from a different directory

9 months agoDockerfile: temporary fix for files/dirs permission validation bug in docker docs-develop-dock-jputok/deployments/5437
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

9 months agoscripts: created Makefile.docker docs-develop-dock-jputok/deployments/5436
Aleš Mrázek [Wed, 30 Oct 2024 10:47:15 +0000 (11:47 +0100)] 
scripts: created Makefile.docker

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