]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
15 months agodaemon/tls: respect crypto policy overrides in OS docs-develop-tls-hs7nlh/deployments/3707
Vladimír Čunát [Tue, 2 Apr 2024 15:39:05 +0000 (17:39 +0200)] 
daemon/tls: respect crypto policy overrides in OS

16 months agoMerge !1525: distro/pkg/rpm: use noreplace for config.yaml docs-develop-6-0-mvwoqi/deployments/3655
Vladimír Čunát [Tue, 2 Apr 2024 10:34:55 +0000 (12:34 +0200)] 
Merge !1525: distro/pkg/rpm: use noreplace for config.yaml

16 months agodistro/pkg/arch: put config.yaml into backup docs-develop-rpm-fi1h16/deployments/3654
Oto Šťáva [Tue, 2 Apr 2024 09:47:37 +0000 (11:47 +0200)] 
distro/pkg/arch: put config.yaml into backup

Same as previous commit, but for Arch Linux.

16 months agodistro/pkg/rpm: use noreplace for config.yaml
Oto Šťáva [Tue, 2 Apr 2024 09:29:29 +0000 (11:29 +0200)] 
distro/pkg/rpm: use noreplace for config.yaml

Adds `%config(noreplace)` to `config.yaml`. This prevents the package
from overwriting the user's edited configuration upon update, and
instead adds the new default configuration as a `.rpmnew` file for the
user to potentially consider.

16 months agoMerge branch 'upstream-version' into '6.0'
Oto Šťáva [Tue, 2 Apr 2024 10:33:55 +0000 (12:33 +0200)] 
Merge branch 'upstream-version' into '6.0'

distro: auto-detect latest Knot Resolver version

See merge request knot/knot-resolver!1524

16 months agodistro: auto-detect latest Knot Resolver version docs-develop-upst-wgs6un/deployments/3632
Jakub Ružička [Thu, 28 Mar 2024 17:03:16 +0000 (18:03 +0100)] 
distro: auto-detect latest Knot Resolver version

New scripts/upstream-version.sh returns latest Knot Resolver version
based on upstream repo tags.

It's set as upstream.version_script in apkg config which enables:

    $ apkg info upstream-version
    upstream version: 6.0.7

and later `apkg build --upstream` when tarballs are available.

16 months agoMerge branch 'release-6.0.7' into '6.0' docs-develop-6-0-mvwoqi/deployments/3616 docs-release-v6-0-xh302i/deployments/3621 v6.0.7
Aleš Mrázek [Wed, 27 Mar 2024 16:38:36 +0000 (17:38 +0100)] 
Merge branch 'release-6.0.7' into '6.0'

release 6.0.7

See merge request knot/knot-resolver!1523

16 months agorelease 6.0.7 docs-develop-rele-bexqno/deployments/3614
Aleš Mrázek [Wed, 27 Mar 2024 16:06:35 +0000 (17:06 +0100)] 
release 6.0.7

16 months agoDockerfile: fix typo 'update' -> 'upgrade' docs-develop-6-0-mvwoqi/deployments/3606
Oto Šťáva [Wed, 27 Mar 2024 12:41:40 +0000 (13:41 +0100)] 
Dockerfile: fix typo 'update' -> 'upgrade'

16 months agoMerge branch '6.0.7-news' into '6.0' docs-develop-6-0-mvwoqi/deployments/3605
Oto Šťáva [Wed, 27 Mar 2024 11:05:18 +0000 (12:05 +0100)] 
Merge branch '6.0.7-news' into '6.0'

NEWS: add missing entries for 6.0.7

See merge request knot/knot-resolver!1519

16 months agoNEWS, README: "canonicalize" the link to Upgrading docs docs-develop-6-0-2biabg/deployments/3602
Oto Šťáva [Wed, 27 Mar 2024 10:10:47 +0000 (11:10 +0100)] 
NEWS, README: "canonicalize" the link to Upgrading docs

16 months agoNEWS: add missing entries for 6.0.7 docs-develop-6-0-2biabg/deployments/3601
Oto Šťáva [Tue, 26 Mar 2024 09:53:59 +0000 (10:53 +0100)] 
NEWS: add missing entries for 6.0.7

16 months agoMerge branch 'rpz-soa' into '6.0' docs-develop-6-0-mvwoqi/deployments/3600
Oto Šťáva [Wed, 27 Mar 2024 10:03:01 +0000 (11:03 +0100)] 
Merge branch 'rpz-soa' into '6.0'

lib/rules: fix RPZ if SOA is repated, as usual in AXFR output

See merge request knot/knot-resolver!1521

16 months agolib/rules: avoid RPZ overriding the root SOA docs-develop-rpz-sgpa4i/deployments/3599
Vladimír Čunát [Mon, 25 Mar 2024 13:49:36 +0000 (14:49 +0100)] 
lib/rules: avoid RPZ overriding the root SOA

