]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Marek Vavruša [Tue, 5 Mar 2019 18:35:21 +0000 (10:35 -0800)]
nsrep: allow inclusion of good nameservers if there's space in selection
The current algorithm doesn't work if there's 3 unknown nameservers in the
address selection set, and the 4th is known working with higher score
than unknown.
Marek Vavruša [Thu, 14 Feb 2019 19:16:28 +0000 (11:16 -0800)]
layer/iterate: remove workaround that should be covered by PERMISSIVE mode
This breaks resolution when NS is both authoritative for child and parent,
parent is signed, but child isn't (e.g. prohash.app). The NS responds from
child side with an NS but doesn't append a DS, resolver finds there's no DS,
makes a subrequest for it, and yields. When subrequest is resolved it makes
the same NS query to child, and because the zone cut doesn't change, resolver
treats it as an authoritative response because of this workaround (matching NS in authority).
Marek Vavruša [Tue, 12 Feb 2019 18:36:19 +0000 (10:36 -0800)]
lib: allow building with only core library (no cache and no lmdb)
Marek Vavruša [Fri, 21 Dec 2018 04:05:40 +0000 (20:05 -0800)]
lib: remove daemon dependencies from library to allow for embedding
Tomas Krizek [Thu, 10 Jan 2019 11:40:47 +0000 (11:40 +0000)]
Merge branch 'release_321' into 'master'
Release 3.2.1
See merge request knot/knot-resolver!750
Tomas Krizek [Thu, 10 Jan 2019 09:24:39 +0000 (10:24 +0100)]
release 3.2.1
Tomas Krizek [Thu, 10 Jan 2019 10:53:19 +0000 (11:53 +0100)]
lua-aho-corasick: bump to latest version
Petr Špaček [Wed, 9 Jan 2019 16:26:18 +0000 (17:26 +0100)]
tests: import new Deckard with new tests
Besides other things Deckard now detects hang servers using timeout. It
might happen that CI will need a longer timeout - we can change the
value at will.
Petr Špaček [Wed, 9 Jan 2019 15:36:05 +0000 (16:36 +0100)]
NEWS for 3.2.1 release
Petr Špaček [Thu, 10 Jan 2019 10:30:45 +0000 (10:30 +0000)]
Merge branch 'lmdb-nowarn' into 'master'
contrib/lmdb: avoid -Wshadow with embedded lmdb
See merge request knot/knot-resolver!751
Vladimír Čunát [Thu, 10 Jan 2019 09:19:56 +0000 (10:19 +0100)]
contrib/lmdb: avoid -Wshadow with embedded lmdb
Unfortunately, CFLAGS are concatenated in the other order than we would
need for this, so let's choose this approach.
Tomas Krizek [Thu, 10 Jan 2019 09:20:59 +0000 (09:20 +0000)]
Merge branch 'packaging-update' into 'master'
packaging tests update
See merge request knot/knot-resolver!747
Tomas Krizek [Mon, 7 Jan 2019 16:30:16 +0000 (17:30 +0100)]
distro/tests: select corect Python interpreter for ansible
Tomas Krizek [Mon, 7 Jan 2019 16:25:23 +0000 (17:25 +0100)]
scripts/build-in-obs.sh: nitpick
Tomas Krizek [Mon, 7 Jan 2019 16:24:13 +0000 (17:24 +0100)]
distro/tests: switch fedora to generic boxes (more recent packages)
Tomas Krizek [Mon, 7 Jan 2019 16:23:07 +0000 (17:23 +0100)]
distro/tests: turn off shell warning when using pkg manager commands
Tomas Krizek [Mon, 7 Jan 2019 16:22:08 +0000 (17:22 +0100)]
distro/tests: don't wait for confirmation during vagrant destroy
Vladimír Čunát [Wed, 9 Jan 2019 17:34:01 +0000 (17:34 +0000)]
Merge !737: trust anchors improvements (mainly logs)
Vladimír Čunát [Mon, 7 Jan 2019 10:30:03 +0000 (11:30 +0100)]
trust anchors: improvements around DNSKEY refusal
- also refuse revoked DNSKEY (explicitly configured as TA)
- also downgrade missing the SEP bit to a warning
- explicit message when DNSKEY is refused, even without --verbose
- code rewrite, handle flags in a better way than "== 257"
Petr Špaček [Fri, 21 Dec 2018 12:10:24 +0000 (13:10 +0100)]
trust_anchors: improve error message about mixed owner names
Vladimír Čunát [Wed, 9 Jan 2019 15:36:25 +0000 (16:36 +0100)]
trust_anchors nitpicks: silence luacheck warnings
Petr Špaček [Fri, 21 Dec 2018 11:56:18 +0000 (12:56 +0100)]
trust_anchors: add .summary() and use it for logging
Previous logging was a bit confusing because it logged also intermediate
states during TA changes.
Petr Špaček [Fri, 21 Dec 2018 10:22:12 +0000 (11:22 +0100)]
trust_anchors: add parameter check to set_insecure
Petr Špaček [Fri, 21 Dec 2018 08:46:25 +0000 (09:46 +0100)]
trust_anchors: unify warning about 0 trust anchors
Vladimír Čunát [Wed, 9 Jan 2019 15:20:57 +0000 (15:20 +0000)]
Merge !749: modules/hints: plug a memory leak in .use_nodata()
Vladimír Čunát [Wed, 9 Jan 2019 13:53:14 +0000 (14:53 +0100)]
modules/hints: plug a memory leak in .use_nodata()
It was tiny, but still.
Vladimír Čunát [Wed, 9 Jan 2019 14:44:10 +0000 (14:44 +0000)]
Merge !748: TA bootstrap: support validUntil attribute
Closes #435.
Petr Špaček [Wed, 9 Jan 2019 14:19:30 +0000 (15:19 +0100)]
trust_anchors: move test web server to port 8080
This is an attempt to avoid conflicts when executing tests in parallel.
Petr Špaček [Mon, 7 Jan 2019 18:56:24 +0000 (19:56 +0100)]
trust_anchors: check syntax of public keys in DNSKEY RRs
Formerly keys with invalid public key data were accepted, leading to
negative keytag values in RFC 5011 metadata.
Petr Špaček [Thu, 3 Jan 2019 16:49:08 +0000 (17:49 +0100)]
trust_anchors: XML and certificate tests for bootstrap
At the moment tests are quite dumb and test only basic HTTPS certificate
validation and XML parsing/error detection.
We need to refactor code first to allow more detailed testing.
FIXME: webserv.lua is not terminated when tests are finished
Petr Špaček [Fri, 21 Dec 2018 15:28:27 +0000 (16:28 +0100)]
trust_anchors: respect timestamps in root-anchors.xml
We are not RFC 7958 compliant and support only XML with just root zone
TA. Full compliance would require either proper Lua XML parser or CMS parser
and both are hard to get packaged in Fedora and elsewhere.
Also timestamps related to TA validity are limited to UTC timezone
because cross-platform timezone parsing is hard.
(Mac OS libc does not have usable strptime(%z).)
Closes: #435
Petr Špaček [Wed, 2 Jan 2019 13:56:53 +0000 (14:56 +0100)]
utils: diff between two calendar times in strings
Petr Špaček [Wed, 2 Jan 2019 13:56:07 +0000 (14:56 +0100)]
gen-cdef: compatibility with GDB 8.2+
Petr Špaček [Tue, 8 Jan 2019 16:10:11 +0000 (16:10 +0000)]
Merge branch 'ci-stabilize-pytests' into 'master'
ci: stabilize pytests
Closes #427
See merge request knot/knot-resolver!744
Tomas Krizek [Tue, 8 Jan 2019 15:45:39 +0000 (16:45 +0100)]
pytest/test_tcp_pipelining: longer delay for first query
In our CI, this test ocassionally fails. This is most likely due to
delays in kernel processing due to many virtualization layers coupled
with massive paralelization of tests.
Closes #427
Tomas Krizek [Fri, 4 Jan 2019 15:14:30 +0000 (16:14 +0100)]
pytests/kresd: more resilient initial socket creation
Tomas Krizek [Fri, 4 Jan 2019 15:20:21 +0000 (16:20 +0100)]
pytests/conn_flood: attempt to make test more stable in CI
Tomas Krizek [Fri, 4 Jan 2019 14:43:57 +0000 (15:43 +0100)]
pytests/utils: give kresd more time to TCP FIN
Tomas Krizek [Fri, 4 Jan 2019 14:08:04 +0000 (15:08 +0100)]
pytests/kresd: improve backoff when establishing initial kresd connection
Tomas Krizek [Fri, 4 Jan 2019 13:53:47 +0000 (14:53 +0100)]
pytests/test_long_lived: decrease time.sleep to 7s
Attempt to increase test stability in CI under high load.
Tomas Krizek [Fri, 4 Jan 2019 12:51:45 +0000 (13:51 +0100)]
pytests/kresd: increase delay during initial waiting for port
Tomas Krizek [Fri, 4 Jan 2019 12:50:48 +0000 (13:50 +0100)]
pytests/kresd: change order of tcp/tls alive pings
Tomas Krizek [Fri, 4 Jan 2019 11:49:05 +0000 (12:49 +0100)]
pytests/kresd: change allowed port range
Docker uses 32768 - 61000 as ephemeral ports. Don't use
this range for kresd to avoid collisions.
Tomas Krizek [Thu, 3 Jan 2019 16:51:18 +0000 (17:51 +0100)]
pytests: print verbose log when kresd init fails
Tomas Krizek [Tue, 8 Jan 2019 13:48:07 +0000 (13:48 +0000)]
Merge branch 'ci-respdiff-dnsviz' into 'master'
ci: respdiff - generate additional reports
See merge request knot/knot-resolver!742
Tomas Krizek [Fri, 23 Nov 2018 11:51:53 +0000 (12:51 +0100)]
ci: respdiff - generate additional reports
Tomas Krizek [Tue, 8 Jan 2019 13:23:06 +0000 (13:23 +0000)]
Merge branch 'warn-pedantic-ci' into 'master'
CI: enforce -Wpedantic
See merge request knot/knot-resolver!743
Vladimír Čunát [Fri, 4 Jan 2019 13:06:44 +0000 (14:06 +0100)]
CI: only use -Werror in the lint:pedantic job
Vladimír Čunát [Mon, 10 Dec 2018 18:05:24 +0000 (19:05 +0100)]
CI: enforce -Wpedantic and -Wshadow
-Wpedantic is only enforced in CI, as we only have it fixed with c11
standard, and I didn't want to force c11 dependency for everyone yet.
Vladimír Čunát [Fri, 4 Jan 2019 12:34:21 +0000 (13:34 +0100)]
tiny -Wpedantic fixes
Vladimír Čunát [Fri, 23 Nov 2018 09:59:04 +0000 (10:59 +0100)]
modules/policy/lua-aho-corasick: quick make fix
Vladimír Čunát [Fri, 30 Nov 2018 13:57:30 +0000 (14:57 +0100)]
nitpicks from lgtm.com
The script has been unused for longer time.
Almost all remaining C warnings are just "FIXME" comments :-)
and I didn't touch the JS warnings.
Vladimír Čunát [Fri, 30 Nov 2018 11:15:15 +0000 (12:15 +0100)]
treewide nitpick: fix -Wshadow
None of these seemed to be errors, but it seems better to clear these.
Vladimír Čunát [Tue, 8 Jan 2019 10:05:12 +0000 (10:05 +0000)]
Merge !739: daemon/tls: fix rare case of improperly handled rehandshake
Grigorii Demidov [Mon, 31 Dec 2018 13:30:44 +0000 (14:30 +0100)]
daemon/tls: in some cases rehandshake might be improperly handled, which may lead to assertion;
Vladimír Čunát [Mon, 7 Jan 2019 16:10:41 +0000 (16:10 +0000)]
Merge !740: dockerfile: best practices
Tomas Krizek [Thu, 3 Jan 2019 09:31:48 +0000 (10:31 +0100)]
dockerfile: use ENTRYPOINT for main command
Tomas Krizek [Thu, 3 Jan 2019 09:15:21 +0000 (10:15 +0100)]
dockerfile: use LABEL instead of MAINTAINER
Vladimír Čunát [Mon, 7 Jan 2019 14:35:09 +0000 (14:35 +0000)]
Merge !733: various nitpicks, mainly docs
Vladimír Čunát [Wed, 2 Jan 2019 13:18:12 +0000 (14:18 +0100)]
doc for net.tls_sticket_secret: outdated text
Vladimír Čunát [Wed, 19 Dec 2018 10:17:01 +0000 (11:17 +0100)]
queue_* doc: explicitly note non-emptiness requirement
Vladimír Čunát [Tue, 18 Dec 2018 15:28:15 +0000 (16:28 +0100)]
policy docs: improve the examples
Vladimír Čunát [Mon, 10 Dec 2018 17:50:58 +0000 (18:50 +0100)]
worker interactive mode: add TODO
Vladimír Čunát [Thu, 22 Nov 2018 16:43:15 +0000 (17:43 +0100)]
lib/utils: more docs
It's perhaps unfortunate that the output value of buflen had +1 change
in meaning in commit
19a3cad69 , but the name clearly indicates that we
care about length of the buffer, i.e. space terminating zero *is*
counted on input, so let's be consistent and count it on output as well.
Vladimír Čunát [Tue, 6 Nov 2018 14:34:40 +0000 (15:34 +0100)]
daemon/worker: re-activate assertion
The problem has been fixed, apparently.
Vladimír Čunát [Sat, 5 Jan 2019 16:25:23 +0000 (16:25 +0000)]
Merge !745: docker config: correct the help output
Ali Asad Lotia [Sat, 5 Jan 2019 02:58:07 +0000 (21:58 -0500)]
Correct help function output in docker config.
Previously the help function output in the docker config listed port 80
as the port on which the server would listen for DNS over UDP and TCP.
However that was inconsistent with the first output line where it was
indicated to be port 53. This has now been corrected.
Petr Špaček [Fri, 4 Jan 2019 13:09:32 +0000 (13:09 +0000)]
Merge branch 'centos-issue' into 'master'
daemon/tls: fix broken compatibility with gnutls 3.3
Closes #438
See merge request knot/knot-resolver!741
Grigorii Demidov [Thu, 3 Jan 2019 14:52:25 +0000 (15:52 +0100)]
daemon/tls: fix broken compatibility with gnutls 3.3
Vladimír Čunát [Wed, 2 Jan 2019 12:39:50 +0000 (12:39 +0000)]
Merge !734: daemon/worker: improve timeouted outgoing tcp
Grigorii Demidov [Wed, 19 Dec 2018 13:28:48 +0000 (14:28 +0100)]
daemon/worker: improved handling of timeouted outgouing tcp connections
Petr Špaček [Fri, 21 Dec 2018 12:22:01 +0000 (12:22 +0000)]
Merge branch 'pause-when-hover' into 'master'
Modernize graphs in HTTP module
See merge request knot/knot-resolver!736
Michal Lupečka [Thu, 20 Dec 2018 16:03:30 +0000 (17:03 +0100)]
pause life graph data when hovered by mouse
Michal Lupečka [Thu, 20 Dec 2018 15:03:19 +0000 (16:03 +0100)]
graph legend at right top corner
Michal Lupečka [Thu, 20 Dec 2018 13:23:00 +0000 (14:23 +0100)]
new version of graph library Dygraph; new colors; repaired data type
Petr Špaček [Fri, 21 Dec 2018 10:44:03 +0000 (10:44 +0000)]
Merge branch 'dnssec_log' into 'master'
Improvements for DNSSEC logging
See merge request knot/knot-resolver!735
Petr Špaček [Thu, 20 Dec 2018 16:32:53 +0000 (17:32 +0100)]
dnssec: improve bogus logging to give more info
Petr Špaček [Thu, 20 Dec 2018 11:13:46 +0000 (12:13 +0100)]
validator: clarify message about bogus non-authoritative data
Tomas Krizek [Mon, 17 Dec 2018 13:24:23 +0000 (13:24 +0000)]
Merge branch 'news_320' into 'master'
NEWS: 3.2.0 release
See merge request knot/knot-resolver!730
Tomas Krizek [Mon, 17 Dec 2018 13:09:13 +0000 (14:09 +0100)]
release 3.2.0
Petr Špaček [Mon, 17 Dec 2018 11:58:16 +0000 (12:58 +0100)]
NEWS: 3.2.0
Petr Špaček [Mon, 17 Dec 2018 11:57:15 +0000 (12:57 +0100)]
view: clarify docs
Tomas Krizek [Mon, 17 Dec 2018 11:47:21 +0000 (11:47 +0000)]
Merge branch 'packaging-update' into 'master'
packaging updates
Closes #419
See merge request knot/knot-resolver!712
Tomas Krizek [Mon, 17 Dec 2018 10:59:48 +0000 (11:59 +0100)]
dostr/common: tweak kresd.conf
Don't explicitly load policy module, which is loaded by default anyway.
Tomas Krizek [Thu, 13 Dec 2018 16:22:38 +0000 (17:22 +0100)]
modules/experimental_dot_auth: fix lualint errors in basexx
Tomas Krizek [Thu, 13 Dec 2018 13:17:49 +0000 (14:17 +0100)]
distro/deb: add experimental_dot_auth module
Tomas Krizek [Thu, 13 Dec 2018 13:15:45 +0000 (14:15 +0100)]
modules/experimental_dot_auth: bundle basexx.lua
Fedora, CentOS and Ubuntu 16.04 are missing lua-basexx dependency.
Since it's just a single file, it's easier to bundle it with the module.
Related https://gitlab.labs.nic.cz/knot/knot-resolver/merge_requests/711
Tomas Krizek [Thu, 13 Dec 2018 12:30:26 +0000 (13:30 +0100)]
libkres: bump ABI to 9
Tomas Krizek [Thu, 13 Dec 2018 12:25:27 +0000 (13:25 +0100)]
distro/deb: update libkres symbols
Tomas Krizek [Mon, 10 Dec 2018 17:43:17 +0000 (18:43 +0100)]
distro/common: mention systemd.socket in kresd.systemd man page
Tomas Krizek [Mon, 10 Dec 2018 14:39:51 +0000 (15:39 +0100)]
distro/rpm: remove F27 migration
Tomas Krizek [Fri, 30 Nov 2018 11:46:47 +0000 (12:46 +0100)]
ci/fedora: add correct obs repo to F29 container
Tomas Krizek [Thu, 13 Dec 2018 14:38:22 +0000 (15:38 +0100)]
doc/daemon: trust_anchors.keyfile_default
Tomas Krizek [Thu, 29 Nov 2018 14:13:59 +0000 (15:13 +0100)]
distro/kresd.no_ta.conf - mention how to turn off DNSSEC validation
Tomas Krizek [Tue, 27 Nov 2018 10:52:48 +0000 (11:52 +0100)]
distro/tests: use faster mirrorlist for Arch
Tomas Krizek [Fri, 23 Nov 2018 10:49:16 +0000 (11:49 +0100)]
README: remove unused coverity status icon
Tomas Krizek [Fri, 23 Nov 2018 16:14:48 +0000 (17:14 +0100)]
distro/arch: use dnssec-anchors
Tomas Krizek [Fri, 2 Nov 2018 16:30:56 +0000 (17:30 +0100)]
distro/arch: add armv7h to supported archs
Petr Špaček [Mon, 17 Dec 2018 10:38:50 +0000 (10:38 +0000)]
Merge branch 'config-examples' into 'master'
etc/config.*: tweak the config examples
See merge request knot/knot-resolver!729
Vladimír Čunát [Sun, 16 Dec 2018 10:11:48 +0000 (11:11 +0100)]
etc/config.*: tweak the config examples
The main impulse was to have 'hints > iterate', as people usually expect
hints to take precendence before cache.