]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
22 hours agolib/kru: deduplicate kru_limited_prefetch_hash() docs-cache-kru-8qejro/deployments/7375 cache-kru 1726/head
Vladimír Čunát [Mon, 11 Aug 2025 09:07:22 +0000 (11:07 +0200)] 
lib/kru: deduplicate kru_limited_prefetch_hash()

Move the function up unchanged and use it on two places
which have the exact lines as the function.
Also fix its description.

5 days agolib/kru nit: shrink the USE_AES version of struct kru by 64 bytes docs-cache-kru-8qejro/deployments/7350
Vladimír Čunát [Wed, 6 Aug 2025 14:09:25 +0000 (16:09 +0200)] 
lib/kru nit: shrink the USE_AES version of struct kru by 64 bytes

Just by dropping some padding in the header.
Also drop a long outdated part of comment on this.

5 days agolib/mmapped.c: refactor static fail() a bit
Vladimír Čunát [Wed, 6 Aug 2025 10:53:50 +0000 (12:53 +0200)] 
lib/mmapped.c: refactor static fail() a bit

5 days agolib/cache/top.h: avoid issues with inclusion in C++
Vladimír Čunát [Tue, 5 Aug 2025 08:59:57 +0000 (10:59 +0200)] 
lib/cache/top.h: avoid issues with inclusion in C++

kru.h would be a bit complicated to adapt, so let's avoid it.
I don't think uint32_t as return price will be an issue,
though we might... e.g. add a static_assert() into top.c

5 days agolib/cache/top: remove temp logging, add comments, polish
Lukáš Ondráček [Fri, 18 Jul 2025 21:17:32 +0000 (23:17 +0200)] 
lib/cache/top: remove temp logging, add comments, polish

5 days agolib/cache: decrease LMDB size by KRU size
Lukáš Ondráček [Wed, 16 Jul 2025 23:35:46 +0000 (01:35 +0200)] 
lib/cache: decrease LMDB size by KRU size

5 days agolib/cache: clear and resize cache on size-max decrease
Lukáš Ondráček [Wed, 16 Jul 2025 17:16:16 +0000 (19:16 +0200)] 
lib/cache: clear and resize cache on size-max decrease

5 days agolib/cache: increase bloom size, other minor changes
Lukáš Ondráček [Tue, 15 Jul 2025 13:19:33 +0000 (15:19 +0200)] 
lib/cache: increase bloom size, other minor changes

5 days agolib/mmapped: fix persistence, expand comments
Lukáš Ondráček [Wed, 2 Jul 2025 18:56:15 +0000 (20:56 +0200)] 
lib/mmapped: fix persistence, expand comments

5 days agolib/cache/top: divide price with size, other minor changes
Lukáš Ondráček [Wed, 25 Jun 2025 08:54:06 +0000 (10:54 +0200)] 
lib/cache/top: divide price with size, other minor changes

5 days agolib/cache/top: increase bloom filter size
Lukáš Ondráček [Sat, 14 Jun 2025 18:40:02 +0000 (20:40 +0200)] 
lib/cache/top: increase bloom filter size

5 days agoutils/cache_gc: use KRU values in item categorization
Lukáš Ondráček [Tue, 10 Jun 2025 15:44:54 +0000 (17:44 +0200)] 
utils/cache_gc: use KRU values in item categorization

5 days agolib/cache: count only unique accesses per request in KRU
Lukáš Ondráček [Tue, 10 Jun 2025 15:39:08 +0000 (17:39 +0200)] 
lib/cache: count only unique accesses per request in KRU

5 days agolib/cache: add basic access counting in KRU
Lukáš Ondráček [Wed, 14 May 2025 19:19:16 +0000 (21:19 +0200)] 
lib/cache: add basic access counting in KRU

5 days agolib/cache: add debug logs where kru will be used
Lukáš Ondráček [Mon, 28 Apr 2025 10:54:43 +0000 (12:54 +0200)] 
lib/cache: add debug logs where kru will be used

10 days agoMerge !1729: tests/integration/deckard: pull updates docs-master-mgcjyq/deployments/7322 docs-master-mgcjyq/deployments/7325 docs-master-mgcjyq/deployments/7327 docs-master-mgcjyq/deployments/7328 docs-master-mgcjyq/deployments/7330 docs-master-mgcjyq/deployments/7331 docs-master-mgcjyq/deployments/7333 docs-master-mgcjyq/deployments/7339 docs-master-mgcjyq/deployments/7341 docs-master-mgcjyq/deployments/7346 docs-master-mgcjyq/deployments/7347 docs-master-mgcjyq/deployments/7351 docs-master-mgcjyq/deployments/7353 docs-master-mgcjyq/deployments/7355 docs-master-mgcjyq/deployments/7357 docs-master-mgcjyq/deployments/7365 docs-master-mgcjyq/deployments/7367 docs-master-mgcjyq/deployments/7368 docs-master-mgcjyq/deployments/7370 docs-master-mgcjyq/deployments/7371 docs-master-mgcjyq/deployments/7373 docs-master-mgcjyq/deployments/7379 docs-master-mgcjyq/deployments/7381 docs-nightly-t152d1/deployments/7326 docs-nightly-t152d1/deployments/7329 docs-nightly-t152d1/deployments/7332 docs-nightly-t152d1/deployments/7340 docs-nightly-t152d1/deployments/7352 docs-nightly-t152d1/deployments/7356 docs-nightly-t152d1/deployments/7366 docs-nightly-t152d1/deployments/7369 docs-nightly-t152d1/deployments/7372 docs-nightly-t152d1/deployments/7380 master nightly
Vladimír Čunát [Fri, 1 Aug 2025 16:38:49 +0000 (18:38 +0200)] 
Merge !1729: tests/integration/deckard: pull updates

