]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Vladimír Čunát [Mon, 30 May 2022 09:53:56 +0000 (11:53 +0200)]
renumber: document additions from the parent commit
Konstantin Amelichev [Sat, 28 May 2022 11:30:32 +0000 (15:30 +0400)]
renumber: allow renumbering a subnet to a single IP
https://github.com/CZ-NIC/knot-resolver/pull/77
originally but changed by vcunat quite a bit.
Vladimír Čunát [Mon, 30 May 2022 09:13:25 +0000 (11:13 +0200)]
lib/utils nit: deduplicate one line
Vladimír Čunát [Sat, 28 May 2022 11:57:49 +0000 (13:57 +0200)]
Merge !1301: lib/cache: handle posix_fallocate returning EOPNOTSUPP
Jakub Jirutka [Fri, 27 May 2022 22:37:25 +0000 (00:37 +0200)]
lib/cache: handle posix_fallocate returning EOPNOTSUPP (Linux/musl)
https://man7.org/linux/man-pages/man3/posix_fallocate.3.html#ERRORS:
> EOPNOTSUPP
> The filesystem containing the file referred to by fd does not support
> this operation. This error code can be returned by C libraries that
> don't perform the emulation shown in NOTES, such as **musl libc**.
I've encountered this problem on Alpine Linux running inside an LXC
container on Ubuntu with data on ZFS.
Vladimír Čunát [Fri, 20 May 2022 08:52:42 +0000 (10:52 +0200)]
Merge !1279: daemon/http: HTTP response codes
Fixes #728
Oto Šťáva [Fri, 13 May 2022 08:34:06 +0000 (10:34 +0200)]
daemon/http: copy headers to streams instead of ownership transfer
Vladimír Čunát [Fri, 8 Apr 2022 10:01:16 +0000 (12:01 +0200)]
tests/config/tapered: update for difference prints
Oto Šťáva [Fri, 8 Apr 2022 09:20:59 +0000 (11:20 +0200)]
daemon/http: documentation
Vladimír Čunát [Thu, 7 Apr 2022 16:46:01 +0000 (18:46 +0200)]
ci: ODVR will also need Debian 11
Debian 10 could probably get dropped soon, but not yet.
Oto Šťáva [Wed, 6 Apr 2022 07:56:35 +0000 (09:56 +0200)]
daemon/http: move status sends outside nghttp2 callbacks
The nghttp2 documentation states that we must not send data from inside
of its callbacks. It may result in crashes.
Oto Šťáva [Fri, 1 Apr 2022 08:42:36 +0000 (10:42 +0200)]
daemon/http: return 400 on failed packet_parse + improved stream handling
Oto Šťáva [Sat, 26 Mar 2022 08:51:27 +0000 (09:51 +0100)]
daemon/http: return 400 on stream end with no processed packets
Oto Šťáva [Fri, 25 Mar 2022 11:21:07 +0000 (12:21 +0100)]
daemon/http: add basic HTTP response codes
Vladimír Čunát [Fri, 20 May 2022 07:39:48 +0000 (09:39 +0200)]
Merge !1295: daemon/tls: use GNUTLS_NO_TICKETS_TLS12
Closes #742
Oto Šťáva [Mon, 16 May 2022 12:30:13 +0000 (14:30 +0200)]
daemon/tls: use GNUTLS_NO_TICKETS_TLS12
Vladimír Čunát [Wed, 18 May 2022 14:25:22 +0000 (16:25 +0200)]
Merge !1294: lib/dnssec: rewrite most of NSEC validation code
Closes #443 and #738
Vladimír Čunát [Mon, 9 May 2022 11:13:32 +0000 (13:13 +0200)]
NEWS for the rewrite of some NSEC validation parts
Vladimír Čunát [Thu, 28 Apr 2022 10:37:31 +0000 (12:37 +0200)]
lib/dnssec: nits
Vladimír Čunát [Wed, 27 Apr 2022 14:03:06 +0000 (16:03 +0200)]
lib/dnssec: rewrite kr_nsec_ref_to_unsigned()
- I see no motivation to search for NS records here;
and I didn't like that loop nesting
- philosophy shift akin to the recent
replacement of kr_nsec_existence_denial()
Vladimír Čunát [Wed, 27 Apr 2022 11:47:01 +0000 (13:47 +0200)]
lib/dnssec: drop kr_nsec_name_error_response_check()
Just as with NODATA; basically the same comments
apply here (i.e. for NXDOMAIN) as well.
Vladimír Čunát [Sat, 23 Apr 2022 15:23:47 +0000 (17:23 +0200)]
lib/dnssec: replace kr_nsec_existence_denial()
The NSEC validation code has been written very mechanically
according to RFC 4033..4035, but those explain wildcard-related
topics in a way that's hard to understand right.
So here I rewrite it with a different philosophy, so it should be
easier to understand, a bit faster, and less buggy and bug-prone.
Vladimír Čunát [Tue, 26 Apr 2022 12:55:12 +0000 (14:55 +0200)]
daemon/lua nit: sort RR rank names in debug logs
I was diffing logs from different runs and got annoyed by the shuffles.
Vladimír Čunát [Wed, 18 May 2022 13:49:00 +0000 (15:49 +0200)]
Merge !1287: tests/dnstap: add missing protobuf dependency
Oto Šťáva [Fri, 22 Apr 2022 05:55:20 +0000 (07:55 +0200)]
tests/dnstap: add missing protobuf dependency
Aleš Mrázek [Tue, 17 May 2022 13:52:30 +0000 (15:52 +0200)]
Merge branch 'manager-datamodel-server' into 'manager'
manager: datamodel: server section removed
See merge request knot/knot-resolver!1293
Vladimír Čunát [Fri, 13 May 2022 11:30:40 +0000 (13:30 +0200)]
Merge !1286: daemon/network: Use trie_t instead of map_t for network endpoints
Oto Šťáva [Wed, 11 May 2022 10:19:13 +0000 (12:19 +0200)]
lib/generic/map: remove
Vladimír Čunát [Fri, 13 May 2022 10:52:20 +0000 (12:52 +0200)]
lib/utils kr_sockaddr_key_same_addr(): more precision
... in case of IPv6 link-local addresses.
The casting isn't very nice, but we certainly rely on `family` being
always on the same offset anyway (and it's ensured by standards).
Oto Šťáva [Wed, 11 May 2022 08:10:25 +0000 (10:10 +0200)]
daemon/network: reintroduce net.close() wildcard semantics
Oto Šťáva [Wed, 4 May 2022 05:55:32 +0000 (07:55 +0200)]
lib/utils: check for unix socket paths null-termination
Oto Šťáva [Wed, 20 Apr 2022 08:08:28 +0000 (10:08 +0200)]
daemon/network: Use trie_t instead of map_t for network endpoints
Vladimír Čunát [Wed, 11 May 2022 06:23:18 +0000 (08:23 +0200)]
Merge !1290: modules/stats: use trie_t instead of map_t
Oto Šťáva [Wed, 27 Apr 2022 09:14:02 +0000 (11:14 +0200)]
modules/stats: use trie_t instead of map_t
Vladimír Čunát [Thu, 28 Apr 2022 11:32:52 +0000 (13:32 +0200)]
lib/generic/trie: add trie_apply_with_key()
Aleš Mrázek [Thu, 5 May 2022 11:57:30 +0000 (13:57 +0200)]
manager: datamodel: nsid moved to top-level
Vladimír Čunát [Wed, 4 May 2022 12:15:44 +0000 (14:15 +0200)]
Merge !1292: lib/dnssec/ta: use trie_t instead of map_t
Aleš Mrázek [Wed, 4 May 2022 09:36:49 +0000 (11:36 +0200)]
manager: datamodel: server section removed
- management and webmgmt config moved to top-level node
Oto Šťáva [Wed, 4 May 2022 09:00:46 +0000 (11:00 +0200)]
lib/dnssec/ta: use trie_t instead of map_t
Aleš Mrázek [Wed, 4 May 2022 08:52:16 +0000 (10:52 +0200)]
manager: datamodel: workers moved to top-level node
Aleš Mrázek [Tue, 3 May 2022 14:42:37 +0000 (16:42 +0200)]
manager: datamodel: section for supervisor config
Aleš Mrázek [Mon, 2 May 2022 15:27:50 +0000 (17:27 +0200)]
manager: datamodel: id, hostname, rundir moved to top level node
Aleš Mrázek [Mon, 2 May 2022 13:28:10 +0000 (15:28 +0200)]
manager: datamodel: nsid moved to options section
Vladimír Čunát [Mon, 2 May 2022 10:42:47 +0000 (12:42 +0200)]
Merge !1288: daemon/worker: Use trie_t instead of map_t for TCP connections
Oto Šťáva [Wed, 27 Apr 2022 07:02:41 +0000 (09:02 +0200)]
daemon/worker: Use trie_t instead of map_t for TCP connections
Oto Šťáva [Fri, 29 Apr 2022 06:50:35 +0000 (08:50 +0200)]
lib/utils: sockaddr key generation
Aleš Mrázek [Fri, 29 Apr 2022 14:35:25 +0000 (16:35 +0200)]
manager: datamodel: cache GC config moved to cache section
Aleš Mrázek [Wed, 27 Apr 2022 11:34:31 +0000 (13:34 +0200)]
Merge branch 'manager-datamodel-newconfig' into 'manager'
manager: datamodel: missing configuration
See merge request knot/knot-resolver!1289
Aleš Mrázek [Wed, 27 Apr 2022 10:30:48 +0000 (12:30 +0200)]
manager: datamodel: PROXYv2 option renamed
Aleš Mrázek [Fri, 22 Apr 2022 08:29:47 +0000 (10:29 +0200)]
manager: datamodel: PROXYv2 schema created
Aleš Mrázek [Wed, 20 Apr 2022 11:28:29 +0000 (13:28 +0200)]
Merge branch 'manager-test-improvements' into 'manager'
manager: test improvements
See merge request knot/knot-resolver!1277
Aleš Mrázek [Wed, 13 Apr 2022 15:02:47 +0000 (17:02 +0200)]
manager: datamodel: templates: render punycode for domains
Aleš Mrázek [Wed, 13 Apr 2022 14:57:36 +0000 (16:57 +0200)]
manager: datamodel: types: allow root-zone in DomainName
Vladimír Čunát [Wed, 13 Apr 2022 08:44:48 +0000 (10:44 +0200)]
Merge branch !1285: daemon/zimport: close transaction after importing batch
Aleš Mrázek [Tue, 12 Apr 2022 12:37:02 +0000 (14:37 +0200)]
manager: datamodel: types: improved DomainName regex
- tests: testing domain for length
Aleš Mrázek [Mon, 11 Apr 2022 20:52:01 +0000 (22:52 +0200)]
manager: datamodel: types: punycode for DomainName
Aleš Mrázek [Mon, 11 Apr 2022 10:55:16 +0000 (12:55 +0200)]
ci: do pkgtests for manager* branches
Vladimír Čunát [Mon, 11 Apr 2022 10:14:50 +0000 (12:14 +0200)]
daemon/zimport: close transaction after importing batch
I'm really sorry about this. It's my regression in 5.5.0 (!1225)
Practical consequence was that the RW transaction was held open
until that instance did something with cache (and thus closed),
so any other instance would be frozen in the meantime if doing
anything non-read-only with cache (e.g. startup).
https://lists.nic.cz/hyperkitty/list/knot-resolver-users@lists.nic.cz/thread/6DOXXOA6ACEUBVYPUY3T2MLGIHWOMV6M/
Aleš Mrázek [Tue, 22 Mar 2022 14:59:13 +0000 (15:59 +0100)]
manager: ci: except branches with 'manager' prefix
Aleš Mrázek [Tue, 22 Mar 2022 14:48:53 +0000 (15:48 +0100)]
manager: tests: utils: types tests parametrization
Aleš Mrázek [Fri, 18 Mar 2022 12:50:58 +0000 (13:50 +0100)]
manager: tests: modelling: tests parametrization
- utils/modelling: strip() lines in schema class docstring
- general json_schema tests moved to test_modelling.py
Aleš Mrázek [Fri, 18 Mar 2022 12:07:13 +0000 (13:07 +0100)]
manager: datamodel: types: improved DomainName regex
Aleš [Thu, 17 Feb 2022 22:40:50 +0000 (23:40 +0100)]
manager: tests: parameterization using pytest
Vaclav Sraier [Thu, 31 Mar 2022 13:22:26 +0000 (15:22 +0200)]
Merge branch 'manager-systemd-slices' into 'manager'
manager: systemd backend using slices
See merge request knot/knot-resolver!1278
Vaclav Sraier [Tue, 15 Mar 2022 10:40:44 +0000 (11:40 +0100)]
Merge branch 'manager-small-improvements' into 'manager'
small improvements of manager
See merge request knot/knot-resolver!1274
Vasek Sraier [Thu, 31 Mar 2022 12:42:51 +0000 (14:42 +0200)]
unit tests: made them recognizable as python package and moved test config creation method there
Aleš Mrázek [Mon, 14 Mar 2022 17:02:34 +0000 (18:02 +0100)]
Merge branch 'manager-error-messages' into 'manager'
improve manager's error handling
See merge request knot/knot-resolver!1263
Vasek Sraier [Mon, 14 Mar 2022 20:14:02 +0000 (21:14 +0100)]
manager: systemd: lower unit start timeout to 10 seconds from 30
This is done after a short discussion on Slack where we've learnt that kresd should be up and running
within fraction of a second.
Vasek Sraier [Thu, 31 Mar 2022 12:31:46 +0000 (14:31 +0200)]
subprocess manament: remove configuration files of kresd's even when not stopped directly
Aleš Mrázek [Mon, 28 Feb 2022 10:30:13 +0000 (11:30 +0100)]
Merge branch 'manager-watchdog-fix' into 'manager'
manager: backend bug fixes
See merge request knot/knot-resolver!1262
Vasek Sraier [Sun, 13 Mar 2022 14:04:25 +0000 (15:04 +0100)]
manager: working directory locking and improved shutdown triggering
Vasek Sraier [Mon, 14 Mar 2022 20:07:51 +0000 (21:07 +0100)]
manager: handle Unix signals during shutdown
closes #725
Vasek Sraier [Sun, 27 Mar 2022 17:14:24 +0000 (19:14 +0200)]
moved `id` in config to the server section, additional refactoring
Aleš Mrázek [Mon, 21 Feb 2022 10:06:41 +0000 (11:06 +0100)]
Merge branch 'manager-datamodel-types' into 'manager'
manager: datamodel: type annotations changes and new custom types
See merge request knot/knot-resolver!1260
Vasek Sraier [Sun, 27 Feb 2022 12:23:08 +0000 (13:23 +0100)]
manager: id allocation system: rewritten once more with id subclassing
Vasek Sraier [Fri, 11 Mar 2022 15:28:21 +0000 (16:28 +0100)]
manager: error handling retry logic based on ERROR_HANDLING.md
Vasek Sraier [Thu, 24 Mar 2022 16:50:15 +0000 (17:50 +0100)]
manager: fix integration tests config file
Aleš Mrázek [Tue, 15 Feb 2022 17:07:27 +0000 (18:07 +0100)]
Merge branch 'manager-monitoring' into 'manager'
Unified monitoring though manager
See merge request knot/knot-resolver!1255
Aleš [Tue, 15 Feb 2022 23:29:39 +0000 (00:29 +0100)]
datamodel: monitoring: types specification
Aleš [Thu, 24 Feb 2022 14:48:16 +0000 (15:48 +0100)]
manager: server: deny server.groupid runtime changes
- conf files names based on groupid
Vasek Sraier [Fri, 11 Mar 2022 11:49:14 +0000 (12:49 +0100)]
manager: limit number of allowed workers
Vasek Sraier [Wed, 23 Mar 2022 22:47:19 +0000 (23:47 +0100)]
bug fixes within manager's slice usage (in systemd)
The previous implementation was actually flawed, because:
- we were not detecting failed units on startup
- we were using same service names and counting on different slices being different namespaces. This is NOT valid assumption.
Aleš Mrázek [Tue, 15 Feb 2022 14:10:56 +0000 (15:10 +0100)]
Merge branch 'manager-datamodel-docstrings' into 'manager'
manager: datamodel annotated with docstrings
See merge request knot/knot-resolver!1258
Vasek Sraier [Wed, 9 Feb 2022 14:37:55 +0000 (15:37 +0100)]
manager: verified and fix bug with graphite metrics exporter
Aleš [Mon, 14 Feb 2022 15:06:37 +0000 (16:06 +0100)]
datamodel: integer type annotations replaced with custom types
Aleš [Wed, 23 Feb 2022 13:24:23 +0000 (14:24 +0100)]
manager: systemd backend: 'server.groupid' config is used as prefix for services names
Vasek Sraier [Fri, 11 Mar 2022 11:28:24 +0000 (12:28 +0100)]
manager: improved formatting of errors
Vasek Sraier [Tue, 22 Mar 2022 11:51:24 +0000 (12:51 +0100)]
manager systemd backend now uses slices
- added id field to config, which determines the slice name (must be unique across the whole system)
- we no longer stop all processes individually, instead we leave it up to the subprocess controller to stop all (and it just stops the slice)
Vladimír Čunát [Tue, 15 Feb 2022 09:01:38 +0000 (10:01 +0100)]
Merge !1250: manager: datamodel: lower verbosity for network/listen config
Aleš [Tue, 8 Feb 2022 15:38:34 +0000 (16:38 +0100)]
datamodel: docstrings annotatinons dnssec
- related to #706
Vasek Sraier [Wed, 9 Feb 2022 10:28:23 +0000 (11:28 +0100)]
manager: monitoring: made sure data are collected at the time of the /metrics request
Aleš [Mon, 14 Feb 2022 13:16:40 +0000 (14:16 +0100)]
datamodel: types: several integer custom types
Aleš [Tue, 22 Feb 2022 16:04:51 +0000 (17:04 +0100)]
manager: systemd backend: watchdog for cache gc
- KresIDs are also equal when custom str representations are equal
- systemd services naming
Vasek Sraier [Fri, 11 Mar 2022 10:32:35 +0000 (11:32 +0100)]
manager: documentation of error handling design
Aleš [Wed, 2 Feb 2022 17:45:46 +0000 (18:45 +0100)]
datamodel: templates: render http configuration for doh_legacy only once
Aleš [Mon, 7 Feb 2022 15:52:42 +0000 (16:52 +0100)]
manager/utils/modelling: multiline strings in docstring for attributes description in yaml format
Vasek Sraier [Tue, 8 Feb 2022 14:10:31 +0000 (15:10 +0100)]
manager: monitoring: graphite bridge
Aleš [Thu, 10 Feb 2022 14:01:06 +0000 (15:01 +0100)]
datamodel: types: improved IntRangeBase
- the value can also be limited from one side (_min or _max)
Vasek Sraier [Sun, 20 Feb 2022 21:17:00 +0000 (22:17 +0100)]
manager: supervisord backend: fixed failures to start and stop properly, now working
Vasek Sraier [Fri, 4 Mar 2022 15:25:07 +0000 (16:25 +0100)]
manager: systemd: added timeout for systemd jobs