16 months agolib/rules: fix RPZ if SOA is repated, as usual in AXFR output
Vladimír Čunát [Mon, 25 Mar 2024 12:28:23 +0000 (13:28 +0100)] 
lib/rules: fix RPZ if SOA is repated, as usual in AXFR output

The check for name equality didn't cover the case of repeated SOA.

16 months agoMerge branch 'improve-limits' into '6.0' docs-develop-6-0-mvwoqi/deployments/3591
Oto Šťáva [Tue, 26 Mar 2024 11:34:16 +0000 (12:34 +0100)] 
Merge branch 'improve-limits' into '6.0'

manager: increase startup timeout for manager (again)

See merge request knot/knot-resolver!1520

16 months agomanager, systemd: increase startup timeout for manager (again) docs-develop-impr-ktrcol/deployments/3578
Vladimír Čunát [Mon, 25 Mar 2024 10:23:37 +0000 (11:23 +0100)] 
manager, systemd: increase startup timeout for manager (again)

During the previous increase I didn't realize the comment added now.

16 months agoMerge branch 'improve-limits' into '6.0' docs-develop-6-0-mvwoqi/deployments/3563
Oto Šťáva [Fri, 22 Mar 2024 13:40:56 +0000 (14:40 +0100)] 
Merge branch 'improve-limits' into '6.0'

minor improvements of limits

See merge request knot/knot-resolver!1518

16 months agolib/rules: increase default DB size to 2G on 64-bit platforms docs-develop-impr-ktrcol/deployments/3562
Vladimír Čunát [Fri, 22 Mar 2024 10:56:30 +0000 (11:56 +0100)] 
lib/rules: increase default DB size to 2G on 64-bit platforms

The file is sparse, which really is supported by all sane filesystems
nowadays I think.  But for 32-bit systems I'm a bit afraid for the
ability to reliably get such a large contiguous mapping in process memory,
so there we take the 500M limit tested in knot-dns:
https://gitlab.nic.cz/knot/knot-dns/-/blob/v3.3.5/src/knot/conf/schema.c#L39

16 months agomanager: increase startup timeout for processes
Vladimír Čunát [Fri, 22 Mar 2024 10:45:51 +0000 (11:45 +0100)] 
manager: increase startup timeout for processes

In production I believe we can assume that process continuing to work
without bailing out is probably doing something useful, e.g.
in case of kresd it might be preparing a very large rule-set.

16 months agoMerge branch 'runtime-lib-paths' into '6.0' docs-develop-6-0-mvwoqi/deployments/3561
Oto Šťáva [Fri, 22 Mar 2024 13:15:26 +0000 (14:15 +0100)] 
Merge branch 'runtime-lib-paths' into '6.0'

meson.build: fix paths to knot-dns libs if exec_prefix != prefix

See merge request knot/knot-resolver!1503

16 months agomeson.build: fix paths to knot-dns libs if exec_prefix != prefix docs-develop-runt-dnukwv/deployments/3560
Vladimír Čunát [Wed, 21 Feb 2024 08:16:45 +0000 (09:16 +0100)] 
meson.build: fix paths to knot-dns libs if exec_prefix != prefix

Man, this is complicated.  But I hope that this one will really be
reliable, with `sh` and `wc` being present in basically every POSIX env.

16 months agoMerge branch 'udp-low-ports' into '6.0' docs-develop-6-0-mvwoqi/deployments/3559
Oto Šťáva [Fri, 22 Mar 2024 12:18:06 +0000 (13:18 +0100)] 
Merge branch 'udp-low-ports' into '6.0'

daemon/io: ignore UDP requests from ports < 1024

See merge request knot/knot-resolver!1507

16 months agodaemon/io: ignore UDP requests from ports < 1024 docs-develop-udp-kg8r2s/deployments/3558
Vladimír Čunát [Thu, 29 Feb 2024 10:47:37 +0000 (11:47 +0100)] 
daemon/io: ignore UDP requests from ports < 1024

16 months agoMerge remote-tracking branch 'origin/master' into 6.0 docs-develop-6-0-mvwoqi/deployments/3557 docs-develop-6-0-yl53px/deployments/3556
Oto Šťáva [Fri, 22 Mar 2024 11:30:31 +0000 (12:30 +0100)] 
Merge remote-tracking branch 'origin/master' into 6.0

16 months agoMerge branch 'time_t' into 'master' docs-develop-mast-tzgd0f/deployments/3555 docs-develop-mast-tzgd0f/deployments/3565 docs-develop-mast-tzgd0f/deployments/3568 docs-develop-mast-tzgd0f/deployments/3569 docs-develop-mast-tzgd0f/deployments/3572 docs-develop-mast-tzgd0f/deployments/3573 docs-develop-mast-tzgd0f/deployments/3576 docs-develop-mast-tzgd0f/deployments/3586 docs-develop-mast-tzgd0f/deployments/3589 docs-develop-mast-tzgd0f/deployments/3595 docs-develop-mast-tzgd0f/deployments/3598 docs-develop-nigh-589znp/deployments/3566 docs-develop-nigh-589znp/deployments/3570 docs-develop-nigh-589znp/deployments/3574 docs-develop-nigh-589znp/deployments/3587 docs-develop-nigh-589znp/deployments/3596
Oto Šťáva [Fri, 22 Mar 2024 11:15:23 +0000 (12:15 +0100)] 
Merge branch 'time_t' into 'master'