10 days agotests/integration/deckard: pull updates docs-deckard-bump-aq78vq/deployments/7321 1729/head
Vladimír Čunát [Fri, 1 Aug 2025 16:29:28 +0000 (18:29 +0200)] 
tests/integration/deckard: pull updates

- 224: hack compat with python >= 3.11 + libfaketime
- 225: val_nsec3_cnametocnamewctoposwc.rpl: reinstate NS in an answer
  This one finally fixes deckard in CI.

2 weeks agoMerge !1728: add NEWS for the last merge request docs-master-mgcjyq/deployments/7300 docs-master-mgcjyq/deployments/7308 docs-master-mgcjyq/deployments/7310 docs-master-mgcjyq/deployments/7314 docs-master-mgcjyq/deployments/7316 docs-master-mgcjyq/deployments/7318 docs-master-mgcjyq/deployments/7320 docs-nightly-t152d1/deployments/7309 docs-nightly-t152d1/deployments/7315 docs-nightly-t152d1/deployments/7319
Vladimír Čunát [Tue, 29 Jul 2025 07:13:11 +0000 (09:13 +0200)] 
Merge !1728: add NEWS for the last merge request

2 weeks agoadd NEWS for the last merge request docs-missing-news-ed0e52/deployments/7299
Vladimír Čunát [Tue, 29 Jul 2025 06:47:26 +0000 (08:47 +0200)] 
add NEWS for the last merge request

2 weeks agoMerge !1727: datamodel/types: reduced validation strictness for DomainName docs-master-mgcjyq/deployments/7298
Vladimír Čunát [Tue, 29 Jul 2025 06:36:08 +0000 (08:36 +0200)] 
Merge !1727: datamodel/types: reduced validation strictness for DomainName

Fixes #934

2 weeks agodatamodel/types: reduced validation strictness for DomainName
Aleš Mrázek [Tue, 29 Jul 2025 06:36:08 +0000 (08:36 +0200)] 
datamodel/types: reduced validation strictness for DomainName

3 weeks agoMerge !1725: ci: minor adjustments docs-master-mgcjyq/deployments/7245 docs-master-mgcjyq/deployments/7247 docs-master-mgcjyq/deployments/7251 docs-master-mgcjyq/deployments/7254 docs-master-mgcjyq/deployments/7256 docs-master-mgcjyq/deployments/7257 docs-master-mgcjyq/deployments/7259 docs-master-mgcjyq/deployments/7262 docs-master-mgcjyq/deployments/7264 docs-master-mgcjyq/deployments/7265 docs-master-mgcjyq/deployments/7267 docs-master-mgcjyq/deployments/7270 docs-master-mgcjyq/deployments/7271 docs-master-mgcjyq/deployments/7276 docs-master-mgcjyq/deployments/7278 docs-master-mgcjyq/deployments/7284 docs-master-mgcjyq/deployments/7286 docs-master-mgcjyq/deployments/7287 docs-master-mgcjyq/deployments/7289 docs-master-mgcjyq/deployments/7290 docs-master-mgcjyq/deployments/7292 docs-master-mgcjyq/deployments/7295 docs-master-mgcjyq/deployments/7297 docs-nightly-t152d1/deployments/7248 docs-nightly-t152d1/deployments/7255 docs-nightly-t152d1/deployments/7258 docs-nightly-t152d1/deployments/7263 docs-nightly-t152d1/deployments/7266 docs-nightly-t152d1/deployments/7277 docs-nightly-t152d1/deployments/7285 docs-nightly-t152d1/deployments/7288 docs-nightly-t152d1/deployments/7291 docs-nightly-t152d1/deployments/7296
Vladimír Čunát [Fri, 18 Jul 2025 13:51:58 +0000 (15:51 +0200)] 
Merge !1725: ci: minor adjustments

3 weeks ago.gitlab-ci.yml: renamed docs:pages to docs:latest docs-ci-improveme-hx7wpc/deployments/7239
Aleš Mrázek [Thu, 17 Jul 2025 12:20:57 +0000 (14:20 +0200)] 
.gitlab-ci.yml: renamed docs:pages to docs:latest

3 weeks ago.gitlab-ci.yml: docs:pages: run job automatically and only for master
Aleš Mrázek [Thu, 17 Jul 2025 11:40:18 +0000 (13:40 +0200)] 
.gitlab-ci.yml: docs:pages: run job automatically and only for master

This will help to keep the /latest docs up to date.

3 weeks ago.gitlab-ci.yml: removed OBS
Aleš Mrázek [Thu, 17 Jul 2025 11:21:52 +0000 (13:21 +0200)] 
.gitlab-ci.yml: removed OBS

We do not use OBS for version 6.

3 weeks agoMerge branch 'release-6.0.15' into 'master' docs-master-mgcjyq/deployments/7235 docs-master-mgcjyq/deployments/7240 docs-master-mgcjyq/deployments/7242 docs-nightly-t152d1/deployments/7241 docs-v6-0-15-cima8q/deployments/7236 obs-knot-resolver-es11k1/deployments/7243 v6.0.15
Aleš Mrázek [Thu, 17 Jul 2025 09:16:29 +0000 (11:16 +0200)] 
Merge branch 'release-6.0.15' into 'master'

Release 6.0.15

See merge request knot/knot-resolver!1722

