]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Vladimír Čunát [Wed, 11 Jan 2023 10:57:04 +0000 (11:57 +0100)]
ci: reduce exceptions specific to manager branch
Vladimír Čunát [Wed, 11 Jan 2023 10:44:01 +0000 (11:44 +0100)]
Merge branch 'ci-pkgtest-update' into 'manager'
CI: update pkgtest for new apkg images
See merge request knot/knot-resolver!1373
Jakub Ružička [Thu, 5 Jan 2023 15:47:37 +0000 (16:47 +0100)]
CI: update pkgtest for new apkg images
also:
* add Fedora 37, remove Fedora 35
* add AlmaLinux 9, remove Rocky 8 (image stopped working)
Vladimír Čunát [Wed, 11 Jan 2023 10:29:46 +0000 (11:29 +0100)]
Merge branch 'manager-copyright-sweep' into 'manager'
Copyright notices: remove years and replace e-mail (cherry-pick into manager)
See merge request knot/knot-resolver!1374
Oto Šťáva [Mon, 12 Dec 2022 09:34:23 +0000 (10:34 +0100)]
Copyright notices: remove years and replace e-mail
Vasek Sraier [Tue, 10 Jan 2023 21:48:18 +0000 (22:48 +0100)]
Merge branch 'master' into manager
Vaclav Sraier [Tue, 10 Jan 2023 19:24:37 +0000 (20:24 +0100)]
Merge branch 'manager-doc2' into 'manager'
manager: docs improvement
See merge request knot/knot-resolver!1375
Vasek Sraier [Mon, 9 Jan 2023 22:21:01 +0000 (23:21 +0100)]
doc: moved command rosetta to upgrade guide
Vasek Sraier [Mon, 9 Jan 2023 22:20:12 +0000 (23:20 +0100)]
doc: fix links
Vasek Sraier [Sun, 8 Jan 2023 22:04:15 +0000 (23:04 +0100)]
docs: moved old lua configuration to section "advanced configuration"
Vasek Sraier [Sun, 8 Jan 2023 16:40:21 +0000 (17:40 +0100)]
doc: improvement of the configuration section and schema description
Vasek Sraier [Sun, 18 Dec 2022 16:40:58 +0000 (17:40 +0100)]
docs: overhall of the getting started section, autogenerating readable JSON schema reference
Vaclav Sraier [Tue, 10 Jan 2023 19:02:03 +0000 (20:02 +0100)]
Merge branch 'manager-kresctl' into 'manager'
manager: kresctl utility
See merge request knot/knot-resolver!1342
Aleš Mrázek [Tue, 10 Jan 2023 18:56:06 +0000 (19:56 +0100)]
manager: client: comment incomplete completion code
Aleš Mrázek [Tue, 10 Jan 2023 18:12:45 +0000 (19:12 +0100)]
manager: client: exit code on cmd fail
Aleš Mrázek [Tue, 10 Jan 2023 14:58:51 +0000 (15:58 +0100)]
manager: client: exit cmd removed
Aleš Mrázek [Mon, 9 Jan 2023 10:14:46 +0000 (11:14 +0100)]
manager: client: allow to get schema using API
Aleš Mrázek [Tue, 3 Jan 2023 10:39:51 +0000 (11:39 +0100)]
manager: client: args description/help updated
Aleš Mrázek [Fri, 16 Dec 2022 21:02:21 +0000 (22:02 +0100)]
doc/manager-client.rst: kresctl commands doc
Aleš Mrázek [Wed, 14 Dec 2022 09:06:41 +0000 (10:06 +0100)]
manager: api: json schema indent
Aleš Mrázek [Tue, 13 Dec 2022 16:00:27 +0000 (17:00 +0100)]
manager: client: reformat function fix
Aleš Mrázek [Tue, 13 Dec 2022 15:38:25 +0000 (16:38 +0100)]
manager: client: 'help' cmd added
Aleš Mrázek [Mon, 12 Dec 2022 20:57:55 +0000 (21:57 +0100)]
doc: new chapter added for kresctl and API pages
Aleš Mrázek [Mon, 12 Dec 2022 20:54:14 +0000 (21:54 +0100)]
doc/gettingstarted-config: kresctl doc update
Aleš Mrázek [Mon, 12 Dec 2022 15:18:12 +0000 (16:18 +0100)]
doc/gettingstarted-config: API doc update
Aleš Mrázek [Thu, 8 Dec 2022 13:33:26 +0000 (14:33 +0100)]
manager: client: completion improvements
Aleš Mrázek [Mon, 5 Dec 2022 21:59:53 +0000 (22:59 +0100)]
manager: client: replace POST method with PUT in config cmd
Aleš Mrázek [Fri, 2 Dec 2022 16:11:39 +0000 (17:11 +0100)]
manager: client: uknown_args removed
Aleš Mrázek [Wed, 23 Nov 2022 00:11:05 +0000 (01:11 +0100)]
manager: client: config path completion
Aleš Mrázek [Wed, 16 Nov 2022 15:06:01 +0000 (16:06 +0100)]
manager: client: functional 'completion' command
Aleš Mrázek [Wed, 16 Nov 2022 15:03:21 +0000 (16:03 +0100)]
manager: client: completion script for bash
Aleš Mrázek [Tue, 15 Nov 2022 17:15:08 +0000 (18:15 +0100)]
manager: meson: install shell completion scripts
Aleš Mrázek [Mon, 7 Nov 2022 21:45:47 +0000 (22:45 +0100)]
manager: kresctl: move main function from __main__
Aleš Mrázek [Wed, 2 Nov 2022 11:36:59 +0000 (12:36 +0100)]
manager: kresctl: 'reload' cmd added
Aleš Mrázek [Tue, 1 Nov 2022 17:47:33 +0000 (18:47 +0100)]
manager: kresctl: 'validate' comd added
Aleš Mrázek [Mon, 31 Oct 2022 22:41:24 +0000 (23:41 +0100)]
manager: kresctl: completion for 'completion' cmd
Aleš Mrázek [Mon, 31 Oct 2022 22:39:20 +0000 (23:39 +0100)]
manager: kresctl: shell-completion files renamed
Aleš Mrázek [Fri, 30 Sep 2022 13:23:38 +0000 (15:23 +0200)]
manager: kresctl: completion options in dict instead of in list
Aleš Mrázek [Fri, 30 Sep 2022 13:12:03 +0000 (15:12 +0200)]
manager: kresctl: config cmd: write to file only with 200 response status
Aleš Mrázek [Fri, 30 Sep 2022 12:58:03 +0000 (14:58 +0200)]
manager: duplicit 'shell-completion' directory removed
Aleš Mrázek [Fri, 30 Sep 2022 12:48:27 +0000 (14:48 +0200)]
manager: pkg: deb: completion files for kresctl utility
Aleš Mrázek [Fri, 30 Sep 2022 12:02:36 +0000 (14:02 +0200)]
manager: pkg: rpm: completion files for kresctl utility
Vasek Sraier [Thu, 29 Sep 2022 09:45:33 +0000 (11:45 +0200)]
manager: schema utils: updated documentation about serialization of custom value types, fixed UncheckedPath serialization so that it does not depend on cwd
Aleš Mrázek [Thu, 29 Sep 2022 08:40:36 +0000 (10:40 +0200)]
manager: doc: JSON Schema install fix
Vasek Sraier [Mon, 26 Sep 2022 11:21:32 +0000 (13:21 +0200)]
docs: generating and linking JSON schema for the declarative config
Vasek Sraier [Mon, 26 Sep 2022 11:11:39 +0000 (13:11 +0200)]
kresctl: fix typing annotations for old python
Aleš Mrázek [Wed, 21 Sep 2022 22:20:20 +0000 (00:20 +0200)]
manager: pkg: completion dir fix
Aleš Mrázek [Wed, 21 Sep 2022 10:38:09 +0000 (12:38 +0200)]
manager: kresctl: 'completion' method for commands added
- lint and formating fixes
Aleš Mrázek [Tue, 20 Sep 2022 14:35:27 +0000 (16:35 +0200)]
manager: utils: modeling: function to try parse yaml or json
Aleš Mrázek [Sun, 18 Sep 2022 20:35:07 +0000 (22:35 +0200)]
manager: kresctl: scripts for shells completion added
Aleš Mrázek [Sun, 18 Sep 2022 19:48:52 +0000 (21:48 +0200)]
manager: kresctl: 'completion' command WIP
Aleš Mrázek [Sun, 18 Sep 2022 19:45:40 +0000 (21:45 +0200)]
manager: kresctl: 'convert' command added
Aleš Mrázek [Tue, 13 Sep 2022 16:47:47 +0000 (18:47 +0200)]
manager: kresctl: config command
- schema, metrics command modules lint
Aleš Mrázek [Mon, 12 Sep 2022 08:20:31 +0000 (10:20 +0200)]
manager: kresctl: schema command added
Aleš Mrázek [Mon, 12 Sep 2022 08:14:51 +0000 (10:14 +0200)]
kresctl: metrics command added
Aleš Mrázek [Fri, 2 Sep 2022 14:09:22 +0000 (16:09 +0200)]
doc/gettingstarted-config.rst: some info about kresctl
Aleš Mrázek [Thu, 1 Sep 2022 12:28:17 +0000 (14:28 +0200)]
manager: kresctl: command parsing done
Vladimír Čunát [Thu, 22 Dec 2022 15:06:06 +0000 (16:06 +0100)]
Merge !1371: predict: fully deactivate prediction with `period = 0`
Vladimír Čunát [Thu, 22 Dec 2022 12:58:53 +0000 (13:58 +0100)]
predict: fully deactivate prediction with `period = 0`
That setting is recommended by documentation but it would still leave
the timer triggering repeatedly. Maybe it didn't cause any practical
difference, but it was unnecessary and possibly confusing.
Vaclav Sraier [Thu, 22 Dec 2022 12:37:06 +0000 (13:37 +0100)]
Merge branch 'manager-wrong-return-type-fix' into 'manager'
bugfix: invalid json in HTTP API
See merge request knot/knot-resolver!1370
Vasek Sraier [Thu, 22 Dec 2022 10:55:48 +0000 (11:55 +0100)]
manager: HTTP API: fixed returning Python str() instead of json.dumps()
Vladimír Čunát [Mon, 19 Dec 2022 09:07:28 +0000 (10:07 +0100)]
Merge !1368: Copyright notices: remove years and replace e-mail
Oto Šťáva [Mon, 12 Dec 2022 09:34:23 +0000 (10:34 +0100)]
Copyright notices: remove years and replace e-mail
Vladimír Čunát [Tue, 13 Dec 2022 16:20:52 +0000 (17:20 +0100)]
Merge !1369: NEWS + doc about TTL: forgotten minor tweaks
Vladimír Čunát [Thu, 14 Jul 2022 09:31:25 +0000 (11:31 +0200)]
NEWS + doc about TTL: forgotten minor tweaks
Vladimír Čunát [Tue, 13 Dec 2022 11:56:59 +0000 (12:56 +0100)]
Merge !1323: TTL tweaks
Closes #127 and #736
Vladimír Čunát [Thu, 14 Jul 2022 09:31:25 +0000 (11:31 +0200)]
NEWS + doc about TTL: apply changes from previous commits
(and minor other changes)
Vladimír Čunát [Thu, 14 Jul 2022 08:53:27 +0000 (10:53 +0200)]
TTL bounds: improve the logic
- apply to first (uncached) answer already
- don't extend over signature validity
Nit: the tests were using too high TTL (RFCs disallow the "sign bit").
It was working because (manual) cache-insertion was applying bounds,
but now the bounds don't get applied anymore, so it would fail.
Vladimír Čunát [Mon, 28 Feb 2022 18:21:04 +0000 (19:21 +0100)]
cache.max_ttl(): lower the default from six days to one day
Allowing too much seems to have more risk than benefit. For example,
the 2-day TTL on DS records in .com zone (e.g. Slack issue months ago).
Vladimír Čunát [Mon, 28 Feb 2022 18:10:16 +0000 (19:10 +0100)]
lib/cache: tweak TTL computation for packets
When a whole packet is cached (instead of individual RRs),
let's simplify the way the packet's TTL gets computed.
The previous mechanism came from commit
5b383a2bb7 ,
probably a misunderstanding of:
https://datatracker.ietf.org/doc/html/rfc2308#section-5
Anyway, I see no motivation to do it, and this way we should
get rid of some weird cases where we might extend TTL of some records,
except if they were below the cache.min_ttl() setting (5s default).
Vladimír Čunát [Sat, 10 Dec 2022 15:43:00 +0000 (16:43 +0100)]
Merge !1367: docs: run `meson setup` explicitly in build instructions
Vladimír Čunát [Wed, 7 Dec 2022 12:17:11 +0000 (13:17 +0100)]
docs: run `meson setup` explicitly in build instructions
Fixing all instances of the same issue on the same docs page.
Štěpán Balážik [Tue, 6 Dec 2022 14:43:01 +0000 (15:43 +0100)]
docs: run `meson setup` explicitly in build instructions
This silences the following warning given on newer version of meson:
WARNING: Running the setup command as `meson [options]` instead of
`meson setup [options]` is ambiguous and deprecated.
Vladimír Čunát [Tue, 6 Dec 2022 13:28:56 +0000 (14:28 +0100)]
Merge !1365: iterate: no longer accept DNS messages with trailing data
Vladimír Čunát [Tue, 6 Dec 2022 11:50:10 +0000 (12:50 +0100)]
iterate: no longer accept DNS messages with trailing data
We can get stricter here;
with negligible fraction of real-life names regressing.
Vladimír Čunát [Thu, 1 Dec 2022 18:25:57 +0000 (19:25 +0100)]
daemon/worker: minor refactoring around knot_pkt_parse()
The separate function wasn't really doing anything.
Also add a debug log.
Vladimír Čunát [Tue, 6 Dec 2022 09:26:45 +0000 (10:26 +0100)]
Merge !1364: policy.STUB: minor improvements
Vladimír Čunát [Tue, 29 Nov 2022 10:40:09 +0000 (11:40 +0100)]
policy.STUB: avoid copying +dnssec flag from client to upstream
I can't see any motivation for the copying behavior,
and it made caching non-deterministic.
Vladimír Čunát [Tue, 29 Nov 2022 10:30:32 +0000 (11:30 +0100)]
policy.STUB: avoid applying aggressive DNSSEC denial proofs
In particular, avoids unintentional NXDOMAIN on grafted subtrees.
Consequently the users can drop 'NO_CACHE' flag and get caching.
Vladimír Čunát [Tue, 6 Dec 2022 09:17:26 +0000 (10:17 +0100)]
Merge !1366: policy.DEBUG_IF: don't trigger .REQTRACE unconditionally
Aleš Mrázek [Mon, 5 Dec 2022 18:42:30 +0000 (19:42 +0100)]
Merge branch 'manager-doc-vs' into 'manager'
Documentation and related updates
See merge request knot/knot-resolver!1351
Vladimír Čunát [Mon, 5 Dec 2022 13:38:45 +0000 (14:38 +0100)]
policy.DEBUG_IF: don't trigger .REQTRACE unconditionally
I broke this in
54ab3f78 or closely around, so this never worked well
since 5.4.1, and maybe structured logging (5.4.0) had related issues.
Vasek Sraier [Sat, 3 Dec 2022 08:36:27 +0000 (09:36 +0100)]
packaging: kresctl man page, manager's unit file
Vasek Sraier [Sat, 19 Nov 2022 10:53:18 +0000 (11:53 +0100)]
manager: utils: renaming: added basic docs
Vasek Sraier [Mon, 14 Nov 2022 10:09:19 +0000 (11:09 +0100)]
manager: masive API and modelling updates
- got rid of ParsedTree class because it did too many things at once
- introduced Renamed family of data structures (RenamedList, RenamedDict)
- split out etag generation into standalone procedure
- split out query() into standalone procedure
- modelling: changed BaseSchema to NoRenameBaseSchema, which works on normal dicts and lists (no ParsedTree dependency)
- modelling: introduced new BaseSchema (for backwards compatibility) which uses Renamed wrappers to handle configuration renaming
- added json pointer implementation (https://www.rfc-editor.org/rfc/rfc6901)
- API:
- got rid of QueryTree class as it was too complicated
- completely rewrote query() to use JSON pointer and JSON Patch (https://datatracker.ietf.org/doc/html/rfc6902/)
Vasek Sraier [Thu, 27 Oct 2022 21:22:15 +0000 (23:22 +0200)]
docs: API and manager dev notes
Vasek Sraier [Sun, 30 Oct 2022 12:32:56 +0000 (13:32 +0100)]
manager: api: fixed config request race condition, added Content-Type to responses
Vasek Sraier [Thu, 27 Oct 2022 20:47:41 +0000 (22:47 +0200)]
manager: fixed new pylint warning in compat code
Vasek Sraier [Thu, 27 Oct 2022 20:47:10 +0000 (22:47 +0200)]
manager: fixed non-functional configuration file reloading
Vasek Sraier [Thu, 27 Oct 2022 20:46:40 +0000 (22:46 +0200)]
manager: moved packaging test definition to manager's packaging tests directory
Vasek Sraier [Thu, 27 Oct 2022 20:39:30 +0000 (22:39 +0200)]
manager: update Poetry reference in pyproject.toml (following upstream update)
Vasek Sraier [Thu, 27 Oct 2022 20:37:14 +0000 (22:37 +0200)]
manager: supervisord controller: use debugger when launched with env variable KRES_DEBUG_MANAGER=1
Vasek Sraier [Thu, 27 Oct 2022 20:36:21 +0000 (22:36 +0200)]
manager: supervisord plugin: forwarding SIGHUP to the manager
Vasek Sraier [Wed, 12 Oct 2022 20:56:29 +0000 (22:56 +0200)]
docs: comparison table of how things were done before and how they are done now
Vaclav Sraier [Fri, 2 Dec 2022 14:56:49 +0000 (15:56 +0100)]
Merge branch 'manager-docker' into 'manager'
Docker image with manager
See merge request knot/knot-resolver!1361
Vasek Sraier [Wed, 30 Nov 2022 09:26:28 +0000 (10:26 +0100)]
docker: removed useless OBS repo from Dockerfile
Vasek Sraier [Sat, 19 Nov 2022 21:13:47 +0000 (22:13 +0100)]
docker: build with manager using apkg
Vladimír Čunát [Wed, 30 Nov 2022 17:11:58 +0000 (18:11 +0100)]
Merge !1353: add option to link sbin/kresd to jemalloc
Vladimír Čunát [Fri, 14 Oct 2022 11:54:36 +0000 (13:54 +0200)]
NEWS, doc: document jemalloc
Vladimír Čunát [Fri, 7 Oct 2022 13:46:13 +0000 (15:46 +0200)]
use jemalloc in CI