]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
4 days agoMerge !1770: pyproject.toml and poe tasks improvements docs-master-mgcjyq/deployments/8199 docs-master-mgcjyq/deployments/8203 docs-master-mgcjyq/deployments/8205 docs-master-mgcjyq/deployments/8207 docs-master-mgcjyq/deployments/8209 docs-master-mgcjyq/deployments/8211 docs-master-mgcjyq/deployments/8213 docs-master-mgcjyq/deployments/8214 docs-master-mgcjyq/deployments/8216 docs-nightly-t152d1/deployments/8204 docs-nightly-t152d1/deployments/8208 docs-nightly-t152d1/deployments/8212 docs-nightly-t152d1/deployments/8215 master nightly
Vladimír Čunát [Sun, 21 Dec 2025 07:36:50 +0000 (08:36 +0100)] 
Merge !1770: pyproject.toml and poe tasks improvements

4 days ago.gitlab-ci.yml: updated names and stages for python jobs docs-poe-tasks-im-3b6b50/deployments/8198 1770/head
Aleš Mrázek [Thu, 11 Dec 2025 23:55:47 +0000 (00:55 +0100)] 
.gitlab-ci.yml: updated names and stages for python jobs

4 days agopyproject.toml: updated groups dependencies versions
Aleš Mrázek [Thu, 11 Dec 2025 23:35:51 +0000 (00:35 +0100)] 
pyproject.toml: updated groups dependencies versions

4 days agocontroller/supervisord/__init__.py: sort imports
Aleš Mrázek [Thu, 11 Dec 2025 23:15:43 +0000 (00:15 +0100)] 
controller/supervisord/__init__.py: sort imports

4 days ago.gitlab-ci.yml:: updated poe tasks names
Aleš Mrázek [Fri, 5 Dec 2025 11:39:03 +0000 (12:39 +0100)] 
.gitlab-ci.yml:: updated poe tasks names

Updated poe tasks names in other places.

4 days agoscripts/po-tasks: better naming for scripts
Aleš Mrázek [Fri, 5 Dec 2025 10:01:23 +0000 (11:01 +0100)] 
scripts/po-tasks: better naming for scripts

Also, check-code gets ruff's checks of imports and formatting.

4 days agopyproject.toml: better naming for poe tasks
Aleš Mrázek [Fri, 5 Dec 2025 09:58:41 +0000 (10:58 +0100)] 
pyproject.toml: better naming for poe tasks

7 days agoMerge !1772: tests: migrate off cmocka's deprecated APIs docs-master-mgcjyq/deployments/8185 docs-master-mgcjyq/deployments/8187 docs-master-mgcjyq/deployments/8189 docs-master-mgcjyq/deployments/8192 docs-master-mgcjyq/deployments/8194 docs-master-mgcjyq/deployments/8195 docs-master-mgcjyq/deployments/8197 docs-nightly-t152d1/deployments/8188 docs-nightly-t152d1/deployments/8193 docs-nightly-t152d1/deployments/8196
Vladimír Čunát [Thu, 18 Dec 2025 14:38:22 +0000 (15:38 +0100)] 
Merge !1772: tests: migrate off cmocka's deprecated APIs

9 days agoNEWS: consolidate + add entry for cmocka docs-cmocka-019f0b/deployments/8172 1772/head
Vladimír Čunát [Tue, 16 Dec 2025 14:33:29 +0000 (15:33 +0100)] 
NEWS: consolidate + add entry for cmocka

9 days agotests: migrate off cmocka's deprecated APIs docs-cmocka-019f0b/deployments/8171
Vladimír Čunát [Tue, 16 Dec 2025 14:17:27 +0000 (15:17 +0100)] 
tests: migrate off cmocka's deprecated APIs

With cmocka-2.0.0 these broke.
I'm not sure if upstream meant to break them,
but either way we'd better avoid deprecated APIs.

