]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Aleš [Mon, 24 Jan 2022 16:09:20 +0000 (17:09 +0100)]
datamodel: types: types based on @port refactored
- added type for interface name
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
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
Aleš [Wed, 19 Jan 2022 17:03:33 +0000 (18:03 +0100)]
datamodel: network: listen: advanced port configuration validation
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
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
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
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
Tomas Krizek [Sun, 16 Jan 2022 16:36:06 +0000 (17:36 +0100)]
ci: execute manager tests in correct dir
Tomas Krizek [Fri, 21 Jan 2022 18:08:29 +0000 (19:08 +0100)]
ci/manager: use junit test report
Tomas Krizek [Sun, 16 Jan 2022 16:32:04 +0000 (17:32 +0100)]
ci: run manager-only tests in manager branch
Tomas Krizek [Wed, 19 Jan 2022 16:12:45 +0000 (17:12 +0100)]
ci: make pytests behavior consistent with remaining jobs
Vasek Sraier [Fri, 14 Jan 2022 10:01:34 +0000 (11:01 +0100)]
typing: introduction of mypy
Tomas Krizek [Wed, 19 Jan 2022 16:04:09 +0000 (17:04 +0100)]
manager: remove ununsed containers
Vasek Sraier [Wed, 12 Jan 2022 12:47:02 +0000 (13:47 +0100)]
client: fix configuration of static hints, schema changed
Tomas Krizek [Wed, 19 Jan 2022 16:08:42 +0000 (17:08 +0100)]
manager: remove pyright in favor of mypy
Vasek Sraier [Tue, 11 Jan 2022 13:02:40 +0000 (14:02 +0100)]
process management: GC was not stopped during graceful shutdown
fixes #45
Tomas Krizek [Wed, 19 Jan 2022 16:06:46 +0000 (17:06 +0100)]
ci: execute manager unit tests
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
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
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
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
Vasek Sraier [Mon, 17 Jan 2022 11:53:51 +0000 (12:53 +0100)]
manager: scripts: fixed after changes in repository structure, added missing dependencies
Vasek Sraier [Tue, 11 Jan 2022 12:12:21 +0000 (13:12 +0100)]
tests: fix after recent rename of an exception
Aleš [Mon, 10 Jan 2022 18:06:23 +0000 (19:06 +0100)]
datamodel: logging: bogus-log option added
Vasek Sraier [Tue, 11 Jan 2022 12:03:57 +0000 (13:03 +0100)]
manager: fixed error handling in SIGHUP handler
Aleš [Mon, 10 Jan 2022 16:23:57 +0000 (17:23 +0100)]
datamodel: logging: dnstap config added
Aleš [Sun, 9 Jan 2022 00:08:18 +0000 (01:08 +0100)]
docs: datamodel: logging: docstring correction
Aleš [Sat, 8 Jan 2022 23:46:33 +0000 (00:46 +0100)]
datamodel: logging: advanced debugging config
Aleš [Fri, 7 Jan 2022 16:33:08 +0000 (17:33 +0100)]
docs: datamodel: added some docstring annotations
- related to #43
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 ;)
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
Aleš [Thu, 6 Jan 2022 02:04:59 +0000 (03:04 +0100)]
kresd_controller: supervisord: rundir config fix
Aleš [Thu, 6 Jan 2022 01:51:45 +0000 (02:51 +0100)]
datamodel: server: several management options moved to ServerSchema
Aleš [Wed, 5 Jan 2022 22:38:31 +0000 (23:38 +0100)]
docs: datamodel: config_schema fields documented
Aleš [Tue, 4 Jan 2022 20:27:40 +0000 (21:27 +0100)]
docs: structuring documentation into sections
Aleš [Tue, 4 Jan 2022 20:11:45 +0000 (21:11 +0100)]
datamodel: lua config printout removed
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
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
Aleš [Thu, 30 Dec 2021 17:12:17 +0000 (18:12 +0100)]
datamodel: templates: action 'reroute' implemented and tested
Vasek Sraier [Thu, 9 Dec 2021 16:10:49 +0000 (17:10 +0100)]
utils: modelling: json schema includes attribute descriptions
related to #17
Aleš [Wed, 29 Dec 2021 08:36:26 +0000 (09:36 +0100)]
datamodel: added check if templates directory exists
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
Aleš [Wed, 22 Dec 2021 15:49:16 +0000 (16:49 +0100)]
tests: datamodel: tests for some policy_macros
- related to #35
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
Aleš [Wed, 22 Dec 2021 15:34:50 +0000 (16:34 +0100)]
tests: datamodel: tests for jinja2 network_macros
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
Vasek Sraier [Tue, 23 Nov 2021 12:06:02 +0000 (13:06 +0100)]
tests: unit: fixed broken tests after refactoring of Path object
Aleš [Wed, 22 Dec 2021 00:37:13 +0000 (01:37 +0100)]
tests: datamodel: jinja2 view_macros tests and fixes
Vasek Sraier [Thu, 18 Nov 2021 16:44:03 +0000 (17:44 +0100)]
repository cleanup
- unified all tests under tests/ directory
- removed unused distro/
Vasek Sraier [Tue, 23 Nov 2021 12:04:32 +0000 (13:04 +0100)]
manager: dbus: fix systemd property WorkingDirectory for GC
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'
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
Vasek Sraier [Tue, 23 Nov 2021 12:04:14 +0000 (13:04 +0100)]
manager: block dynamic changes of API address
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
Aleš [Tue, 16 Nov 2021 10:10:34 +0000 (11:10 +0100)]
datamodel: types: added new custom types
- DomainName
- IPAddressPort
Aleš Mrázek [Thu, 18 Nov 2021 11:36:36 +0000 (12:36 +0100)]
manager: logging levels unification
Vasek Sraier [Tue, 23 Nov 2021 11:46:01 +0000 (12:46 +0100)]
manager: fixed handling of rundir configuration during initialization
fixes #26
Aleš [Mon, 20 Dec 2021 18:25:09 +0000 (19:25 +0100)]
datamodel: policy: answer and filter fixed
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
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
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
Vasek Sraier [Sun, 14 Nov 2021 00:48:56 +0000 (01:48 +0100)]
packaging: unified package creation script, CI for Fedora
Aleš Mrázek [Mon, 15 Nov 2021 12:02:38 +0000 (13:02 +0100)]
datamodel: network: section completed
Aleš [Wed, 15 Dec 2021 18:11:14 +0000 (19:11 +0100)]
datamodel: policy: added Lua template
- new jinja2 macros
Vasek Sraier [Thu, 11 Nov 2021 23:19:53 +0000 (00:19 +0100)]
scripts: scripts to build fedora package
Aleš [Tue, 14 Dec 2021 16:15:40 +0000 (17:15 +0100)]
datamodel: templates: refactoring, new macros
Vasek Sraier [Thu, 11 Nov 2021 23:14:13 +0000 (00:14 +0100)]
dependencies: downgraded requirements of typing extensions
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
Vasek Sraier [Fri, 5 Nov 2021 12:33:15 +0000 (13:33 +0100)]
manager: systemd: improved error message
Aleš [Wed, 8 Dec 2021 18:39:18 +0000 (19:39 +0100)]
datamodel: server: added watchdog config
Vasek Sraier [Fri, 5 Nov 2021 12:27:14 +0000 (13:27 +0100)]
fix formatting
Aleš [Wed, 8 Dec 2021 14:35:33 +0000 (15:35 +0100)]
datamodel: rpz: deny message validation + test
Vasek Sraier [Fri, 5 Nov 2021 12:20:20 +0000 (13:20 +0100)]
config: fixed default config listen address
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
Vasek Sraier [Fri, 5 Nov 2021 12:10:08 +0000 (13:10 +0100)]
manager: systemd: when we fail to start service, log the properties
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
Vasek Sraier [Fri, 5 Nov 2021 12:00:13 +0000 (13:00 +0100)]
constants: replaced static executable paths with $PATH lookup
Aleš [Sun, 5 Dec 2021 23:33:07 +0000 (00:33 +0100)]
datamodel: policy: jinja2 macros
- stub/forward-zones: simplify templates using jinja2 macros
Vasek Sraier [Fri, 5 Nov 2021 11:34:52 +0000 (12:34 +0100)]
config: created separate dev config
Vasek Sraier [Sat, 4 Dec 2021 16:36:27 +0000 (17:36 +0100)]
manager: utils: parsing: added tests covering dash-underscore conversion in dicts
Vasek Sraier [Fri, 5 Nov 2021 11:27:31 +0000 (12:27 +0100)]
default config: updated to match Debian
Vasek Sraier [Sat, 4 Dec 2021 15:57:35 +0000 (16:57 +0100)]
manager: utils: parsing: changed how dashes are converted to underscores
- the conversion happens only on the fly when needed, not in all keys
- dictionaries should have string keys untouched
fixes #29
Vasek Sraier [Fri, 5 Nov 2021 11:17:11 +0000 (12:17 +0100)]
packaging: fixed default systemd service file
Vasek Sraier [Sat, 4 Dec 2021 14:59:42 +0000 (15:59 +0100)]
Revert "utils: modelling: replace '_' with '-' in dict key"
This reverts commit
f4ef21ef7269db92c681923f0629f21725d5a8f4 .
Vasek Sraier [Wed, 3 Nov 2021 12:43:58 +0000 (13:43 +0100)]
fixed code issues reported by static analysis
Aleš [Wed, 1 Dec 2021 22:59:16 +0000 (23:59 +0100)]
datamodel: forward-zones: generating Lua code
Vasek Sraier [Wed, 3 Nov 2021 12:41:02 +0000 (13:41 +0100)]
json schema: added default values and doc strings
Aleš [Wed, 1 Dec 2021 14:43:59 +0000 (15:43 +0100)]
utils: modelling: replace '_' with '-' in dict key
- ParsedTree is replacing '-' with '_' which is undesirable
- Dict keys are change to original during validation
Vasek Sraier [Wed, 3 Nov 2021 11:14:53 +0000 (12:14 +0100)]
tooling: disabled duplicate code warning for imports
Aleš [Tue, 30 Nov 2021 19:07:26 +0000 (20:07 +0100)]
datamodel: stub-zones: generating Lua code
- load 'view' module if needed
Vasek Sraier [Wed, 3 Nov 2021 11:06:36 +0000 (12:06 +0100)]
bug fix of systemd startup
Cache service was not being loaded as running due to a name mismatch.
Aleš [Tue, 30 Nov 2021 13:45:59 +0000 (14:45 +0100)]
datamodel: rpz: schema created
- lint error fix
Vasek Sraier [Wed, 3 Nov 2021 11:03:20 +0000 (12:03 +0100)]
web: added convenience JSON schema viewer redirect
Aleš [Tue, 30 Nov 2021 13:32:23 +0000 (14:32 +0100)]
datamodel: view: query flags enum completed
Vasek Sraier [Wed, 3 Nov 2021 11:02:27 +0000 (12:02 +0100)]
bug fixes
- fixed failure to start on python 3.9
- fixed issues with starting with supervisord
Aleš [Mon, 29 Nov 2021 19:23:17 +0000 (20:23 +0100)]
datamodel: templates: load renumber module and config
Vasek Sraier [Fri, 29 Oct 2021 09:25:55 +0000 (11:25 +0200)]
readme: typo fix
Aleš [Mon, 29 Nov 2021 18:14:53 +0000 (19:14 +0100)]
datamodel: templates: refactoring, clear code
Vasek Sraier [Fri, 29 Oct 2021 09:23:13 +0000 (11:23 +0200)]
readme: added short description of knot resolver