]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
2 years agomanager: kresctl: 'completion' command WIP
Aleš Mrázek [Sun, 18 Sep 2022 19:48:52 +0000 (21:48 +0200)] 
manager: kresctl: 'completion' command WIP

2 years agomanager: kresctl: 'convert' command added
Aleš Mrázek [Sun, 18 Sep 2022 19:45:40 +0000 (21:45 +0200)] 
manager: kresctl: 'convert' command added

2 years agomanager: kresctl: config command
Aleš Mrázek [Tue, 13 Sep 2022 16:47:47 +0000 (18:47 +0200)] 
manager: kresctl: config command
- schema, metrics command modules lint

2 years agomanager: kresctl: schema command added
Aleš Mrázek [Mon, 12 Sep 2022 08:20:31 +0000 (10:20 +0200)] 
manager: kresctl: schema command added

2 years agokresctl: metrics command added
Aleš Mrázek [Mon, 12 Sep 2022 08:14:51 +0000 (10:14 +0200)] 
kresctl: metrics command added

2 years agodoc/gettingstarted-config.rst: some info about kresctl
Aleš Mrázek [Fri, 2 Sep 2022 14:09:22 +0000 (16:09 +0200)] 
doc/gettingstarted-config.rst: some info about kresctl

2 years agomanager: kresctl: command parsing done
Aleš Mrázek [Thu, 1 Sep 2022 12:28:17 +0000 (14:28 +0200)] 
manager: kresctl: command parsing done

3 years agoMerge !1371: predict: fully deactivate prediction with `period = 0` obs-knot-resolver-es11k1/deployments/2382 obs-knot-resolver-es11k1/deployments/2383 obs-knot-resolver-es11k1/deployments/2384 obs-knot-resolver-es11k1/deployments/2385 obs-knot-resolver-es11k1/deployments/2386 obs-knot-resolver-es11k1/deployments/2387 obs-knot-resolver-es11k1/deployments/2388 obs-knot-resolver-es11k1/deployments/2389 obs-knot-resolver-es11k1/deployments/2390 obs-knot-resolver-es11k1/deployments/2391 obs-knot-resolver-es11k1/deployments/2392 obs-knot-resolver-es11k1/deployments/2393 obs-knot-resolver-es11k1/deployments/2394 obs-knot-resolver-es11k1/deployments/2395 obs-knot-resolver-es11k1/deployments/2396 obs-knot-resolver-es11k1/deployments/2397 obs-knot-resolver-es11k1/deployments/2398 obs-knot-resolver-es11k1/deployments/2399 obs-knot-resolver-es11k1/deployments/2400 obs-knot-resolver-es11k1/deployments/2401 obs-knot-resolver-es11k1/deployments/2402 obs-knot-resolver-es11k1/deployments/2403 obs-knot-resolver-es11k1/deployments/2404 obs-knot-resolver-es11k1/deployments/2405 obs-knot-resolver-es11k1/deployments/2406 obs-knot-resolver-es11k1/deployments/2407 obs-knot-resolver-es11k1/deployments/2408 obs-knot-resolver-es11k1/deployments/2409 obs-knot-resolver-es11k1/deployments/2410 obs-knot-resolver-es11k1/deployments/2411 obs-knot-resolver-es11k1/deployments/2412 obs-knot-resolver-es11k1/deployments/2413 obs-knot-resolver-es11k1/deployments/2414 obs-knot-resolver-es11k1/deployments/2415 obs-knot-resolver-es11k1/deployments/2416
Vladimír Čunát [Thu, 22 Dec 2022 15:06:06 +0000 (16:06 +0100)] 
Merge !1371: predict: fully deactivate prediction with `period = 0`

3 years agopredict: 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.

3 years agoMerge branch 'manager-wrong-return-type-fix' into 'manager'
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

3 years agomanager: HTTP API: fixed returning Python str() instead of json.dumps()
Vasek Sraier [Thu, 22 Dec 2022 10:55:48 +0000 (11:55 +0100)] 
manager: HTTP API: fixed returning Python str() instead of json.dumps()