3 weeks agonit: datamodel: fix formatting docs-release-6-0-gxcp82/deployments/7233
Aleš Mrázek [Thu, 17 Jul 2025 07:48:59 +0000 (09:48 +0200)] 
nit: datamodel: fix formatting

3 weeks agorelease 6.0.15
Aleš Mrázek [Thu, 17 Jul 2025 07:45:23 +0000 (09:45 +0200)] 
release 6.0.15

3 weeks agoMerge !1718: lib/dnssec: drop incorrect `requirement` and comment docs-master-mgcjyq/deployments/7219
Vladimír Čunát [Thu, 17 Jul 2025 06:31:14 +0000 (08:31 +0200)] 
Merge !1718: lib/dnssec: drop incorrect `requirement` and comment

3 weeks agolib/dnssec: drop incorrect `requirement` and comment docs-require-fix-ecj1p3/deployments/7218
Vladimír Čunát [Wed, 4 Jun 2025 07:32:14 +0000 (09:32 +0200)] 
lib/dnssec: drop incorrect `requirement` and comment

I don't think this can happen on correct records,
due to the way that the root zone is.  But we've seen
this assertion happen in real life, and attackers
might be able to misuse it to cause crashes.

3 weeks agoMerge !1717: lib/cache pkt_renew(): don't keep parts of packet header docs-master-mgcjyq/deployments/7217
Vladimír Čunát [Thu, 17 Jul 2025 06:21:48 +0000 (08:21 +0200)] 
Merge !1717: lib/cache pkt_renew(): don't keep parts of packet header

3 weeks agolib/cache pkt_renew(): don't keep parts of packet header docs-pkt-renew-306vyc/deployments/7216
Vladimír Čunát [Fri, 13 Jun 2025 13:27:10 +0000 (15:27 +0200)] 
lib/cache pkt_renew(): don't keep parts of packet header

No idea why it's been done in this weird way since forever.

3 weeks agoMerge !1715: NO_CACHE flag: fix and tweak its behavior docs-master-mgcjyq/deployments/7215
Vladimír Čunát [Thu, 17 Jul 2025 06:06:18 +0000 (08:06 +0200)] 
Merge !1715: NO_CACHE flag: fix and tweak its behavior

3 weeks agolib/cache: tweak the meaning of .flags.NO_CACHE docs-no-cache-4m9xil/deployments/7209
Vladimír Čunát [Mon, 7 Jul 2025 12:58:05 +0000 (14:58 +0200)] 
lib/cache: tweak the meaning of .flags.NO_CACHE

This way it should better match docs for the flag,
and I think it makes a bit more sense now,
at least for the use cases we have in our code now.

Also add NEWS for these two commits.

3 weeks agolib/cache: simplify logic for qry->flags.CACHE_TRIED
Vladimír Čunát [Mon, 7 Jul 2025 12:00:27 +0000 (14:00 +0200)] 
lib/cache: simplify logic for qry->flags.CACHE_TRIED

As a side effect, this solves an issue which could be seen
during resolver startup where the trust anchor update would fail.
[taupd ] active refresh failed for . with rcode: 2

The cause is that for queries started with .flags.NO_CACHE,
we'd skip the section setting .flags.CACHE_TRIED, and consequently
kr_rule_local_data_answer() would get run more often than expected.

The new logic should be also much simpler to follow.
We always apply cache (and policy) just once per kr_query.

3 weeks agoMerge !1716: daemon: add configurability for low source port check docs-master-mgcjyq/deployments/7208 docs-master-mgcjyq/deployments/7211 docs-master-mgcjyq/deployments/7213 docs-nightly-t152d1/deployments/7212 obs-knot-resolver-es11k1/deployments/7214
Vladimír Čunát [Wed, 16 Jul 2025 16:22:53 +0000 (18:22 +0200)] 
Merge !1716: daemon: add configurability for low source port check

3 weeks agodaemon: add configurability for low source port check docs-min-udp-sour-ujh8h1/deployments/7207
Vladimír Čunát [Mon, 14 Jul 2025 13:40:48 +0000 (15:40 +0200)] 
daemon: add configurability for low source port check

In commit c0482d5a8a this check was added.  Now one can e.g. disable by
> require('ffi').C.the_network.min_udp_source_port = 0
(typically used inside YAML config at /lua/script or /lua/script-file)

3 weeks agoMerge !1714: datamodel: improve file permission check docs-master-mgcjyq/deployments/7206
Vladimír Čunát [Wed, 16 Jul 2025 16:08:42 +0000 (18:08 +0200)] 
Merge !1714: datamodel: improve file permission check

Fixes #933

3 weeks agoNEWS update docs-datamodel-ty-qrweqi/deployments/7205
Aleš Mrázek [Tue, 8 Jul 2025 07:07:22 +0000 (09:07 +0200)] 
NEWS update

3 weeks agokresctl: commands: changed validation strictness default to false
Aleš Mrázek [Mon, 7 Jul 2025 13:47:39 +0000 (15:47 +0200)] 
kresctl: commands: changed validation strictness default to false

3 weeks agodatamodel/types/files.py: improve file permission check
Vladimír Čunát [Wed, 16 Jul 2025 15:58:20 +0000 (17:58 +0200)] 
datamodel/types/files.py: improve file permission check

In particular with ACLs this could have prevented resolver starting
even if the permissions were OK.  os.access() should be accurate
at least when running from manager (not from kresctl).

3 weeks agoMerge !1702: daemon/defer: fix sampling of timed events docs-master-mgcjyq/deployments/7200
Vladimír Čunát [Wed, 16 Jul 2025 08:30:32 +0000 (10:30 +0200)] 
Merge !1702: daemon/defer: fix sampling of timed events