daemon/lua: fix on 32-bit systems with 64-bit time_t

See merge request knot/knot-resolver!1510

16 months agodaemon/lua: fix on 32-bit systems with 64-bit time_t docs-develop-time-t0zmsd/deployments/3550
Vladimír Čunát [Wed, 6 Mar 2024 11:19:28 +0000 (12:19 +0100)] 
daemon/lua: fix on 32-bit systems with 64-bit time_t

This improves the heuristics.
The problem would be detected by meson, but not when cross-compiling,
in which case things would mostly run OK, except some lua code/modules.

16 months agoMerge branch 'doc-update-oci' into '6.0' docs-develop-6-0-mvwoqi/deployments/3548
Oto Šťáva [Fri, 22 Mar 2024 10:35:59 +0000 (11:35 +0100)] 
Merge branch 'doc-update-oci' into '6.0'

doc styling fixes

See merge request knot/knot-resolver!1517

16 months agodoc/_static/css: fix anchor colors docs-develop-doc-blbbgj/deployments/3547
Oto Šťáva [Wed, 20 Mar 2024 14:12:56 +0000 (15:12 +0100)] 
doc/_static/css: fix anchor colors

The global styling made some anchors misbehave. Since we only want to
recolor the anchors in the content part of the docs, let's properly
target the CSS rules.

16 months agodoc/user: add missing sphinxcontrib.jquery
Oto Šťáva [Wed, 20 Mar 2024 13:43:29 +0000 (14:43 +0100)] 
doc/user: add missing sphinxcontrib.jquery

Accidentally omitted in `doc/user`, present in `doc/dev`.

16 months agoMerge !1516: lib/rules: fix RPZ if it contains apex NS record docs-develop-6-0-mvwoqi/deployments/3534
Vladimír Čunát [Wed, 20 Mar 2024 17:28:20 +0000 (18:28 +0100)] 
Merge !1516: lib/rules: fix RPZ if it contains apex NS record

16 months agolib/rules: fix RPZ if it contains apex NS record docs-develop-rpz-7rpq6b/deployments/3526
Vladimír Čunát [Wed, 20 Mar 2024 09:51:41 +0000 (10:51 +0100)] 
lib/rules: fix RPZ if it contains apex NS record

The spec even requires (at least one) NS record in apex
https://datatracker.ietf.org/doc/html/draft-vixie-dns-rpz-00#section-2
but until now the implementation took it as override for the root NS,
which obviously broke resolution (depending on the supplied name/s).

16 months agoREADME.md: Fix incorrect URL to build instructions docs-develop-6-0-mvwoqi/deployments/3518
Oto Šťáva [Tue, 19 Mar 2024 15:19:37 +0000 (16:19 +0100)] 
README.md: Fix incorrect URL to build instructions

16 months agoMerge branch 'kresctl-docs-nits' into '6.0' docs-develop-6-0-mvwoqi/deployments/3500
Oto Šťáva [Mon, 18 Mar 2024 10:25:09 +0000 (11:25 +0100)] 
Merge branch 'kresctl-docs-nits' into '6.0'

doc/manager-client: adjustments

See merge request knot/knot-resolver!1513

16 months agodoc/manager-client: adjustments docs-develop-kres-zg60qy/deployments/3499
Oto Šťáva [Fri, 15 Mar 2024 09:24:36 +0000 (10:24 +0100)] 
doc/manager-client: adjustments

Some language adjustments and improved optionality signalling (optional
parameters are usually surrounded by square brackets `[]`, while angle
brackets `<>` are usually reserved for mandatory ones).

16 months agoMerge branch 'doc-move-pages' into '6.0' docs-develop-6-0-mvwoqi/deployments/3498
Oto Šťáva [Mon, 18 Mar 2024 09:56:44 +0000 (10:56 +0100)] 
Merge branch 'doc-move-pages' into '6.0'

remove `doc-dev` directory, merge into `doc/dev`

See merge request knot/knot-resolver!1515

16 months agoremove `doc-dev` directory, merge into `doc/dev` docs-develop-doc-nqguk5/deployments/3497
Oto Šťáva [Mon, 18 Mar 2024 09:38:48 +0000 (10:38 +0100)] 
remove `doc-dev` directory, merge into `doc/dev`

16 months agoMerge branch 'doc-separation' into '6.0' docs-develop-6-0-mvwoqi/deployments/3482
Oto Šťáva [Fri, 15 Mar 2024 15:11:58 +0000 (16:11 +0100)] 
Merge branch 'doc-separation' into '6.0'

Separate user and developer documentation

See merge request knot/knot-resolver!1514

16 months agodoc: better headings docs-develop-doc-nc674f/deployments/3481
Oto Šťáva [Fri, 15 Mar 2024 14:57:38 +0000 (15:57 +0100)] 
doc: better headings

