]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
4 days agolib/cache/cdb: deal with LMDB 1.0.0 switching format 1872/head
Vladimír Čunát [Tue, 7 Jul 2026 13:00:52 +0000 (15:00 +0200)] 
lib/cache/cdb: deal with LMDB 1.0.0 switching format

1.0.0 also regresses in properties of mdb_drop()
(which will be fixed in 1.0.1 reportedly),
but with kresd 5.x this doesn't seem to cause issues.

8 days agoMerge !1874: v5: avoid secure.nic.cz URLs docs-develop-mast-tyrtta/deployments/9665
Vladimír Čunát [Wed, 29 Jul 2026 13:30:11 +0000 (15:30 +0200)] 
Merge !1874: v5: avoid secure.nic.cz URLs

8 days agoavoid secure.nic.cz URLs docs-develop-secu-98i3uc/deployments/9663 1874/head
Vladimír Čunát [Wed, 29 Jul 2026 10:41:06 +0000 (12:41 +0200)] 
avoid secure.nic.cz URLs

They've been HTTP 301 for quite a long time now.
These legacy aliases still work, but let's not rely on that anymore.

(cherry picked from commit 8391c3961b2d6fe5e4cb7ad50324dc2355a2f490)

10 days agoMerge !1871: lib/cache: fix excessive logging regression docs-develop-mast-tyrtta/deployments/9634
Vladimír Čunát [Mon, 27 Jul 2026 12:28:37 +0000 (14:28 +0200)] 
Merge !1871: lib/cache: fix excessive logging regression

10 days agolib/cache: fix excessive logging regression docs-develop-exce-to1up3/deployments/9633 1871/head
Vladimír Čunát [Fri, 24 Jul 2026 12:12:04 +0000 (14:12 +0200)] 
lib/cache: fix excessive logging regression

Regressed in 29b55ceb426efaa and annoyingly logging e.g.:
> [cache ] [35589.02] stash failed, ret = 1

Example QNAME to trigger this: foo.bar.cloudflare.net

(cherry picked from commit b9327b8fab7f3e8b4e60dde2c146daa30e9fb80f)

2 weeks agoMerge branch '5-ci-docker-test-fix' into 'master-5' docs-develop-mast-tyrtta/deployments/9609
Aleš Mrázek [Fri, 24 Jul 2026 11:44:57 +0000 (13:44 +0200)] 
Merge branch '5-ci-docker-test-fix' into 'master-5'

ci: fixed docker cross-platform tests

See merge request knot/knot-resolver!1868

2 weeks ago.gitlab-ci.yml: fix for docker cross-platform tests docs-develop-5-ci-rb9y25/deployments/9608 1868/head
Aleš Mrázek [Fri, 24 Jul 2026 11:41:58 +0000 (13:41 +0200)] 
.gitlab-ci.yml: fix for docker cross-platform tests

Use kresd non-interactive mode
and redirect stderr to kresd.log.

2 weeks agoMerge !1867: ci: pkg: added Ubuntu 26.10 docs-develop-mast-tyrtta/deployments/9604
Vladimír Čunát [Fri, 24 Jul 2026 10:29:14 +0000 (12:29 +0200)] 
Merge !1867: ci: pkg: added Ubuntu 26.10

2 weeks ago.gitlab-ci.yml: pkg: remove Ubuntu 20.04 and 25.10 docs-develop-5-ci-hg7nlm/deployments/9603
Aleš Mrázek [Fri, 24 Jul 2026 10:01:56 +0000 (12:01 +0200)] 
.gitlab-ci.yml: pkg: remove Ubuntu 20.04 and 25.10

2 weeks ago.gitlab-ci.yml: pkg: add Ubuntu 26.10
Aleš Mrázek [Fri, 24 Jul 2026 10:01:24 +0000 (12:01 +0200)] 
.gitlab-ci.yml: pkg: add Ubuntu 26.10

2 weeks agoMerge branch 'ci-deploy-dockerhub-fix' into 'master-5' docs-develop-mast-tyrtta/deployments/9588
Aleš Mrázek [Wed, 22 Jul 2026 10:59:25 +0000 (12:59 +0200)] 
Merge branch 'ci-deploy-dockerhub-fix' into 'master-5'

ci: docker:dockerhub: fix LATEST5_TAG

See merge request knot/knot-resolver!1866