9 days agoMerge !1769: support libdnssec merged into libknot, as planned for knot >= 3.6 docs-master-mgcjyq/deployments/8169 docs-master-mgcjyq/deployments/8174 docs-master-mgcjyq/deployments/8176 docs-master-mgcjyq/deployments/8181 docs-master-mgcjyq/deployments/8183 docs-nightly-t152d1/deployments/8175 docs-nightly-t152d1/deployments/8182
Vladimír Čunát [Tue, 16 Dec 2025 08:32:36 +0000 (09:32 +0100)] 
Merge !1769: support libdnssec merged into libknot, as planned for knot >= 3.6

9 days agotreewide: avoid DNSSEC_EOK docs-libdnssec-dyy1ob/deployments/8168 1769/head
Vladimír Čunát [Tue, 16 Dec 2025 08:04:45 +0000 (09:04 +0100)] 
treewide: avoid DNSSEC_EOK

It was zero anyway, just as KNOT_EOK or kr_ok()

9 days agolibdnssec -->> libknot
Vladimír Čunát [Wed, 22 Oct 2025 07:50:51 +0000 (09:50 +0200)] 
libdnssec -->> libknot

9 days agotreewide: centralize inclusion of libdnssec headers
Vladimír Čunát [Fri, 24 Oct 2025 15:18:07 +0000 (17:18 +0200)] 
treewide: centralize inclusion of libdnssec headers

10 days agoMerge !1768: manager: logging improvement docs-master-mgcjyq/deployments/8160 docs-master-mgcjyq/deployments/8164 docs-master-mgcjyq/deployments/8166 docs-nightly-t152d1/deployments/8165
Vladimír Čunát [Mon, 15 Dec 2025 12:05:30 +0000 (13:05 +0100)] 
Merge !1768: manager: logging improvement

10 days agoNEW: added improved logging groups docs-logging-impr-dwwxha/deployments/8159 1768/head
Aleš Mrázek [Wed, 10 Dec 2025 17:54:45 +0000 (18:54 +0100)] 
NEW: added improved logging groups

10 days agodoc/user/config-logging-monitoring.rst: updated logging groups
Aleš Mrázek [Wed, 10 Dec 2025 17:54:18 +0000 (18:54 +0100)] 
doc/user/config-logging-monitoring.rst: updated logging groups

10 days agomanager/logger.py: added debug groups for the manager
Aleš Mrázek [Fri, 29 Aug 2025 15:02:25 +0000 (17:02 +0200)] 
manager/logger.py: added debug groups for the manager

10 days agologging: debug logging level for individual components(processes)
Aleš Mrázek [Tue, 26 Aug 2025 13:12:01 +0000 (15:12 +0200)] 
logging: debug logging level for individual components(processes)

- datamodel: logging-groups: added LogGroupsProcessesEnum

10 days agomanager/logger.py: simplified setting of log level and logging handler
Aleš Mrázek [Tue, 26 Aug 2025 11:46:57 +0000 (13:46 +0200)] 
manager/logger.py: simplified setting of log level and logging handler

10 days agomanager/logger.py: added constants for logging targets
Aleš Mrázek [Tue, 26 Aug 2025 11:41:51 +0000 (13:41 +0200)] 
manager/logger.py: added constants for logging targets

13 days agoMerge !1766: cache test: adjust conditions on cache usage docs-master-mgcjyq/deployments/8135 docs-master-mgcjyq/deployments/8149 docs-master-mgcjyq/deployments/8152 docs-master-mgcjyq/deployments/8153 docs-master-mgcjyq/deployments/8155 docs-master-mgcjyq/deployments/8156 docs-master-mgcjyq/deployments/8158 docs-nightly-t152d1/deployments/8150 docs-nightly-t152d1/deployments/8154 docs-nightly-t152d1/deployments/8157
Vladimír Čunát [Fri, 12 Dec 2025 07:13:29 +0000 (08:13 +0100)] 
Merge !1766: cache test: adjust conditions on cache usage

