]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Vasek Sraier [Wed, 3 Mar 2021 20:16:37 +0000 (21:16 +0100)]
ci: added systemd to devenv container, enabled docker image build job
Vasek Sraier [Thu, 25 Feb 2021 16:34:36 +0000 (17:34 +0100)]
CI: container with pydbus dependencies + small README update
Vasek Sraier [Wed, 24 Feb 2021 22:00:49 +0000 (23:00 +0100)]
systemd integration using pydbus
Vasek Sraier [Mon, 22 Feb 2021 08:55:00 +0000 (09:55 +0100)]
dependencies: removed dbus-python, because it breaks CI and it's not final that we will use it
Vasek Sraier [Mon, 22 Feb 2021 08:54:22 +0000 (09:54 +0100)]
CI: configure poetry to use pyenv
Vasek Sraier [Mon, 22 Feb 2021 07:40:00 +0000 (08:40 +0100)]
CI container: fixed poetry
Vasek Sraier [Mon, 22 Feb 2021 07:35:01 +0000 (08:35 +0100)]
CI: fixed base container config
Vasek Sraier [Sun, 21 Feb 2021 20:56:52 +0000 (21:56 +0100)]
CI containers: README and naming
Vasek Sraier [Sun, 21 Feb 2021 16:48:35 +0000 (17:48 +0100)]
basic foundation of inner APIs
Vasek Sraier [Sun, 21 Feb 2021 08:49:33 +0000 (09:49 +0100)]
removed dbus-next dependency
This library is not packaged anywhere so we will have to use something more traditional and build async interface on top of it if needed.
Vasek Sraier [Wed, 10 Feb 2021 22:56:13 +0000 (23:56 +0100)]
updated README.md
Vasek Sraier [Tue, 9 Feb 2021 21:08:12 +0000 (22:08 +0100)]
ci: docker image setup
Vasek Sraier [Tue, 9 Feb 2021 12:58:13 +0000 (13:58 +0100)]
ci: increased timeout
Vasek Sraier [Tue, 9 Feb 2021 12:52:20 +0000 (13:52 +0100)]
updated README.md with minimal setup, configured CI for linting
Vasek Sraier [Tue, 9 Feb 2021 11:18:01 +0000 (12:18 +0100)]
pyenv: multiple versions configured at the same time does not work, leaving 3.6.12 only
Vasek Sraier [Tue, 9 Feb 2021 10:13:47 +0000 (11:13 +0100)]
README.md: updated note about running code checks
Vasek Sraier [Tue, 9 Feb 2021 10:12:15 +0000 (11:12 +0100)]
dependencies: added strictyaml that we will need
Vasek Sraier [Sun, 7 Feb 2021 00:06:18 +0000 (01:06 +0100)]
README.md: correction of claims about type checkers
Vasek Sraier [Sat, 6 Feb 2021 12:49:47 +0000 (13:49 +0100)]
tox: added python 3.9.1 to the list of tested versions
Vasek Sraier [Sat, 6 Feb 2021 12:43:34 +0000 (13:43 +0100)]
tox config, README update, listening on Unix socket, added black for code formatting
Vasek Sraier [Fri, 5 Feb 2021 22:59:06 +0000 (23:59 +0100)]
project skeleton using Poetry and PoeThePoet
Ladislav Lhotka [Thu, 17 Dec 2020 09:05:28 +0000 (10:05 +0100)]
Initial commit
Vladimír Čunát [Thu, 7 Apr 2022 08:35:35 +0000 (10:35 +0200)]
Merge !1283: ci: fix ambiguous tag-sets
Vladimír Čunát [Thu, 7 Apr 2022 08:05:34 +0000 (10:05 +0200)]
ci: fix ambiguous tag-sets
In a few places the tag-set specification for jobs could match
either amd64 or arm64 runners. That non-determinism is bad,
especially when passing platform-specific artifacts around.
This is just a stop-gap measure. Later we'll need to rethink our CI
in terms of the two platforms.
I didn't touch tag-sets with `condor`, as that will probably always be
just a single machine (which coordinates scheduling on others).
Vladimír Čunát [Wed, 6 Apr 2022 08:49:22 +0000 (10:49 +0200)]
Merge !1282: ci/pkgtest: fix issues with sphinx
Vladimír Čunát [Mon, 4 Apr 2022 12:28:06 +0000 (14:28 +0200)]
ci/pkgtest: fix issues with sphinx
The apkg installation through pip3 was pulling too new jinja2 version,
breaking subsequent usage of sphinx to build docs (in `apkg build`).
Vladimír Čunát [Mon, 4 Apr 2022 08:40:28 +0000 (10:40 +0200)]
Merge !1276: xdp: make it work also with libknot 3.1
Fixes #735
Vladimír Čunát [Wed, 23 Mar 2022 11:47:14 +0000 (12:47 +0100)]
xdp nit: utilize freeing API added in libknot 3.1
It's probably a bit more efficient, but this part of code should be
rarely used even on a resolver serving all in XDP.
Vladimír Čunát [Wed, 23 Mar 2022 11:36:12 +0000 (12:36 +0100)]
xdp: make it work also with libknot 3.1
Somehow I did this wrong when porting to libknot 3.1.
Vladimír Čunát [Mon, 4 Apr 2022 08:27:16 +0000 (10:27 +0200)]
Merge !1281: pkg: update changelogs
Jakub Ružička [Tue, 29 Mar 2022 13:28:40 +0000 (15:28 +0200)]
pkg: update changelogs
* set myself as package maintainer
* use {{ now }} instead of hardcoded datetime
* bump apkg compat to 2
Jakub Ružička [Tue, 29 Mar 2022 13:25:33 +0000 (15:25 +0200)]
rpm: sync from Fedora
This is a no-op as GPG_CHECK is disabled for upstream package but it
keeps the .spec files in sync.
Vladimír Čunát [Mon, 21 Mar 2022 10:45:23 +0000 (11:45 +0100)]
Merge !1271: ci/images: add docs
Oto Šťáva [Mon, 21 Mar 2022 05:55:06 +0000 (06:55 +0100)]
ci/images: add debian-11-coverity description
Tomas Krizek [Wed, 9 Mar 2022 12:07:35 +0000 (13:07 +0100)]
ci/images: add image description
Tomas Krizek [Wed, 9 Mar 2022 11:59:32 +0000 (12:59 +0100)]
ci/images: ensure base image is updated
Vladimír Čunát [Mon, 21 Mar 2022 10:03:33 +0000 (11:03 +0100)]
Merge !1275: modules/dns64: fix incorrect packet writes for cached packets
Fixes #727
Oto Šťáva [Fri, 18 Mar 2022 14:22:08 +0000 (15:22 +0100)]
modules/dns64: fix incorrect packet writes for cached packets
Also change the return type of kr_pkt_has_dnssec() and lua's :dobit()
Aleš Mrázek [Tue, 15 Mar 2022 10:28:50 +0000 (11:28 +0100)]
Merge branch 'release-5-5-0' into 'master'
release 5.5.0
See merge request knot/knot-resolver!1272
Aleš Mrázek [Mon, 14 Mar 2022 21:18:58 +0000 (22:18 +0100)]
AUTHORS: duplicate alias removed
Aleš [Mon, 14 Mar 2022 14:22:13 +0000 (15:22 +0100)]
release 5.5.0
Vladimír Čunát [Tue, 15 Mar 2022 06:53:47 +0000 (07:53 +0100)]
Merge !1273: Documentation nits (policy, predict)
Vladimír Čunát [Mon, 14 Mar 2022 14:27:54 +0000 (15:27 +0100)]
predict docs: be more explicit about recommended use
We're still run into people who thought that the example config
is a suitable default. Example where it caused practical issues:
https://lists.nic.cz/hyperkitty/list/knot-resolver-users@lists.nic.cz/thread/WQDJJ3LLEIZ5U3VVSCITW6DZPICW4L7U/
Vladimír Čunát [Mon, 14 Mar 2022 14:19:45 +0000 (15:19 +0100)]
policy docs: explain non-ASCII names
Tomas Krizek [Mon, 14 Mar 2022 10:17:14 +0000 (11:17 +0100)]
Merge branch 'selection' into 'master'
lib/selection: fix interaction of timeouts with reboots
Closes #722
See merge request knot/knot-resolver!1269
Vladimír Čunát [Mon, 14 Mar 2022 06:33:05 +0000 (07:33 +0100)]
Revert "daemon/worker: add task timeouts for upstream TCP connections"
This reverts commit
0c9ea1332e1c4475043eab571f60915b90985999 (!1226).
CI rp:fwd-tls6.udp-asan now repeatedly shows use-after-free.
That could be a serious issue, and this commit's feature
seems less important than the risk. Let's revert until the issue
gets deeper investigation.
Vladimír Čunát [Mon, 7 Mar 2022 17:04:05 +0000 (18:04 +0100)]
lib/selection: fix interaction of timeouts with reboots
We use "monotonic" time-stamps for the dead_since field;
that breaks on system reboots, in which case we reset the stats.
(if the server was categorized as dead)
If the server times out afterwards, we'd fail the condition
`cur_state.consecutive_timeouts == old_state.consecutive_timeouts`
so its stats would not update. Therefore we'd get stuck forever
in a state where the unusable server has high priority (no_rtt_info).
This commit changes a bit more than was necessary to fix this,
including precision of the stats (in some cases).
Vladimír Čunát [Fri, 4 Mar 2022 11:55:55 +0000 (12:55 +0100)]
lib/selection: improve randomness of ties
The approach was dubious: random shuffle, qsort() and choose the first.
The main functional problem was that qsort() isn't a stable sort,
so the effect of pre-shuffling is not reliable, even though I don't have
any evidence of this causing issues in practice.
The new code should also be a bit more efficient in terms of CPU and
consumed randomness, but that probably won't be noticeable.
The arrays passed into select_transport() are now const (no sorting),
which could make the code easier to "understand".
Tomas Krizek [Wed, 9 Mar 2022 12:19:18 +0000 (13:19 +0100)]
Merge branch 'ci-remove-arm' into 'master'
ci: remove experimental arm builds
See merge request knot/knot-resolver!1270
Tomas Krizek [Wed, 9 Mar 2022 11:39:57 +0000 (12:39 +0100)]
ci: remove experimental arm builds
These are running on a hardware setup which is hard to maintain. In the
near future, ARM64 should be covered by a dedicated runner.
Tomas Krizek [Tue, 8 Mar 2022 14:44:16 +0000 (15:44 +0100)]
Merge branch 'keyblock-update' into 'master'
pgp: remove tkrizek, add amrazek
See merge request knot/knot-resolver!1268
Tomas Krizek [Mon, 7 Mar 2022 16:11:14 +0000 (17:11 +0100)]
pgp: remove tkrizek, add amrazek
Tomas Krizek [Mon, 7 Mar 2022 12:17:16 +0000 (13:17 +0100)]
Merge branch 'distrotests-rocky8' into 'master'
distro/tests: use rocky8 instead of centos8
See merge request knot/knot-resolver!1267
Tomas Krizek [Mon, 7 Mar 2022 09:25:44 +0000 (10:25 +0100)]
distro/tests: add Rocky support
Tomas Krizek [Fri, 4 Mar 2022 13:11:36 +0000 (14:11 +0100)]
.gitlabci: add some doc comments for distotest job
Tomas Krizek [Fri, 4 Mar 2022 13:11:16 +0000 (14:11 +0100)]
distro/tests: use rocky8 instead of centos8
Vladimír Čunát [Tue, 1 Mar 2022 17:46:47 +0000 (18:46 +0100)]
Merge !1266: Coverity Scan false positives clarifications
Oto Šťáva [Mon, 28 Feb 2022 15:00:25 +0000 (16:00 +0100)]
Coverity Scan false positives clarifications
Tomas Krizek [Tue, 1 Mar 2022 08:49:15 +0000 (09:49 +0100)]
Merge branch 'cache-nit-ttl' into 'master'
cache nit: reduce cache.max_ttl limit a bit
See merge request knot/knot-resolver!1265
Vladimír Čunát [Mon, 28 Feb 2022 08:33:25 +0000 (09:33 +0100)]
cache nit: reduce cache.max_ttl limit a bit
The new limit is over 68 years, so still completely meaningless.
Vladimír Čunát [Mon, 28 Feb 2022 13:34:56 +0000 (14:34 +0100)]
Merge !1264: Fix defects detected by Coverity Scan
Oto Šťáva [Fri, 25 Feb 2022 06:46:13 +0000 (07:46 +0100)]
Fix defects detected by Coverity Scan
Targeted CIDs: 155456, 155962, 346121, 346123, 346124, 346125,
346126, 346127, 346130, 346131, 346132, 346134, 346135, 346138,
346140, 346145, 346146, 346149, 346152, 346154, 346156, 346157
lib/dnssec/nsec3.c change:
apparently cleaning fallout from my (= vcunat's) commit
b5cf61325ae
Vladimír Čunát [Mon, 28 Feb 2022 11:08:14 +0000 (12:08 +0100)]
Merge !1256: modules/dnstap: improve UX for common errors
Vladimír Čunát [Tue, 8 Feb 2022 11:59:31 +0000 (12:59 +0100)]
modules/dnstap: improve UX for common errors
The main thing is the "failed to open socket" message.
But let's also elevate other fatal one-off logs to ERROR level.
Vladimír Čunát [Tue, 8 Feb 2022 11:46:55 +0000 (12:46 +0100)]
modules/dnstap: don't do anything on loading the module
Usually in configuration the module is loaded in a separate command
from passing configuration to it. For dnstap this loading would
immediately lead to opening the default socket path, even if the
configuration actually specifies (a different) path later.
Users can still force using the default by passing an empty table:
`dnstap.config({})` or `modules = { dnstap = {}}`
(though I doubt the utility of the default /tmp/dnstap.sock anyway)
Vladimír Čunát [Mon, 28 Feb 2022 10:58:54 +0000 (11:58 +0100)]
Merge !1257: lib/resolve, modules: NO_ANSWER for not responding to clients
Implements #432
Oto Šťáva [Tue, 8 Feb 2022 12:46:15 +0000 (13:46 +0100)]
lib/resolve, modules: NO_ANSWER for not responding to clients
Vladimír Čunát [Mon, 28 Feb 2022 10:43:25 +0000 (11:43 +0100)]
Merge !1238: Support for PROXYv2 protocol
Oto Šťáva [Tue, 8 Feb 2022 09:08:05 +0000 (10:08 +0100)]
daemon, lib: document API changes made due to PROXYv2
Oto Šťáva [Mon, 7 Feb 2022 13:56:33 +0000 (14:56 +0100)]
daemon: add PROXYv2 SSL TLV handling + minor refactoring
Oto Šťáva [Mon, 7 Feb 2022 09:08:21 +0000 (10:08 +0100)]
daemon: correct PROXYv2 handling for TCP sessions
Oto Šťáva [Fri, 4 Feb 2022 08:16:23 +0000 (09:16 +0100)]
daemon/bindings doc: PROXYv2 clarifications
Oto Šťáva [Thu, 3 Feb 2022 13:06:01 +0000 (14:06 +0100)]
daemon: use flags from proxy header + refactor comm data
Oto Šťáva [Fri, 28 Jan 2022 08:01:50 +0000 (09:01 +0100)]
daemon: allow setting zero netmasks for net.proxy_allowed()
Tomas Krizek [Wed, 26 Jan 2022 17:02:22 +0000 (18:02 +0100)]
tests/config: net.proxy_allowed() support
Oto Šťáva [Tue, 4 Jan 2022 12:45:29 +0000 (13:45 +0100)]
daemon/proxyv2.test: deckard test for PROXYv2
Oto Šťáva [Thu, 16 Dec 2021 13:24:05 +0000 (14:24 +0100)]
daemon/bindings: add net.proxy_allowed() + docs
Oto Šťáva [Mon, 13 Dec 2021 14:34:36 +0000 (15:34 +0100)]
daemon: PROXYv2 header processing
Vladimír Čunát [Tue, 22 Feb 2022 10:47:25 +0000 (11:47 +0100)]
Merge !1259: .gitlab-ci: Coverity scan
Implements #450
Oto Šťáva [Thu, 10 Feb 2022 10:16:24 +0000 (11:16 +0100)]
.gitlab-ci: Coverity scan
Tomas Krizek [Fri, 18 Feb 2022 10:53:55 +0000 (11:53 +0100)]
Merge branch 'fix-tls-client-resumption' into 'master'
daemon/tls: fix TLS client resumption
Closes #542
See merge request knot/knot-resolver!1261
Oto Šťáva [Fri, 18 Feb 2022 10:15:38 +0000 (11:15 +0100)]
daemon/tls: fix TLS client resumption
Vladimír Čunát [Mon, 7 Feb 2022 18:06:06 +0000 (19:06 +0100)]
Merge !1254: lib/resolve: EDNS padding for outgoing TLS queries
Fixes #303
Oto Šťáva [Wed, 2 Feb 2022 14:43:11 +0000 (15:43 +0100)]
lib/resolve: EDNS padding for outgoing TLS queries
Vladimír Čunát [Fri, 4 Feb 2022 14:38:21 +0000 (15:38 +0100)]
Merge !1251: lib/dnssec: conditionally ignore SHA1 DS, as SHOULD by RFC4509
Vladimír Čunát [Thu, 20 Jan 2022 18:43:40 +0000 (19:43 +0100)]
lib/dnssec: conditionally ignore SHA1 DS, as SHOULD by RFC4509
We're a bit late with this ad-hoc rule; I think it was most useful
when SHA256 support in DS algorithms wasn't wide-spread yet.
(Note that DNSKEY algos have standardized no similar rule.)
Usage of SHA1 as DS algorithm is highly discouraged, but even at this
point it does *not* seem unsafe, in the sense of anyone publishing an
attack that would come anywhere close to breaking *this* usage of SHA1.
Vladimír Čunát [Mon, 31 Jan 2022 13:23:08 +0000 (14:23 +0100)]
Merge !1226: daemon/worker: add task timeouts for upstream TCP connections
Oto Šťáva [Mon, 15 Nov 2021 13:03:01 +0000 (14:03 +0100)]
daemon/worker: add task timeouts for upstream TCP connections
Vladimír Čunát [Mon, 31 Jan 2022 10:52:21 +0000 (11:52 +0100)]
Merge !1253: daemon/bindings/net: add interface name to link-local IPv6 addresses
Fixes #80
Oto Šťáva [Thu, 27 Jan 2022 14:19:02 +0000 (15:19 +0100)]
daemon/bindings/net: add interface name to link-local IPv6 addresses
Tomas Krizek [Thu, 13 Jan 2022 11:51:09 +0000 (12:51 +0100)]
Merge branch 'update-tests' into 'master'
ci: various test updates
See merge request knot/knot-resolver!1243
Tomas Krizek [Mon, 10 Jan 2022 14:38:15 +0000 (15:38 +0100)]
tests/README: merge with docs
Tomas Krizek [Tue, 21 Dec 2021 15:38:45 +0000 (16:38 +0100)]
pytests: migrate to LXC runner
Due to missing support on some of the regular runners, let's migrate
these tests to our special LXC runners. This should hopefully make the
results more reliable and stable.
The downside is that we have to keep an additional image (and recipe)
for LXC, since it' slightly different. However, it's probably worth it,
since we'll likely migrate some other tests there in the future (for
better stability).
Tomas Krizek [Wed, 22 Dec 2021 12:24:18 +0000 (13:24 +0100)]
ci: omit extra dependencies for arm
Tomas Krizek [Tue, 21 Dec 2021 16:22:27 +0000 (17:22 +0100)]
gitignore: pytests junit xml files
Tomas Krizek [Tue, 21 Dec 2021 16:20:46 +0000 (17:20 +0100)]
ci/images: automate build&push of images
Tomas Krizek [Tue, 21 Dec 2021 15:36:26 +0000 (16:36 +0100)]
meson: update dependencies for deckard
Tomas Krizek [Tue, 21 Dec 2021 15:36:09 +0000 (16:36 +0100)]
tests: bring README up to date
Tomas Krizek [Mon, 15 Nov 2021 15:34:18 +0000 (16:34 +0100)]
meson: minor cleanup
Tomas Krizek [Tue, 11 Jan 2022 11:18:22 +0000 (12:18 +0100)]
Merge branch 'docs-forwarding-filters' into 'master'
policy docs: warn about filters and forwarding
See merge request knot/knot-resolver!1241