2 weeks ago.gitlab-ci.yml: docker:dockerhub: fix LATEST5_TAG docs-develop-ci-d-85933o/deployments/9587
Aleš Mrázek [Wed, 22 Jul 2026 10:28:03 +0000 (12:28 +0200)] 
.gitlab-ci.yml: docker:dockerhub: fix LATEST5_TAG

2 weeks agoMerge branch 'release-5.7.7' into 'master-5' docs-develop-mast-tyrtta/deployments/9582 docs-release-v5-7-nr6aj0/deployments/9584 v5.7.7
Aleš Mrázek [Wed, 22 Jul 2026 09:34:39 +0000 (11:34 +0200)] 
Merge branch 'release-5.7.7' into 'master-5'

Release 5.7.7

See merge request knot/knot-resolver!1864

2 weeks agoAUTHORS: update docs-develop-rele-rvz810/deployments/9580
Aleš Mrázek [Wed, 22 Jul 2026 08:34:14 +0000 (10:34 +0200)] 
AUTHORS: update

2 weeks agorelease 5.7.7 docs-develop-rele-rvz810/deployments/9578
Aleš Mrázek [Wed, 22 Jul 2026 08:19:37 +0000 (10:19 +0200)] 
release 5.7.7

2 weeks agoadd NEWS items for these security issues
Vladimír Čunát [Wed, 22 Jul 2026 08:11:13 +0000 (10:11 +0200)] 
add NEWS items for these security issues

2 weeks agorestrict RRSIGs claiming wildcard reach out of the zone [QZKF-005]
Vladimír Čunát [Wed, 8 Jul 2026 13:25:10 +0000 (15:25 +0200)] 
restrict RRSIGs claiming wildcard reach out of the zone [QZKF-005]

This issue was reported by Qifan Zhang from Palo Alto Networks.

Nit: this assignments of `ret` aren't important,
but they might be a bit useful when debugging.

(cherry picked from commit 29b55ceb426efaafcc955181637072a36a99486e)

2 weeks agolib/dnssec.c: guard NSEC's next name against zone bailiwick [QZKF-001]
Vladimír Čunát [Tue, 5 May 2026 08:24:41 +0000 (10:24 +0200)] 
lib/dnssec.c: guard NSEC's next name against zone bailiwick [QZKF-001]

This issue was reported by Qifan Zhang from Palo Alto Networks.

(cherry picked from commit ccbf48088f3ae0736c878888f3cae04ff462d651)

3 weeks agoMerge !1862: backport a few MRs to v5 docs-develop-mast-tyrtta/deployments/9546
Vladimír Čunát [Wed, 15 Jul 2026 14:56:43 +0000 (16:56 +0200)] 
Merge !1862: backport a few MRs to v5

3 weeks agoupdate IANA's certificate for root trust anchor bootstrapping docs-develop-back-xaelev/deployments/9545
Vladimír Čunát [Thu, 4 Jun 2026 12:21:43 +0000 (14:21 +0200)] 
update IANA's certificate for root trust anchor bootstrapping

The file now contains both old and new certificate, as downloaded from:
https://data.iana.org/root-anchors/icannbundle.pem
The switch of signatures themselves is planned for 2028.

3 weeks agoiterate: fix DNS64 on CNAMEs
Vladimír Čunát [Mon, 25 May 2026 09:29:46 +0000 (11:29 +0200)] 
iterate: fix DNS64 on CNAMEs

It's a bit embarassing that the issue has lasted this long.
Overall the DNS64 module is slightly hacky/prototype-ish.

3 weeks agotests/integration/deckard: pull updates to fix CI
Vladimír Čunát [Wed, 15 Jul 2026 14:30:10 +0000 (16:30 +0200)] 
tests/integration/deckard: pull updates to fix CI

4 weeks agoMerge branch 'v5-ci-dockerhub-fix' into 'master-5' docs-develop-mast-tyrtta/deployments/9498
Aleš Mrázek [Tue, 7 Jul 2026 11:55:12 +0000 (13:55 +0200)] 
Merge branch 'v5-ci-dockerhub-fix' into 'master-5'

v5: ci: docker:dockerhub: avoid SIGPIPE when determining latest tag

See merge request knot/knot-resolver!1860