16 months agoNEWS update
Oto Šťáva [Fri, 15 Mar 2024 13:55:44 +0000 (14:55 +0100)] 
NEWS update

16 months agodoc: various fixes
Oto Šťáva [Fri, 15 Mar 2024 13:24:29 +0000 (14:24 +0100)] 
doc: various fixes

Fix cross-references, heading levels, etc.

16 months agodoc/user: installation update
Aleš Mrázek [Fri, 19 Jan 2024 16:15:06 +0000 (17:15 +0100)] 
doc/user:  installation update

16 months agodoc/dev/index: add backlink to the user docs + warning
Oto Šťáva [Fri, 15 Mar 2024 10:45:46 +0000 (11:45 +0100)] 
doc/dev/index: add backlink to the user docs + warning

16 months agodoc/dev/build: add missing article
Oto Šťáva [Fri, 15 Mar 2024 10:44:54 +0000 (11:44 +0100)] 
doc/dev/build: add missing article

16 months agodoc: separate user and developer documentation
Aleš Mrázek [Mon, 15 Jan 2024 22:19:47 +0000 (23:19 +0100)] 
doc: separate user and developer documentation

This separates the documentation into a *blue* user documentation and a
*red* developer documentation, resolving problems where similar sections
collided in search queries, leading users to the advanced Lua config
documentation instead of the preferred declarative config one.

It also visually separates the two parts, so that users who do not wish
to meddle in Lua immediately see that they're somewhere wrong just by
seeing the red colour.

16 months agoMerge branch 'manager-install-config' into '6.0' docs-develop-6-0-mvwoqi/deployments/3461
Oto Šťáva [Wed, 13 Mar 2024 09:57:57 +0000 (10:57 +0100)] 
Merge branch 'manager-install-config' into '6.0'

python: expose prefix configuration as a module

See merge request knot/knot-resolver!1511

16 months agopython: expose prefix configuration as a module docs-develop-mana-huiulj/deployments/3460
Oto Šťáva [Fri, 1 Mar 2024 09:13:08 +0000 (10:13 +0100)] 
python: expose prefix configuration as a module

16 months agoMerge !1508: lib/dnssec: dnskey nits docs-develop-6-0-mvwoqi/deployments/3447
Vladimír Čunát [Mon, 11 Mar 2024 12:43:22 +0000 (13:43 +0100)] 
Merge !1508: lib/dnssec: dnskey nits

16 months agodocs: fix typo in an option name docs-develop-6-0-mvwoqi/deployments/3444
Vladimír Čunát [Mon, 11 Mar 2024 06:09:53 +0000 (07:09 +0100)] 
docs: fix typo in an option name

Reported on chat:
https://matrix.to/#/!yEaUZSBVTYRlULEqON:gitter.im/$ZXYw2v_QnbgIiP83lNtBiBptiJxqcXPKe4GI47tI86E?via=gitter.im&via=matrix.org&via=kack.it

16 months agoMerge !1501: various nits docs-develop-mast-tzgd0f/deployments/3415 docs-develop-mast-tzgd0f/deployments/3416 docs-develop-mast-tzgd0f/deployments/3419 docs-develop-mast-tzgd0f/deployments/3423 docs-develop-mast-tzgd0f/deployments/3426 docs-develop-mast-tzgd0f/deployments/3428 docs-develop-mast-tzgd0f/deployments/3431 docs-develop-mast-tzgd0f/deployments/3432 docs-develop-mast-tzgd0f/deployments/3435 docs-develop-mast-tzgd0f/deployments/3436 docs-develop-mast-tzgd0f/deployments/3439 docs-develop-mast-tzgd0f/deployments/3440 docs-develop-mast-tzgd0f/deployments/3443 docs-develop-mast-tzgd0f/deployments/3450 docs-develop-mast-tzgd0f/deployments/3453 docs-develop-mast-tzgd0f/deployments/3455 docs-develop-mast-tzgd0f/deployments/3458 docs-develop-mast-tzgd0f/deployments/3464 docs-develop-mast-tzgd0f/deployments/3467 docs-develop-mast-tzgd0f/deployments/3470 docs-develop-mast-tzgd0f/deployments/3473 docs-develop-mast-tzgd0f/deployments/3485 docs-develop-mast-tzgd0f/deployments/3488 docs-develop-mast-tzgd0f/deployments/3489 docs-develop-mast-tzgd0f/deployments/3492 docs-develop-mast-tzgd0f/deployments/3493 docs-develop-mast-tzgd0f/deployments/3496 docs-develop-mast-tzgd0f/deployments/3510 docs-develop-mast-tzgd0f/deployments/3513 docs-develop-mast-tzgd0f/deployments/3520 docs-develop-mast-tzgd0f/deployments/3523 docs-develop-mast-tzgd0f/deployments/3535 docs-develop-mast-tzgd0f/deployments/3538 docs-develop-mast-tzgd0f/deployments/3543 docs-develop-mast-tzgd0f/deployments/3546 docs-develop-nigh-589znp/deployments/3417 docs-develop-nigh-589znp/deployments/3424 docs-develop-nigh-589znp/deployments/3429 docs-develop-nigh-589znp/deployments/3433 docs-develop-nigh-589znp/deployments/3437 docs-develop-nigh-589znp/deployments/3441 docs-develop-nigh-589znp/deployments/3451 docs-develop-nigh-589znp/deployments/3456 docs-develop-nigh-589znp/deployments/3465 docs-develop-nigh-589znp/deployments/3471 docs-develop-nigh-589znp/deployments/3486 docs-develop-nigh-589znp/deployments/3490 docs-develop-nigh-589znp/deployments/3494 docs-develop-nigh-589znp/deployments/3511 docs-develop-nigh-589znp/deployments/3521 docs-develop-nigh-589znp/deployments/3536 docs-develop-nigh-589znp/deployments/3544
Vladimír Čunát [Tue, 5 Mar 2024 13:59:37 +0000 (14:59 +0100)] 
Merge !1501: various nits

