]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
3 years agodatamodel: network: added 'doh-legacy' to listen kinds
Aleš [Mon, 31 Jan 2022 19:48:39 +0000 (20:48 +0100)] 
datamodel: network: added 'doh-legacy' to listen kinds

3 years agodatamodel: docstrings annotatinons (dns64, logging, lua)
Aleš [Mon, 7 Feb 2022 15:34:07 +0000 (16:34 +0100)] 
datamodel: docstrings annotatinons (dns64, logging, lua)
- related to #706

3 years agomanager: monitoring: remove usage of protected library methods, finished proper laten...
Vasek Sraier [Tue, 8 Feb 2022 10:58:14 +0000 (11:58 +0100)] 
manager: monitoring: remove usage of protected library methods, finished proper latency metric support

3 years agomanager: fixed watchdog cancellation, reworked id system to remove unreasonable compl...
Vasek Sraier [Sat, 19 Feb 2022 12:26:53 +0000 (13:26 +0100)] 
manager: fixed watchdog cancellation, reworked id system to remove unreasonable complexity

3 years agoWIP multiple error messages at once
Vasek Sraier [Sun, 20 Feb 2022 23:24:56 +0000 (00:24 +0100)] 
WIP multiple error messages at once

3 years agodatamodel: ip-address option merged to interface option
Aleš [Mon, 31 Jan 2022 16:24:45 +0000 (17:24 +0100)] 
datamodel: ip-address option merged to interface option
- types: IP addres can be used in InterfacePort and InterfaceOptionalPort
- ip-address options removed

3 years agodatamodel: docstrings annotatinons (stub-zone, forward-zone, rpz, cache)
Aleš [Fri, 4 Feb 2022 12:47:41 +0000 (13:47 +0100)] 
datamodel: docstrings annotatinons (stub-zone, forward-zone, rpz, cache)
- related to #706

3 years agomodules/stats: add answer.sum_ms metric
Vladimír Čunát [Mon, 7 Feb 2022 12:21:48 +0000 (13:21 +0100)] 
modules/stats: add answer.sum_ms metric

FIXME: add a NEWS entry for this

3 years agomanager: improved configuration error reporting
Vasek Sraier [Sun, 20 Feb 2022 22:34:56 +0000 (23:34 +0100)] 
manager: improved configuration error reporting

3 years agodatamodel: docstrings annotatinons (network, static-hint, view, policy)
Aleš [Thu, 3 Feb 2022 14:48:26 +0000 (15:48 +0100)] 
datamodel: docstrings annotatinons (network, static-hint, view, policy)
- changed name of some schema fields
- related to #706

3 years agomanager: monitoring: implementation cleanup
Vasek Sraier [Mon, 7 Feb 2022 11:41:31 +0000 (12:41 +0100)] 
manager: monitoring: implementation cleanup

3 years agoutils: modelling: json_schema: replace underscore with dash in field name
Aleš [Wed, 2 Feb 2022 23:08:47 +0000 (00:08 +0100)] 
utils: modelling: json_schema: replace underscore with dash in field name

3 years agomanager: remove unnecessary sleep
Vasek Sraier [Mon, 7 Feb 2022 10:11:45 +0000 (11:11 +0100)] 
manager: remove unnecessary sleep

3 years agodatamodel: docstrings annotatinons for server and options schemas
Aleš [Wed, 2 Feb 2022 22:57:08 +0000 (23:57 +0100)] 
datamodel: docstrings annotatinons for server and options schemas
- related to #706

3 years agomanager: measuring reconfiguration request latency
Vasek Sraier [Mon, 7 Feb 2022 10:11:24 +0000 (11:11 +0100)] 
manager: measuring reconfiguration request latency

3 years agomanager: exportings prometheus metrics FIXME
Vasek Sraier [Sun, 6 Feb 2022 18:10:17 +0000 (19:10 +0100)] 
manager: exportings prometheus metrics FIXME