4 weeks ago.gitlab-ci.yml: docker:dockerhub: avoid SIGPIPE docs-develop-v5-c-ww5d56/deployments/9496
Aleš Mrázek [Tue, 7 Jul 2026 11:33:30 +0000 (13:33 +0200)] 
.gitlab-ci.yml: docker:dockerhub: avoid SIGPIPE

Replaced the piped 'git tag | head' command with 'git for-each-ref'
to avoid intermittent exit code 141 failures in CI.

2 months agoMerge !1845: v5: ci: dockerhub automatic deploy from scheduled pipeline docs-develop-mast-tyrtta/deployments/9224
Vladimír Čunát [Wed, 3 Jun 2026 06:27:45 +0000 (08:27 +0200)] 
Merge !1845: v5: ci: dockerhub automatic deploy from scheduled pipeline

2 months agoscripts: created Makefile.docker docs-develop-5-ci-exua1y/deployments/9220
Aleš Mrázek [Tue, 2 Jun 2026 14:49:50 +0000 (16:49 +0200)] 
scripts: created Makefile.docker

2 months ago.gitlab-ci.yml: docker:dockerhub: only auto-deploy on latest5 tag
Aleš Mrázek [Mon, 1 Jun 2026 14:19:38 +0000 (16:19 +0200)] 
.gitlab-ci.yml: docker:dockerhub: only auto-deploy on latest5 tag

2 months ago.gitlab-ci.yml: docker:dockerhub: allow automatic deploy from schedule
Aleš Mrázek [Mon, 1 Jun 2026 12:52:11 +0000 (14:52 +0200)] 
.gitlab-ci.yml: docker:dockerhub: allow automatic deploy from schedule

2 months ago.gitlab-ci.yml: docker:dockerhub: added tag with date-stamp
Aleš Mrázek [Mon, 1 Jun 2026 12:50:45 +0000 (14:50 +0200)] 
.gitlab-ci.yml: docker:dockerhub: added tag with date-stamp

2 months ago.gitlab-ci.yml: docker:build:cross-platform: unique builder for every build
Aleš Mrázek [Mon, 1 Jun 2026 12:23:11 +0000 (14:23 +0200)] 
.gitlab-ci.yml: docker:build:cross-platform: unique builder for every build

2 months agoMerge !1838: pkg: rpm: package provides user/group docs-develop-mast-tyrtta/deployments/9137
Vladimír Čunát [Thu, 21 May 2026 11:59:30 +0000 (13:59 +0200)] 
Merge !1838: pkg: rpm: package provides user/group

2 months agopkg: rpm: package provides user and group docs-develop-5-pk-i6xii7/deployments/9136
Aleš Mrázek [Thu, 21 May 2026 11:29:23 +0000 (13:29 +0200)] 
pkg: rpm: package provides user and group

Return to static user/group creation.

2 months agoMerge !1833: v5: support libdnssec merged into libknot, as planned for knot >= 3.6 docs-develop-mast-tyrtta/deployments/9086
Vladimír Čunát [Wed, 13 May 2026 11:47:05 +0000 (13:47 +0200)] 
Merge !1833: v5: support libdnssec merged into libknot, as planned for knot >= 3.6

2 months agotreewide: avoid DNSSEC_EOK docs-develop-v5-k-1bu8qa/deployments/9085
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()

(cherry picked from commit c8ea4c076a622a724626f79eb3bd0ba4badd1f17)

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

(cherry picked from commit 80cf9eb10cef5567feb54fe96a9daf044a82f209)

2 months 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

(cherry picked from commit d0375933dd0805e77ebe53765c51c8c8afa4a29e)

2 months agoMerge !1832: misc v5 backports docs-develop-mast-tyrtta/deployments/9083
Vladimír Čunát [Wed, 13 May 2026 10:54:03 +0000 (12:54 +0200)] 
Merge !1832: misc v5 backports

2 months agodistro/pkg: replace retired Jakub's contact by our team alias docs-develop-back-xaelev/deployments/9082
Vladimír Čunát [Sun, 4 Jan 2026 12:56:31 +0000 (13:56 +0100)] 
distro/pkg: replace retired Jakub's contact by our team alias

(cherry picked from commit 9623ce239317a51362f181363fdae24d06cfe5f1)

2 months agolib/cache: trim TTL of failing stashed packets
Vladimír Čunát [Mon, 16 Mar 2026 10:00:22 +0000 (11:00 +0100)] 
lib/cache: trim TTL of failing stashed packets