16 months agolib/dnssec: rename 'check_crypto_limit' to 'account_crypto_limit'
Oto Šťáva [Fri, 16 Feb 2024 14:15:48 +0000 (15:15 +0100)] 
lib/dnssec: rename 'check_crypto_limit' to 'account_crypto_limit'

16 months agotests/integration/meson.build: refer to augeas as 'python-augeas'
Oto Šťáva [Fri, 16 Feb 2024 14:05:14 +0000 (15:05 +0100)] 
tests/integration/meson.build: refer to augeas as 'python-augeas'

This is so that it is more obvious that the PyPI package actually has
the `python-` prefix.

16 months agodaemon/proxyv2: nits
Oto Šťáva [Thu, 11 Jan 2024 10:16:10 +0000 (11:16 +0100)] 
daemon/proxyv2: nits

17 months agolib/dnssec nit: reverse order of validating a DNSKEY set docs-develop-dnsk-496k20/deployments/3414
Vladimír Čunát [Mon, 4 Mar 2024 18:59:54 +0000 (19:59 +0100)] 
lib/dnssec nit: reverse order of validating a DNSKEY set

Suggested by Libor Peltan.

17 months agolib/dnssec: refactor kr_dnssec_key_*
Vladimír Čunát [Mon, 4 Mar 2024 18:20:37 +0000 (19:20 +0100)] 
lib/dnssec: refactor kr_dnssec_key_*

- The "ksk" and "zsk" in names were confusing,
  as they did NOT match the normal terms of KSK and ZSK.
- Add _usable() as a more useful function than _zsk() was.
- don't use 16-bit flag-sets; it's way easier to extract on byte level
- use inline for the simplified code

17 months agoMerge branch 'forward-auth-port' into '6.0' docs-develop-6-0-mvwoqi/deployments/3352 docs-develop-mana-huiulj/deployments/3354
Aleš Mrázek [Mon, 26 Feb 2024 12:05:54 +0000 (13:05 +0100)] 
Merge branch 'forward-auth-port' into '6.0'

forwarding to authoritative servers doesn't allow overriding ports

See merge request knot/knot-resolver!1505

17 months agodatamodel: forward: custom port and TLS are not supported for authoritative servers docs-develop-forw-z27d9j/deployments/3351
Aleš Mrázek [Fri, 23 Feb 2024 18:22:22 +0000 (19:22 +0100)] 
datamodel: forward: custom port and TLS are not supported for authoritative servers

17 months agodocument limitation of forwarding to authoritative servers
Vladimír Čunát [Fri, 23 Feb 2024 08:13:54 +0000 (09:13 +0100)] 
document limitation of forwarding to authoritative servers

17 months agoMerge branch 'keytrap-related' into 'master' docs-develop-mast-tzgd0f/deployments/3332 docs-develop-mast-tzgd0f/deployments/3335 docs-develop-mast-tzgd0f/deployments/3338 docs-develop-mast-tzgd0f/deployments/3339 docs-develop-mast-tzgd0f/deployments/3342 docs-develop-mast-tzgd0f/deployments/3343 docs-develop-mast-tzgd0f/deployments/3346 docs-develop-mast-tzgd0f/deployments/3358 docs-develop-mast-tzgd0f/deployments/3361 docs-develop-mast-tzgd0f/deployments/3362 docs-develop-mast-tzgd0f/deployments/3365 docs-develop-mast-tzgd0f/deployments/3378 docs-develop-mast-tzgd0f/deployments/3381 docs-develop-mast-tzgd0f/deployments/3388 docs-develop-mast-tzgd0f/deployments/3391 docs-develop-mast-tzgd0f/deployments/3396 docs-develop-mast-tzgd0f/deployments/3399 docs-develop-mast-tzgd0f/deployments/3400 docs-develop-mast-tzgd0f/deployments/3403 docs-develop-mast-tzgd0f/deployments/3404 docs-develop-mast-tzgd0f/deployments/3407 docs-develop-mast-tzgd0f/deployments/3410 docs-develop-mast-tzgd0f/deployments/3413 docs-develop-nigh-589znp/deployments/3336 docs-develop-nigh-589znp/deployments/3340 docs-develop-nigh-589znp/deployments/3344 docs-develop-nigh-589znp/deployments/3359 docs-develop-nigh-589znp/deployments/3363 docs-develop-nigh-589znp/deployments/3379 docs-develop-nigh-589znp/deployments/3389 docs-develop-nigh-589znp/deployments/3397 docs-develop-nigh-589znp/deployments/3401 docs-develop-nigh-589znp/deployments/3405 docs-develop-nigh-589znp/deployments/3411
Oto Šťáva [Fri, 23 Feb 2024 09:36:47 +0000 (10:36 +0100)] 
Merge branch 'keytrap-related' into 'master'

