]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
6 years agotrust_anchors: always load keyfile_default
Tomas Krizek [Tue, 19 Mar 2019 11:20:55 +0000 (12:20 +0100)] 
trust_anchors: always load keyfile_default

6 years agotrust_anchors: make sure to stop tracking managed key when overriding it
Tomas Krizek [Mon, 18 Mar 2019 17:31:12 +0000 (18:31 +0100)] 
trust_anchors: make sure to stop tracking managed key when overriding it

6 years agodaemon: remove -k/-K options
Tomas Krizek [Mon, 18 Mar 2019 17:24:11 +0000 (18:24 +0100)] 
daemon: remove -k/-K options

Since DNSSEC is now enabled by default and always loads the
keyfile_default specified during compilation, these options are
obsolete.

Use trust_anchors.add_file() in config file if you require this
functionality.

6 years agoscripts/launch-test-instance: remove obsolete script
Tomas Krizek [Mon, 18 Mar 2019 16:25:18 +0000 (17:25 +0100)] 
scripts/launch-test-instance: remove obsolete script

6 years agota_update: polish test
Tomas Krizek [Mon, 18 Mar 2019 12:17:13 +0000 (13:17 +0100)] 
ta_update: polish test

6 years agotrust_anchors: rename distrust to remove
Tomas Krizek [Mon, 18 Mar 2019 11:57:49 +0000 (12:57 +0100)] 
trust_anchors: rename distrust to remove

6 years agotrust_anchors: document distrust and polish related docs
Petr Špaček [Fri, 15 Mar 2019 16:23:57 +0000 (17:23 +0100)] 
trust_anchors: document distrust and polish related docs

6 years agota_update: remove parameter refresh_plan(is_initial)
Petr Špaček [Fri, 15 Mar 2019 15:58:06 +0000 (16:58 +0100)] 
ta_update: remove parameter refresh_plan(is_initial)

It was unused since cleanup in trust_anchors and just cluttering the code.

6 years agotrust_anchors: use cleaner interface between ta_update and trust_anchors module
Tomas Krizek [Tue, 19 Mar 2019 13:10:27 +0000 (14:10 +0100)] 
trust_anchors: use cleaner interface between ta_update and trust_anchors module

+ tests

Exracting RFC 5011 to separate module was a good opportunity for
cleanup.

6 years agotrust_anchors: add distrust function to remove TA
Petr Špaček [Fri, 15 Mar 2019 15:32:29 +0000 (16:32 +0100)] 
trust_anchors: add distrust function to remove TA

6 years agotrust_anchors: do not bootstrap if root TA exists
Petr Špaček [Thu, 14 Mar 2019 16:57:49 +0000 (17:57 +0100)] 
trust_anchors: do not bootstrap if root TA exists

Previously a typo in keyfile path triggered re-bootstrap even if root TA
was already installed.

6 years agotrust_anchors: get rid of double negation in add_file()
Petr Špaček [Thu, 14 Mar 2019 16:54:33 +0000 (17:54 +0100)] 
trust_anchors: get rid of double negation in add_file()

This simple change makes it easier to follow what the code does.

6 years agoci: luacheckrc - organize, add ta_update
Tomas Krizek [Wed, 13 Mar 2019 13:31:31 +0000 (14:31 +0100)] 
ci: luacheckrc - organize, add ta_update

6 years agonitpick: modules/ta_update - unify log message format
Tomas Krizek [Wed, 13 Mar 2019 12:41:45 +0000 (13:41 +0100)] 
nitpick: modules/ta_update - unify log message format

6 years agomodules/ta_update: remove all asserts
Tomas Krizek [Wed, 13 Mar 2019 12:40:25 +0000 (13:40 +0100)] 
modules/ta_update: remove all asserts

6 years agotests/integration: update kresd config for deckard
Tomas Krizek [Wed, 13 Mar 2019 11:51:14 +0000 (12:51 +0100)] 
tests/integration: update kresd config for deckard

6 years agolua/trust_anchors: use tabs everywhere
Tomas Krizek [Wed, 13 Mar 2019 11:23:22 +0000 (12:23 +0100)] 
lua/trust_anchors: use tabs everywhere