In particular, in STUB mode
(i.e. forwarding with dnssec:false + authoritative:false)
if a SERVFAIL packet from upstream contained also records,
this packet could be cached with long TTL.

This issue was reported by Qifan Zhang from Palo Alto Networks.

Additionally, let's apply our TTL limits for caching also
to the `cache-control: max-age=` HTTP header sent in DoH replies.

(cherry picked from commit e4812f51e385334e051851c839b4a262d6224411)

2 months agolib/resolve: backport `the_resolver` symbol
Vladimír Čunát [Wed, 13 May 2026 09:08:41 +0000 (11:08 +0200)] 
lib/resolve: backport `the_resolver` symbol

It's trivial to add this simple pointer,
and it will tremendously help with the following commit.

2 months agodaemon/http.c nit: fix const-warnings with C23
Vladimír Čunát [Thu, 26 Mar 2026 11:56:44 +0000 (12:56 +0100)] 
daemon/http.c nit: fix const-warnings with C23

Interestingly, with C23, functions like strstr()
return a const-qualified pointer iff one was passed to them.
Right now we ran into this in Arch CI (unreleased gcc 15 version):
https://gitlab.nic.cz/knot/knot-resolver/-/jobs/1713767

(cherry picked from commit e6de5ceece8bd5fd91d306a7612f292f643935bd)

2 months agoMerge !1831: pkg: rpm sysusers, distro tests and other improvements docs-develop-mast-tyrtta/deployments/9081
Vladimír Čunát [Wed, 13 May 2026 08:40:16 +0000 (10:40 +0200)] 
Merge !1831: pkg: rpm sysusers, distro tests and other improvements

2 months agodaemon/lua: avoid depending on KNOT_EDNS_MAX_OPTION_CODE docs-develop-5-pk-r4uf3k/deployments/9080
Vladimír Čunát [Tue, 4 Feb 2025 14:03:15 +0000 (15:03 +0100)] 
daemon/lua: avoid depending on KNOT_EDNS_MAX_OPTION_CODE

We don't need to use the knot_edns_options_t type from lua,
only there's a pointer in knot_pkt_t.
Now libknot increased this length in v3.4.4,
even without bumping SONAME, and it might happen again.
This way we avoid kres-gen-*.lua depending on this length.

(cherry picked from commit 016692b2766ab9225a54ca1c0fda3e660a15a68c)

2 months ago.gitlab-ci.yml: use newer knot version 3.5
Aleš Mrázek [Wed, 13 May 2026 07:56:54 +0000 (09:56 +0200)] 
.gitlab-ci.yml: use newer knot version 3.5

2 months ago.gitlab-ci.yml: removed builds for knot31 and knot32
Aleš Mrázek [Wed, 13 May 2026 07:46:07 +0000 (09:46 +0200)] 
.gitlab-ci.yml: removed builds for knot31 and knot32

These knot versions are no longer supported.

2 months ago.gitlab-ci.yml: updated IMAGE_TAG docs-develop-5-pk-r4uf3k/deployments/9075
Aleš Mrázek [Wed, 13 May 2026 07:29:42 +0000 (09:29 +0200)] 
.gitlab-ci.yml: updated IMAGE_TAG

2 months agotests/integration/deckard: updated with fix for pydnstest symlink docs-develop-5-pk-r4uf3k/deployments/9070
Aleš Mrázek [Tue, 12 May 2026 21:49:43 +0000 (23:49 +0200)] 
tests/integration/deckard: updated with fix for pydnstest symlink

2 months agodistro/pkg/rpm: removed rhel == 7
Aleš Mrázek [Tue, 12 May 2026 21:39:07 +0000 (23:39 +0200)] 
distro/pkg/rpm: removed rhel == 7

2 months agodistro/pkg/rpm: added systemd-sysusers
Aleš Mrázek [Tue, 12 May 2026 21:35:50 +0000 (23:35 +0200)] 
distro/pkg/rpm: added systemd-sysusers

The recommended systemd's sysusers is used to add user and group.

2 months ago.gitlab-ci.yml: pkg: removed tests for ubuntu-25.04
Aleš Mrázek [Tue, 12 May 2026 21:19:38 +0000 (23:19 +0200)] 
.gitlab-ci.yml: pkg: removed tests for ubuntu-25.04