3 years agomanager: generated config: opening control socket at correct path with stable id
Vasek Sraier [Sat, 5 Feb 2022 22:31:33 +0000 (23:31 +0100)] 
manager: generated config: opening control socket at correct path with stable id

3 years agoMerge branch 'manager-systemd-improvements' into 'manager'
Vaclav Sraier [Thu, 27 Jan 2022 16:08:10 +0000 (17:08 +0100)] 
Merge branch 'manager-systemd-improvements' into 'manager'

manager: systemd: improved handling of subprocess crashes

See merge request knot/knot-resolver!1252

3 years agodatamodel: types: separate directory for types
Aleš [Fri, 28 Jan 2022 15:05:06 +0000 (16:05 +0100)] 
datamodel: types: separate directory for types
- separate modules for base types and enumerations
- some  types/enums renamed

3 years agoMerge branch 'manager-tooling-fixes' into 'manager'
Vaclav Sraier [Wed, 26 Jan 2022 12:24:25 +0000 (13:24 +0100)] 
Merge branch 'manager-tooling-fixes' into 'manager'

manager: tooling fixes & ci integration

See merge request knot/knot-resolver!1249

3 years agomanager: systemd: better error messages and restart subprocesses always
Vasek Sraier [Fri, 21 Jan 2022 20:35:03 +0000 (21:35 +0100)] 
manager: systemd: better error messages and restart subprocesses always

+ codecheck script now checks whether you have all dependencies properly installed

3 years agodatamodel: validation function for listening configuration
Aleš [Thu, 27 Jan 2022 14:47:10 +0000 (15:47 +0100)] 
datamodel: validation function for listening configuration

3 years agoci: execute manager tests in correct dir
Tomas Krizek [Sun, 16 Jan 2022 16:36:06 +0000 (17:36 +0100)] 
ci: execute manager tests in correct dir

3 years agoci/manager: use junit test report
Tomas Krizek [Fri, 21 Jan 2022 18:08:29 +0000 (19:08 +0100)] 
ci/manager: use junit test report

3 years agoutils: modelling: serialization fix that broke json schema generation
Aleš [Thu, 27 Jan 2022 14:43:01 +0000 (15:43 +0100)] 
utils: modelling: serialization fix that broke json schema generation

3 years agoci: run manager-only tests in manager branch
Tomas Krizek [Sun, 16 Jan 2022 16:32:04 +0000 (17:32 +0100)] 
ci: run manager-only tests in manager branch

3 years agoci: make pytests behavior consistent with remaining jobs
Tomas Krizek [Wed, 19 Jan 2022 16:12:45 +0000 (17:12 +0100)] 
ci: make pytests behavior consistent with remaining jobs

3 years agomanager: codecheck fixes
Aleš [Thu, 27 Jan 2022 11:04:15 +0000 (12:04 +0100)] 
manager: codecheck fixes

3 years agotyping: introduction of mypy
Vasek Sraier [Fri, 14 Jan 2022 10:01:34 +0000 (11:01 +0100)] 
typing: introduction of mypy

3 years agomanager: remove ununsed containers
Tomas Krizek [Wed, 19 Jan 2022 16:04:09 +0000 (17:04 +0100)] 
manager: remove ununsed containers

3 years agodatamodel: types: formatting exceptions
Aleš [Tue, 25 Jan 2022 15:13:51 +0000 (16:13 +0100)] 
datamodel: types: formatting exceptions

3 years agoclient: fix configuration of static hints, schema changed
Vasek Sraier [Wed, 12 Jan 2022 12:47:02 +0000 (13:47 +0100)] 
client: fix configuration of static hints, schema changed

3 years agomanager: remove pyright in favor of mypy
Tomas Krizek [Wed, 19 Jan 2022 16:08:42 +0000 (17:08 +0100)] 
manager: remove pyright in favor of mypy

3 years agodatamodel: types: types based on @port refactored
Aleš [Mon, 24 Jan 2022 16:09:20 +0000 (17:09 +0100)] 
datamodel: types: types based on @port refactored
- added type for interface name