3 weeks agodaemon/defer: fix sampling of timed events
Lukáš Ondráček [Mon, 2 Jun 2025 14:56:42 +0000 (16:56 +0200)] 
daemon/defer: fix sampling of timed events

5 weeks agoMerge !1709: lib/rules: update/more precise default answers for special names docs-master-mgcjyq/deployments/7142 docs-master-mgcjyq/deployments/7143 docs-master-mgcjyq/deployments/7145 docs-master-mgcjyq/deployments/7150 docs-master-mgcjyq/deployments/7152 docs-master-mgcjyq/deployments/7160 docs-master-mgcjyq/deployments/7161 docs-master-mgcjyq/deployments/7164 docs-master-mgcjyq/deployments/7166 docs-master-mgcjyq/deployments/7171 docs-master-mgcjyq/deployments/7173 docs-master-mgcjyq/deployments/7176 docs-master-mgcjyq/deployments/7178 docs-master-mgcjyq/deployments/7180 docs-master-mgcjyq/deployments/7182 docs-master-mgcjyq/deployments/7184 docs-master-mgcjyq/deployments/7185 docs-master-mgcjyq/deployments/7190 docs-master-mgcjyq/deployments/7192 docs-master-mgcjyq/deployments/7196 docs-master-mgcjyq/deployments/7198 docs-nightly-t152d1/deployments/7144 docs-nightly-t152d1/deployments/7151 docs-nightly-t152d1/deployments/7165 docs-nightly-t152d1/deployments/7172 docs-nightly-t152d1/deployments/7177 docs-nightly-t152d1/deployments/7181 docs-nightly-t152d1/deployments/7191 docs-nightly-t152d1/deployments/7197 obs-knot-resolver-es11k1/deployments/7146 obs-knot-resolver-es11k1/deployments/7153 obs-knot-resolver-es11k1/deployments/7162 obs-knot-resolver-es11k1/deployments/7167 obs-knot-resolver-es11k1/deployments/7174 obs-knot-resolver-es11k1/deployments/7179 obs-knot-resolver-es11k1/deployments/7183 obs-knot-resolver-es11k1/deployments/7186 obs-knot-resolver-es11k1/deployments/7193 obs-knot-resolver-es11k1/deployments/7199
Vladimír Čunát [Sun, 6 Jul 2025 14:43:39 +0000 (16:43 +0200)] 
Merge !1709: lib/rules: update/more precise default answers for special names

5 weeks agolib/rules: update/more precise default answers for special names docs-rules-specia-3e2e8z/deployments/7141
Vladimír Čunát [Thu, 19 Jun 2025 13:38:44 +0000 (15:38 +0200)] 
lib/rules: update/more precise default answers for special names

The diff probably shows as messy, but the set of names
doesn't change much.  _EMPTY changes to _NXDOMAIN in many cases.
Every name has some text defining the behavior;
it's not very unified, unfortunately.
Now I tried to refer to particular RFC section(s) for each name.

5 weeks agoMerge !1705: modules/prefill: fix moving across filesystems docs-master-mgcjyq/deployments/7131 docs-master-mgcjyq/deployments/7133 docs-master-mgcjyq/deployments/7135 docs-master-mgcjyq/deployments/7137 docs-master-mgcjyq/deployments/7139 docs-nightly-t152d1/deployments/7134 docs-nightly-t152d1/deployments/7138 obs-knot-resolver-es11k1/deployments/7136 obs-knot-resolver-es11k1/deployments/7140
Vladimír Čunát [Fri, 4 Jul 2025 17:29:23 +0000 (19:29 +0200)] 
Merge !1705: modules/prefill: fix moving across filesystems

5 weeks agomodules/prefill: fix moving across filesystems docs-prefill-rena-cs1397/deployments/7130
Vladimír Čunát [Wed, 11 Jun 2025 17:22:11 +0000 (19:22 +0200)] 
modules/prefill: fix moving across filesystems

I somehow thought thought that `os.rename()` behaves
like the `mv` command, and unfortunately in the way I tested this,
everything was inside a single mount-point.
Official docs is one line that doesn't explain anything really :-/

5 weeks agoMerge !1710: manager: support for multiple configuration files docs-master-mgcjyq/deployments/7129
Vladimír Čunát [Fri, 4 Jul 2025 17:13:14 +0000 (19:13 +0200)] 
Merge !1710: manager: support for multiple configuration files

5 weeks agoRevert "scripts/poe-tasks/utils/_env.sh: added CONFIG_FILE_NAME variable"
Aleš Mrázek [Tue, 1 Jul 2025 10:41:50 +0000 (12:41 +0200)] 
Revert "scripts/poe-tasks/utils/_env.sh: added CONFIG_FILE_NAME variable"

This reverts commit d3d4c2fbe52048ecd3df59e7e8e3d2017ad7914c.

5 weeks agomanager/server.py: check the parent dir of each config file
Aleš Mrázek [Mon, 30 Jun 2025 19:05:26 +0000 (21:05 +0200)] 
manager/server.py: check the parent dir of each config file

Compare the locations of multiple configuration files and issue a warning

5 weeks agopython: manager/server.py: use 'data_combine' function to combine data from multiple...
Aleš Mrázek [Fri, 20 Jun 2025 06:41:08 +0000 (08:41 +0200)] 
python: manager/server.py: use 'data_combine' function to combine data from multiple config files