2 months ago.gitlab-ci.yml: pkg: added tests for fedora-43 and fedora-44
Aleš Mrázek [Tue, 12 May 2026 21:16:42 +0000 (23:16 +0200)] 
.gitlab-ci.yml: pkg: added tests for  fedora-43 and fedora-44

2 months ago.gitlab-ci.yml: pkg:make-archive: use ubuntu-26.04 image
Aleš Mrázek [Tue, 12 May 2026 21:15:37 +0000 (23:15 +0200)] 
.gitlab-ci.yml: pkg:make-archive: use ubuntu-26.04 image

5 months agoMerge !1807: ci: update the list of distros docs-develop-mast-tyrtta/deployments/8545
Vladimír Čunát [Mon, 9 Feb 2026 08:22:58 +0000 (09:22 +0100)] 
Merge !1807: ci: update the list of distros

5 months agoci: update the list of distros docs-develop-ci-d-1rgaix/deployments/8544
Vladimír Čunát [Mon, 9 Feb 2026 08:08:36 +0000 (09:08 +0100)] 
ci: update the list of distros

Same as e359cbe190f55

6 months agoMerge branch 'ci-dockerhub-update' into 'master-5' docs-develop-mast-tyrtta/deployments/8314
Aleš Mrázek [Fri, 9 Jan 2026 15:48:45 +0000 (16:48 +0100)] 
Merge branch 'ci-dockerhub-update' into 'master-5'

v5: ci: update dockerhub deploy job

See merge request knot/knot-resolver!1790

6 months ago.gitlab-ci.yml: updated dockerhub deploy job docs-develop-ci-d-wjd1bi/deployments/8313
Aleš Mrázek [Fri, 9 Jan 2026 15:44:01 +0000 (16:44 +0100)] 
.gitlab-ci.yml: updated dockerhub deploy job

7 months agoMerge !1781: more backports to 5.x docs-develop-mast-tyrtta/deployments/8252
Vladimír Čunát [Fri, 2 Jan 2026 10:51:39 +0000 (11:51 +0100)] 
Merge !1781: more backports to 5.x

7 months agoNEWS entries for the previous two backport commits docs-develop-back-g3r3cl/deployments/8251
Vladimír Čunát [Fri, 2 Jan 2026 10:10:36 +0000 (11:10 +0100)] 
NEWS entries for the previous two backport commits

7 months agoresolver: don't set AD if both Answer and Authority are empty.
menakite [Thu, 29 Aug 2024 03:55:28 +0000 (05:55 +0200)] 
resolver: don't set AD if both Answer and Authority are empty.

Fixes #914 (nord module: AD=1 is no good)

7 months agocache packet_ttl(): fix wrong TTL in some cases, typically 32768 docs-develop-ttl-wgbfe7/deployments/8206
Vladimír Čunát [Sun, 21 Dec 2025 12:10:20 +0000 (13:10 +0100)] 
cache packet_ttl(): fix wrong TTL in some cases, typically 32768

A notable case is when authoritative server incorrectly sends
a reply without any record but with EDNS.

For the OPT, the TTL field contains extended-error, EDNS version,
DO bit and mandatorily zeroed bits.  As extended-error isn't usually
set by authoritative servers outside SERVFAIL, and EDNS version
is just 1 so far, we'd end up with TTL either 32768 (DO=0) or with
a value clamped by maximum TTL (86400 by default).

7 months agoMerge !1773: various backports to 5.x docs-develop-mast-tyrtta/deployments/8190
Vladimír Čunát [Fri, 19 Dec 2025 13:34:33 +0000 (14:34 +0100)] 
Merge !1773: various backports to 5.x

7 months agotests: migrate off cmocka's deprecated APIs docs-develop-back-g3r3cl/deployments/8179
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.

7 months agolib/selection: respect 0x20 settings even after TCP issues
Vladimír Čunát [Wed, 20 Aug 2025 07:11:38 +0000 (09:11 +0200)] 
lib/selection: respect 0x20 settings even after TCP issues

Thankfully we can pull it from kr_request,
as policy.FLAGS() also sets it in there.

7 months 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

7 months agoci: add pkg:ubuntu-25.10 docs-develop-ci-p-teb5n5/deployments/8178
Vladimír Čunát [Tue, 2 Dec 2025 10:14:06 +0000 (11:14 +0100)] 
ci: add pkg:ubuntu-25.10