3 years agoprocess management: GC was not stopped during graceful shutdown
Vasek Sraier [Tue, 11 Jan 2022 13:02:40 +0000 (14:02 +0100)] 
process management: GC was not stopped during graceful shutdown

fixes #45

3 years agoci: execute manager unit tests
Tomas Krizek [Wed, 19 Jan 2022 16:06:46 +0000 (17:06 +0100)] 
ci: execute manager unit tests

3 years agodatamodel: schema modifications to match new network/listen model
Aleš [Fri, 21 Jan 2022 16:48:40 +0000 (17:48 +0100)] 
datamodel: schema modifications to match new network/listen model
- datamodel: server: management and webmgmt schema changed
- datamodel: types: base custom types
- datamodel: types: mandatory port number in IPAddressPort and InterfacePort

3 years agoMerge branch 'broken-watchdog-repair' into 'master'
Aleš Mrázek [Tue, 11 Jan 2022 12:40:26 +0000 (13:40 +0100)] 
Merge branch 'broken-watchdog-repair' into 'master'

watchdog: kresd systemd unit properties based on config

Closes #44

See merge request knot/knot-resolver-manager!18

3 years agomanager: ci container: update URL for installing poetry due to upstream change
Vasek Sraier [Mon, 17 Jan 2022 11:58:15 +0000 (12:58 +0100)] 
manager: ci container: update URL for installing poetry due to upstream change

3 years agodatamodel: types: custom type for port number
Aleš [Thu, 20 Jan 2022 15:14:23 +0000 (16:14 +0100)] 
datamodel: types: custom type for port number
- IntRange: base type for integer ranges

3 years agocli: tool for manually generating Lua config from declarative config
Vasek Sraier [Tue, 11 Jan 2022 12:28:17 +0000 (13:28 +0100)] 
cli: tool for manually generating Lua config from declarative config

closes #37

3 years agowatchdog: kresd unit properties based on config
Aleš [Tue, 11 Jan 2022 02:28:16 +0000 (03:28 +0100)] 
watchdog: kresd unit properties based on config
- systemd watchdog is now enabled by default
- related to #44

3 years agomanager: scripts: fixed after changes in repository structure, added missing dependencies
Vasek Sraier [Mon, 17 Jan 2022 11:53:51 +0000 (12:53 +0100)] 
manager: scripts: fixed after changes in repository structure, added missing dependencies

3 years agodatamodel: network: listen: advanced port configuration validation
Aleš [Wed, 19 Jan 2022 17:03:33 +0000 (18:03 +0100)] 
datamodel: network: listen: advanced port configuration validation

3 years agotests: fix after recent rename of an exception
Vasek Sraier [Tue, 11 Jan 2022 12:12:21 +0000 (13:12 +0100)] 
tests: fix after recent rename of an exception

3 years agodatamodel: logging: bogus-log option added
Aleš [Mon, 10 Jan 2022 18:06:23 +0000 (19:06 +0100)] 
datamodel: logging: bogus-log option added

3 years agodatamodel: network: interfaces schema changed to new listen schema #703
Aleš [Mon, 17 Jan 2022 17:53:19 +0000 (18:53 +0100)] 
datamodel: network: interfaces schema changed to new listen schema #703
- list of ip-address, interface and unix-socket can be used
- <ip-address/interface>@<port> syntax to specify the port number
- config files and unit tests updated

3 years agomanager: fixed error handling in SIGHUP handler
Vasek Sraier [Tue, 11 Jan 2022 12:03:57 +0000 (13:03 +0100)] 
manager: fixed error handling in SIGHUP handler

3 years agodatamodel: logging: dnstap config added
Aleš [Mon, 10 Jan 2022 16:23:57 +0000 (17:23 +0100)] 
datamodel: logging: dnstap config added