13 days ago.gitignore: add defer+top docs-macos-cache-mtbzh2/deployments/8134 1766/head
Vladimír Čunát [Fri, 12 Dec 2025 06:34:53 +0000 (07:34 +0100)] 
.gitignore: add defer+top

These get created when running kresd without changing
to a different rundir.

13 days agocache test: adjust conditions on cache usage
Vladimír Čunát [Sat, 6 Dec 2025 12:59:29 +0000 (13:59 +0100)] 
cache test: adjust conditions on cache usage

The KRU-based garbage collection reduced the LMDB size a bit
for a particular overall cache size setting.
Apple Silicon uses 16 KiB pages instead of the usual 4 KiB,
so the usage is a bit shifted and that's why we didn't notice earlier
(though before the KRU GC we adjusted in commit adaac913c5)

For example failure, see "not ok" lines in
https://cache.nixos.org/log/1452wsll1fxh38p0fbqa0vw1p7ki6v55-knot-resolver_6-6.0.17.drv

2 weeks agoMerge !1764: update meson's minimal version and utilize that docs-master-mgcjyq/deployments/8115 docs-master-mgcjyq/deployments/8120 docs-master-mgcjyq/deployments/8122 docs-master-mgcjyq/deployments/8131 docs-master-mgcjyq/deployments/8133 docs-nightly-t152d1/deployments/8121 docs-nightly-t152d1/deployments/8132
Vladimír Čunát [Wed, 10 Dec 2025 09:45:32 +0000 (10:45 +0100)] 
Merge !1764: update meson's minimal version and utilize that

Fixes #714

2 weeks agomodules/experimental_dot_auth: fix copy&paste error in meson docs-meson-update-5pqqu0/deployments/8114
Vladimír Čunát [Wed, 3 Dec 2025 13:33:34 +0000 (14:33 +0100)] 
modules/experimental_dot_auth: fix copy&paste error in meson

There's no ./static dir to even install.
Apparently this snippet came from modules/http.
Discovered thanks to meson reporting:
  NOTICE: Future-deprecated features used:
   * 0.60.0: {'install_subdir with empty directory'}

2 weeks agomeson: replace deprecated get_pkgconfig_variable()
Vladimír Čunát [Wed, 3 Dec 2025 13:21:17 +0000 (14:21 +0100)] 
meson: replace deprecated get_pkgconfig_variable()

2 weeks agomeson: utilize the version bump
Vladimír Čunát [Wed, 7 Dec 2022 11:19:41 +0000 (12:19 +0100)] 
meson: utilize the version bump

2 weeks agomeson: use summary()
Vladimír Čunát [Tue, 6 Dec 2022 18:54:43 +0000 (19:54 +0100)] 
meson: use summary()

https://mesonbuild.com/Reference-manual_functions.html#summary
- has nicer output
- less code in meson files
- allows defining summary parts closer to where they originate

Also short pieces of meson code are moved around.

I'm not sure how much info to put into those summaries;
this commit keeps the amount about the same.
Also note that (while not documented in meson)
a "User defined options" is appended, so the summary()
may end up repeating entries from that section.

2 weeks agomeson minimal version: 0.49 -> 0.53
Vladimír Čunát [Tue, 6 Dec 2022 17:38:57 +0000 (18:38 +0100)] 
meson minimal version: 0.49 -> 0.53

This gets rid of a warning * 0.52.0: {'priority arg in test'}

There's still Ubuntu 20.04 with meson 0.53.2,
though its standard support ended a few months ago.
Debian 11 with meson 0.56.2 is similar in this respect.

Still well supported: RHEL 9 derivatives with meson 0.63.3
and Ubuntu 22.04 with meson 0.61.2.