5 weeks agopython: utils/modeling/parsing.py: 'data_combine' function for combining dictionaries...
Aleš Mrázek [Thu, 19 Jun 2025 18:45:26 +0000 (20:45 +0200)] 
python: utils/modeling/parsing.py: 'data_combine' function for combining dictionaries data

5 weeks ago.gitlab-ci.yml: python:run: added second configuration
Aleš Mrázek [Wed, 18 Jun 2025 14:14:54 +0000 (16:14 +0200)] 
.gitlab-ci.yml: python:run: added second configuration

5 weeks agoetc/config: added few YAML configs for testing
Aleš Mrázek [Wed, 18 Jun 2025 14:13:34 +0000 (16:13 +0200)] 
etc/config: added few YAML configs for testing

5 weeks agopython: manager: allow multiple configuration file inputs
Aleš Mrázek [Wed, 18 Jun 2025 14:05:31 +0000 (16:05 +0200)] 
python: manager: allow multiple configuration file inputs

5 weeks agoetc/config/config.yaml: reduced to minimal config
Aleš Mrázek [Wed, 18 Jun 2025 11:13:27 +0000 (13:13 +0200)] 
etc/config/config.yaml: reduced to minimal config

Most of the configuration was a duplication of the default values.

5 weeks agoetc/config/config.dev.yaml: reduced to minimal config
Aleš Mrázek [Wed, 18 Jun 2025 10:57:45 +0000 (12:57 +0200)] 
etc/config/config.dev.yaml: reduced to minimal config

5 weeks ago.gitlab-ci.yml: python:run: use CONFIG_FILE_NAME
Aleš Mrázek [Wed, 18 Jun 2025 10:39:23 +0000 (12:39 +0200)] 
.gitlab-ci.yml: python:run: use CONFIG_FILE_NAME

5 weeks agoscripts/poe-tasks/utils/_env.sh: added CONFIG_FILE_NAME variable
Aleš Mrázek [Wed, 18 Jun 2025 10:37:33 +0000 (12:37 +0200)] 
scripts/poe-tasks/utils/_env.sh: added CONFIG_FILE_NAME variable

The CONFIG_FILE_NAME variable allows us to change just the name of a configuration file.

5 weeks agoMerge !1713: lib/cache: fix retaining is_cache flag in cdb_clear docs-master-mgcjyq/deployments/7117 docs-master-mgcjyq/deployments/7119 docs-master-mgcjyq/deployments/7121 docs-master-mgcjyq/deployments/7124 docs-master-mgcjyq/deployments/7126 docs-nightly-t152d1/deployments/7120 docs-nightly-t152d1/deployments/7125 obs-knot-resolver-es11k1/deployments/7122 obs-knot-resolver-es11k1/deployments/7127
Vladimír Čunát [Wed, 2 Jul 2025 16:38:20 +0000 (18:38 +0200)] 
Merge !1713: lib/cache: fix retaining is_cache flag in cdb_clear

5 weeks agoadd NEWS for the parent commit
Vladimír Čunát [Wed, 2 Jul 2025 16:36:20 +0000 (18:36 +0200)] 
add NEWS for the parent commit

5 weeks agolib/cache: fix retaining is_cache flag in cdb_clear docs-cache-reopen-zgvyna/deployments/7116
Lukáš Ondráček [Wed, 2 Jul 2025 16:00:33 +0000 (18:00 +0200)] 
lib/cache: fix retaining is_cache flag in cdb_clear

6 weeks agoMerge !1712: manager: metrics: fix typo in one prometheus stat name docs-master-mgcjyq/deployments/7098 docs-master-mgcjyq/deployments/7102 docs-master-mgcjyq/deployments/7104 docs-master-mgcjyq/deployments/7111 docs-master-mgcjyq/deployments/7113 docs-nightly-t152d1/deployments/7103 docs-nightly-t152d1/deployments/7112 obs-knot-resolver-es11k1/deployments/7105 obs-knot-resolver-es11k1/deployments/7114
Vladimír Čunát [Mon, 30 Jun 2025 08:28:07 +0000 (10:28 +0200)] 
Merge !1712: manager: metrics: fix typo in one prometheus stat name

6 weeks agomanager: metrics: fix typo in one prometheus stat name docs-prometheus-r-lembc6/deployments/7097
Rich [Wed, 25 Jun 2025 07:53:53 +0000 (08:53 +0100)] 
manager: metrics: fix typo in one prometheus stat name

6 weeks agoMerge !1711: datamodel/templates: fix swapped edns-buffer-size docs-master-mgcjyq/deployments/7075 docs-master-mgcjyq/deployments/7077 docs-master-mgcjyq/deployments/7079 docs-master-mgcjyq/deployments/7081 docs-master-mgcjyq/deployments/7083 docs-master-mgcjyq/deployments/7085 docs-master-mgcjyq/deployments/7087 docs-master-mgcjyq/deployments/7089 docs-master-mgcjyq/deployments/7091 docs-master-mgcjyq/deployments/7093 docs-master-mgcjyq/deployments/7095 docs-nightly-t152d1/deployments/7078 docs-nightly-t152d1/deployments/7082 docs-nightly-t152d1/deployments/7086 docs-nightly-t152d1/deployments/7090 docs-nightly-t152d1/deployments/7094 obs-knot-resolver-es11k1/deployments/7080 obs-knot-resolver-es11k1/deployments/7084 obs-knot-resolver-es11k1/deployments/7088 obs-knot-resolver-es11k1/deployments/7092 obs-knot-resolver-es11k1/deployments/7096
Vladimír Čunát [Wed, 25 Jun 2025 07:24:22 +0000 (09:24 +0200)] 
Merge !1711: datamodel/templates: fix swapped edns-buffer-size