3 years agoMerge !1368: Copyright notices: remove years and replace e-mail obs-knot-resolver-es11k1/deployments/2379 obs-knot-resolver-es11k1/deployments/2380 obs-knot-resolver-es11k1/deployments/2381
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

3 years agoCopyright 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

3 years agoMerge !1369: NEWS + doc about TTL: forgotten minor tweaks obs-knot-resolver-es11k1/deployments/2373 obs-knot-resolver-es11k1/deployments/2374 obs-knot-resolver-es11k1/deployments/2375 obs-knot-resolver-es11k1/deployments/2376 obs-knot-resolver-es11k1/deployments/2377 obs-knot-resolver-es11k1/deployments/2378
Vladimír Čunát [Tue, 13 Dec 2022 16:20:52 +0000 (17:20 +0100)] 
Merge !1369: NEWS + doc about TTL: forgotten minor tweaks

3 years agoNEWS + 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

3 years agoMerge !1323: TTL tweaks
Vladimír Čunát [Tue, 13 Dec 2022 11:56:59 +0000 (12:56 +0100)] 
Merge !1323: TTL tweaks

Closes #127 and #736

3 years agoNEWS + doc about TTL: apply changes from previous commits
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)

3 years agoTTL bounds: improve the logic
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.

3 years agocache.max_ttl(): lower the default from six days to one day
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).

3 years agolib/cache: tweak TTL computation for packets
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).

3 years agoMerge !1367: docs: run `meson setup` explicitly in build instructions obs-knot-resolver-es11k1/deployments/2370 obs-knot-resolver-es11k1/deployments/2371 obs-knot-resolver-es11k1/deployments/2372
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

3 years agodocs: 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.

3 years agodocs: run `meson setup` explicitly in build instructions
Š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.

3 years agoMerge !1365: iterate: no longer accept DNS messages with trailing data obs-knot-resolver-es11k1/deployments/2366 obs-knot-resolver-es11k1/deployments/2367 obs-knot-resolver-es11k1/deployments/2368 obs-knot-resolver-es11k1/deployments/2369
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

3 years agoiterate: 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.

3 years agodaemon/worker: minor refactoring around knot_pkt_parse()
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.

3 years agoMerge !1364: policy.STUB: minor improvements
Vladimír Čunát [Tue, 6 Dec 2022 09:26:45 +0000 (10:26 +0100)] 
Merge !1364: policy.STUB: minor improvements

3 years agopolicy.STUB: avoid copying +dnssec flag from client to upstream
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.

3 years agopolicy.STUB: avoid applying aggressive DNSSEC denial proofs
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.

3 years agoMerge !1366: policy.DEBUG_IF: don't trigger .REQTRACE unconditionally
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

3 years agoMerge branch 'manager-doc-vs' into 'manager'
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

3 years agopolicy.DEBUG_IF: don't trigger .REQTRACE unconditionally
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.

3 years agopackaging: kresctl man page, manager's unit file
Vasek Sraier [Sat, 3 Dec 2022 08:36:27 +0000 (09:36 +0100)] 
packaging: kresctl man page, manager's unit file

3 years agomanager: utils: renaming: added basic docs
Vasek Sraier [Sat, 19 Nov 2022 10:53:18 +0000 (11:53 +0100)] 
manager: utils: renaming: added basic docs

3 years agomanager: masive API and modelling updates
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/)

3 years agodocs: API and manager dev notes
Vasek Sraier [Thu, 27 Oct 2022 21:22:15 +0000 (23:22 +0200)] 
docs: API and manager dev notes

3 years agomanager: api: fixed config request race condition, added Content-Type to responses
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

3 years agomanager: fixed new pylint warning in compat code
Vasek Sraier [Thu, 27 Oct 2022 20:47:41 +0000 (22:47 +0200)] 
manager: fixed new pylint warning in compat code