2 weeks agoMerge branch 'python3.14-support' into 'master' docs-master-mgcjyq/deployments/8102 docs-master-mgcjyq/deployments/8103 docs-master-mgcjyq/deployments/8105 docs-master-mgcjyq/deployments/8111 docs-master-mgcjyq/deployments/8113 docs-nightly-t152d1/deployments/8104 docs-nightly-t152d1/deployments/8112
Aleš Mrázek [Mon, 8 Dec 2025 14:49:16 +0000 (15:49 +0100)] 
Merge branch 'python3.14-support' into 'master'

Support for Python 3.14

See merge request knot/knot-resolver!1767

2 weeks agoci: switch lint:tidy from Arch to Debian 13 docs-python3-14-s-2r8lzj/deployments/8101
Vladimír Čunát [Mon, 8 Dec 2025 12:55:13 +0000 (13:55 +0100)] 
ci: switch lint:tidy from Arch to Debian 13

The problem was that in Arch the clang-tidy package
updates at random moments, so we have to resolve
the issues when doing urelated refreshes of CI images.

2 weeks agoutils/modeling: support for annotations in python3.14
Aleš Mrázek [Fri, 5 Dec 2025 16:56:19 +0000 (17:56 +0100)] 
utils/modeling: support for annotations in python3.14

PEP 649 & PEP 749: Deferred evaluation of annotations
The annotations on classes(ConfigSchema classes in our case) are no longer evaluated eagerly.  They are evaluated only when necessary.

2 weeks ago.python-version: added 3.14 and updated others
Aleš Mrázek [Thu, 4 Dec 2025 23:37:40 +0000 (00:37 +0100)] 
.python-version: added 3.14 and updated others

2 weeks ago.gitlab-ci.yml: python:unit: added python3.14
Aleš Mrázek [Thu, 4 Dec 2025 23:12:55 +0000 (00:12 +0100)] 
.gitlab-ci.yml: python:unit: added python3.14

2 weeks agoMerge !1760: Avoid binding multiple transport protocols to one addr+port docs-master-mgcjyq/deployments/8098
Vladimír Čunát [Mon, 8 Dec 2025 09:13:24 +0000 (10:13 +0100)] 
Merge !1760: Avoid binding multiple transport protocols to one addr+port

2 weeks agodaemon/network: Avoid binding multiple transport protocols to one addr and port combi...
Frantisek Tobias [Thu, 27 Nov 2025 08:44:43 +0000 (09:44 +0100)] 
daemon/network: Avoid binding multiple transport protocols to one addr and port combination

2 weeks agoMerge !1765: manager: check that supervisord is manager's parent process docs-master-mgcjyq/deployments/8090 docs-master-mgcjyq/deployments/8092 docs-master-mgcjyq/deployments/8094 docs-master-mgcjyq/deployments/8095 docs-master-mgcjyq/deployments/8097 docs-nightly-t152d1/deployments/8093 docs-nightly-t152d1/deployments/8096
Vladimír Čunát [Sat, 6 Dec 2025 09:45:47 +0000 (10:45 +0100)] 
Merge !1765: manager: check that supervisord is manager's parent process

2 weeks agomanager: check that supervisord is manager's parent process docs-supervisord-amfeuz/deployments/8078
Vladimír Čunát [Fri, 5 Dec 2025 11:18:19 +0000 (12:18 +0100)] 
manager: check that supervisord is manager's parent process

It might happen that we have a stale PID file, e.g. after a crash,
but some other process has taken the freed PID already.

2 weeks agoMerge !1763: /fallback: apply during reload (force kresd restarts) docs-master-mgcjyq/deployments/8077 docs-master-mgcjyq/deployments/8087 docs-master-mgcjyq/deployments/8089 docs-nightly-t152d1/deployments/8088
Vladimír Čunát [Fri, 5 Dec 2025 09:41:43 +0000 (10:41 +0100)] 
Merge !1763: /fallback: apply during reload (force kresd restarts)

3 weeks ago/fallback: apply during reload (force kresd restarts) docs-fallback-rel-bv43rv/deployments/8065
Vladimír Čunát [Wed, 3 Dec 2025 11:15:38 +0000 (12:15 +0100)] 
/fallback: apply during reload (force kresd restarts)