6 years agodaemon/lua/trust_anchors: write keyset after bootstrap
Tomas Krizek [Wed, 13 Mar 2019 11:22:28 +0000 (12:22 +0100)] 
daemon/lua/trust_anchors: write keyset after bootstrap

6 years agomodules/ta_update: move RFC5011 to a separate module
Tomas Krizek [Tue, 12 Mar 2019 17:47:35 +0000 (18:47 +0100)] 
modules/ta_update: move RFC5011 to a separate module

6 years agodaemon/lua/trust_anchors: bootstrap TA immediately after startup
Tomas Krizek [Tue, 12 Mar 2019 14:47:46 +0000 (15:47 +0100)] 
daemon/lua/trust_anchors: bootstrap TA immediately after startup

6 years agodaemon/lua/trust_anchors: don't crash when dealing with unknown algorhitm
Tomas Krizek [Tue, 12 Mar 2019 14:31:42 +0000 (15:31 +0100)] 
daemon/lua/trust_anchors: don't crash when dealing with unknown algorhitm

6 years agodaemon/lua/trust_anchors.test.integr: test key rollover to unsupported algorhitm
Tomas Krizek [Mon, 11 Mar 2019 16:20:31 +0000 (17:20 +0100)] 
daemon/lua/trust_anchors.test.integr: test key rollover to unsupported algorhitm

6 years agoMerge branch 'pytests-silent' into 'master'
Petr Špaček [Fri, 22 Mar 2019 08:34:47 +0000 (08:34 +0000)] 
Merge branch 'pytests-silent' into 'master'

pytests: omit verbose log for query flood test

See merge request knot/knot-resolver!793

6 years agopytests: omit verbose log for query flood test
Tomas Krizek [Thu, 21 Mar 2019 14:57:25 +0000 (15:57 +0100)] 
pytests: omit verbose log for query flood test

6 years agoMerge branch 'listen-on-tls' into 'master'
Tomas Krizek [Wed, 20 Mar 2019 12:47:33 +0000 (12:47 +0000)] 
Merge branch 'listen-on-tls' into 'master'

daemon: listen on TLS port 853 by default

See merge request knot/knot-resolver!792

6 years agodaemon: listen on TLS port 853 by default
Tomas Krizek [Wed, 20 Mar 2019 11:57:16 +0000 (12:57 +0100)] 
daemon: listen on TLS port 853 by default

6 years agoMerge branch 'ci-updates' into 'master'
Tomas Krizek [Wed, 20 Mar 2019 09:41:27 +0000 (09:41 +0000)] 
Merge branch 'ci-updates' into 'master'

ci: minor updates

See merge request knot/knot-resolver!791

6 years agoci: archive logs properly testlogs
Tomas Krizek [Tue, 19 Mar 2019 16:20:23 +0000 (17:20 +0100)] 
ci: archive logs properly testlogs

6 years agoci: fix obs-devel nightly build
Tomas Krizek [Wed, 20 Mar 2019 09:14:34 +0000 (10:14 +0100)] 
ci: fix obs-devel nightly build

6 years agoMerge branch 'meson-fix-includes' into 'master'
Tomas Krizek [Tue, 19 Mar 2019 16:21:22 +0000 (16:21 +0000)] 
Merge branch 'meson-fix-includes' into 'master'

meson: use correct luajit includes from pkgconfig

See merge request knot/knot-resolver!789

6 years agoci/travis: update script to reflect API changes
Tomas Krizek [Wed, 13 Mar 2019 17:00:37 +0000 (18:00 +0100)] 
ci/travis: update script to reflect API changes

6 years agomeson: use correct luajit includes from pkgconfig
Tomas Krizek [Wed, 13 Mar 2019 16:47:07 +0000 (17:47 +0100)] 
meson: use correct luajit includes from pkgconfig

6 years agoMerge branch 'nsrep-bugfix' into 'master'
Petr Špaček [Tue, 12 Mar 2019 13:04:42 +0000 (13:04 +0000)] 
Merge branch 'nsrep-bugfix' into 'master'