6 weeks agodatamodel/templates: fix swapped edns-buffer-size docs-edns-buffer-uuxvqp/deployments/7074
Vladimír Čunát [Wed, 25 Jun 2025 07:10:19 +0000 (09:10 +0200)] 
datamodel/templates: fix swapped edns-buffer-size

6 weeks agoMerge !1704: datamodel/templates: fix /dnssec/trust-anchors-files docs-master-mgcjyq/deployments/7073
Vladimír Čunát [Wed, 25 Jun 2025 06:56:13 +0000 (08:56 +0200)] 
Merge !1704: datamodel/templates: fix /dnssec/trust-anchors-files

6 weeks agodatamodel/templates: fix /dnssec/trust-anchors-files docs-trust-anchor-w0i9dl/deployments/7072
Vladimír Čunát [Wed, 11 Jun 2025 13:34:40 +0000 (15:34 +0200)] 
datamodel/templates: fix /dnssec/trust-anchors-files

I expect this has never worked in 6.x yet :-/

2 months agoMerge !1706: .gitlab-ci.yml: add pkg:alma-10 docs-master-mgcjyq/deployments/7001 docs-master-mgcjyq/deployments/7002 docs-master-mgcjyq/deployments/7004 docs-master-mgcjyq/deployments/7008 docs-master-mgcjyq/deployments/7010 docs-master-mgcjyq/deployments/7013 docs-master-mgcjyq/deployments/7015 docs-master-mgcjyq/deployments/7017 docs-master-mgcjyq/deployments/7019 docs-master-mgcjyq/deployments/7022 docs-master-mgcjyq/deployments/7024 docs-master-mgcjyq/deployments/7026 docs-master-mgcjyq/deployments/7028 docs-master-mgcjyq/deployments/7034 docs-master-mgcjyq/deployments/7036 docs-master-mgcjyq/deployments/7040 docs-master-mgcjyq/deployments/7042 docs-master-mgcjyq/deployments/7049 docs-master-mgcjyq/deployments/7051 docs-master-mgcjyq/deployments/7053 docs-master-mgcjyq/deployments/7055 docs-master-mgcjyq/deployments/7057 docs-master-mgcjyq/deployments/7059 docs-master-mgcjyq/deployments/7061 docs-master-mgcjyq/deployments/7063 docs-master-mgcjyq/deployments/7068 docs-master-mgcjyq/deployments/7070 docs-nightly-t152d1/deployments/7003 docs-nightly-t152d1/deployments/7009 docs-nightly-t152d1/deployments/7014 docs-nightly-t152d1/deployments/7018 docs-nightly-t152d1/deployments/7023 docs-nightly-t152d1/deployments/7027 docs-nightly-t152d1/deployments/7035 docs-nightly-t152d1/deployments/7041 docs-nightly-t152d1/deployments/7050 docs-nightly-t152d1/deployments/7054 docs-nightly-t152d1/deployments/7058 docs-nightly-t152d1/deployments/7062 docs-nightly-t152d1/deployments/7069 obs-knot-resolver-es11k1/deployments/7005 obs-knot-resolver-es11k1/deployments/7011 obs-knot-resolver-es11k1/deployments/7016 obs-knot-resolver-es11k1/deployments/7020 obs-knot-resolver-es11k1/deployments/7025 obs-knot-resolver-es11k1/deployments/7029 obs-knot-resolver-es11k1/deployments/7037 obs-knot-resolver-es11k1/deployments/7052 obs-knot-resolver-es11k1/deployments/7056 obs-knot-resolver-es11k1/deployments/7060 obs-knot-resolver-es11k1/deployments/7064 obs-knot-resolver-es11k1/deployments/7071
Vladimír Čunát [Thu, 12 Jun 2025 12:04:34 +0000 (14:04 +0200)] 
Merge !1706: .gitlab-ci.yml: add pkg:alma-10

2 months agodistro/tests: update test dependencies docs-ci-alma-10-1nrr88/deployments/7000
Jakub Ružička [Thu, 12 Jun 2025 11:24:25 +0000 (13:24 +0200)] 
distro/tests: update test dependencies

Depend on man on almalinux.

Also shorten distro.match invocations for readability.

2 months ago.gitlab-ci.yml: add pkg:alma-10
Vladimír Čunát [Thu, 5 Jun 2025 10:27:47 +0000 (12:27 +0200)] 
.gitlab-ci.yml: add pkg:alma-10

2 months agoMerge !1701: meson: avoid protoc-c, as it's deprecated docs-master-mgcjyq/deployments/6996
Vladimír Čunát [Thu, 12 Jun 2025 08:51:17 +0000 (10:51 +0200)] 
Merge !1701: meson: avoid protoc-c, as it's deprecated

2 months agomeson: avoid protoc-c, as it's (reported as) deprecated docs-protoc-c-zfcn52/deployments/6995
Vladimír Čunát [Wed, 4 Jun 2025 07:32:14 +0000 (09:32 +0200)] 
meson: avoid protoc-c, as it's (reported as) deprecated

> `protoc-c` is deprecated. Please use `protoc` instead!

2 months agoMerge !1703: manager: prometheus metrics update docs-master-mgcjyq/deployments/6986 docs-master-mgcjyq/deployments/6990 docs-master-mgcjyq/deployments/6992 docs-nightly-t152d1/deployments/6991 obs-knot-resolver-es11k1/deployments/6993
Vladimír Čunát [Wed, 11 Jun 2025 11:01:45 +0000 (13:01 +0200)] 
Merge !1703: manager: prometheus metrics update