3 years agodocs: datamodel: logging: docstring correction
Aleš [Sun, 9 Jan 2022 00:08:18 +0000 (01:08 +0100)] 
docs: datamodel: logging: docstring correction

3 years agodatamodel: logging: advanced debugging config
Aleš [Sat, 8 Jan 2022 23:46:33 +0000 (00:46 +0100)] 
datamodel: logging: advanced debugging config

3 years agodocs: datamodel: added some docstring annotations
Aleš [Fri, 7 Jan 2022 16:33:08 +0000 (17:33 +0100)] 
docs: datamodel: added some docstring annotations
- related to #43

3 years agomanager: fix typing issues with new version of pyright, removed LiteralEnum as it...
Vasek Sraier [Thu, 6 Jan 2022 15:30:34 +0000 (16:30 +0100)] 
manager: fix typing issues with new version of pyright, removed LiteralEnum as it's useless ;)

3 years agomanager: signals handling for shutdown (SIGINT) and config reload (SIGHUP)
Vasek Sraier [Thu, 6 Jan 2022 08:56:23 +0000 (09:56 +0100)] 
manager: signals handling for shutdown (SIGINT) and config reload (SIGHUP)

closes #41
closes #42

3 years agokresd_controller: supervisord: rundir config fix
Aleš [Thu, 6 Jan 2022 02:04:59 +0000 (03:04 +0100)] 
kresd_controller: supervisord: rundir config fix

3 years agodatamodel: server: several management options moved to ServerSchema
Aleš [Thu, 6 Jan 2022 01:51:45 +0000 (02:51 +0100)] 
datamodel: server: several management options moved to ServerSchema

3 years agodocs: datamodel: config_schema fields documented
Aleš [Wed, 5 Jan 2022 22:38:31 +0000 (23:38 +0100)] 
docs: datamodel: config_schema fields documented

3 years agodocs: structuring documentation into sections
Aleš [Tue, 4 Jan 2022 20:27:40 +0000 (21:27 +0100)] 
docs: structuring documentation into sections

3 years agodatamodel: lua config printout removed
Aleš [Tue, 4 Jan 2022 20:11:45 +0000 (21:11 +0100)] 
datamodel: lua config printout removed

3 years agoMerge branch 'datamodel-policy' into 'master'
Aleš Mrázek [Tue, 4 Jan 2022 15:39:49 +0000 (16:39 +0100)] 
Merge branch 'datamodel-policy' into 'master'

datamodel: most policy config implemented

Closes #35 and #29

See merge request knot/knot-resolver-manager!17

3 years agodependencies: updated packages to ensure that everything works on python 3.10
Vasek Sraier [Sun, 2 Jan 2022 21:45:56 +0000 (22:45 +0100)] 
dependencies: updated packages to ensure that everything works on python 3.10

closes #31

3 years agodatamodel: templates: action 'reroute' implemented and tested
Aleš [Thu, 30 Dec 2021 17:12:17 +0000 (18:12 +0100)] 
datamodel: templates: action 'reroute' implemented and tested

3 years agoutils: modelling: json schema includes attribute descriptions
Vasek Sraier [Thu, 9 Dec 2021 16:10:49 +0000 (17:10 +0100)] 
utils: modelling: json schema includes attribute descriptions

related to #17

3 years agodatamodel: added check if templates directory exists
Aleš [Wed, 29 Dec 2021 08:36:26 +0000 (09:36 +0100)] 
datamodel: added check if templates directory exists

3 years agomanager: configurable logging
Vasek Sraier [Wed, 1 Dec 2021 16:48:08 +0000 (17:48 +0100)] 
manager: configurable logging

- on startup, we are logging into a memory buffer (flushed to stderr in case of an error)
- after loading the first configuration file, we reconfigure logging such that it follows the config

closes #25

3 years agotests: datamodel: tests for some policy_macros
Aleš [Wed, 22 Dec 2021 15:49:16 +0000 (16:49 +0100)] 
tests: datamodel: tests for some policy_macros
- related to #35