improve assertions around current releases

See merge request knot/knot-resolver!1506

17 months agolib/cache: bump CACHE_VERSION docs-develop-keyt-jagcwb/deployments/3331
Vladimír Čunát [Fri, 23 Feb 2024 09:07:35 +0000 (10:07 +0100)] 
lib/cache: bump CACHE_VERSION

Ideally we would've done that at once with increasing NSEC3 strictness,
i.e. in 5.7.1 + 6.0.6, as otherwise we could run into some recoverable
assertions until the records got removed or expired.
We at least do the bump now.

17 months agolib/dnssec: fix imprecise assertion
Vladimír Čunát [Fri, 23 Feb 2024 08:33:21 +0000 (09:33 +0100)] 
lib/dnssec: fix imprecise assertion

It was no longer correct after commit cc5051b444130 (KeyTrap).

17 months agoMerge !1504: kresctl: timeout for http request docs-develop-6-0-mvwoqi/deployments/3318
Vladimír Čunát [Wed, 21 Feb 2024 14:07:00 +0000 (15:07 +0100)] 
Merge !1504: kresctl: timeout for http request

17 months agoNEWS update docs-develop-kres-hedyoz/deployments/3317
Aleš Mrázek [Wed, 21 Feb 2024 14:05:44 +0000 (15:05 +0100)] 
NEWS update

17 months agoutils/request.py: higher timeout for http request docs-develop-kres-hedyoz/deployments/3316
Aleš Mrázek [Tue, 20 Feb 2024 17:29:21 +0000 (18:29 +0100)] 
utils/request.py: higher timeout for http request

17 months agoMerge branch 'python3.12-support' into '6.0' docs-develop-6-0-mvwoqi/deployments/3305
Aleš Mrázek [Tue, 20 Feb 2024 13:44:54 +0000 (14:44 +0100)] 
Merge branch 'python3.12-support' into '6.0'

manager: poetry: support for python 3.12

See merge request knot/knot-resolver!1502

17 months agomanager: update Python versions docs-develop-pyth-8k41w4/deployments/3304
Oto Šťáva [Tue, 20 Feb 2024 10:31:20 +0000 (11:31 +0100)] 
manager: update Python versions

Use the oldest supported Python by default again, since that ensures our
compatibility. Also, remove explicit Python versions from README to
avoid duplication - `pyenv install` just installs the versions that are
already in `.python-version`, so let's leverage that.

17 months agolint: fixes for new versions of tools
Aleš Mrázek [Mon, 19 Feb 2024 15:25:56 +0000 (16:25 +0100)] 
lint: fixes for new versions of tools

17 months agomanager: ci: switch to python 3.12
Aleš Mrázek [Mon, 19 Feb 2024 15:16:04 +0000 (16:16 +0100)] 
manager: ci:  switch to python 3.12

17 months agopoetry: support for python 3.12
Aleš Mrázek [Mon, 19 Feb 2024 15:14:40 +0000 (16:14 +0100)] 
poetry: support for python 3.12

- poetry: upgrade to 1.7.1
- poetry: python 3.7 support removed
- poetry: unnecessary tox tool removed
- poetry: deps version update

17 months agoMerge !1500: datamodel: support interface names with dashes docs-develop-6-0-mvwoqi/deployments/3295
Vladimír Čunát [Mon, 19 Feb 2024 09:34:55 +0000 (10:34 +0100)] 
Merge !1500: datamodel: support interface names with dashes

Fixes #900

17 months agodatamodel: support interface names with dashes docs-develop-inte-3so3h3/deployments/3294
Vladimír Čunát [Mon, 19 Feb 2024 09:02:55 +0000 (10:02 +0100)] 
datamodel: support interface names with dashes

Dashes can't be present in normal identifiers in Lua,
so we switch to a different syntactic sugar for the same thing.

17 months agoMerge branch 'manager-nits' into '6.0' docs-develop-6-0-mvwoqi/deployments/3274
Oto Šťáva [Fri, 16 Feb 2024 10:07:09 +0000 (11:07 +0100)] 
Merge branch 'manager-nits' into '6.0'

manager: nits, cleanups, fixes

See merge request knot/knot-resolver!1496