nsrep: allow inclusion of good nameservers if there's space in selection

See merge request knot/knot-resolver!787

6 years agonsrep: allow inclusion of good nameservers if there's space in selection
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.

6 years agoMerge branch 'netlist' into 'master'
Petr Špaček [Tue, 12 Mar 2019 13:03:36 +0000 (13:03 +0000)] 
Merge branch 'netlist' into 'master'

change net.list() output format

Closes #448

See merge request knot/knot-resolver!786

6 years agodaemon/network endpoint_array_t: decrease indirection
Vladimír Čunát [Tue, 12 Mar 2019 10:17:27 +0000 (11:17 +0100)] 
daemon/network endpoint_array_t: decrease indirection

The extra pointer layer was useless.  Note: we couldn't put an UV handle
directly inside an array because their addresses can't be moved IIRC,
but we had it behind a pointer already.

6 years agodaemon/network: enum endpoint_flag -> endpoint_flags_t
Vladimír Čunát [Tue, 12 Mar 2019 09:28:53 +0000 (10:28 +0100)] 
daemon/network: enum endpoint_flag -> endpoint_flags_t

The dual UDP+TCP is completely eliminated except for the externally
exposed "APIs" - lua net.listen() and command-line parameters.

6 years agodaemon/network: adapt _listen and _close to repeats
Vladimír Čunát [Mon, 11 Mar 2019 17:33:19 +0000 (18:33 +0100)] 
daemon/network: adapt _listen and _close to repeats

We could get multiple addr#port tuples even before the UDP+TCP split,
but now it would becom quite common, so the API needs to count on that.

6 years agodaemon/network: stop using combined UDP+TCP endpoints
Vladimír Čunát [Mon, 11 Mar 2019 14:31:35 +0000 (15:31 +0100)] 
daemon/network: stop using combined UDP+TCP endpoints

It was confusing, e.g. the new net.list() or net.bpf_set() were wrong.
Implementation cleanup: merge _fd variant into open_endpoint(),
as the code was repetitive and differed in unnecessary places.

6 years agodaemon/io nitpick: more const in parameters
Vladimír Čunát [Mon, 11 Mar 2019 13:49:47 +0000 (14:49 +0100)] 
daemon/io nitpick: more const in parameters

6 years agotests: adapt to change of net.list() output
Vladimír Čunát [Mon, 11 Mar 2019 15:14:48 +0000 (16:14 +0100)] 
tests: adapt to change of net.list() output

6 years agodaemon/bindings/net: change output format of net.list()
Tomas Krizek [Fri, 8 Mar 2019 15:44:24 +0000 (16:44 +0100)] 
daemon/bindings/net: change output format of net.list()

6 years agoMerge !769: resolve: always send DO bit when iterating
Vladimír Čunát [Tue, 12 Mar 2019 11:41:06 +0000 (11:41 +0000)] 
Merge !769: resolve: always send DO bit when iterating

Closes #153.

6 years agoresolve nitpick: simplify deep nesting in query_finalize()
Vladimír Čunát [Tue, 5 Mar 2019 16:15:07 +0000 (17:15 +0100)] 
resolve nitpick: simplify deep nesting in query_finalize()

6 years agoresolve: always send DO bit when iterating or forwarding
Vladimír Čunát [Tue, 30 Jan 2018 08:23:35 +0000 (09:23 +0100)] 
resolve: always send DO bit when iterating or forwarding

6 years agoMerge branch 'dkg/update-dygraph' into 'master'
Petr Špaček [Tue, 12 Mar 2019 11:30:14 +0000 (11:30 +0000)] 
Merge branch 'dkg/update-dygraph' into 'master'

modules/http: bring dygraph in sync with upstream dygraph 2.1.0

See merge request knot/knot-resolver!783

6 years agomodules/http: use upstream dygraph 2.1.0
Daniel Kahn Gillmor [Thu, 7 Mar 2019 20:42:12 +0000 (15:42 -0500)] 
modules/http: use upstream dygraph 2.1.0