3 years agomanager: fixed non-functional configuration file reloading
Vasek Sraier [Thu, 27 Oct 2022 20:47:10 +0000 (22:47 +0200)] 
manager: fixed non-functional configuration file reloading

3 years agomanager: moved packaging test definition to manager's packaging tests directory
Vasek Sraier [Thu, 27 Oct 2022 20:46:40 +0000 (22:46 +0200)] 
manager: moved packaging test definition to manager's packaging tests directory

3 years agomanager: update Poetry reference in pyproject.toml (following upstream update)
Vasek Sraier [Thu, 27 Oct 2022 20:39:30 +0000 (22:39 +0200)] 
manager: update Poetry reference in pyproject.toml (following upstream update)

3 years agomanager: supervisord controller: use debugger when launched with env variable KRES_DE...
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

3 years agomanager: supervisord plugin: forwarding SIGHUP to the manager
Vasek Sraier [Thu, 27 Oct 2022 20:36:21 +0000 (22:36 +0200)] 
manager: supervisord plugin: forwarding SIGHUP to the manager

3 years agodocs: comparison table of how things were done before and how they are done now
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

3 years agoMerge branch 'manager-docker' into 'manager'
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

3 years agodocker: removed useless OBS repo from Dockerfile
Vasek Sraier [Wed, 30 Nov 2022 09:26:28 +0000 (10:26 +0100)] 
docker: removed useless OBS repo from Dockerfile

3 years agodocker: build with manager using apkg
Vasek Sraier [Sat, 19 Nov 2022 21:13:47 +0000 (22:13 +0100)] 
docker: build with manager using apkg

3 years agoMerge !1353: add option to link sbin/kresd to jemalloc obs-knot-resolver-es11k1/deployments/2361 obs-knot-resolver-es11k1/deployments/2365
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

3 years agoNEWS, doc: document jemalloc
Vladimír Čunát [Fri, 14 Oct 2022 11:54:36 +0000 (13:54 +0200)] 
NEWS, doc: document jemalloc

3 years agouse jemalloc in CI
Vladimír Čunát [Fri, 7 Oct 2022 13:46:13 +0000 (15:46 +0200)] 
use jemalloc in CI