3 weeks agoMerge branch 'release-6.0.17' into 'master' docs-master-mgcjyq/deployments/8060 docs-master-mgcjyq/deployments/8062 docs-master-mgcjyq/deployments/8064 docs-master-mgcjyq/deployments/8068 docs-master-mgcjyq/deployments/8070 docs-master-mgcjyq/deployments/8074 docs-master-mgcjyq/deployments/8076 docs-nightly-t152d1/deployments/8063 docs-nightly-t152d1/deployments/8069 docs-nightly-t152d1/deployments/8075 docs-v6-0-17-4m7vsl/deployments/8061 v6.0.17
Aleš Mrázek [Tue, 2 Dec 2025 13:33:31 +0000 (14:33 +0100)] 
Merge branch 'release-6.0.17' into 'master'

Release 6.0.17

See merge request knot/knot-resolver!1762

3 weeks agoNEWS: tweak the cache-kru bullet docs-release-6-0-apsqyv/deployments/8059
Vladimír Čunát [Tue, 2 Dec 2025 13:20:32 +0000 (14:20 +0100)] 
NEWS: tweak the cache-kru bullet

3 weeks agoNEWS: fix markdown list formatting docs-release-6-0-apsqyv/deployments/8058
Frantisek Tobias [Tue, 2 Dec 2025 11:58:42 +0000 (12:58 +0100)] 
NEWS: fix markdown list formatting

3 weeks agorelease 6.0.17 docs-release-6-0-apsqyv/deployments/8057
Aleš Mrázek [Mon, 1 Dec 2025 12:43:36 +0000 (13:43 +0100)] 
release 6.0.17

3 weeks agoci: add pkg:ubuntu-25.10
Vladimír Čunát [Tue, 2 Dec 2025 10:14:06 +0000 (11:14 +0100)] 
ci: add pkg:ubuntu-25.10

3 weeks agoMerge !1761: lib/rules: allow forcing NODATA answer for a particular name+type docs-master-mgcjyq/deployments/8048 docs-master-mgcjyq/deployments/8051 docs-master-mgcjyq/deployments/8053 docs-nightly-t152d1/deployments/8052
Vladimír Čunát [Mon, 1 Dec 2025 20:22:36 +0000 (21:22 +0100)] 
Merge !1761: lib/rules: allow forcing NODATA answer for a particular name+type

3 weeks agolib/rules: allow forcing NODATA answer for a particular name+type docs-rules-nodata-mia4kz/deployments/8047
Vladimír Čunát [Mon, 1 Dec 2025 18:16:44 +0000 (19:16 +0100)] 
lib/rules: allow forcing NODATA answer for a particular name+type

It's just removing an assertion, and it does make sense to me.
Also expose kr_rule_local_data_ins() in Lua, like other similar functions.

3 weeks agoMerge !1726: Use KRU in cache GC docs-master-mgcjyq/deployments/8046
Vladimír Čunát [Mon, 1 Dec 2025 20:07:47 +0000 (21:07 +0100)] 
Merge !1726: Use KRU in cache GC

3 weeks agolib/cache: NULL cache->db on failure to open docs-cache-kru-8qejro/deployments/8045
Vladimír Čunát [Mon, 1 Dec 2025 18:16:44 +0000 (19:16 +0100)] 
lib/cache: NULL cache->db on failure to open

Otherwise we get use-after-free when attempting to close the cache
after this failure causes the process to shut down.

3 weeks agodoc /logging/groups: document the three missing groups docs-cache-kru-8qejro/deployments/8043
Vladimír Čunát [Mon, 1 Dec 2025 11:24:30 +0000 (12:24 +0100)] 
doc /logging/groups: document the three missing groups