3 years agoMerge branch 'deny-some-config-changes' into 'master'
Vaclav Sraier [Tue, 23 Nov 2021 12:45:45 +0000 (13:45 +0100)] 
Merge branch 'deny-some-config-changes' into 'master'

block dangerous dynamic configuration changes & fix relative path resolution

Closes #26 and #27

See merge request knot/knot-resolver-manager!15

3 years agotests: datamodel: tests for jinja2 network_macros
Aleš [Wed, 22 Dec 2021 15:34:50 +0000 (16:34 +0100)] 
tests: datamodel: tests for jinja2 network_macros

3 years agoci: attempt to fix tests not running due to problems with imports
Vasek Sraier [Thu, 18 Nov 2021 21:33:05 +0000 (22:33 +0100)] 
ci: attempt to fix tests not running due to problems with imports

3 years agotests: unit: fixed broken tests after refactoring of Path object
Vasek Sraier [Tue, 23 Nov 2021 12:06:02 +0000 (13:06 +0100)] 
tests: unit: fixed broken tests after refactoring of Path object

3 years agotests: datamodel: jinja2 view_macros tests and fixes
Aleš [Wed, 22 Dec 2021 00:37:13 +0000 (01:37 +0100)] 
tests: datamodel: jinja2 view_macros tests and fixes

3 years agorepository cleanup
Vasek Sraier [Thu, 18 Nov 2021 16:44:03 +0000 (17:44 +0100)] 
repository cleanup

- unified all tests under tests/ directory
- removed unused distro/

3 years agomanager: dbus: fix systemd property WorkingDirectory for GC
Vasek Sraier [Tue, 23 Nov 2021 12:04:32 +0000 (13:04 +0100)] 
manager: dbus: fix systemd property WorkingDirectory for GC

3 years agodatamodel: types: listen: port is not required for 'ip' and 'interface'
Aleš [Wed, 22 Dec 2021 00:29:18 +0000 (01:29 +0100)] 
datamodel: types: listen: port is not required for 'ip' and 'interface'
- FlagsEnum moved to types module
- datamodel: network: default listening ports based on 'kind'

3 years agoMerge branch 'manager-logging-level' into 'master'
Aleš Mrázek [Thu, 18 Nov 2021 11:36:36 +0000 (12:36 +0100)] 
Merge branch 'manager-logging-level' into 'master'

manager: logging levels unification

Closes #24

See merge request knot/knot-resolver-manager!14

3 years agomanager: block dynamic changes of API address
Vasek Sraier [Tue, 23 Nov 2021 12:04:14 +0000 (13:04 +0100)] 
manager: block dynamic changes of API address

3 years agotests: datamodel: attempt to test jinja2 macros
Aleš [Tue, 21 Dec 2021 10:11:31 +0000 (11:11 +0100)] 
tests: datamodel: attempt to test jinja2 macros
- common_macros tests
- related to #35

3 years agodatamodel: types: added new custom types
Aleš [Tue, 16 Nov 2021 10:10:34 +0000 (11:10 +0100)] 
datamodel: types: added new custom types
- DomainName
- IPAddressPort

3 years agomanager: logging levels unification
Aleš Mrázek [Thu, 18 Nov 2021 11:36:36 +0000 (12:36 +0100)] 
manager: logging levels unification

3 years agomanager: fixed handling of rundir configuration during initialization
Vasek Sraier [Tue, 23 Nov 2021 11:46:01 +0000 (12:46 +0100)] 
manager: fixed handling of rundir configuration during initialization

fixes #26

3 years agodatamodel: policy: answer and filter fixed
Aleš [Mon, 20 Dec 2021 18:25:09 +0000 (19:25 +0100)] 
datamodel: policy: answer and filter fixed

3 years agoMerge branch 'datamodel-network' into 'master'
Aleš Mrázek [Mon, 15 Nov 2021 12:02:38 +0000 (13:02 +0100)] 
Merge branch 'datamodel-network' into 'master'

