]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Aleš Mrázek [Mon, 22 Jan 2024 13:02:00 +0000 (14:02 +0100)]
datamodel: moving the main jinja template loader to the templates dir
Aleš Mrázek [Mon, 22 Jan 2024 12:57:10 +0000 (13:57 +0100)]
controller: moving workers registration helpers out of the statistics module
Aleš Mrázek [Tue, 14 Nov 2023 13:04:29 +0000 (14:04 +0100)]
kresctl: 'cache-clear' command created
Vladimír Čunát [Tue, 13 Feb 2024 13:17:57 +0000 (14:17 +0100)]
Merge branch 'release-6.0.6' into 6.0
Vladimír Čunát [Tue, 13 Feb 2024 13:05:13 +0000 (14:05 +0100)]
Release 6.0.6
Vladimír Čunát [Tue, 13 Feb 2024 13:17:07 +0000 (14:17 +0100)]
AUTHORS update
Vladimír Čunát [Tue, 13 Feb 2024 13:09:56 +0000 (14:09 +0100)]
Merge !1497: lib/dnssec: allow validating some RRsets around 64 KiB size
Vladimír Čunát [Tue, 6 Feb 2024 08:41:04 +0000 (09:41 +0100)]
lib/dnssec: allow validating some RRsets around 64 KiB size
- only with libknot >= 3.4 though (which is not released yet)
- use stack instead of static buffer (saves RAM; see code comment)
Vladimír Čunát [Tue, 13 Feb 2024 12:32:32 +0000 (13:32 +0100)]
NEWS for 6.0.6
Vladimír Čunát [Tue, 13 Feb 2024 12:12:41 +0000 (13:12 +0100)]
Merge branch 'master' into dos-feb13-6.0
There were some nontrivial conflicts to resolve, NEWS + the line
ctx->vld_limit_crypto = KR_VLD_LIMIT_CRYPTO_DEFAULT;
(I had this resolution prepared for a long time.)
Aleš Mrázek [Tue, 13 Feb 2024 09:08:04 +0000 (10:08 +0100)]
release 5.7.1
Vladimír Čunát [Tue, 13 Feb 2024 11:43:16 +0000 (12:43 +0100)]
Merge: mitigate CVE-2023-50387 "KeyTrap"
DNSSEC verification complexity could be exploited to exhaust CPU resources and stall DNS resolvers.
Solution boils down mainly to limiting crypto-validations per packet.
Vladimír Čunát [Mon, 1 Jan 2024 15:25:05 +0000 (16:25 +0100)]
update NEWS with KeyTrap
in a separate commit, as it will tend to conflict if patching
Vladimír Čunát [Tue, 16 Jan 2024 06:35:20 +0000 (07:35 +0100)]
mitigate KeyTrap DoS = CVE-2023-50387
Improve: don't retry in this case.
Vladimír Čunát [Mon, 1 Jan 2024 15:21:10 +0000 (16:21 +0100)]
mitigate KeyTrap DoS = CVE-2023-50387
Vladimír Čunát [Mon, 1 Jan 2024 15:05:46 +0000 (16:05 +0100)]
lib/resolve kr_request_set_extended_error(): tweak priorities
Keep the first error in case priorities are equal.
At least with the current KeyTrap topic that should work better,
but blaming a single error is alchemy anyway, at least in some cases.
Vladimír Čunát [Sat, 30 Dec 2023 08:20:56 +0000 (09:20 +0100)]
lib/dnssec kr_rrset_validate_with_key(): deduplicate cleanup
Vladimír Čunát [Tue, 13 Feb 2024 08:46:09 +0000 (09:46 +0100)]
Merge CVE-2023-50868: NSEC3 closest encloser proof can exhaust CPU
Vladimír Čunát [Mon, 12 Feb 2024 13:06:28 +0000 (14:06 +0100)]
Merge branch 'master' into 6.0
There were some conflicts with !1495
Vladimír Čunát [Mon, 12 Feb 2024 10:30:50 +0000 (11:30 +0100)]
validator: compatibility with older libknot versions
The value is in IANA registry, so it's very constant anyway.
Vladimír Čunát [Mon, 12 Feb 2024 10:23:42 +0000 (11:23 +0100)]
add NEWS for NSEC3 mitigations from the previous few commits
Vladimír Čunát [Mon, 12 Feb 2024 10:16:47 +0000 (11:16 +0100)]
validator: refuse to validate answers with more than 8 NSEC3 records
Vladimír Čunát [Mon, 12 Feb 2024 10:16:37 +0000 (11:16 +0100)]
validator: limit the amount of work on SHA1 in NSEC3 proofs
Vladimír Čunát [Sun, 11 Feb 2024 09:00:32 +0000 (10:00 +0100)]
lib/cache: limit the amount of work on SHA1
That's when searching NSEC3 aggressive cache.
Vladimír Čunát [Tue, 2 Jan 2024 10:18:31 +0000 (11:18 +0100)]
validator: similarly also limit excessive NSEC3 salt length
Limit combination of iterations and salt length, based on estimated
expense of the computation. Note that the result only differs for
salt length > 44 which is rather nonsensical and very rare:
https://chat.dns-oarc.net/community/pl/h58qx9sjkbgt9dajb7x988p78a
Vladimír Čunát [Tue, 2 Jan 2024 09:05:28 +0000 (10:05 +0100)]
validator: lower the NSEC3 iteration limit (150 -> 50)
Also done by BIND9 >= 9.19.19:
https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/8515
The latest real-life measurements show that values above 50 are rare:
https://chat.dns-oarc.net/community/pl/aadp9wwrp7g7ux1b8chbzebmze
Jakub Ružička [Tue, 6 Feb 2024 15:00:44 +0000 (16:00 +0100)]
Merge branch 'pkg-bionic' into 'master'
pkg/distro/deb: fix doc build for Ubuntu 18.04
See merge request knot/knot-resolver!1495
Jakub Ružička [Tue, 6 Feb 2024 13:32:56 +0000 (14:32 +0100)]
pkg/distro/deb: fix doc build for Ubuntu 18.04
Due to mysterious reasons, Ubuntu 18.04 ARM builds doesn't invoke
dh_installinfo (even though amd64 does).
Merge knot-resolver-doc.info into knot-resolver-doc.docs for
compatibility.
Jakub Ružička [Mon, 5 Feb 2024 17:10:21 +0000 (18:10 +0100)]
distro/pkg/deb: bump debhelper compat to 11
Oldest supported distro requiring 11 is Ubuntu 18.04 Bionic Beaver.
Vladimír Čunát [Tue, 6 Feb 2024 07:55:25 +0000 (08:55 +0100)]
libknot 3.4 compat
This extends the new 5.x commit
673c8d2b56b6 .
Now I can build fine against knot-dns master again.
Vladimír Čunát [Tue, 6 Feb 2024 11:41:30 +0000 (12:41 +0100)]
Merge branch 'master' into 6.0
Vladimír Čunát [Tue, 6 Feb 2024 11:40:35 +0000 (12:40 +0100)]
Merge !1494: compatibility with libknot's master (3.4 WIP)
Vladimír Čunát [Tue, 6 Feb 2024 07:46:34 +0000 (08:46 +0100)]
compatibility with libknot's master (3.4 WIP)
I'm adding this as a function, as in knot-resolver 6.x we have
one more place where it is used, and I find this more readable.
Vladimír Čunát [Sat, 3 Feb 2024 17:28:27 +0000 (18:28 +0100)]
Merge !1493: distro/pkg/deb: depend on python3, not python3-all
Jakub Ružička [Tue, 30 Jan 2024 14:03:20 +0000 (15:03 +0100)]
distro/pkg/deb: depend on python3, not python3-all
This fixes build failures on Ubuntu 24.04 where python3.11
and python3.12 co-exist.
Aleš Mrázek [Fri, 26 Jan 2024 16:07:55 +0000 (17:07 +0100)]
Merge branch 'manager-stats-fixes' into '6.0'
manager: fixes for metrics/stats
See merge request knot/knot-resolver!1492
Aleš Mrázek [Fri, 26 Jan 2024 12:57:47 +0000 (13:57 +0100)]
manager/kresd_controller/interface.py: register only kresd workers for metrics
Aleš Mrázek [Fri, 26 Jan 2024 12:05:13 +0000 (13:05 +0100)]
manager/statistics.py: instance_id fix
Vladimír Čunát [Fri, 19 Jan 2024 12:58:04 +0000 (13:58 +0100)]
Merge !1490: manager/tests/packaging: More verbose systemd_service tests
Oto Šťáva [Thu, 18 Jan 2024 19:05:40 +0000 (20:05 +0100)]
manager/tests/packaging: More verbose systemd_service tests
Oto Šťáva [Mon, 15 Jan 2024 21:52:56 +0000 (22:52 +0100)]
Merge remote-tracking branch 'origin/master' into doc-logo-manual-colors-6
Oto Šťáva [Mon, 15 Jan 2024 20:57:35 +0000 (21:57 +0100)]
Merge branch 'doc-logo-manual-colors-5' into 'master'
doc: adjust colors according to the logo manual
See merge request knot/knot-resolver!1489
Oto Šťáva [Mon, 15 Jan 2024 19:11:13 +0000 (20:11 +0100)]
doc: adjust colors according to the logo manual
Vladimír Čunát [Mon, 15 Jan 2024 14:00:16 +0000 (15:00 +0100)]
Merge !1481: meson.build: install and search directories adjustments
Vladimír Čunát [Mon, 15 Jan 2024 13:41:02 +0000 (14:41 +0100)]
NEWS: add a line about run_dir
Oto Šťáva [Fri, 5 Jan 2024 16:54:41 +0000 (17:54 +0100)]
meson.build: conditional branching on run_dir
This should, to the best of our knowledge, give us the correct run_dir
on Linux, macOS and BSDs.
Kirill A. Korinsky [Fri, 5 Jan 2024 15:38:01 +0000 (16:38 +0100)]
meson.build: make /run dir relative to install prefix
Kirill A. Korinsky [Fri, 5 Jan 2024 14:48:29 +0000 (15:48 +0100)]
meson.build: respect pkgconfig libdir
Oto Šťáva [Mon, 15 Jan 2024 09:57:05 +0000 (10:57 +0100)]
Merge remote-tracking branch 'origin/master' into 6.0
Oto Šťáva [Mon, 15 Jan 2024 09:54:55 +0000 (10:54 +0100)]
Merge branch 'sonarcloud-5-update' into 'master'
ci/images/debian-11: update sonarcloud to version 5
See merge request knot/knot-resolver!1488
Oto Šťáva [Mon, 15 Jan 2024 09:38:12 +0000 (10:38 +0100)]
ci/images/debian-11: update sonarcloud to version 5
Old version caused failures due to unsupported Java version 11.
Vladimír Čunát [Sun, 14 Jan 2024 08:46:37 +0000 (09:46 +0100)]
Merge !1487: Update links to documentation
Oto Šťáva [Fri, 12 Jan 2024 15:21:31 +0000 (16:21 +0100)]
Update links to documentation
Replaces all mentions of `knot-resolver.readthedocs.io` with
`www.knot-resolver.cz/documentation/latest`.
Some of the links used to point to the `latest` documentation, which
meant the latest `master` commit, but the current system does not really
allow us to do this, so instead we link to the latest stable (which is
what `www.knot-resolver.cz/documentation/latest` basically is).
We also cannot reliably get the documentation for a particular version
in the code, so it all just points to `latest` as well. This may change
in the future, although I do not yet have a good approach in mind
(particularly, I don't want to bother our admins with nginx
configuration updates for each newly released version).
Vladimír Čunát [Wed, 10 Jan 2024 16:23:12 +0000 (17:23 +0100)]
Merge !1486: doc/requirements.txt: add sphinx_rtd_theme
Oto Šťáva [Wed, 10 Jan 2024 15:39:52 +0000 (16:39 +0100)]
doc/requirements.txt: add sphinx_rtd_theme
This should fix the ReadTheDocs build
Oto Šťáva [Wed, 10 Jan 2024 15:19:55 +0000 (16:19 +0100)]
Merge branch 'master' into 6.0
Oto Šťáva [Wed, 10 Jan 2024 15:12:09 +0000 (16:12 +0100)]
Merge branch 'docs-pages-5-backport' into 'master'
Backport hosting docs in GitLab Pages into 5.x
See merge request knot/knot-resolver!1485
Oto Šťáva [Wed, 10 Jan 2024 15:04:14 +0000 (16:04 +0100)]
.gitlab-ci: remove the `pages` job for 5.x
Oto Šťáva [Wed, 10 Jan 2024 14:18:57 +0000 (15:18 +0100)]
doc/conf.py: jquery workaround
Oto Šťáva [Wed, 10 Jan 2024 14:05:24 +0000 (15:05 +0100)]
.gitlab-ci: upgrade pip packages
Oto Šťáva [Wed, 10 Jan 2024 13:49:11 +0000 (14:49 +0100)]
scripts/make-doc.sh: backport changes from 6.0
Aleš Mrázek [Wed, 10 Jan 2024 12:55:43 +0000 (13:55 +0100)]
Merge branch 'doc-monitoring-stats' into '6.0'
doc: update statistics collection using yaml config
See merge request knot/knot-resolver!1482
Aleš Mrázek [Mon, 8 Jan 2024 16:30:21 +0000 (17:30 +0100)]
doc/config-monitoring-stats.rst: update stats config with yaml
Oto Šťáva [Wed, 10 Jan 2024 11:30:16 +0000 (12:30 +0100)]
.gitlab-ci: remove old 'doc' target
Oto Šťáva [Tue, 12 Sep 2023 12:27:09 +0000 (14:27 +0200)]
.gitlab-ci: fix Pages publishing
This commit renames `docs:public` to `pages` as required by GitLab CI to
recognize Pages jobs correctly. It also adds the `public` directory into
`artifacts:paths`.
Oto Šťáva [Tue, 29 Aug 2023 08:38:13 +0000 (10:38 +0200)]
.gitlab-ci.yml: use environments for documentation versioning
This leverages Environments on GitLab to expose different versions of
Knot Resolver docs. The `docs:build` job builds the documentation and
exposes it via job artifacts. Then `docs:develop` (for branches) and
`docs:release` (for tags) take these artifacts and expose them via an
Environment link (an example of this in action may be seen at
[https://gitlab.nic.cz/ostava/knot-resolver/-/environments]).
There is also an optional, manually runnable `docs:public` job, which,
when run, propagates the documentation to the main GitLab Pages of the
project (e.g. [https://knot.pages.nic.cz/knot-resolver]) - this will
probably be mostly used for the latest release, although this setup
pretty much allows us to swap it for whatever version we like at any
time.
Oto Šťáva [Tue, 9 Jan 2024 15:53:37 +0000 (16:53 +0100)]
Merge branch 'doc-dev' into '6.0'
Documentation improvements - doc-dev directory; release notes shortening
See merge request knot/knot-resolver!1484
Oto Šťáva [Tue, 9 Jan 2024 15:31:31 +0000 (16:31 +0100)]
doc/NEWS: exclude LTS versions from release notes
Oto Šťáva [Tue, 9 Jan 2024 15:31:04 +0000 (16:31 +0100)]
doc-dev: create directory for developer documentation
Jakub Ružička [Tue, 9 Jan 2024 13:27:14 +0000 (14:27 +0100)]
Merge branch 'release-6.0.5' into '6.0'
Release 6.0.5
See merge request knot/knot-resolver!1483
Vladimír Čunát [Tue, 9 Jan 2024 11:34:50 +0000 (12:34 +0100)]
doc nit: fix a broken link
Vladimír Čunát [Tue, 9 Jan 2024 07:38:24 +0000 (08:38 +0100)]
scripts/update-authors.sh nit: avoid confusing changes in ordering
Jakub Ružička [Mon, 8 Jan 2024 18:18:28 +0000 (19:18 +0100)]
Release 6.0.5
Vladimír Čunát [Tue, 9 Jan 2024 07:22:52 +0000 (08:22 +0100)]
AUTHORS: regenerate
Vladimír Čunát [Tue, 9 Jan 2024 07:18:46 +0000 (08:18 +0100)]
Merge branch 'master' into 6.0
Vladimír Čunát [Mon, 8 Jan 2024 09:47:21 +0000 (10:47 +0100)]
doc/manager-client: fix a copy&paste typo
Oto Šťáva [Thu, 28 Dec 2023 14:54:09 +0000 (15:54 +0100)]
doc/gettingstarted-config: change `rules/type` to `rules/subtree`
This has been renamed at one point in the code, but missed in the
getting started guide.
Vladimír Čunát [Tue, 12 Dec 2023 09:32:30 +0000 (10:32 +0100)]
daemon/io: close LMDB txns after control socket commands
There's the issue that during config-file loading we prefer to do all
changes in rule DB inside a single transaction, so the normal commands
do not close them. However with control socket commands we can't afford
to leave transactions open (unclear for how long), especially RW transactions.
Oto Šťáva [Mon, 11 Dec 2023 10:35:23 +0000 (11:35 +0100)]
Merge branch 'ci-arch' into '6.0'
CI: add pkg:arch job for Arch linux
See merge request knot/knot-resolver!1474
Oto Šťáva [Mon, 11 Dec 2023 10:16:06 +0000 (11:16 +0100)]
.gitlab-ci: pkg:arch: update repos before test
Jakub Ružička [Thu, 16 Nov 2023 14:06:02 +0000 (15:06 +0100)]
CI: add pkg:arch job for Arch linux
makepkg refuses to run as root so we need to run
apkg build
as a non-root user.
Oto Šťáva [Fri, 8 Dec 2023 15:22:18 +0000 (16:22 +0100)]
Merge branch 'ci-pkg-update' into '6.0'
ci: add pkg:ubuntu-24.04 job, bump pkg:fedora jobs to latest (39, 38)
See merge request knot/knot-resolver!1479
Jakub Ružička [Fri, 8 Dec 2023 15:10:15 +0000 (16:10 +0100)]
ci: bump pkg:fedora jobs to 39, 38
Jakub Ružička [Fri, 8 Dec 2023 15:08:07 +0000 (16:08 +0100)]
ci: add pkg:ubuntu-24.04 job
Vladimír Čunát [Tue, 28 Nov 2023 14:32:06 +0000 (15:32 +0100)]
Merge !1478: etc/root.hints: B.root-servers.net updated addresses
Vladimír Čunát [Tue, 28 Nov 2023 13:44:55 +0000 (14:44 +0100)]
etc/root.hints: B.root-servers.net updated addresses
Officially yesterday, but there's long overlap when both address pairs
are promised to work. See e.g. this e-mail thread:
https://lists.dns-oarc.net/pipermail/dns-operations/2023-June/022052.html
Vladimír Čunát [Sun, 26 Nov 2023 07:55:09 +0000 (08:55 +0100)]
Merge !1477: datamodel: sync the whole list logging groups
Aleš Mrázek [Fri, 24 Nov 2023 10:28:53 +0000 (11:28 +0100)]
scripts/codecheck: flake8: ignore E266, W504
Vladimír Čunát [Thu, 23 Nov 2023 11:02:58 +0000 (12:02 +0100)]
datamodel: sync the whole list logging groups
Now that manager is integrated into kresd,
I expect these will naturally keep it in sync.
Vladimír Čunát [Sun, 26 Nov 2023 07:54:03 +0000 (08:54 +0100)]
Merge !1462: systemd unit: log via syslog API instead of stdout
Vladimír Čunát [Tue, 3 Oct 2023 08:46:06 +0000 (10:46 +0200)]
systemd unit: log via syslog API instead of stdout
It's promised in docs already. The extra metadata can be useful.
Vladimír Čunát [Sun, 26 Nov 2023 07:50:50 +0000 (08:50 +0100)]
Merge !1464: doc/config-* nits, mainly begin topics with typical examples
Vladimír Čunát [Tue, 3 Oct 2023 11:23:55 +0000 (13:23 +0200)]
doc/config-logging-monitoring: begin with typical examples
Also improve text around the remnants of verbose() command.
Vladimír Čunát [Tue, 3 Oct 2023 11:06:31 +0000 (13:06 +0200)]
doc/config-network-server: move warning to more relevant place
Vladimír Čunát [Tue, 3 Oct 2023 11:04:47 +0000 (13:04 +0200)]
doc/config-network-server: begin with typical examples
Spacing around brackets seems more common in our examples.
Vladimír Čunát [Tue, 3 Oct 2023 08:16:42 +0000 (10:16 +0200)]
doc/config-local-data: begin with typical examples
This doc page is relatively complex and it will only get longer
in future, but I expect that 90% of users will be OK with just
these simple examples.
Vladimír Čunát [Sun, 26 Nov 2023 07:49:28 +0000 (08:49 +0100)]
Merge !1472: ci/images/debian-12: add Debian 12 CI image for future use
Oto Šťáva [Tue, 14 Nov 2023 09:16:52 +0000 (10:16 +0100)]
ci/images/debian-12: add Debian 12 CI image for future use
Right now, I will need to use it for DNS Shotgun because Debian 11 had
GnuTLS too old for QUIC.
Vladimír Čunát [Wed, 22 Nov 2023 10:41:11 +0000 (11:41 +0100)]
Merge !1476: Update Arch Linux package URL in README.md
Felix Yan [Tue, 21 Nov 2023 14:25:07 +0000 (16:25 +0200)]
Update Arch Linux package URL in README.md
The old URL returns 404 now.