Fixes #917

2 months agotest/packaging/interactive/metrics: compare number of JSON and prometheus metrics docs-prometheus-m-rqpbzm/deployments/6985
Aleš Mrázek [Wed, 11 Jun 2025 10:01:36 +0000 (12:01 +0200)] 
test/packaging/interactive/metrics: compare number of JSON and prometheus metrics

2 months agomanager: metrics: added prometheus missing IPv4/6 metrics
Aleš Mrázek [Tue, 10 Jun 2025 16:17:27 +0000 (18:17 +0200)] 
manager: metrics: added prometheus missing IPv4/6 metrics

2 months agoMerge branch 'release-6.0.14' into 'master' docs-master-mgcjyq/deployments/6934 docs-master-mgcjyq/deployments/6938 docs-master-mgcjyq/deployments/6940 docs-master-mgcjyq/deployments/6944 docs-master-mgcjyq/deployments/6945 docs-master-mgcjyq/deployments/6950 docs-master-mgcjyq/deployments/6951 docs-master-mgcjyq/deployments/6956 docs-master-mgcjyq/deployments/6958 docs-master-mgcjyq/deployments/6960 docs-master-mgcjyq/deployments/6962 docs-master-mgcjyq/deployments/6964 docs-master-mgcjyq/deployments/6966 docs-master-mgcjyq/deployments/6968 docs-master-mgcjyq/deployments/6970 docs-master-mgcjyq/deployments/6975 docs-master-mgcjyq/deployments/6977 docs-nightly-t152d1/deployments/6939 docs-nightly-t152d1/deployments/6957 docs-nightly-t152d1/deployments/6961 docs-nightly-t152d1/deployments/6965 docs-nightly-t152d1/deployments/6969 docs-nightly-t152d1/deployments/6976 docs-v6-0-14-yv5730/deployments/6935 obs-knot-resolver-es11k1/deployments/6941 obs-knot-resolver-es11k1/deployments/6946 obs-knot-resolver-es11k1/deployments/6952 obs-knot-resolver-es11k1/deployments/6959 obs-knot-resolver-es11k1/deployments/6963 obs-knot-resolver-es11k1/deployments/6967 obs-knot-resolver-es11k1/deployments/6971 obs-knot-resolver-es11k1/deployments/6978 v6.0.14
Aleš Mrázek [Tue, 3 Jun 2025 10:51:59 +0000 (12:51 +0200)] 
Merge branch 'release-6.0.14' into 'master'

Release 6.0.14

See merge request knot/knot-resolver!1700

2 months agoRelease 6.0.14
Aleš Mrázek [Tue, 3 Jun 2025 10:51:59 +0000 (12:51 +0200)] 
Release 6.0.14

2 months agoMerge !1699: datamodel/templates: fix error, as RuleSchema doesn't have .log docs-master-mgcjyq/deployments/6931
Vladimír Čunát [Tue, 3 Jun 2025 09:25:33 +0000 (11:25 +0200)] 
Merge !1699: datamodel/templates: fix error, as RuleSchema doesn't have .log

2 months agolib/rules: drop FIXMEs docs-local-data-r-ozywnc/deployments/6930
Vladimír Čunát [Mon, 2 Jun 2025 12:42:01 +0000 (14:42 +0200)] 
lib/rules: drop FIXMEs

These don't need resolving, as the return values for kr_* functions
didn't change really in the end.

2 months agodatamodel/templates: fix error, as RuleSchema doesn't have .log
Vladimír Čunát [Mon, 2 Jun 2025 12:42:01 +0000 (14:42 +0200)] 
datamodel/templates: fix error, as RuleSchema doesn't have .log

Also indent the complicated if-nesting.

2 months agoMerge branch 'ci-python-run' into 'master' docs-master-mgcjyq/deployments/6918 docs-master-mgcjyq/deployments/6925 docs-master-mgcjyq/deployments/6927 docs-nightly-t152d1/deployments/6926 obs-knot-resolver-es11k1/deployments/6928
Aleš Mrázek [Mon, 2 Jun 2025 07:31:26 +0000 (09:31 +0200)] 
Merge branch 'ci-python-run' into 'master'

ci: python:run: job to start the resolver with the dev configuration

See merge request knot/knot-resolver!1698

2 months ago.gitlab-ci.yml: added python:run job docs-ci-python-ru-ytofnt/deployments/6917
Aleš Mrázek [Fri, 30 May 2025 08:22:30 +0000 (10:22 +0200)] 
.gitlab-ci.yml: added python:run job

2 months agoMerge !1697: datamodel/templates: fix kr_rule_local_* macros docs-master-mgcjyq/deployments/6916
Vladimír Čunát [Mon, 2 Jun 2025 07:23:45 +0000 (09:23 +0200)] 
Merge !1697: datamodel/templates: fix kr_rule_local_* macros

2 months agoadd NEWS entry docs-local-data-t-4en6fs/deployments/6894
Vladimír Čunát [Fri, 30 May 2025 05:13:04 +0000 (07:13 +0200)] 
add NEWS entry

2 months agodatamodel/templates: fix kr_rule_local_* macros
Brad Cowie [Fri, 30 May 2025 01:57:25 +0000 (13:57 +1200)] 
datamodel/templates: fix kr_rule_local_* macros

commit a782e9c3 broke the jinja2 generation of the
kr_rule_local_* macro functions. C.KR_RULE_OPTS_DEFAULT
was provided as an argument to the assert() function call
instead of the call to the corresponding C.kr_rule_local_* function

