]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Aleš Mrázek [Mon, 2 Sep 2024 15:51:25 +0000 (17:51 +0200)]
datamodel: types: files: enum for permission mode added
Frantisek Tobias [Wed, 21 Aug 2024 09:44:14 +0000 (11:44 +0200)]
datamodel: file permission checks: format files
Aleš Mrázek [Tue, 20 Aug 2024 10:04:19 +0000 (12:04 +0200)]
scripts/poe-tasks/configure: add user and group
Frantisek Tobias [Tue, 20 Aug 2024 08:09:03 +0000 (10:09 +0200)]
datamodel: file permission checks: remove left over code, fix linter
formatting ignored for now since the code that is to be formated will likely be moved elsewhere
Frantisek Tobias [Tue, 20 Aug 2024 07:32:38 +0000 (09:32 +0200)]
datamodel: file permission checks: #814 created function to check that kresd_user() can access the files and directories
Frantisek Tobias [Thu, 15 Aug 2024 11:41:44 +0000 (13:41 +0200)]
datamodel: file permission checks: Created new types to check if files can be opened
Vladimír Čunát [Mon, 2 Sep 2024 14:34:20 +0000 (16:34 +0200)]
Merge !1601: daemon/tls: log pins and certificates in case of no match
Fixes #813
Vladimír Čunát [Wed, 28 Aug 2024 11:28:05 +0000 (13:28 +0200)]
daemon/tls: bump gnutls version requirement
It simplifies a bit. No need to support ancient versions.
Vladimír Čunát [Wed, 28 Aug 2024 11:28:02 +0000 (13:28 +0200)]
daemon/tls: drop a DEBUG section
The new pin logging is better than this. No need to recompile with -DDEBUG (rare).
Vladimír Čunát [Wed, 28 Aug 2024 10:48:40 +0000 (12:48 +0200)]
daemon/tls: fix a bug that caused empty base64 pins
Vladimír Čunát [Wed, 28 Aug 2024 10:23:15 +0000 (12:23 +0200)]
NEWS for the pin-sha256 changes
Frantisek Tobias [Wed, 28 Aug 2024 07:14:14 +0000 (09:14 +0200)]
datamodel/types: fix check for base64 encoded sha256
pin sha256 were used and tested for in incorrect format, refer to: https://www.rfc-editor.org/rfc/rfc7469#section-2.1.5
Frantisek Tobias [Wed, 28 Aug 2024 07:09:24 +0000 (09:09 +0200)]
daemon/tls: log pins and certificates in case of no match #813
Vladimír Čunát [Thu, 29 Aug 2024 06:25:03 +0000 (08:25 +0200)]
Merge !1603: daemon/session2: comment on event propagation
Oto Šťáva [Wed, 28 Aug 2024 15:32:43 +0000 (17:32 +0200)]
daemon/session2: comment on event propagation
Minor, but I believe quite important. I stumbled across this while
writing the protocol layer article and thought it was not emphasized
enough in the docs.
Vladimír Čunát [Tue, 27 Aug 2024 12:41:52 +0000 (14:41 +0200)]
Merge !1600: poe: fix out-of-repo workspaces + ignores
Oto Šťáva [Tue, 27 Aug 2024 12:41:52 +0000 (14:41 +0200)]
poe: fix out-of-repo workspaces + ignores
Aleš Mrázek [Mon, 26 Aug 2024 12:37:16 +0000 (14:37 +0200)]
Merge branch 'manager-dir-merging' into 'master'
manager: moving things to the repository root and minor cleanup
See merge request knot/knot-resolver!1577
Oto Šťáva [Fri, 23 Aug 2024 12:57:31 +0000 (14:57 +0200)]
scripts: organize into subdirs and clean up unused
Oto Šťáva [Mon, 5 Aug 2024 14:29:01 +0000 (16:29 +0200)]
tests/integration/deckard: update to latest master
Aleš Mrázek [Mon, 5 Aug 2024 13:24:05 +0000 (15:24 +0200)]
scripts/poe-tasks: env vars are accessible by all tasks using _env.sh
Aleš Mrázek [Mon, 5 Aug 2024 13:18:30 +0000 (15:18 +0200)]
poe: removed support for older Python version <3.8
Aleš Mrázek [Fri, 2 Aug 2024 16:53:50 +0000 (18:53 +0200)]
scripts: use env shebang
Aleš Mrázek [Fri, 2 Aug 2024 09:53:24 +0000 (11:53 +0200)]
scripts/poe-tasks: kresctl task script added
Aleš Mrázek [Thu, 1 Aug 2024 16:13:48 +0000 (18:13 +0200)]
scripts: make all scripts executable
Aleš Mrázek [Thu, 1 Aug 2024 15:56:20 +0000 (17:56 +0200)]
scripts/poe-tasks: scripts for some tasks
It would be useful to be able to run some tasks outside of the Poetry environment.
Aleš Mrázek [Thu, 1 Aug 2024 13:58:34 +0000 (15:58 +0200)]
pyproject.toml: help for some poe tasks improved
Aleš Mrázek [Thu, 1 Aug 2024 13:46:22 +0000 (15:46 +0200)]
scripts/poe-tasks: scripts and pyproject.toml tasks names unification
Aleš Mrázek [Thu, 1 Aug 2024 12:45:25 +0000 (14:45 +0200)]
scripts: subdirectory for ./poe tasks created
Aleš Mrázek [Thu, 1 Aug 2024 12:38:11 +0000 (14:38 +0200)]
scripts: unused scripts removed
Aleš Mrázek [Tue, 30 Jul 2024 09:34:48 +0000 (11:34 +0200)]
.python-version: update versions
Jakub Ružička [Tue, 30 Jul 2024 08:09:00 +0000 (10:09 +0200)]
distro/pkg/deb: use pybuild
Aleš Mrázek [Thu, 25 Jul 2024 11:56:08 +0000 (13:56 +0200)]
manager: compat: dataclasses removed
Aleš Mrázek [Thu, 25 Jul 2024 07:05:36 +0000 (09:05 +0200)]
docker: config path fix
Aleš Mrázek [Thu, 25 Jul 2024 06:52:48 +0000 (08:52 +0200)]
distro/pkg: the manager paths fixes
Aleš Mrázek [Fri, 12 Jul 2024 14:22:49 +0000 (16:22 +0200)]
manager: unnecessary files deleted
Aleš Mrázek [Fri, 12 Jul 2024 14:21:38 +0000 (16:21 +0200)]
.gitignore : poetry and build files added
Aleš Mrázek [Fri, 12 Jul 2024 08:12:36 +0000 (10:12 +0200)]
manager: poetry project moved to the repository root
Aleš Mrázek [Thu, 11 Jul 2024 12:36:20 +0000 (14:36 +0200)]
manager: scripts moved to the repository root
Aleš Mrázek [Fri, 21 Jun 2024 10:30:08 +0000 (12:30 +0200)]
manager: tests moved to the repository root
Aleš Mrázek [Fri, 21 Jun 2024 04:10:11 +0000 (06:10 +0200)]
manager: YAML configs moved to the repository root 'etc' dir
Aleš Mrázek [Thu, 20 Jun 2024 12:28:19 +0000 (14:28 +0200)]
manager/README.md: deleted
Aleš Mrázek [Thu, 20 Jun 2024 12:25:30 +0000 (14:25 +0200)]
README.md: minor improvements and the manager added
Vladimír Čunát [Wed, 21 Aug 2024 12:27:04 +0000 (14:27 +0200)]
Merge !1596: modules/serve_stale: drop the unused arguments again
Vladimír Čunát [Wed, 21 Aug 2024 12:14:26 +0000 (14:14 +0200)]
modules/serve_stale: drop the unused arguments again
This should fix the lint:other CI. Forgotten in
39f4b5af72f3a .
Aleš Mrázek [Wed, 21 Aug 2024 12:09:27 +0000 (14:09 +0200)]
Merge branch 'manager-mypy-fix' into 'master'
manager: modeling: mypy ignore comparison-overlap error
See merge request knot/knot-resolver!1570
Aleš Mrázek [Mon, 22 Jul 2024 11:51:25 +0000 (13:51 +0200)]
manager: modeling: mypy ignore comparison-overlap error
Vladimír Čunát [Tue, 20 Aug 2024 07:25:07 +0000 (09:25 +0200)]
Merge !1592: cache: move setting EDE "Stale Answer" to the serve_stale module
menakite [Wed, 14 Aug 2024 17:36:54 +0000 (19:36 +0200)]
cache: move setting EDE "Stale Answer" to the the serve_stale module.
It is not guaranteed yet that the request will finish in state DONE.
This prevents other EDE codes from being applied to the request and in
case the request ends in FAIL state it produces a SERVFAIL answer with
EDE "Stale Answer", which is a bit weird.
Move setting EDEs in answer_finalize in the serve_stale module, where
the proper EDE in case of NXDOMAIN is set too.
Vladimír Čunát [Mon, 19 Aug 2024 15:16:38 +0000 (17:16 +0200)]
Merge !1591: modules/stats add answer.stale
Frantisek Tobias [Mon, 19 Aug 2024 15:16:38 +0000 (17:16 +0200)]
modules/stats: add answer.stale
Vladimír Čunát [Mon, 19 Aug 2024 13:54:37 +0000 (15:54 +0200)]
Merge !1588: validator: avoid clearing EDE if request didn't actually fail
Vladimír Čunát [Mon, 19 Aug 2024 13:42:11 +0000 (15:42 +0200)]
validator nit: move validate_wrapper() to a better place
menakite [Fri, 9 Aug 2024 23:19:40 +0000 (01:19 +0200)]
validator: avoid clearing EDE if query didn't actually fail
Vladimír Čunát [Tue, 13 Aug 2024 12:17:26 +0000 (14:17 +0200)]
Merge !1576: views: improve interaction with old-style policies
Vladimír Čunát [Thu, 25 Jul 2024 12:27:04 +0000 (14:27 +0200)]
views: improve interaction with old-style policies
i.e. respect the old chain-rule notion in this case.
... because why not, and someone wanted to use it this way already.
Logically it makes sense in some cases, but I still implore to prefer
6.x -style rules where possible, as e.g. the interations are better.
Vladimír Čunát [Tue, 13 Aug 2024 11:51:38 +0000 (13:51 +0200)]
Merge !1585: daemon,lib: sync EDE codes supported by libknot 3.3
menakite [Wed, 7 Aug 2024 14:14:09 +0000 (16:14 +0200)]
{daemon,lib}: sync EDE codes supported by libknot.
Adds the following extended error codes:
* 25 (Signature Expired before Valid): KNOT_EDNS_EDE_EXPIRED_INV
* 26 (Too Early): KNOT_EDNS_EDE_TOO_EARLY
* 27 (Unsupported NSEC3 Iterations Value): KNOT_EDNS_EDE_NSEC3_ITERS
* 28 (Unable to conform to policy): KNOT_EDNS_EDE_NONCONF_POLICY
* 29 (Synthesized): KNOT_EDNS_EDE_SYNTHESIZED
Vladimír Čunát [Mon, 12 Aug 2024 10:52:40 +0000 (12:52 +0200)]
Merge !1589: iterator: fix handling of ANY queries and != IN classes.
Vladimír Čunát [Mon, 12 Aug 2024 08:57:11 +0000 (10:57 +0200)]
NEWS+comment for the parent commit
menakite [Sun, 11 Aug 2024 02:07:32 +0000 (04:07 +0200)]
iterator: fix handling of ANY queries and != IN classes.
It was supposed to answer NOTIMP, but was returning FAIL instead of
DONE and so the answer was SERVFAIL.
Also added EDE code "Not Supported" for clarity.
Oto Šťáva [Thu, 8 Aug 2024 10:21:45 +0000 (12:21 +0200)]
Merge branch 'poe-configure-old-meson' into 'master'
manager/scripts/meson-configure: fix setup for old Meson
See merge request knot/knot-resolver!1584
Oto Šťáva [Thu, 8 Aug 2024 09:25:47 +0000 (11:25 +0200)]
doc/dev/manager-dev-env: clarifications and advanced setup
Oto Šťáva [Wed, 7 Aug 2024 13:56:24 +0000 (15:56 +0200)]
manager/scripts/meson-configure: fix setup for old Meson
This fixes first-time setup for Meson pre-1.1.0.
Vladimír Čunát [Wed, 7 Aug 2024 15:23:32 +0000 (17:23 +0200)]
Merge !1586: lib: fix typo in generated doc for log group "zoncut"
menakite [Wed, 7 Aug 2024 14:46:42 +0000 (16:46 +0200)]
lib: fix typo in generated doc for log group "zoncut".
Setting log_groups({ 'zonecut' }) just leads to a warning and no
"zone cut" logging shown.
Oto Šťáva [Wed, 7 Aug 2024 08:59:14 +0000 (10:59 +0200)]
Merge branch 'proxyv2-tcp-fix' into 'master'
daemon/proxyv2: fix client TCP/TLS + merge state structs
See merge request knot/knot-resolver!1578
Oto Šťáva [Wed, 31 Jul 2024 13:53:44 +0000 (15:53 +0200)]
Update NEWS
Oto Šťáva [Wed, 31 Jul 2024 12:16:33 +0000 (14:16 +0200)]
daemon/proxyv2: fix client TCP/TLS + merge state structs
Firstly, this adds a missing assignment of `comm->proxy`, which would
cause the resolver not to know that a client asked via TCP/TLS, if the
proxy also asked via TCP/TLS.
Secondly, it merges `struct pl_proxyv2_sess_data` and
`struct pl_proxyv2_iter_data` into a single `struct pl_proxyv2_state`,
since they were practically the same. And it adds a bit of documentation
to the struct.
Oto Šťáva [Mon, 5 Aug 2024 11:47:17 +0000 (13:47 +0200)]
Merge branch 'meson-jemalloc-auto' into 'master'
meson: make -Dmalloc=auto more clever
See merge request knot/knot-resolver!1583
Vladimír Čunát [Mon, 5 Aug 2024 11:23:13 +0000 (13:23 +0200)]
meson: make -Dmalloc=auto more clever
Vladimír Čunát [Fri, 2 Aug 2024 19:14:24 +0000 (21:14 +0200)]
Merge !1581: bench/bench_lru: make it build again, and check it in CI
Oto Šťáva [Fri, 2 Aug 2024 13:43:04 +0000 (15:43 +0200)]
bench/bench_lru: make it build again, and check it in CI
It's not too important, but I just stumbled upon this and it looked like
nobody has touched it in a long time. Since it's not completely broken
(the fix is trivial), I decided to fix it and add it to CI to ensure
that we can still build it. Maybe `lru` will be used some more at some
point again in the future...
Oto Šťáva [Fri, 2 Aug 2024 12:31:48 +0000 (14:31 +0200)]
Merge branch 'doc-dev-update' into 'master'
doc/dev: various updates
See merge request knot/knot-resolver!1580
Oto Šťáva [Fri, 2 Aug 2024 12:09:41 +0000 (14:09 +0200)]
doc/dev/build.rst: decycle the dependency with README.md + nits
Vladimír Čunát [Fri, 2 Aug 2024 11:12:12 +0000 (13:12 +0200)]
doc/dev: misc nits
Vladimír Čunát [Fri, 2 Aug 2024 11:12:11 +0000 (13:12 +0200)]
doc/dev: update the dependency/distro section
Also drop mention of OBS, as it's not really relevant anymore.
Vladimír Čunát [Fri, 2 Aug 2024 11:12:10 +0000 (13:12 +0200)]
doc/dev: kill remnants of our pre-meson build system
Oto Šťáva [Thu, 1 Aug 2024 12:17:29 +0000 (14:17 +0200)]
Merge branch 'doc-dev-update' into 'master'
doc/dev: changed libknot version in Building with Meson documentation to 3.3.0+
See merge request knot/knot-resolver!1579
Frantisek Tobias [Thu, 1 Aug 2024 11:25:45 +0000 (13:25 +0200)]
doc/dev: removed outdated requirements from Knot Resolver library
Frantisek Tobias [Thu, 1 Aug 2024 11:03:58 +0000 (13:03 +0200)]
doc/dev: changed libknot version in Building with Meson documentation to 3.3.0+
Aleš Mrázek [Mon, 29 Jul 2024 13:04:55 +0000 (15:04 +0200)]
Merge branch 'manager-tls-session-ticket-secret' into 'master'
manager: secret for TLS session resumption via ticket
See merge request knot/knot-resolver!1567
Aleš Mrázek [Thu, 18 Jul 2024 04:24:35 +0000 (06:24 +0200)]
manager: secret for TLS session resumption via ticket
Create and set a secret for TLS session resumption via ticket that is the same for all running 'kresd' workers. This secret is only created if the user has not configured the secret themselves.
Oto Šťáva [Thu, 25 Jul 2024 14:42:18 +0000 (16:42 +0200)]
Merge branch 'pkg-artifacts' into 'master'
.gitlab-ci: expose packages from pkgtest as artifacts
See merge request knot/knot-resolver!1573
Oto Šťáva [Thu, 25 Jul 2024 08:09:24 +0000 (10:09 +0200)]
.gitlab-ci: pkg: add Fedora 40, remove Fedora 38
Oto Šťáva [Wed, 24 Jul 2024 08:42:17 +0000 (10:42 +0200)]
.gitlab-ci: expose packages from pkgtest as artifacts
Jakub Ružička [Thu, 25 Jul 2024 13:40:05 +0000 (15:40 +0200)]
Merge branch 'launchpad-fix' into 'master'
distro/pkg/deb: use $(shell pwd) to fix LaunchPad fails
See merge request knot/knot-resolver!1575
Jakub Ružička [Thu, 25 Jul 2024 11:35:14 +0000 (13:35 +0200)]
distro/pkg/deb: use $(shell pwd) to fix LaunchPad fails
Aleš Mrázek [Tue, 23 Jul 2024 17:39:45 +0000 (19:39 +0200)]
Merge branch 'release-6.0.8' into 'master'
Release 6.0.8
See merge request knot/knot-resolver!1572
Oto Šťáva [Tue, 23 Jul 2024 13:18:33 +0000 (15:18 +0200)]
manager/tests/packaging: better kdig check
Oto Šťáva [Tue, 23 Jul 2024 11:24:47 +0000 (13:24 +0200)]
Merge: mitigate TCP flooding DoS opportunity
Oto Šťáva [Tue, 23 Jul 2024 09:43:43 +0000 (11:43 +0200)]
distro/pkg/arch: update deps and maintainers
Aleš Mrázek [Mon, 22 Jul 2024 14:23:45 +0000 (16:23 +0200)]
release 6.0.8
Vladimír Čunát [Mon, 22 Jul 2024 15:39:41 +0000 (17:39 +0200)]
release 6.0.8
NEWS changes:
- collect missing items
- reduce newlines; we'd need to change the layout around
- improve a link
- add packaging information
- move some things around a bit
Vladimír Čunát [Mon, 22 Jul 2024 11:42:35 +0000 (13:42 +0200)]
doc+NEWS for the buffering changes
Oto Šťáva [Mon, 22 Jul 2024 09:28:02 +0000 (11:28 +0200)]
daemon/tls: proper clean up of queued protolayer contexts
Oto Šťáva [Mon, 22 Jul 2024 09:26:59 +0000 (11:26 +0200)]
daemon/session2: use kr_strerror for logging error states
Oto Šťáva [Tue, 11 Jun 2024 14:45:24 +0000 (16:45 +0200)]
daemon/session2: add special event for OS buffer depletion
For the future, when we need to account for this for e.g. QUIC, which
will need to handle this in the UDP case.
Oto Šťáva [Tue, 11 Jun 2024 11:20:16 +0000 (13:20 +0200)]
daemon: proper connection closures on queue overflow
Vladimír Čunát [Mon, 10 Jun 2024 13:52:42 +0000 (15:52 +0200)]
daemon/lua: bind `the_network` into lua
Because why not. It's easy and it might become useful one day.
> (require 'ffi').C.the_network.tcp.user_timeout
1000