7 months ago.gitlab-ci.yml: kill Ubuntu 24.10
Vladimír Čunát [Mon, 15 Sep 2025 06:28:06 +0000 (08:28 +0200)] 
.gitlab-ci.yml: kill Ubuntu 24.10

It won't work anymore:
https://gitlab.nic.cz/knot/knot-resolver/-/jobs/1482521

12 months agoMerge !1730: tests/integration/deckard: pull updates docs-develop-mast-tyrtta/deployments/7324
Vladimír Čunát [Fri, 1 Aug 2025 16:55:16 +0000 (18:55 +0200)] 
Merge !1730: tests/integration/deckard: pull updates

12 months agotests/integration/deckard: pull updates docs-develop-deck-a09exv/deployments/7323
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.

12 months agoMerge branch 'release-5.7.6' into 'master-5' docs-develop-mast-tyrtta/deployments/7230 docs-release-v5-7-a8fkxz/deployments/7231 obs-knot-resolver-8xyvhu/deployments/7234 obs-knot-resolver-kv62s6/deployments/7232 v5.7.6
Aleš Mrázek [Thu, 17 Jul 2025 08:32:41 +0000 (10:32 +0200)] 
Merge branch 'release-5.7.6' into 'master-5'

Release 5.7.6

See merge request knot/knot-resolver!1723

12 months agorelease 5.7.6 docs-develop-rele-sopa3h/deployments/7228
Aleš Mrázek [Thu, 17 Jul 2025 07:56:28 +0000 (09:56 +0200)] 
release 5.7.6

12 months agoMerge !1721: lib/dnssec: drop incorrect `requirement` and comment docs-develop-mast-tyrtta/deployments/7225
Vladimír Čunát [Thu, 17 Jul 2025 07:20:57 +0000 (09:20 +0200)] 
Merge !1721: lib/dnssec: drop incorrect `requirement` and comment

12 months agolib/dnssec: drop incorrect `requirement` and comment docs-develop-requ-5ho54w/deployments/7224
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.

12 months agoMerge !1720: lib/cache pkt_renew(): don't keep parts of packet header docs-develop-mast-tyrtta/deployments/7223
Vladimír Čunát [Thu, 17 Jul 2025 07:15:16 +0000 (09:15 +0200)] 
Merge !1720: lib/cache pkt_renew(): don't keep parts of packet header

12 months agolib/cache pkt_renew(): don't keep parts of packet header docs-develop-pkt-9zso9k/deployments/7222
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.

12 months agoMerge !1719: meson: avoid protoc-c, as it's deprecated docs-develop-mast-tyrtta/deployments/7221
Vladimír Čunát [Thu, 17 Jul 2025 06:57:56 +0000 (08:57 +0200)] 
Merge !1719: meson: avoid protoc-c, as it's deprecated

12 months agomeson: avoid protoc-c, as it's (reported as) deprecated docs-develop-prot-m41oog/deployments/7220
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!

13 months agoMerge !1707: .gitlab-ci.yml: add pkg:alma-10 docs-develop-mast-tyrtta/deployments/7007
Vladimír Čunát [Fri, 13 Jun 2025 13:23:01 +0000 (15:23 +0200)] 
Merge !1707: .gitlab-ci.yml: add pkg:alma-10

13 months ago.gitlab-ci.yml: add pkg:alma-10 docs-develop-ci-a-gwgq2n/deployments/7006
Vladimír Čunát [Thu, 5 Jun 2025 10:27:47 +0000 (12:27 +0200)] 
.gitlab-ci.yml: add pkg:alma-10

14 months agoMerge !1692: ci pkg: update the distro list docs-develop-mast-tyrtta/deployments/6843
Vladimír Čunát [Thu, 22 May 2025 17:13:11 +0000 (19:13 +0200)] 
Merge !1692: ci pkg: update the distro list

14 months agoci pkg: make the distro list up to date docs-develop-ci-p-pryqes/deployments/6842
Vladimír Čunát [Thu, 22 May 2025 17:00:09 +0000 (19:00 +0200)] 
ci pkg: make the distro list up to date

14 months agoMerge !1690: distro/pkg/deb: use meson through debhelper docs-develop-mast-tyrtta/deployments/6839
Vladimír Čunát [Thu, 22 May 2025 16:10:38 +0000 (18:10 +0200)] 
Merge !1690: distro/pkg/deb: use meson through debhelper

