]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Lukáš Ondráček [Tue, 7 May 2024 14:06:23 +0000 (16:06 +0200)]
Merge remote-tracking branch 'origin/6.0' into rrl-wip
Lukáš Ondráček [Tue, 7 May 2024 09:03:12 +0000 (11:03 +0200)]
fixup! rrl: truncating answers when close to limit, dropping over limit
Lukáš Ondráček [Mon, 6 May 2024 15:32:45 +0000 (17:32 +0200)]
rrl: truncating answers when close to limit, dropping over limit
Oto Šťáva [Thu, 2 May 2024 11:05:27 +0000 (13:05 +0200)]
Merge remote-tracking branch 'origin/master' into 6.0
Vladimír Čunát [Thu, 2 May 2024 11:04:01 +0000 (13:04 +0200)]
Merge !1536: distro/pkg/arch: fix after they renamed a dependency
Vladimír Čunát [Mon, 29 Apr 2024 08:53:44 +0000 (10:53 +0200)]
distro/pkg/arch: fix after they renamed a dependency
Oto Šťáva [Thu, 2 May 2024 10:51:26 +0000 (12:51 +0200)]
Merge branch 'doc-news-nits' into '6.0'
nits: NEWS and predict module doc
See merge request knot/knot-resolver!1535
Oto Šťáva [Thu, 2 May 2024 10:46:04 +0000 (12:46 +0200)]
Merge branch 'macos-fix' into 'master'
Fix macOS GitHub actions
See merge request knot/knot-resolver!1537
Oto Šťáva [Thu, 2 May 2024 10:21:00 +0000 (12:21 +0200)]
modules/*/meson.build: add missing dependencies
Oto Šťáva [Tue, 30 Apr 2024 09:19:34 +0000 (11:19 +0200)]
.github/workflows/macOS: fix prefix for ARM macOS
Aleš Mrázek [Mon, 29 Apr 2024 09:19:20 +0000 (11:19 +0200)]
lint: satisfy new mypy version
Aleš Mrázek [Mon, 29 Apr 2024 08:36:58 +0000 (10:36 +0200)]
doc/user/config-cache-predict.rst: use slashes (JSON pointer) instead of dots when reffering to stats node
Aleš Mrázek [Mon, 29 Apr 2024 08:35:21 +0000 (10:35 +0200)]
NEWS: use slashes (JSON pointer) instead of dots when referring to configuration node
Oto Šťáva [Mon, 22 Apr 2024 11:00:50 +0000 (13:00 +0200)]
Merge branch 'cache-prediction-split' into '6.0'
cache: new module to prefetch expiring records
See merge request knot/knot-resolver!1532
Aleš Mrázek [Fri, 19 Apr 2024 16:19:02 +0000 (18:19 +0200)]
manager: statistics: prometheus format for 'predict' module
Oto Šťáva [Fri, 19 Apr 2024 14:18:51 +0000 (16:18 +0200)]
modules/stats: make custom stats hierarchical
Forgotten feature from !1527
Aleš Mrázek [Wed, 17 Apr 2024 14:03:00 +0000 (16:03 +0200)]
NEWS: cache prefetching improvements
Aleš Mrázek [Wed, 17 Apr 2024 13:56:27 +0000 (15:56 +0200)]
doc/dev: new page for cache records prefetch
Aleš Mrázek [Wed, 17 Apr 2024 13:55:02 +0000 (15:55 +0200)]
modules: prefetch: new module for prefetching expiring records
Aleš Mrázek [Wed, 17 Apr 2024 13:41:52 +0000 (15:41 +0200)]
modules: predict: prefetching expired records has been removed
Aleš Mrázek [Thu, 11 Apr 2024 13:54:25 +0000 (15:54 +0200)]
datamodel: cache: prefetch for expiring record is separated from prediction
Vladimír Čunát [Sat, 20 Apr 2024 08:01:46 +0000 (10:01 +0200)]
rrl nit: factor out using_avx()
Vladimír Čunát [Sat, 20 Apr 2024 07:55:32 +0000 (09:55 +0200)]
fixup! rrl: improve error messages
Vladimír Čunát [Sat, 20 Apr 2024 07:16:29 +0000 (09:16 +0200)]
fixup! rrl: modify KRU api to return maximum final load value
- reordering saves 8 bytes per struct (on typical 64-bit platforms)
- don't assume that *max_load_out is initialized reasonably
(the doc-comment doesn't suggest that it's needed)
Oto Šťáva [Tue, 16 Apr 2024 13:40:04 +0000 (15:40 +0200)]
Merge remote-tracking branch 'origin/master' into 6.0
Oto Šťáva [Tue, 16 Apr 2024 13:38:58 +0000 (15:38 +0200)]
Merge branch 'website-push-docs' into 'master'
gitlab-ci: push docs to the website (manual CI)
See merge request knot/knot-resolver!1530
Oto Šťáva [Tue, 16 Apr 2024 13:06:03 +0000 (15:06 +0200)]
Merge branch 'manager-optional-prometheus' into '6.0'
manager: /metrics API improvements
See merge request knot/knot-resolver!1527
Oto Šťáva [Tue, 16 Apr 2024 11:58:31 +0000 (13:58 +0200)]
NEWS: reword of Prometheus changes
Oto Šťáva [Mon, 15 Apr 2024 11:19:29 +0000 (13:19 +0200)]
kresctl: add message when Prometheus is missing
Jakub Ružička [Mon, 25 Mar 2024 15:14:17 +0000 (16:14 +0100)]
distro/pkg/rpm: recommend python3-prometheus_client
Jakub Ružička [Mon, 25 Mar 2024 15:11:28 +0000 (16:11 +0100)]
distro/pkg/deb: recommend python3-prometheus-client
Aleš Mrázek [Mon, 25 Mar 2024 12:23:22 +0000 (13:23 +0100)]
NEWS: improvements about metrics API
Aleš Mrázek [Thu, 21 Mar 2024 14:27:10 +0000 (15:27 +0100)]
tests/packaging: management API /metrics update
Aleš Mrázek [Thu, 21 Mar 2024 14:19:50 +0000 (15:19 +0100)]
kresctl: metrics: support for new API
Aleš Mrázek [Thu, 21 Mar 2024 13:53:54 +0000 (14:53 +0100)]
manager: api: metrics: JSON support as default
- /metrics - returns 301, redirects to /metrics/json
- /metrics/json - exports metrics in JSON format
- /metrics/prometheus - optional, exports metrics in Prometheus format, returns 404 if not supported
Oto Šťáva [Thu, 21 Mar 2024 11:17:59 +0000 (12:17 +0100)]
modules/{stats,http}: fix built-in Prometheus and tests
Oto Šťáva [Thu, 21 Mar 2024 10:49:05 +0000 (11:49 +0100)]
modules/stats: split stats.list() into sub-objects
Aleš Mrázek [Tue, 19 Mar 2024 21:45:20 +0000 (22:45 +0100)]
poetry: prometheus-client is now optional
Description and authors update. New setup.py also generated.
Lukáš Ondráček [Wed, 10 Apr 2024 16:17:26 +0000 (18:17 +0200)]
rrl: modify KRU api to return maximum final load value
Lukáš Ondráček [Wed, 10 Apr 2024 14:13:09 +0000 (16:13 +0200)]
rrl: improve error messages
Oto Šťáva [Wed, 10 Apr 2024 10:43:11 +0000 (12:43 +0200)]
gitlab-ci: push docs to the website (manual CI)
Oto Šťáva [Wed, 10 Apr 2024 11:19:27 +0000 (13:19 +0200)]
Merge remote-tracking branch 'origin/master' into 6.0
Lukáš Ondráček [Wed, 10 Apr 2024 11:09:52 +0000 (13:09 +0200)]
Merge branch 'rrl-wip' of gitlab.nic.cz:knot/knot-resolver into rrl-wip
Oto Šťáva [Wed, 10 Apr 2024 11:09:36 +0000 (13:09 +0200)]
Merge branch 'nits' into 'master'
nits: unused variable, improved #include path
See merge request knot/knot-resolver!1529
Lukáš Ondráček [Wed, 10 Apr 2024 11:08:10 +0000 (13:08 +0200)]
rrl: disable parallel tests under valgrind in CI
Vladimír Čunát [Wed, 10 Apr 2024 09:06:59 +0000 (11:06 +0200)]
fixup! rrl: configurable limits in yaml, deinit
I see no reason for these removed parts.
Lukáš Ondráček [Mon, 8 Apr 2024 13:47:15 +0000 (15:47 +0200)]
fixup! rrl: porting unit tests from Knot DNS
Lukáš Ondráček [Mon, 8 Apr 2024 13:42:17 +0000 (15:42 +0200)]
fixup! rrl: porting unit tests from Knot DNS
Vladimír Čunát [Mon, 8 Apr 2024 08:52:01 +0000 (10:52 +0200)]
lib/dnssec nit: improve #include path
The issue was exposed when working on rrl-wip branch:
lib/dnssec/nsec.c:19:10: fatal error: resolve.h: No such file or director
Vladimír Čunát [Wed, 27 Mar 2024 08:21:41 +0000 (09:21 +0100)]
daemon/engine nit: drop an unused variable
Reported by clang.
Vladimír Čunát [Mon, 8 Apr 2024 08:52:01 +0000 (10:52 +0200)]
lib/dnssec nit: improve #include path
No idea why it started causing issues now and for me, with:
lib/dnssec/nsec.c:19:10: fatal error: resolve.h: No such file or director
Oto Šťáva [Mon, 8 Apr 2024 08:48:04 +0000 (10:48 +0200)]
Merge branch 'tls-priority' into '6.0'
daemon/tls: respect crypto policy overrides in OS
See merge request knot/knot-resolver!1526
Vladimír Čunát [Tue, 2 Apr 2024 15:39:05 +0000 (17:39 +0200)]
daemon/tls: respect crypto policy overrides in OS
Oto Šťáva [Fri, 5 Apr 2024 10:22:56 +0000 (12:22 +0200)]
Merge branch 'shared-libkres-fix' into 'master'
daemon/meson.build: add install_rpath to kresd
See merge request knot/knot-resolver!1528
Oto Šťáva [Fri, 5 Apr 2024 09:57:22 +0000 (11:57 +0200)]
daemon/meson.build: add install_rpath to kresd
This fixes the default use-case for developers when they put their
install prefix somewhere where the system `LD_LIBRARY_PATH` does not
point. Before this, `kresd` would fail to start after `ninja install`
because it would not be able to find the `libkres.so` library.
The original workaround to this was to use `meson configure
-Ddefault_library=static`, but firstly, we would like it to be working
with the default settings, and secondly, we would like to have it as
similar to what most users will encounter as possible.
Lukáš Ondráček [Wed, 3 Apr 2024 18:53:52 +0000 (20:53 +0200)]
rrl: porting unit tests from Knot DNS
Lukáš Ondráček [Tue, 2 Apr 2024 15:47:27 +0000 (17:47 +0200)]
fixup! rrl: allow changing configuration on reload
Lukáš Ondráček [Tue, 2 Apr 2024 15:27:24 +0000 (17:27 +0200)]
fixup! fixup! rrl: configurable limits in yaml, deinit
Lukáš Ondráček [Tue, 2 Apr 2024 15:14:06 +0000 (17:14 +0200)]
fixup! rrl: configurable limits in yaml, deinit
Lukáš Ondráček [Tue, 2 Apr 2024 14:17:05 +0000 (16:17 +0200)]
rrl: allow changing configuration on reload
Vladimír Čunát [Tue, 2 Apr 2024 10:34:55 +0000 (12:34 +0200)]
Merge !1525: distro/pkg/rpm: use noreplace for config.yaml
Oto Šťáva [Tue, 2 Apr 2024 09:47:37 +0000 (11:47 +0200)]
distro/pkg/arch: put config.yaml into backup
Same as previous commit, but for Arch Linux.
Oto Šťáva [Tue, 2 Apr 2024 09:29:29 +0000 (11:29 +0200)]
distro/pkg/rpm: use noreplace for config.yaml
Adds `%config(noreplace)` to `config.yaml`. This prevents the package
from overwriting the user's edited configuration upon update, and
instead adds the new default configuration as a `.rpmnew` file for the
user to potentially consider.
Oto Šťáva [Tue, 2 Apr 2024 10:33:55 +0000 (12:33 +0200)]
Merge branch 'upstream-version' into '6.0'
distro: auto-detect latest Knot Resolver version
See merge request knot/knot-resolver!1524
Jakub Ružička [Thu, 28 Mar 2024 17:03:16 +0000 (18:03 +0100)]
distro: auto-detect latest Knot Resolver version
New scripts/upstream-version.sh returns latest Knot Resolver version
based on upstream repo tags.
It's set as upstream.version_script in apkg config which enables:
$ apkg info upstream-version
upstream version: 6.0.7
and later `apkg build --upstream` when tarballs are available.
Lukáš Ondráček [Wed, 27 Mar 2024 10:45:30 +0000 (11:45 +0100)]
rrl: configurable limits in yaml, deinit
Aleš Mrázek [Wed, 27 Mar 2024 16:38:36 +0000 (17:38 +0100)]
Merge branch 'release-6.0.7' into '6.0'
release 6.0.7
See merge request knot/knot-resolver!1523
Aleš Mrázek [Wed, 27 Mar 2024 16:38:30 +0000 (17:38 +0100)]
Merge branch 'release-5.7.2' into 'master'
Release 5.7.2
See merge request knot/knot-resolver!1522
Aleš Mrázek [Wed, 27 Mar 2024 16:06:35 +0000 (17:06 +0100)]
release 6.0.7
Aleš Mrázek [Wed, 27 Mar 2024 15:04:37 +0000 (16:04 +0100)]
ci: obs: create venv and install apkg
Oto Šťáva [Wed, 27 Mar 2024 13:11:40 +0000 (14:11 +0100)]
scripts/update-authors: explicit '--no-show-signature'
Fixes the script for users who have `log.showSignature` set to `true` in
their git config.
Oto Šťáva [Wed, 27 Mar 2024 12:52:57 +0000 (13:52 +0100)]
Release 5.7.2
Oto Šťáva [Wed, 27 Mar 2024 12:41:40 +0000 (13:41 +0100)]
Dockerfile: fix typo 'update' -> 'upgrade'
Oto Šťáva [Wed, 27 Mar 2024 11:05:18 +0000 (12:05 +0100)]
Merge branch '6.0.7-news' into '6.0'
NEWS: add missing entries for 6.0.7
See merge request knot/knot-resolver!1519
Oto Šťáva [Wed, 27 Mar 2024 10:10:47 +0000 (11:10 +0100)]
NEWS, README: "canonicalize" the link to Upgrading docs
Oto Šťáva [Tue, 26 Mar 2024 09:53:59 +0000 (10:53 +0100)]
NEWS: add missing entries for 6.0.7
Oto Šťáva [Wed, 27 Mar 2024 10:03:01 +0000 (11:03 +0100)]
Merge branch 'rpz-soa' into '6.0'
lib/rules: fix RPZ if SOA is repated, as usual in AXFR output
See merge request knot/knot-resolver!1521
Vladimír Čunát [Mon, 25 Mar 2024 13:49:36 +0000 (14:49 +0100)]
lib/rules: avoid RPZ overriding the root SOA
Vladimír Čunát [Mon, 25 Mar 2024 12:28:23 +0000 (13:28 +0100)]
lib/rules: fix RPZ if SOA is repated, as usual in AXFR output
The check for name equality didn't cover the case of repeated SOA.
Lukáš Ondráček [Tue, 26 Mar 2024 15:25:52 +0000 (16:25 +0100)]
rrl: check and log chosen impl. (generic vs AVX2)
Lukáš Ondráček [Tue, 26 Mar 2024 15:10:40 +0000 (16:10 +0100)]
rrl: incorporate KRU changes from Knot DNS
Lukáš Ondráček [Tue, 26 Mar 2024 11:38:18 +0000 (12:38 +0100)]
rrl: sharing memory between processes, basic limiting
Oto Šťáva [Tue, 26 Mar 2024 11:34:16 +0000 (12:34 +0100)]
Merge branch 'improve-limits' into '6.0'
manager: increase startup timeout for manager (again)
See merge request knot/knot-resolver!1520
Vladimír Čunát [Mon, 25 Mar 2024 10:23:37 +0000 (11:23 +0100)]
manager, systemd: increase startup timeout for manager (again)
During the previous increase I didn't realize the comment added now.
Oto Šťáva [Fri, 22 Mar 2024 13:40:56 +0000 (14:40 +0100)]
Merge branch 'improve-limits' into '6.0'
minor improvements of limits
See merge request knot/knot-resolver!1518
Vladimír Čunát [Fri, 22 Mar 2024 10:56:30 +0000 (11:56 +0100)]
lib/rules: increase default DB size to 2G on 64-bit platforms
The file is sparse, which really is supported by all sane filesystems
nowadays I think. But for 32-bit systems I'm a bit afraid for the
ability to reliably get such a large contiguous mapping in process memory,
so there we take the 500M limit tested in knot-dns:
https://gitlab.nic.cz/knot/knot-dns/-/blob/v3.3.5/src/knot/conf/schema.c#L39
Vladimír Čunát [Fri, 22 Mar 2024 10:45:51 +0000 (11:45 +0100)]
manager: increase startup timeout for processes
In production I believe we can assume that process continuing to work
without bailing out is probably doing something useful, e.g.
in case of kresd it might be preparing a very large rule-set.
Oto Šťáva [Fri, 22 Mar 2024 13:15:26 +0000 (14:15 +0100)]
Merge branch 'runtime-lib-paths' into '6.0'
meson.build: fix paths to knot-dns libs if exec_prefix != prefix
See merge request knot/knot-resolver!1503
Vladimír Čunát [Wed, 21 Feb 2024 08:16:45 +0000 (09:16 +0100)]
meson.build: fix paths to knot-dns libs if exec_prefix != prefix
Man, this is complicated. But I hope that this one will really be
reliable, with `sh` and `wc` being present in basically every POSIX env.
Oto Šťáva [Fri, 22 Mar 2024 12:18:06 +0000 (13:18 +0100)]
Merge branch 'udp-low-ports' into '6.0'
daemon/io: ignore UDP requests from ports < 1024
See merge request knot/knot-resolver!1507
Vladimír Čunát [Thu, 29 Feb 2024 10:47:37 +0000 (11:47 +0100)]
daemon/io: ignore UDP requests from ports < 1024
Oto Šťáva [Fri, 22 Mar 2024 11:30:31 +0000 (12:30 +0100)]
Merge remote-tracking branch 'origin/master' into 6.0
Oto Šťáva [Fri, 22 Mar 2024 11:15:23 +0000 (12:15 +0100)]
Merge branch 'time_t' into 'master'
daemon/lua: fix on 32-bit systems with 64-bit time_t
See merge request knot/knot-resolver!1510
Vladimír Čunát [Wed, 6 Mar 2024 11:19:28 +0000 (12:19 +0100)]
daemon/lua: fix on 32-bit systems with 64-bit time_t
This improves the heuristics.
The problem would be detected by meson, but not when cross-compiling,
in which case things would mostly run OK, except some lua code/modules.
Oto Šťáva [Fri, 22 Mar 2024 10:35:59 +0000 (11:35 +0100)]
Merge branch 'doc-update-oci' into '6.0'
doc styling fixes
See merge request knot/knot-resolver!1517
Oto Šťáva [Wed, 20 Mar 2024 14:12:56 +0000 (15:12 +0100)]
doc/_static/css: fix anchor colors
The global styling made some anchors misbehave. Since we only want to
recolor the anchors in the content part of the docs, let's properly
target the CSS rules.
Oto Šťáva [Wed, 20 Mar 2024 13:43:29 +0000 (14:43 +0100)]
doc/user: add missing sphinxcontrib.jquery
Accidentally omitted in `doc/user`, present in `doc/dev`.
Vladimír Čunát [Wed, 20 Mar 2024 17:28:20 +0000 (18:28 +0100)]
Merge !1516: lib/rules: fix RPZ if it contains apex NS record
Vladimír Čunát [Wed, 20 Mar 2024 09:51:41 +0000 (10:51 +0100)]
lib/rules: fix RPZ if it contains apex NS record
The spec even requires (at least one) NS record in apex
https://datatracker.ietf.org/doc/html/draft-vixie-dns-rpz-00#section-2
but until now the implementation took it as override for the root NS,
which obviously broke resolution (depending on the supplied name/s).
Oto Šťáva [Tue, 19 Mar 2024 15:19:37 +0000 (16:19 +0100)]
README.md: Fix incorrect URL to build instructions