17 months agomanager: get rid of old linters and clean-up some warnings docs-develop-mana-s0qkcd/deployments/3273
Oto Šťáva [Mon, 5 Feb 2024 16:38:18 +0000 (17:38 +0100)] 
manager: get rid of old linters and clean-up some warnings

Removes references to pyright, which is not in use anymore. Also removes
warning suppressions and instead properly resolves the warnings.

17 months agomanager: move `build.py` to `build_c_extensions.py`
Oto Šťáva [Mon, 5 Feb 2024 16:03:44 +0000 (17:03 +0100)] 
manager: move `build.py` to `build_c_extensions.py`

This fixes a problem on some systems, where the `build.py` file
conflicts with the `build` module required by Poetry.

See <https://github.com/python-poetry/poetry/issues/7576>.

17 months agomanager: have pyenv prefer the latest Python version instead of the oldest
Oto Šťáva [Mon, 5 Feb 2024 16:02:41 +0000 (17:02 +0100)] 
manager: have pyenv prefer the latest Python version instead of the oldest

17 months agoMerge branch 'manager-api-cache-clear' into '6.0' docs-develop-6-0-mvwoqi/deployments/3268
Oto Šťáva [Thu, 15 Feb 2024 12:38:40 +0000 (13:38 +0100)] 
Merge branch 'manager-api-cache-clear' into '6.0'

manager: cache-clear command via HTTP API

Closes #876

See merge request knot/knot-resolver!1491

17 months agomanager/tests: validate JSON output from "kresctl cache clear --json" command docs-develop-mana-zr2tn9/deployments/3267
Aleš Mrázek [Thu, 15 Feb 2024 11:10:08 +0000 (12:10 +0100)] 
manager/tests: validate JSON output from "kresctl cache clear --json" command

17 months agokresctl: config: reduction of duplicate code related to the data parsing
Aleš Mrázek [Fri, 9 Feb 2024 15:05:37 +0000 (16:05 +0100)] 
kresctl: config: reduction of duplicate code related to the data parsing

- set: there is no need to specify the input data format
- get: YAML is now the default format for output data

17 months agokresctl: cache command: output formats for 'clear' operation
Aleš Mrázek [Fri, 9 Feb 2024 15:05:05 +0000 (16:05 +0100)] 
kresctl: cache command: output formats for 'clear' operation

17 months agomodeling: parsing: data dump from instances of class 'Renamed'
Aleš Mrázek [Fri, 9 Feb 2024 15:04:07 +0000 (16:04 +0100)] 
modeling: parsing: data dump from instances of class 'Renamed'

17 months agomanager: use proper JSON values for socket communication
Oto Šťáva [Fri, 9 Feb 2024 09:55:17 +0000 (10:55 +0100)] 
manager: use proper JSON values for socket communication

This commit adds a special JSON mode for control sockets.

The mode is activated by issuing a special `__json` command to the
socket, resulting in all Lua objects returned by all subsequent commands
to be serialized into JSONs, prepended by a 32-bit unsigned integer
byte-length value.

This JSON mode is now exclusively utilized by Manager, removing the need
to hackily strip single-quotes from the output and to read the output by
lines. Instead, it can always just read the 32-bit length value and
subsequently the whole JSON-formatted message, which is now
automatically deserialized into a Python object.

17 months ago'cache-clear' remade to 'cache/clear'
Aleš Mrázek [Tue, 6 Feb 2024 13:00:06 +0000 (14:00 +0100)] 
'cache-clear' remade to 'cache/clear'

17 months agonaming: replacing 'kids' suffix with 'kresids' for clarification
Aleš Mrázek [Mon, 5 Feb 2024 15:15:58 +0000 (16:15 +0100)] 
naming: replacing 'kids' suffix with 'kresids' for clarification

17 months agodoc: cache clearing
Aleš Mrázek [Mon, 29 Jan 2024 15:42:18 +0000 (16:42 +0100)] 
doc: cache clearing

17 months agomanager/tests: simple test for /cache-clear API endpoint
Aleš Mrázek [Mon, 29 Jan 2024 14:19:58 +0000 (15:19 +0100)] 
manager/tests: simple test for /cache-clear API endpoint

17 months agodoc/manager-client.rst: 'cache-clear' command added
Aleš Mrázek [Mon, 29 Jan 2024 14:09:28 +0000 (15:09 +0100)] 
doc/manager-client.rst: 'cache-clear' command added

17 months agoapi: cache-clear: validate data, render lua and send cmd
Aleš Mrázek [Mon, 22 Jan 2024 20:41:31 +0000 (21:41 +0100)] 
api: cache-clear: validate data, render lua and send cmd

17 months agodatamodel: schema and template for cache-clear command
Aleš Mrázek [Mon, 22 Jan 2024 20:36:46 +0000 (21:36 +0100)] 
datamodel: schema and template for cache-clear command

17 months agoapi: added cache-clear route
Aleš Mrázek [Mon, 22 Jan 2024 13:37:36 +0000 (14:37 +0100)] 
api: added cache-clear route