14 months agodistro/pkg/deb: use meson through debhelper docs-develop-pkg-ty1oeh/deployments/6838
Jakub Ružička [Thu, 22 May 2025 12:35:18 +0000 (14:35 +0200)] 
distro/pkg/deb: use meson through debhelper

Use standard debhelper as opposed to calling meson and ninja manually.

This mirrors v6 change and it fixes FTBFS on Ubuntu 25.04 in LaunchPad.

15 months agoMerge branch 'release-5.7.5' into 'master-5' docs-develop-mast-tyrtta/deployments/6669 docs-develop-stab-lrl9qw/deployments/6696 docs-release-v5-7-9m79ac/deployments/6674 docs-release-v5-7-9m79ac/deployments/6676 obs-knot-resolver-8xyvhu/deployments/6675 obs-knot-resolver-bs4hbr/deployments/6677 obs-knot-resolver-kv62s6/deployments/6671 stable v5.7.5
Aleš Mrázek [Thu, 24 Apr 2025 09:32:21 +0000 (11:32 +0200)] 
Merge branch 'release-5.7.5' into 'master-5'

Release 5.7.5

See merge request knot/knot-resolver!1681

15 months agoAUTHORS update docs-develop-rele-rrvqkp/deployments/6667
Aleš Mrázek [Thu, 24 Apr 2025 08:56:15 +0000 (10:56 +0200)] 
AUTHORS update

15 months agorelease 5.7.5
Aleš Mrázek [Thu, 24 Apr 2025 08:42:34 +0000 (10:42 +0200)] 
release 5.7.5

15 months agoMerge !1683: DoS: fix crashes unconfirmed on 5.x docs-develop-mast-tyrtta/deployments/6666
Vladimír Čunát [Thu, 24 Apr 2025 09:02:52 +0000 (11:02 +0200)] 
Merge !1683: DoS: fix crashes unconfirmed on 5.x

15 months agoNEWS for the possibly DoS issue docs-develop-cras-z9gm89/deployments/6665
Vladimír Čunát [Thu, 24 Apr 2025 08:58:17 +0000 (10:58 +0200)] 
NEWS for the possibly DoS issue

It's been confirmed in practice for 6.x only so far.

15 months agodaemon/session2_tasklist_del(): be more defensive
Vladimír Čunát [Thu, 24 Apr 2025 08:58:16 +0000 (10:58 +0200)] 
daemon/session2_tasklist_del(): be more defensive

See the 6.x commit 0646b6c3

15 months agodaemon/worker send_waiting(): be more defensive
Vladimír Čunát [Thu, 24 Apr 2025 08:58:16 +0000 (10:58 +0200)] 
daemon/worker send_waiting(): be more defensive

See the 6.x commit 7210f16e

15 months agoMerge !1679: NEWS: merge duplicate sections docs-develop-mast-tyrtta/deployments/6656
Vladimír Čunát [Thu, 24 Apr 2025 08:24:24 +0000 (10:24 +0200)] 
Merge !1679: NEWS: merge duplicate sections

15 months agoNEWS: merge duplicate sections docs-develop-news-3e3kde/deployments/6655
Vladimír Čunát [Thu, 24 Apr 2025 08:22:24 +0000 (10:22 +0200)] 
NEWS: merge duplicate sections

15 months agoMerge !1678: misc 5.x backports docs-develop-mast-tyrtta/deployments/6654
Vladimír Čunát [Thu, 24 Apr 2025 08:17:57 +0000 (10:17 +0200)] 
Merge !1678: misc 5.x backports

15 months agolint: pylint and flake8 removed docs-develop-back-g3r3cl/deployments/6642
Aleš Mrázek [Thu, 10 Oct 2024 12:36:28 +0000 (14:36 +0200)] 
lint: pylint and flake8 removed

(cherry picked from commit d92fba4d12df38d50cc97daab4a4b81337bb57c5)
It now fails on 5.x pytest, too:
https://gitlab.nic.cz/knot/knot-resolver/-/jobs/1340121

15 months agomodules/stats: further improve latency measurements docs-develop-back-g3r3cl/deployments/6641
Vladimír Čunát [Mon, 14 Apr 2025 09:13:32 +0000 (11:13 +0200)] 
modules/stats: further improve latency measurements

libuv's updating the stamp just once per event loop
might be too coarse, as processing multiple packets
(e.g. DNSSEC validation) may take milliseconds together.

Of course we still don't measure e.g. the time when incoming
client requests stay in OS buffers.