In particular, I was now interested in `cache-gc`
and incorrectly assumed that it's merged with `cache`
(the C code didn't help, as they appear merged on that level).

3 weeks agoNEWS: add entry for this "cache-kru" branch
Vladimír Čunát [Mon, 1 Dec 2025 10:37:52 +0000 (11:37 +0100)] 
NEWS: add entry for this "cache-kru" branch

3 weeks agolib/kru + elsewhere nit: avoid message-less static_assert()
Vladimír Čunát [Tue, 25 Nov 2025 09:27:35 +0000 (10:27 +0100)] 
lib/kru + elsewhere nit: avoid message-less static_assert()

With clang they'd cause lots of complaints:
  warning: '_Static_assert' with no message is a C23 extension [-Wc23-extensions]

3 weeks agolib/cache/top performance nits
Vladimír Čunát [Wed, 13 Aug 2025 10:44:11 +0000 (12:44 +0200)] 
lib/cache/top performance nits

3 weeks agolib/cache/top: fix a minor `const` nit
Vladimír Čunát [Tue, 25 Nov 2025 13:55:47 +0000 (14:55 +0100)] 
lib/cache/top: fix a minor `const` nit

3 weeks agolib/cache nit: explicitly free kr_cache_emergency_file_to_remove
Vladimír Čunát [Tue, 25 Nov 2025 11:27:51 +0000 (12:27 +0100)] 
lib/cache nit: explicitly free kr_cache_emergency_file_to_remove

Also simplify the related code a little.
I don't think this has any practical impact.

3 weeks agolib/cache kr_cache_open() nit: the `opts` parameter may not be NULL
Vladimír Čunát [Wed, 13 Aug 2025 10:44:11 +0000 (12:44 +0200)] 
lib/cache kr_cache_open() nit: the `opts` parameter may not be NULL

The code clearly assumes it isn't, and I checked that it never is called
that way (and it would crash anyway).

3 weeks agolib/cache/top: fix counting the whole record size instead of just eh
Lukáš Ondráček [Thu, 13 Nov 2025 14:31:28 +0000 (15:31 +0100)] 
lib/cache/top: fix counting the whole record size instead of just eh

3 weeks agolib/kru: fix collision when user plays with -march option
Vladimír Čunát [Mon, 20 Oct 2025 09:30:54 +0000 (11:30 +0200)] 
lib/kru: fix collision when user plays with -march option

Affects just clang, apparently.  This is just a copy from knot-dns changes,
doing a bit more than this resolver commit title says.  See:
https://gitlab.nic.cz/knot/knot-dns/-/commit/ec4a2567b213efdb8ecab6573cebbc74fbb507b2
https://gitlab.nic.cz/knot/knot-dns/-/commit/509d9d82b51c58ea572dccb09f4fdbe1a3c2571e

3 weeks agotreewide refactor: avoid kr_cache_top_context_switch()
Vladimír Čunát [Wed, 13 Aug 2025 10:57:53 +0000 (12:57 +0200)] 
treewide refactor: avoid kr_cache_top_context_switch()

It seemed to bring more complexity than benefit.
In many parts this meant revert to code before a few commits.

It's slightly tricky that qry or req may be NULL in some cases,
but I believe I've caught all of them by conditions, and moreover
they're cases where it doesn't make sense to update kr_cache_top_*

3 weeks agolib/kru: deduplicate kru_limited_prefetch_hash()
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.

3 weeks agolib/kru nit: shrink the USE_AES version of `struct kru` by 64 bytes
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.

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

As the resolver fixes the state now, and loss of data is to be expected
on cache size change, vcunat downgraded the log severity of this.

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks agoMerge !1759: distro: update add protobuf-compiler package for apkg docs-master-mgcjyq/deployments/8042
Vladimír Čunát [Mon, 1 Dec 2025 12:26:45 +0000 (13:26 +0100)] 
Merge !1759: distro: update add protobuf-compiler package for apkg

3 weeks agodistro: update apkg to prefer protobuf-compiler, fall back to protobuf-c-compiler
Hynek Šabacký [Mon, 24 Nov 2025 08:32:11 +0000 (09:32 +0100)] 
distro: update apkg to prefer protobuf-compiler, fall back to protobuf-c-compiler

3 weeks agoMerge !1758: manager: basic support for non-Linux systems (macOS, FreeBSD) docs-master-mgcjyq/deployments/8035
Vladimír Čunát [Mon, 1 Dec 2025 07:33:12 +0000 (08:33 +0100)] 
Merge !1758: manager: basic support for non-Linux systems (macOS, FreeBSD)

3 weeks agocontroller: use NOTIFY_SUPPORT constant docs-manager-maco-85zl81/deployments/8025
Aleš Mrázek [Wed, 26 Nov 2025 17:22:19 +0000 (18:22 +0100)] 
controller: use NOTIFY_SUPPORT constant

3 weeks agomanager: use WORKERS_SUPPORT constant
Aleš Mrázek [Wed, 26 Nov 2025 17:21:42 +0000 (18:21 +0100)] 
manager: use WORKERS_SUPPORT constant

4 weeks agoconstants.py: values determination simplification
Aleš Mrázek [Wed, 26 Nov 2025 17:01:16 +0000 (18:01 +0100)] 
constants.py: values determination simplification

4 weeks agoconstants.py: added WORKERS_SUPPORT and NOTIFY_SUPPORT
Aleš Mrázek [Wed, 26 Nov 2025 16:50:04 +0000 (17:50 +0100)] 
constants.py: added WORKERS_SUPPORT and NOTIFY_SUPPORT

4 weeks agoRevert "etc/config/config.macos.yaml: new config for macOS"
Aleš Mrázek [Wed, 26 Nov 2025 10:27:00 +0000 (11:27 +0100)] 
Revert "etc/config/config.macos.yaml: new config for macOS"

This reverts commit c75a2ba8b009e3bb332289b8960d79420855f042.

4 weeks agodaemon/defer.c: replaced ETIME with ETIMEDOUT for timeout errors
Aleš Mrázek [Mon, 24 Nov 2025 19:12:32 +0000 (20:12 +0100)] 
daemon/defer.c: replaced ETIME with ETIMEDOUT for timeout errors

ETIMEDOUT explicitly indicates a timeout condition defined by POSIX and improves portability.

4 weeks agoNEWS: update
Aleš Mrázek [Thu, 20 Nov 2025 15:26:56 +0000 (16:26 +0100)] 
NEWS: update

4 weeks agomanager: added FreeBSD support
Aleš Mrázek [Tue, 18 Nov 2025 14:08:15 +0000 (15:08 +0100)] 
manager: added FreeBSD support

Multiple workers are supported only on Linux systems or FreeBSD with SO_REUSEPORT_LB socket option.

4 weeks agodaemon/main.c: send READY notification only on Linux
Aleš Mrázek [Tue, 18 Nov 2025 13:06:39 +0000 (14:06 +0100)] 
daemon/main.c: send READY notification only on Linux

4 weeks agomanager: no 'set_new_tls_sticket_secret' callback on macOS
Aleš Mrázek [Wed, 12 Nov 2025 20:30:54 +0000 (21:30 +0100)] 
manager: no 'set_new_tls_sticket_secret' callback on macOS

Callback is not needed, as only one kresd worker is allowed on macOS.

4 weeks agomanager: renamed logging module to logger
Aleš Mrázek [Wed, 12 Nov 2025 20:28:20 +0000 (21:28 +0100)] 
manager: renamed logging module to logger

On macOS, it caused problems because it had the same name as the built-in logging module.

4 weeks agocontroller/supervisord: platform portable config
Aleš Mrázek [Mon, 10 Nov 2025 20:31:33 +0000 (21:31 +0100)] 
controller/supervisord: platform portable config

4 weeks agocontroller/supervisord/plugin/notifymodule.c: platform portable
Aleš Mrázek [Wed, 15 Oct 2025 09:47:43 +0000 (11:47 +0200)] 
controller/supervisord/plugin/notifymodule.c: platform portable

4 weeks agoetc/config/config.macos.yaml: new config for macOS
Aleš Mrázek [Wed, 15 Oct 2025 09:47:25 +0000 (11:47 +0200)] 
etc/config/config.macos.yaml: new config for macOS

4 weeks agodatamodel: workers: check for macOS platform
Aleš Mrázek [Thu, 2 Oct 2025 09:21:07 +0000 (11:21 +0200)] 
datamodel: workers: check for macOS platform

4 weeks agoMerge !1757: documentation nits docs-master-mgcjyq/deployments/8008 docs-master-mgcjyq/deployments/8011 docs-master-mgcjyq/deployments/8013 docs-master-mgcjyq/deployments/8022 docs-master-mgcjyq/deployments/8024 docs-master-mgcjyq/deployments/8026 docs-master-mgcjyq/deployments/8028 docs-master-mgcjyq/deployments/8029 docs-master-mgcjyq/deployments/8031 docs-master-mgcjyq/deployments/8032 docs-master-mgcjyq/deployments/8034 docs-nightly-t152d1/deployments/8012 docs-nightly-t152d1/deployments/8023 docs-nightly-t152d1/deployments/8027 docs-nightly-t152d1/deployments/8030 docs-nightly-t152d1/deployments/8033
Vladimír Čunát [Wed, 26 Nov 2025 12:23:13 +0000 (13:23 +0100)] 
Merge !1757: documentation nits

4 weeks agodaemon/bindings/net_xdpsrv.rst: updated with declarative config docs-doc-nits-htzzj1/deployments/8004
Aleš Mrázek [Tue, 25 Nov 2025 13:24:45 +0000 (14:24 +0100)] 
daemon/bindings/net_xdpsrv.rst: updated with declarative config

4 weeks agodoc/dev: reinstante the config-debugging section
Vladimír Čunát [Mon, 24 Nov 2025 09:30:02 +0000 (10:30 +0100)] 
doc/dev: reinstante the config-debugging section

It apparently got forgotten when splitting the doc/ into doc/{user,dev}/
And as we now removed this from YAML (and doc/user) in 9fbacef1709,
these options completely disappeared from our 6.x docs.
So this PR puts it back into doc/dev on the place where it's in 5.x docs.

4 weeks agodoc/user: misc nits
Vladimír Čunát [Fri, 7 Nov 2025 13:36:21 +0000 (14:36 +0100)] 
doc/user: misc nits

config-fallback: I forgot the config-serve-stale label in there,
now reported as duplicate.  I'm still getting reports of
> WARNING: undefined label: 'config-serve-stale' [ref.ref]
in 3 places (config-cache.rst:170, config-rfc7706.rst:9, rfc-list.rst:337)
but I have no idea why that happens.

5 weeks agotreewide nit: reduce visible usage of "blacklist" and "whitelist" words
Vladimír Čunát [Fri, 7 Nov 2025 13:36:21 +0000 (14:36 +0100)] 
treewide nit: reduce visible usage of "blacklist" and "whitelist" words

I can understand that this naming tradition... isn't great.

5 weeks agodoc/user: correct the default for /network/listen
Vladimír Čunát [Thu, 6 Nov 2025 17:25:52 +0000 (18:25 +0100)] 
doc/user: correct the default for /network/listen

I looked into the model, and we do not enable DoT by default.
Which seems fine, as encryption of localhost-only communication
doesn't make much sense anyway.

5 weeks agodoc/user/config-network-server-tls.rst: nits
Vladimír Čunát [Thu, 6 Nov 2025 17:02:57 +0000 (18:02 +0100)] 
doc/user/config-network-server-tls.rst: nits

- move an example config closer to the beginning of its section
- less mention of doh-legacy