3 years agodistro/pkg/*: build with jemalloc
Vladimír Čunát [Fri, 7 Oct 2022 12:17:57 +0000 (14:17 +0200)] 
distro/pkg/*: build with jemalloc

3 years agoadd option to link sbin/kresd to jemalloc
Vladimír Čunát [Fri, 7 Oct 2022 12:06:41 +0000 (14:06 +0200)] 
add option to link sbin/kresd to jemalloc

And by default do so iff jemalloc is found.

I chose the simplicity of adding the chosen allocator just
in the single binary.  Other sbin/* don't matter really,
and dynamic libs (e.g. modules) will just follow whoever loaded them.

3 years agoMerge !1362: ci/images: drop the LXC images
Vladimír Čunát [Mon, 21 Nov 2022 12:35:17 +0000 (13:35 +0100)] 
Merge !1362: ci/images: drop the LXC images

3 years agoMerge !1354: manager CI pkg:make-archive: use runners matching the image
Vladimír Čunát [Mon, 21 Nov 2022 12:31:42 +0000 (13:31 +0100)] 
Merge !1354: manager CI pkg:make-archive: use runners matching the image

3 years agoCI pkg:make-archive: use runners matching the image
Vladimír Čunát [Wed, 19 Oct 2022 06:58:38 +0000 (08:58 +0200)] 
CI pkg:make-archive: use runners matching the image

https://gitlab.nic.cz/knot/knot-resolver/-/merge_requests/1341#note_263747

3 years agoMerge branch 'manager-ci' into 'manager'
Vaclav Sraier [Mon, 21 Nov 2022 12:26:24 +0000 (13:26 +0100)] 
Merge branch 'manager-ci' into 'manager'

ci/pkgtest: remove unused CI configuration file

See merge request knot/knot-resolver!1363

3 years agoci: removed ci/pkgtest.yaml as it's not referenced from anywhere
Vasek Sraier [Mon, 21 Nov 2022 12:17:46 +0000 (13:17 +0100)] 
ci: removed ci/pkgtest.yaml as it's not referenced from anywhere

3 years agoci/images: drop the LXC images
Vladimír Čunát [Mon, 21 Nov 2022 11:52:55 +0000 (12:52 +0100)] 
ci/images: drop the LXC images

Last use case was dropped in 36b08eb30387,
and I don't expect we'd use this in future anymore.
The "bullseye" in README was clearly a typo (it's the codename for 11).

3 years agoMerge branch 'manager-install-with-meson' into 'manager'
Vaclav Sraier [Tue, 15 Nov 2022 16:55:31 +0000 (17:55 +0100)] 
Merge branch 'manager-install-with-meson' into 'manager'

manager: build manager and install its files with meson

See merge request knot/knot-resolver!1346

3 years agoMerge !1360: doc/build.rst nit: add dnsdist as optional dependency
Vladimír Čunát [Tue, 15 Nov 2022 08:50:01 +0000 (09:50 +0100)] 
Merge !1360: doc/build.rst nit: add dnsdist as optional dependency

3 years agodoc/build.rst nit: add dnsdist as optional dependency
Oto Šťáva [Tue, 15 Nov 2022 08:28:11 +0000 (09:28 +0100)] 
doc/build.rst nit: add dnsdist as optional dependency

3 years agoMerge !1356: ci improvements, mainly for respdiff
Vladimír Čunát [Mon, 7 Nov 2022 17:30:01 +0000 (18:30 +0100)] 
Merge !1356: ci improvements, mainly for respdiff

3 years agodoc nit: tweak the link to dnsflagday.net
Vladimír Čunát [Sat, 5 Nov 2022 06:21:43 +0000 (07:21 +0100)] 
doc nit: tweak the link to dnsflagday.net

As the web is now, combination without www doesn't redirect https
(only http).  So let's switch to the final URL; apex is problematic.

3 years agoci respdiff+resperf: make the skipped cases orange
Vladimír Čunát [Thu, 27 Oct 2022 16:08:32 +0000 (18:08 +0200)] 
ci respdiff+resperf: make the skipped cases orange

3 years agoci respdiff+resperf: make them run manually
Vladimír Čunát [Wed, 26 Oct 2022 15:38:49 +0000 (17:38 +0200)] 
ci respdiff+resperf: make them run manually

In that case there's no need to wait for other jobs, too.

3 years agoci: make jobs interruptible by default
Vladimír Čunát [Wed, 26 Oct 2022 16:45:21 +0000 (18:45 +0200)] 
ci: make jobs interruptible by default

We're usually not interested in CI on older commits,
and this default will help cancelling expensive respdiff jobs.

Also add default runner tags to make them less likely
to get underspecified.  For example, each job should choose
one option in the docker/lxc and amd64/arm64 pairs.

3 years agoci pytests: migrate away from LXC runner
Vladimír Čunát [Wed, 26 Oct 2022 15:55:35 +0000 (17:55 +0200)] 
ci pytests: migrate away from LXC runner

This reverts commit 15c1353544be, with some modifications.
On LXC we've had issues with
  FileExistsError: [Errno 17] File exists: '/tmp/pytest-kresd-portdir'
.. which disappear with this commit.  (I don't know how/why.)

3 years agoMerge !1357: doc XDP: update the list of required capabilities
Vladimír Čunát [Thu, 3 Nov 2022 09:04:42 +0000 (10:04 +0100)] 
Merge !1357: doc XDP: update the list of required capabilities

3 years agomanager: lint fail fix
Aleš Mrázek [Sat, 29 Oct 2022 23:39:16 +0000 (01:39 +0200)] 
manager: lint fail fix

3 years agomanager/gitlab-ci.yml: poetry install only deps
Aleš Mrázek [Sat, 29 Oct 2022 23:15:44 +0000 (01:15 +0200)] 
manager/gitlab-ci.yml: poetry install only deps

3 years agomanager: ci: poetry version fixed to 1.1.12
Aleš Mrázek [Sat, 29 Oct 2022 23:14:08 +0000 (01:14 +0200)] 
manager: ci: poetry version fixed to 1.1.12

3 years agomanager/scripts/run: build manager with meson
Aleš Mrázek [Thu, 27 Oct 2022 11:02:15 +0000 (13:02 +0200)] 
manager/scripts/run: build manager with meson

3 years agomanager: scripts: 'docs' is no longer needed
Aleš Mrázek [Wed, 26 Oct 2022 10:57:02 +0000 (12:57 +0200)] 
manager: scripts: 'docs' is no longer needed

3 years agodistro deb: add python3-dev dependency
Vladimír Čunát [Wed, 26 Oct 2022 10:07:09 +0000 (12:07 +0200)] 
distro deb: add python3-dev dependency

Otherwise it's possible to end up with an error (e.g. Ubuntu 22.04):
knot_resolver_manager/kresd_controller/supervisord/plugin/notifymodule.c:2:10:
  fatal error: Python.h: No such file or directory

3 years agomanager: meson: use existing script to check dependencies
Aleš Mrázek [Tue, 25 Oct 2022 22:45:12 +0000 (00:45 +0200)] 
manager: meson: use existing script to check dependencies

tests/packaging/dependencies.py: argument for path to setup.py added

3 years agodoc/build.rst: 'python.install_env' info no needed
Aleš Mrázek [Fri, 21 Oct 2022 13:12:57 +0000 (15:12 +0200)] 
doc/build.rst: 'python.install_env' info no needed

3 years agodoc/build.rst: some additional informations
Aleš Mrázek [Fri, 21 Oct 2022 13:10:47 +0000 (15:10 +0200)] 
doc/build.rst: some additional informations

link to pyproject.toml, tip about pipx

3 years agomanager: meson.build files removed
Aleš Mrázek [Fri, 21 Oct 2022 12:43:01 +0000 (14:43 +0200)] 
manager: meson.build files removed

3 years agomeson: manager_client option removed
Aleš Mrázek [Fri, 21 Oct 2022 12:17:57 +0000 (14:17 +0200)] 
meson: manager_client option removed

3 years agomanager/meson.build: installation script added
Aleš Mrázek [Fri, 21 Oct 2022 12:08:31 +0000 (14:08 +0200)] 
manager/meson.build: installation script added

subdir removed, python3 deps removed

3 years agomanager: scripts: add installation script
Aleš Mrázek [Thu, 20 Oct 2022 14:49:26 +0000 (16:49 +0200)] 
manager: scripts: add installation script

3 years agodoc/build.rst: note about meson python module
Aleš Mrázek [Tue, 18 Oct 2022 17:29:26 +0000 (19:29 +0200)] 
doc/build.rst: note about meson python module

3 years agomanager/cli: meson: executable for 'kresctl'
Aleš Mrázek [Fri, 14 Oct 2022 17:40:14 +0000 (19:40 +0200)] 
manager/cli: meson: executable for 'kresctl'

3 years agodoc/build.rst: enable to build manager with meson
Aleš Mrázek [Fri, 14 Oct 2022 12:51:09 +0000 (14:51 +0200)] 
doc/build.rst: enable to build manager with meson

3 years agomanager: meson: add python deps
Aleš Mrázek [Fri, 14 Oct 2022 12:20:03 +0000 (14:20 +0200)] 
manager: meson: add python deps

3 years agomeson: disable manager build by default
Aleš Mrázek [Fri, 14 Oct 2022 12:16:14 +0000 (14:16 +0200)] 
meson: disable manager build by default

3 years agomanager: build python modules with meson
Aleš Mrázek [Mon, 10 Oct 2022 13:26:08 +0000 (15:26 +0200)] 
manager: build python modules with meson

3 years agodoc/build.rst: Building with 'Meson' section added
Aleš Mrázek [Wed, 5 Oct 2022 09:35:18 +0000 (11:35 +0200)] 
doc/build.rst: Building with 'Meson' section added

manager dependencies added

3 years agodoc/build.rst: build with 'apkg' added
Aleš Mrázek [Tue, 4 Oct 2022 13:34:46 +0000 (15:34 +0200)] 
doc/build.rst: build with 'apkg' added

3 years agomanager: meson.build added
Aleš Mrázek [Mon, 3 Oct 2022 20:38:37 +0000 (22:38 +0200)] 
manager: meson.build added

meson_options.txt: 'manager' option added

3 years agodoc XDP: update the list of required capabilities
Vladimír Čunát [Thu, 27 Oct 2022 15:31:07 +0000 (17:31 +0200)] 
doc XDP: update the list of required capabilities

We're the same as knotd in this; it evolved a bit
with libknot and kernel versions.  Taken from:
https://www.knot-dns.cz/docs/3.2/singlehtml/#mode-xdp-pre-requisites

3 years agoMerge !1355: daemon/network: fix heap-buffer-overflow in endpoint key generation
Vladimír Čunát [Tue, 25 Oct 2022 07:09:49 +0000 (09:09 +0200)] 
Merge !1355: daemon/network: fix heap-buffer-overflow in endpoint key generation

3 years agodaemon/network: fix heap-buffer-overflow in endpoint key generation
Oto Šťáva [Thu, 20 Oct 2022 11:06:31 +0000 (13:06 +0200)] 
daemon/network: fix heap-buffer-overflow in endpoint key generation

Reproducible by listening on an interface by name, ASAN reports a
heap-buffer-overflow. This was a regression caused by !1286, which did
not account for null-terminators properly.

3 years agoMerge !1349: modules/dns64: add recommendation to also disable DNS64 via IPv4
Vladimír Čunát [Fri, 14 Oct 2022 11:57:03 +0000 (13:57 +0200)] 
Merge !1349: modules/dns64: add recommendation to also disable DNS64 via IPv4

3 years agomodules/dns64: add recommendation to also disable DNS64 via IPv4
Tom Herbers [Sat, 8 Oct 2022 12:43:52 +0000 (14:43 +0200)] 
modules/dns64: add recommendation to also disable DNS64 via IPv4

It's resonable to assume that people would also want to disable DNS64 for
IPv4 source addresses if they only enable it for some IPv6 sources.

Close https://github.com/CZ-NIC/knot-resolver/pull/83

3 years agoMerge !1352: ci nixos-unstable:pkgbuild: fixup recent regression
Vladimír Čunát [Fri, 14 Oct 2022 11:22:50 +0000 (13:22 +0200)] 
Merge !1352: ci nixos-unstable:pkgbuild: fixup recent regression

3 years agoci nixos-unstable:pkgbuild: fixup recent regression
Vladimír Čunát [Fri, 14 Oct 2022 11:16:38 +0000 (13:16 +0200)] 
ci nixos-unstable:pkgbuild: fixup recent regression

https://gitlab.nic.cz/knot/knot-resolver/-/jobs/802541#L272

3 years agoMerge branch 'manager-unified-logging' into 'manager'
Aleš Mrázek [Wed, 12 Oct 2022 14:03:37 +0000 (16:03 +0200)] 
Merge branch 'manager-unified-logging' into 'manager'

manager: unified logging

See merge request knot/knot-resolver!1350

3 years agomanager: supervisord: renamed gc subprocess to cache-gc
Vasek Sraier [Wed, 12 Oct 2022 10:18:51 +0000 (12:18 +0200)] 
manager: supervisord: renamed gc subprocess to cache-gc

3 years agomanager: logging: supervisord forwards stdio even when configured to use syslog in...
Vasek Sraier [Wed, 12 Oct 2022 10:09:45 +0000 (12:09 +0200)] 
manager: logging: supervisord forwards stdio even when configured to use syslog in order not to lose any valuable error messages