(cherry picked from commit 5e6a02b3902ac98b327eca281ae70fa2bb9a9598)

15 months agolib: clarify the doc-comment for struct kr_query::timestamp
Vladimír Čunát [Mon, 14 Apr 2025 09:13:32 +0000 (11:13 +0200)] 
lib: clarify the doc-comment for struct kr_query::timestamp

(cherry picked from commit 33151c4b5af57a9e51c998169b42ebe7e48af5fc)

15 months agomodules/stats: fix calculation of request's latency
Vladimír Čunát [Mon, 14 Apr 2025 09:13:32 +0000 (11:13 +0200)] 
modules/stats: fix calculation of request's latency

(cherry picked from commit b7cd7cbae773fecfca795d7f0ef064fa85aec59c)

15 months agoDoc: include jquery for sphinx version equal or greater to 2.*
Frantisek Tobias [Tue, 1 Apr 2025 12:03:13 +0000 (14:03 +0200)] 
Doc: include jquery for sphinx version equal or greater to 2.*

(cherry picked from commit 2378b94d81e069b580eba55958adb1d4309de82c)

15 months agoci: pkg: add ubuntu 25.04
Jakub Ružička [Mon, 17 Mar 2025 12:19:59 +0000 (13:19 +0100)] 
ci: pkg: add ubuntu 25.04

(cherry picked from commit 7da7083143b764bddab9402212676ac74ea6997b)

15 months agovalidator: accept a confusing NODATA proof with insecure delegation
Vladimír Čunát [Wed, 26 Feb 2025 08:29:12 +0000 (09:29 +0100)] 
validator: accept a confusing NODATA proof with insecure delegation

Honestly, I find it ugly and probably unintended,
but it's correctly signed and other vendors tend to accept it.

Example:
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 24204
;; Flags: qr aa rd; QUERY: 1; ANSWER: 0; AUTHORITY: 4; ADDITIONAL: 1

;; EDNS PSEUDOSECTION:
;; Version: 0; flags: do; UDP size: 4096 B; ext-rcode: NOERROR

;; QUESTION SECTION:
;; _domainkey.mail.cez.cz.              TXT

;; AUTHORITY SECTION:
cez.cz.                 3600    SOA     ns10.cez.cz. netmaster.cez.cz. 2025021801 14400 3600 604800 7200
cez.cz.                 3600    RRSIG   SOA 10 2 3600 20250302073317 20250223063317 45620 cez.cz. JnAonhCOi234lF2A40lYaHcuKtxACKz8X6UFILSgSaK00xyXDk6gWDWo3nmMjXxBwgfP98Gaj8nLMqRZ7ezAEUfWi+5P4YCQzax5Habu3nKB+XKocIPMCHHMhOMf410w4Taz4N2rKgi1p71QkuujISi3JZWzqG4bqzot2cGL12w=
1vk9lupeivbv7dhsb7udm5da1hkd089j.cez.cz. 7200   NSEC3   1 0 1 ACB298B834ADA5FD 1vk9lupeivbv7dhsb7udm5da1hkd089k A NS HINFO MX AAAA SRV RRSIG CAA
1vk9lupeivbv7dhsb7udm5da1hkd089j.cez.cz. 7200   RRSIG   NSEC3 10 3 7200 20250303115912 20250224105912 45620 cez.cz. OBW90lof86IoVsiuKkNEf4useG3fikE+npAVkpbiVsgMZWLHRNzAAlIU9wPMH5S4CWpnwoMVTaNtWJxegsG7cvCDZrjVVNOHE9hLOG2eG9f57vx/tVFTe4/DegO9KOyColOOYt4nt/uj7LTJZbzJY3Ev8I9971LEkFf5IxVwwPU=

(cherry picked from commit 91ca2921d39cc7a3de57a5db872f89974a4e7f39)

15 months agoci: update to new IMAGE_TAG
Aleš Mrázek [Mon, 24 Mar 2025 12:36:08 +0000 (13:36 +0100)] 
ci: update to new IMAGE_TAG

For 6.x we started using this TAG in commit a1aa3a51a2ede
but there have been other IMAGE_TAG bumps in the meantime.

Here we'll need it for the deckard update in the next commit,
which is needed due to validator tweaks.
And to fix CI, let's do the tiny bump in the lua bindings
(no practical impact whatsoever due to struct alignment).