17 months agodatamodel: moving the main jinja template loader to the templates dir
Aleš Mrázek [Mon, 22 Jan 2024 13:02:00 +0000 (14:02 +0100)] 
datamodel: moving the main jinja template loader to the templates dir

17 months agocontroller: moving workers registration helpers out of the statistics module
Aleš Mrázek [Mon, 22 Jan 2024 12:57:10 +0000 (13:57 +0100)] 
controller: moving workers registration  helpers out of the statistics module

17 months agokresctl: 'cache-clear' command created
Aleš Mrázek [Tue, 14 Nov 2023 13:04:29 +0000 (14:04 +0100)] 
kresctl: 'cache-clear' command created

17 months agoMerge branch 'release-6.0.6' into 6.0 docs-develop-6-0-mvwoqi/deployments/3245 docs-release-v6-0-xz313r/deployments/3247 v6.0.6
Vladimír Čunát [Tue, 13 Feb 2024 13:17:57 +0000 (14:17 +0100)] 
Merge branch 'release-6.0.6' into 6.0

17 months agoRelease 6.0.6 docs-develop-rele-ilc2tz/deployments/3244
Vladimír Čunát [Tue, 13 Feb 2024 13:05:13 +0000 (14:05 +0100)] 
Release 6.0.6

17 months agoAUTHORS update
Vladimír Čunát [Tue, 13 Feb 2024 13:17:07 +0000 (14:17 +0100)] 
AUTHORS update

17 months agoMerge !1497: lib/dnssec: allow validating some RRsets around 64 KiB size docs-develop-6-0-mvwoqi/deployments/3243
Vladimír Čunát [Tue, 13 Feb 2024 13:09:56 +0000 (14:09 +0100)] 
Merge !1497: lib/dnssec: allow validating some RRsets around 64 KiB size

17 months agolib/dnssec: allow validating some RRsets around 64 KiB size
Vladimír Čunát [Tue, 6 Feb 2024 08:41:04 +0000 (09:41 +0100)] 
lib/dnssec: allow validating some RRsets around 64 KiB size

- only with libknot >= 3.4 though (which is not released yet)
- use stack instead of static buffer (saves RAM; see code comment)

17 months agoNEWS for 6.0.6
Vladimír Čunát [Tue, 13 Feb 2024 12:32:32 +0000 (13:32 +0100)] 
NEWS for 6.0.6

17 months agoMerge branch 'master' into dos-feb13-6.0 docs-develop-dos-hama3x/deployments/3237
Vladimír Čunát [Tue, 13 Feb 2024 12:12:41 +0000 (13:12 +0100)] 
Merge branch 'master' into dos-feb13-6.0

There were some nontrivial conflicts to resolve, NEWS + the line
    ctx->vld_limit_crypto = KR_VLD_LIMIT_CRYPTO_DEFAULT;
(I had this resolution prepared for a long time.)

17 months agorelease 5.7.1 docs-develop-mast-tzgd0f/deployments/3233 docs-develop-mast-tzgd0f/deployments/3239 docs-develop-mast-tzgd0f/deployments/3249 docs-develop-mast-tzgd0f/deployments/3252 docs-develop-mast-tzgd0f/deployments/3256 docs-develop-mast-tzgd0f/deployments/3259 docs-develop-mast-tzgd0f/deployments/3269 docs-develop-mast-tzgd0f/deployments/3272 docs-develop-mast-tzgd0f/deployments/3278 docs-develop-mast-tzgd0f/deployments/3281 docs-develop-mast-tzgd0f/deployments/3282 docs-develop-mast-tzgd0f/deployments/3285 docs-develop-mast-tzgd0f/deployments/3286 docs-develop-mast-tzgd0f/deployments/3289 docs-develop-mast-tzgd0f/deployments/3299 docs-develop-mast-tzgd0f/deployments/3302 docs-develop-mast-tzgd0f/deployments/3307 docs-develop-mast-tzgd0f/deployments/3310 docs-develop-mast-tzgd0f/deployments/3319 docs-develop-mast-tzgd0f/deployments/3322 docs-develop-mast-tzgd0f/deployments/3324 docs-develop-mast-tzgd0f/deployments/3327 docs-develop-nigh-589znp/deployments/3250 docs-develop-nigh-589znp/deployments/3257 docs-develop-nigh-589znp/deployments/3270 docs-develop-nigh-589znp/deployments/3279 docs-develop-nigh-589znp/deployments/3283 docs-develop-nigh-589znp/deployments/3287 docs-develop-nigh-589znp/deployments/3300 docs-develop-nigh-589znp/deployments/3308 docs-develop-nigh-589znp/deployments/3320 docs-develop-nigh-589znp/deployments/3325 docs-develop-stab-lrl9qw/deployments/3253 docs-release-v5-7-svl2lq/deployments/3235 v5.7.1
Aleš Mrázek [Tue, 13 Feb 2024 09:08:04 +0000 (10:08 +0100)] 
release 5.7.1