For some reason, knot-resolver was shipping a copy of dygraph 2.1.0
that identified itself as 2.0.0.  This patch changes a single octet
(the minor version number) by fetching a clean copy from
http://dygraphs.com/2.1.0/dygraph.min.js.

6 years agomodules/http: rename dygraph-combined.js to dygraph.min.js to match upstream
Daniel Kahn Gillmor [Thu, 7 Mar 2019 20:40:39 +0000 (15:40 -0500)] 
modules/http: rename dygraph-combined.js to dygraph.min.js to match upstream

Since dygraph version 2.0.0, upstream dygraph has been calling their
shipped files dygraph.min.js (see http://dygraphs.com/download.html).

Use the standard upstream name.

6 years agoMerge branch 'meson' into 'master'
Tomas Krizek [Tue, 12 Mar 2019 11:12:22 +0000 (11:12 +0000)] 
Merge branch 'meson' into 'master'

meson build system

Closes #452, #451, #338, #290, #279, #212, and #350

See merge request knot/knot-resolver!771

6 years agogitlabci: use correct container version in resperf
Tomas Krizek [Tue, 12 Mar 2019 10:23:34 +0000 (11:23 +0100)] 
gitlabci: use correct container version in resperf

6 years agodocs: polish section Compiling from sources
Petr Špaček [Tue, 12 Mar 2019 08:03:29 +0000 (09:03 +0100)] 
docs: polish section Compiling from sources

6 years agodocs: polish upgrade docs
Petr Špaček [Mon, 11 Mar 2019 12:42:11 +0000 (13:42 +0100)] 
docs: polish upgrade docs

6 years agodocs: remove mentions of Go
Petr Špaček [Fri, 8 Mar 2019 19:31:15 +0000 (20:31 +0100)] 
docs: remove mentions of Go

6 years agodocs: split user/expert/devel docs in TOC
Petr Špaček [Fri, 8 Mar 2019 19:25:15 +0000 (20:25 +0100)] 
docs: split user/expert/devel docs in TOC

6 years agodocs: rename migration to upgrading
Petr Špaček [Fri, 8 Mar 2019 18:56:51 +0000 (19:56 +0100)] 
docs: rename migration to upgrading

We might eventually have section "migrating from other resolvers".

6 years agodocs: polish build documentation
Petr Špaček [Fri, 8 Mar 2019 18:36:51 +0000 (19:36 +0100)] 
docs: polish build documentation

6 years agogitlabci: add retry to pkg build jobs
Tomas Krizek [Thu, 7 Mar 2019 15:55:18 +0000 (16:55 +0100)] 
gitlabci: add retry to pkg build jobs

6 years agogitlabci: remove unnecessary job priviledges for build-asan
Tomas Krizek [Wed, 6 Mar 2019 16:25:38 +0000 (17:25 +0100)] 
gitlabci: remove unnecessary job priviledges for build-asan

6 years agomigrate to Knot DNS 2.8
Tomas Krizek [Wed, 27 Feb 2019 12:07:35 +0000 (13:07 +0100)] 
migrate to Knot DNS 2.8

6 years agodistro/deb: update libkres9.symbols
Tomas Krizek [Mon, 18 Feb 2019 17:34:04 +0000 (18:34 +0100)] 
distro/deb: update libkres9.symbols

6 years agogitlabci: remove unrelated artifacts from lint:tidy
Tomas Krizek [Wed, 6 Mar 2019 15:18:45 +0000 (16:18 +0100)] 
gitlabci: remove unrelated artifacts from lint:tidy

6 years agomeson: run luacheck on all lua files
Tomas Krizek [Wed, 6 Mar 2019 14:35:07 +0000 (15:35 +0100)] 
meson: run luacheck on all lua files

6 years agodaemon/lua/trust_anchors: keyfile_default always has default value
Tomas Krizek [Wed, 6 Mar 2019 14:25:07 +0000 (15:25 +0100)] 
daemon/lua/trust_anchors: keyfile_default always has default value

6 years agomeson: run missing config tests
Tomas Krizek [Wed, 6 Mar 2019 14:07:52 +0000 (15:07 +0100)] 
meson: run missing config tests

6 years agotests/integration: turn off python3 deprecation warnings (jinja2)
Tomas Krizek [Wed, 6 Mar 2019 13:42:08 +0000 (14:42 +0100)] 
tests/integration: turn off python3 deprecation warnings (jinja2)

6 years agomeson: modules/dnstap - build as a separate component
Tomas Krizek [Tue, 5 Mar 2019 17:05:50 +0000 (18:05 +0100)] 
meson: modules/dnstap - build as a separate component

6 years agodistro/arch: add lua51-http optional dependency for http module
Tomas Krizek [Wed, 6 Mar 2019 11:26:59 +0000 (12:26 +0100)] 
distro/arch: add lua51-http optional dependency for http module

6 years agodistro: remove etcd module due to missing dependency
Tomas Krizek [Wed, 6 Mar 2019 11:25:40 +0000 (12:25 +0100)] 
distro: remove etcd module due to missing dependency

6 years agodistro: add missing lua-filesystem dependency for prefill module
Tomas Krizek [Wed, 6 Mar 2019 11:15:23 +0000 (12:15 +0100)] 
distro: add missing lua-filesystem dependency for prefill module

6 years agomodules/prefill - document lfs dependency
Tomas Krizek [Tue, 5 Mar 2019 16:44:48 +0000 (17:44 +0100)] 
modules/prefill - document lfs dependency

6 years agomeson: modules/experimental_dot_auth - fix basexx installation
Tomas Krizek [Tue, 5 Mar 2019 16:43:50 +0000 (17:43 +0100)] 
meson: modules/experimental_dot_auth - fix basexx installation

6 years agomeson: doc/build - fix typos
Vladimír Čunát [Mon, 4 Mar 2019 18:53:10 +0000 (19:53 +0100)] 
meson: doc/build - fix typos

6 years agoclient nitpick: it doesn't use libkres at all
Vladimír Čunát [Mon, 4 Mar 2019 18:49:37 +0000 (19:49 +0100)] 
client nitpick: it doesn't use libkres at all

And from contrib it only uses afmt.
The result has the same size, in static release mode at least,
as the linker is apparently clever.

6 years agolib/module.c: remove unused pthread.h
Tomas Krizek [Mon, 4 Mar 2019 19:09:57 +0000 (20:09 +0100)] 
lib/module.c: remove unused pthread.h

6 years agolib/defines: guard against a bad combination of CFLAGS
Vladimír Čunát [Mon, 4 Mar 2019 16:31:09 +0000 (17:31 +0100)] 
lib/defines: guard against a bad combination of CFLAGS

6 years agomeson: tests/config - skip tests with known ASAN issues
Tomas Krizek [Mon, 4 Mar 2019 16:36:11 +0000 (17:36 +0100)] 
meson: tests/config - skip tests with known ASAN issues

6 years agodistro/deb: fix examples location in docdir
Tomas Krizek [Mon, 4 Mar 2019 15:41:03 +0000 (16:41 +0100)] 
distro/deb: fix examples location in docdir

6 years agomeson: etc/config - nitpick in comments
Tomas Krizek [Mon, 4 Mar 2019 14:47:47 +0000 (15:47 +0100)] 
meson: etc/config - nitpick in comments

6 years agomeson: doc/kresd.8 - correctly document keyfile_default
Tomas Krizek [Mon, 4 Mar 2019 14:47:25 +0000 (15:47 +0100)] 
meson: doc/kresd.8 - correctly document keyfile_default

6 years agomeson: rename option sytemd_unit_files to systemd_files
Tomas Krizek [Mon, 4 Mar 2019 14:17:48 +0000 (15:17 +0100)] 
meson: rename option sytemd_unit_files to systemd_files

6 years agomeson: doc/kresd.8 - manpage nitpicks
Tomas Krizek [Mon, 4 Mar 2019 13:42:44 +0000 (14:42 +0100)] 
meson: doc/kresd.8 - manpage nitpicks

6 years agogitlabci: disable leak detector in config tests
Vladimír Čunát [Mon, 4 Mar 2019 15:38:55 +0000 (16:38 +0100)] 
gitlabci: disable leak detector in config tests

I must admit I don't understand this.
Maybe it's some interaction with tests running via cqueues coroutines.

6 years agogitlabci: allow ASAN config tests to fail
Tomas Krizek [Mon, 4 Mar 2019 13:21:37 +0000 (14:21 +0100)] 
gitlabci: allow ASAN config tests to fail

6 years agogitlabci: use only address sanitizer
Tomas Krizek [Mon, 4 Mar 2019 12:59:48 +0000 (13:59 +0100)] 
gitlabci: use only address sanitizer

6 years agotests/config/basic.lua: don't test broken resize function
Tomas Krizek [Mon, 4 Mar 2019 12:33:46 +0000 (13:33 +0100)] 
tests/config/basic.lua: don't test broken resize function

6 years agoscripts nitpick: make them executable
Vladimír Čunát [Fri, 1 Mar 2019 17:16:24 +0000 (18:16 +0100)] 
scripts nitpick: make them executable

6 years agomeson: tests/config - detect cqueues lua dependency
Tomas Krizek [Mon, 4 Mar 2019 12:02:35 +0000 (13:02 +0100)] 
meson: tests/config - detect cqueues lua dependency

6 years agomeson: tests/config - fix handling of environment to run correct test
Tomas Krizek [Mon, 4 Mar 2019 10:42:04 +0000 (11:42 +0100)] 
meson: tests/config - fix handling of environment to run correct test

Closes #452

6 years agodistro/rpm: remove unused rundir from centos package
Tomas Krizek [Fri, 1 Mar 2019 13:53:01 +0000 (14:53 +0100)] 
distro/rpm: remove unused rundir from centos package

6 years agomeson: tests/pytests/proxy - remove obsolete Makefile
Tomas Krizek [Fri, 1 Mar 2019 12:46:26 +0000 (13:46 +0100)] 
meson: tests/pytests/proxy - remove obsolete Makefile

6 years agomeson: split postinstall_tests into extra_tests and config_tests
Tomas Krizek [Fri, 1 Mar 2019 12:45:50 +0000 (13:45 +0100)] 
meson: split postinstall_tests into extra_tests and config_tests

6 years agomeson: doc/migration - document significant changes
Tomas Krizek [Thu, 28 Feb 2019 15:38:04 +0000 (16:38 +0100)] 
meson: doc/migration - document significant changes

6 years agogitlabci: run symbols and root.hints check jobs pre-release
Tomas Krizek [Thu, 28 Feb 2019 15:46:50 +0000 (16:46 +0100)] 
gitlabci: run symbols and root.hints check jobs pre-release

6 years agopytests/utils: fix lint issue
Tomas Krizek [Wed, 27 Feb 2019 12:21:31 +0000 (13:21 +0100)] 
pytests/utils: fix lint issue

6 years agogitlabci: use ASAN build for tests
Tomas Krizek [Wed, 27 Feb 2019 11:28:18 +0000 (12:28 +0100)] 
gitlabci: use ASAN build for tests

6 years agodoc/build: mention OS X shared library issue
Tomas Krizek [Wed, 27 Feb 2019 11:17:13 +0000 (12:17 +0100)] 
doc/build: mention OS X shared library issue

6 years agodaemon/README: update DNSSEC documentation
Tomas Krizek [Tue, 26 Feb 2019 17:49:59 +0000 (18:49 +0100)] 
daemon/README: update DNSSEC documentation

6 years agodoc/build: update documentation
Tomas Krizek [Tue, 26 Feb 2019 17:31:20 +0000 (18:31 +0100)] 
doc/build: update documentation

6 years agogitlabci: move build:darwin back to test stage
Tomas Krizek [Tue, 26 Feb 2019 16:48:09 +0000 (17:48 +0100)] 
gitlabci: move build:darwin back to test stage

6 years agoci/travis.py: fix script to handle all states properly
Tomas Krizek [Tue, 26 Feb 2019 16:37:16 +0000 (17:37 +0100)] 
ci/travis.py: fix script to handle all states properly