2 months agoMerge branch 'release-6.0.13' into 'master' docs-master-mgcjyq/deployments/6887 docs-master-mgcjyq/deployments/6890 docs-master-mgcjyq/deployments/6892 docs-master-mgcjyq/deployments/6904 docs-master-mgcjyq/deployments/6905 docs-master-mgcjyq/deployments/6907 docs-master-mgcjyq/deployments/6909 docs-master-mgcjyq/deployments/6911 docs-master-mgcjyq/deployments/6913 docs-nightly-t152d1/deployments/6891 docs-nightly-t152d1/deployments/6908 docs-nightly-t152d1/deployments/6912 docs-v6-0-13-3murta/deployments/6888 obs-knot-resolver-es11k1/deployments/6893 obs-knot-resolver-es11k1/deployments/6906 obs-knot-resolver-es11k1/deployments/6910 obs-knot-resolver-es11k1/deployments/6914 v6.0.13
Aleš Mrázek [Thu, 29 May 2025 10:42:25 +0000 (12:42 +0200)] 
Merge branch 'release-6.0.13' into 'master'

Release 6.0.13

See merge request knot/knot-resolver!1695

2 months agorelease 6.0.13 docs-release-6-0-skjznb/deployments/6885
Vladimír Čunát [Thu, 29 May 2025 09:16:54 +0000 (11:16 +0200)] 
release 6.0.13

2 months agoMerge !1696: DoS: fix more rare crashes with `requirement` failing docs-master-mgcjyq/deployments/6884
Vladimír Čunát [Thu, 29 May 2025 09:15:47 +0000 (11:15 +0200)] 
Merge !1696: DoS: fix more rare crashes with `requirement` failing

Fixes #930

2 months agodaemon/{session2,worker}: relax a few kr_require() cases docs-session2-tra-zo30ei/deployments/6882
Vladimír Čunát [Thu, 29 May 2025 09:07:40 +0000 (11:07 +0200)] 
daemon/{session2,worker}: relax a few kr_require() cases

These cases aren't obviously impossible,
and I fail to see why force a crash there.

2 months agodaemon/session2_transport_event(): relax a kr_require()
Vladimír Čunát [Thu, 29 May 2025 09:07:40 +0000 (11:07 +0200)] 
daemon/session2_transport_event(): relax a kr_require()

I fail to see why force a crash there, so let's at least
be defensive for now, as it does happen in practice.

2 months agodaemon/session2 wire_buf_init(): don't return anything
Vladimír Čunát [Thu, 29 May 2025 09:07:40 +0000 (11:07 +0200)] 
daemon/session2 wire_buf_init(): don't return anything

The function does not return anything but success,
and I don't see any plans for changing that,
so why should the declaration suggest otherwise?

2 months agoMerge !1694: /local-data/rpz/*/log: add option to log RPZ matches docs-master-mgcjyq/deployments/6879
Vladimír Čunát [Thu, 29 May 2025 09:00:09 +0000 (11:00 +0200)] 
Merge !1694: /local-data/rpz/*/log: add option to log RPZ matches

2 months agoadd NEWS entry docs-local-data-r-xpwmno/deployments/6878
Vladimír Čunát [Wed, 28 May 2025 12:35:46 +0000 (14:35 +0200)] 
add NEWS entry

2 months agodatamodel: hide /local-data/rpz/*/dry-run for now
Vladimír Čunát [Wed, 28 May 2025 12:35:46 +0000 (14:35 +0200)] 
datamodel: hide /local-data/rpz/*/dry-run for now

While this can be practical, let's not promise this approach to
configuration until it's more clear how the more general score
will appear in the config.

2 months agodatamodel: add /local-data/rpz/*/{log,dry-run}
Vladimír Čunát [Wed, 28 May 2025 12:35:46 +0000 (14:35 +0200)] 
datamodel: add /local-data/rpz/*/{log,dry-run}

2 months agolib/rules: add initial kr_rule_opts_t
Vladimír Čunát [Wed, 28 May 2025 12:35:46 +0000 (14:35 +0200)] 
lib/rules: add initial kr_rule_opts_t

For now this relates to logging/dry-run of local-data rules.

2 months agoMerge !1688: prefill + elsewhere: error message improvements docs-master-mgcjyq/deployments/6858 docs-master-mgcjyq/deployments/6859 docs-master-mgcjyq/deployments/6861 docs-master-mgcjyq/deployments/6863 docs-master-mgcjyq/deployments/6865 docs-master-mgcjyq/deployments/6867 docs-master-mgcjyq/deployments/6869 docs-master-mgcjyq/deployments/6875 docs-master-mgcjyq/deployments/6876 docs-nightly-t152d1/deployments/6860 docs-nightly-t152d1/deployments/6864 docs-nightly-t152d1/deployments/6868 obs-knot-resolver-es11k1/deployments/6862 obs-knot-resolver-es11k1/deployments/6866 obs-knot-resolver-es11k1/deployments/6870 obs-knot-resolver-es11k1/deployments/6877
Vladimír Čunát [Sun, 25 May 2025 08:19:28 +0000 (10:19 +0200)] 
Merge !1688: prefill + elsewhere: error message improvements

2 months agodatamodel nit: fix a typo in error message
Vladimír Čunát [Sun, 25 May 2025 08:17:44 +0000 (10:17 +0200)] 
datamodel nit: fix a typo in error message

2 months agotrust-anchors nit: print a clearer error message
Vladimír Čunát [Sun, 25 May 2025 08:17:44 +0000 (10:17 +0200)] 
trust-anchors nit: print a clearer error message