datamodel: network: section completed

See merge request knot/knot-resolver-manager!13

3 years agomanager initialization: verify rundir existance and block changes
Vasek Sraier [Thu, 18 Nov 2021 17:46:36 +0000 (18:46 +0100)] 
manager initialization: verify rundir existance and block changes

related to #26 and #27

3 years agodatamodel: types: all DNS record types from 'kres.type' table
Aleš [Fri, 17 Dec 2021 14:05:47 +0000 (15:05 +0100)] 
datamodel: types: all DNS record types from 'kres.type' table
- enum renamed to RecordTypeEnum

3 years agopackaging: unified package creation script, CI for Fedora
Vasek Sraier [Sun, 14 Nov 2021 00:48:56 +0000 (01:48 +0100)] 
packaging: unified package creation script, CI for Fedora

3 years agodatamodel: network: section completed
Aleš Mrázek [Mon, 15 Nov 2021 12:02:38 +0000 (13:02 +0100)] 
datamodel: network: section completed

3 years agodatamodel: policy: added Lua template
Aleš [Wed, 15 Dec 2021 18:11:14 +0000 (19:11 +0100)] 
datamodel: policy: added Lua template
- new jinja2 macros

3 years agoscripts: scripts to build fedora package
Vasek Sraier [Thu, 11 Nov 2021 23:19:53 +0000 (00:19 +0100)] 
scripts: scripts to build fedora package

3 years agodatamodel: templates: refactoring, new macros
Aleš [Tue, 14 Dec 2021 16:15:40 +0000 (17:15 +0100)] 
datamodel: templates: refactoring, new macros

3 years agodependencies: downgraded requirements of typing extensions
Vasek Sraier [Thu, 11 Nov 2021 23:14:13 +0000 (00:14 +0100)] 
dependencies: downgraded requirements of typing extensions

3 years agodatamodel: policy: added policy actions
Aleš [Thu, 9 Dec 2021 01:16:30 +0000 (02:16 +0100)] 
datamodel: policy: added policy actions
- tests for policy actions
- QTypeEnum: added some query-type literals

3 years agomanager: systemd: improved error message
Vasek Sraier [Fri, 5 Nov 2021 12:33:15 +0000 (13:33 +0100)] 
manager: systemd: improved error message

3 years agodatamodel: server: added watchdog config
Aleš [Wed, 8 Dec 2021 18:39:18 +0000 (19:39 +0100)] 
datamodel: server: added watchdog config

3 years agofix formatting
Vasek Sraier [Fri, 5 Nov 2021 12:27:14 +0000 (13:27 +0100)] 
fix formatting

3 years agodatamodel: rpz: deny message validation + test
Aleš [Wed, 8 Dec 2021 14:35:33 +0000 (15:35 +0100)] 
datamodel: rpz: deny message validation + test

3 years agoconfig: fixed default config listen address
Vasek Sraier [Fri, 5 Nov 2021 12:20:20 +0000 (13:20 +0100)] 
config: fixed default config listen address

3 years agodatamodel: stub-zone: added StubServerSchema
Aleš [Tue, 7 Dec 2021 11:40:19 +0000 (12:40 +0100)] 
datamodel: stub-zone: added StubServerSchema
- added to be in line with forward-zones

3 years agomanager: systemd: when we fail to start service, log the properties
Vasek Sraier [Fri, 5 Nov 2021 12:10:08 +0000 (13:10 +0100)] 
manager: systemd: when we fail to start service, log the properties

3 years agodatamodel: rpz: Lua configuration
Aleš [Tue, 7 Dec 2021 00:30:32 +0000 (01:30 +0100)] 
datamodel: rpz: Lua configuration
- templates: common macros
- templates: added a few more policy maros

3 years agoconstants: replaced static executable paths with $PATH lookup
Vasek Sraier [Fri, 5 Nov 2021 12:00:13 +0000 (13:00 +0100)] 
constants: replaced static executable paths with $PATH lookup