]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Tomas Krizek [Thu, 31 Jan 2019 16:01:36 +0000 (17:01 +0100)]
meson: tests/config - run additional tests from tree
Tomas Krizek [Thu, 31 Jan 2019 15:48:58 +0000 (16:48 +0100)]
modules/predict: move test to module dir
Tomas Krizek [Thu, 31 Jan 2019 15:41:39 +0000 (16:41 +0100)]
meson: tests/config - add keyfile tests
Tomas Krizek [Thu, 31 Jan 2019 14:43:37 +0000 (15:43 +0100)]
meson: tests/config - run worker test
Tomas Krizek [Thu, 31 Jan 2019 14:36:24 +0000 (15:36 +0100)]
meson: tests/config - run simple config tests
Tomas Krizek [Thu, 31 Jan 2019 14:33:21 +0000 (15:33 +0100)]
tests/config: remove obsolete variable
Tomas Krizek [Thu, 7 Mar 2019 17:17:53 +0000 (18:17 +0100)]
tests/test_cache.c: remove obsolete test
Tomas Krizek [Thu, 31 Jan 2019 12:44:33 +0000 (13:44 +0100)]
meson: unit tests - move test closer to code
Tomas Krizek [Thu, 31 Jan 2019 11:46:48 +0000 (12:46 +0100)]
meson: tests - unit tests without coverage
Tomas Krizek [Wed, 30 Jan 2019 16:42:21 +0000 (17:42 +0100)]
meson: doc - build doxyxml and html
Tomas Krizek [Wed, 30 Jan 2019 13:43:12 +0000 (14:43 +0100)]
.gitlabci: check for newer root.hints nightly
Tomas Krizek [Wed, 30 Jan 2019 12:51:32 +0000 (13:51 +0100)]
scripts: add utility script to check for newer root.hints
Tomas Krizek [Wed, 30 Jan 2019 12:20:05 +0000 (13:20 +0100)]
meson: etc install configs and files
Tomas Krizek [Wed, 30 Jan 2019 11:14:54 +0000 (12:14 +0100)]
meson: turn on C compiler warnings
Tomas Krizek [Wed, 30 Jan 2019 11:03:18 +0000 (12:03 +0100)]
.gitignore: sort
Tomas Krizek [Wed, 30 Jan 2019 09:50:51 +0000 (10:50 +0100)]
.gitignore: add generated dnstap files
Tomas Krizek [Wed, 30 Jan 2019 09:48:48 +0000 (10:48 +0100)]
meson: modules/http - install static files
Tomas Krizek [Tue, 29 Jan 2019 17:43:13 +0000 (18:43 +0100)]
meson: modules/dnstap - build
Tomas Krizek [Tue, 29 Jan 2019 16:20:23 +0000 (17:20 +0100)]
modules/dnstap: remove generated dnstap.pb-c.* files
Tomas Krizek [Tue, 29 Jan 2019 15:51:17 +0000 (16:51 +0100)]
meson: cleanup
Tomas Krizek [Tue, 29 Jan 2019 15:37:31 +0000 (16:37 +0100)]
meson: modules/stats - build
Tomas Krizek [Tue, 29 Jan 2019 15:36:09 +0000 (16:36 +0100)]
modules/stats/stats.c: add missing lua.h
Tomas Krizek [Tue, 29 Jan 2019 15:35:37 +0000 (16:35 +0100)]
modules/stats/stats.c: remove trailing whitespace
Tomas Krizek [Tue, 29 Jan 2019 15:25:56 +0000 (16:25 +0100)]
meson: modules/nsid - build
Tomas Krizek [Tue, 29 Jan 2019 15:21:57 +0000 (16:21 +0100)]
meson: modules - build as shared_module, not library
Tomas Krizek [Tue, 29 Jan 2019 15:19:11 +0000 (16:19 +0100)]
meson: modules/hints build
Tomas Krizek [Tue, 29 Jan 2019 15:16:45 +0000 (16:16 +0100)]
meson: modules - remove unnecessary link_flags
Tomas Krizek [Tue, 29 Jan 2019 15:14:15 +0000 (16:14 +0100)]
meson: daemon - remove global link_args
Tomas Krizek [Tue, 29 Jan 2019 14:40:50 +0000 (15:40 +0100)]
meson: modules/bogus_log build
Tomas Krizek [Tue, 29 Jan 2019 13:48:11 +0000 (14:48 +0100)]
meson: modules/edns_keepalive build
First functional kresd compilation \o/
Tomas Krizek [Fri, 25 Jan 2019 15:24:54 +0000 (16:24 +0100)]
meson: modules/policy - compile lua-aho-corasick
Tomas Krizek [Fri, 25 Jan 2019 15:23:29 +0000 (16:23 +0100)]
meson: add luajit dependency to lib
Tomas Krizek [Fri, 25 Jan 2019 14:16:49 +0000 (15:16 +0100)]
meson: modules/daf - install daf.js
Tomas Krizek [Fri, 25 Jan 2019 14:15:19 +0000 (15:15 +0100)]
meson/daemon/lua: unify lua mod installation
Tomas Krizek [Fri, 25 Jan 2019 13:51:43 +0000 (14:51 +0100)]
meson/modules: install lua modules
Tomas Krizek [Fri, 25 Jan 2019 13:33:03 +0000 (14:33 +0100)]
meson/daemon/lua: install trust_anchors.lua
Tomas Krizek [Fri, 25 Jan 2019 13:22:36 +0000 (14:22 +0100)]
meson: move etc_dir to config
Tomas Krizek [Fri, 25 Jan 2019 13:16:48 +0000 (14:16 +0100)]
meson: add option keyfile_default
Tomas Krizek [Fri, 25 Jan 2019 12:57:28 +0000 (13:57 +0100)]
meson: use proper etc_dir location
Tomas Krizek [Fri, 25 Jan 2019 12:45:28 +0000 (13:45 +0100)]
meson: add option to override modules dir
Tomas Krizek [Fri, 25 Jan 2019 12:28:44 +0000 (13:28 +0100)]
meson/daemon/lua: install modules from subdir
Tomas Krizek [Fri, 25 Jan 2019 10:57:37 +0000 (11:57 +0100)]
meson: use build options for client/daemon builds
Tomas Krizek [Fri, 25 Jan 2019 09:36:08 +0000 (10:36 +0100)]
meson/daemon/lua: install modules
Tomas Krizek [Thu, 24 Jan 2019 16:04:40 +0000 (17:04 +0100)]
meson/daemon: fix *.lua -> *.inc conversion
Tomas Krizek [Thu, 24 Jan 2019 15:30:49 +0000 (16:30 +0100)]
meson: clean up client subdir
Tomas Krizek [Thu, 24 Jan 2019 15:00:21 +0000 (16:00 +0100)]
meson: build daemon in a subdir
Tomas Krizek [Thu, 24 Jan 2019 14:47:58 +0000 (15:47 +0100)]
meson: update dependencies
Tomas Krizek [Thu, 24 Jan 2019 14:28:01 +0000 (15:28 +0100)]
meson: build client as a subdir
Tomas Krizek [Thu, 24 Jan 2019 14:09:04 +0000 (15:09 +0100)]
meson: build lib as subdir
Tomas Krizek [Thu, 24 Jan 2019 13:58:01 +0000 (14:58 +0100)]
meson: build contrib as a subdir
Tomas Krizek [Thu, 24 Jan 2019 13:49:23 +0000 (14:49 +0100)]
contrib: drop embedded lmdb support
Tomas Krizek [Thu, 24 Jan 2019 13:45:30 +0000 (14:45 +0100)]
meson: initial cleanup
Tomas Krizek [Tue, 22 Jan 2019 10:07:45 +0000 (11:07 +0100)]
meson: kresd builds \o/
Jan Vcelak [Wed, 17 Oct 2018 22:06:00 +0000 (00:06 +0200)]
meson: initial attempt
Petr Špaček [Tue, 12 Mar 2019 09:09:41 +0000 (09:09 +0000)]
Merge branch 'nitpicks' into 'master'
unify packet to string conversion between C and Lua
See merge request knot/knot-resolver!785
Vladimír Čunát [Thu, 28 Feb 2019 16:52:51 +0000 (17:52 +0100)]
daemon/main nitpick: unify exit code number handling
Petr Špaček [Tue, 30 Oct 2018 12:37:18 +0000 (13:37 +0100)]
unify packet to string conversion between C and Lua
There is no reason to have two distinct functions to do the same task,
especially if the Lua version did not print all the information.
(Found and amended a bit by vcunat.)
Petr Špaček [Fri, 8 Mar 2019 11:07:31 +0000 (11:07 +0000)]
Merge branch 'servfail-retry' into 'master'
fix fallback when SERVFAIL or REFUSED is received from upstream
See merge request knot/knot-resolver!784
Vladimír Čunát [Fri, 8 Mar 2019 10:04:34 +0000 (11:04 +0100)]
NEWS: merge the "Improvements" sections
Vladimír Čunát [Thu, 7 Mar 2019 14:39:11 +0000 (15:39 +0100)]
resolve, iterate: fix fallback when upstream SERVFAILs
or REFUSEs. We typically ended up retrying with the same server,
which is almost never good. Now we remove the server from the set.
Nitpick: a couple kr_query fields are reordered for better packing.
Petr Špaček [Thu, 7 Mar 2019 16:26:15 +0000 (16:26 +0000)]
Merge branch 'cache-stats' into 'master'
reworked cache stats
See merge request knot/knot-resolver!775
Vladimír Čunát [Tue, 5 Mar 2019 17:36:01 +0000 (18:36 +0100)]
cache: remove a useless internal function
Petr Špaček [Tue, 26 Feb 2019 16:06:24 +0000 (17:06 +0100)]
reworked cache stats
All cache operations are now counted. These are internal cache
operations and do not map directly to number of queries or even number
of RRs.
Closes: !515
Petr Špaček [Tue, 26 Feb 2019 13:02:09 +0000 (14:02 +0100)]
cache: use cache_op helper when possible
Petr Špaček [Tue, 26 Feb 2019 11:08:53 +0000 (12:08 +0100)]
gitattributes: specify word diff regex for C and C++ sources
This makes git diff --word-diff easier to read.
Petr Špaček [Tue, 26 Feb 2019 10:57:59 +0000 (11:57 +0100)]
cache: rename kr_cache_sync -> kr_cache_commit
Function originally called kr_cache_sync() was in fact responsible
for calling mdb_txn_commit() and not mdb_env_sync() which was confusing.
Petr Špaček [Tue, 26 Feb 2019 08:20:31 +0000 (09:20 +0100)]
cache: remove unsupported prune() operation from API
Cache cleaning needs to be done using separate mechanism
because cleaning it from worker process does not fit well into our
processing model. It is going to be a separate daemon.
Vladimír Čunát [Tue, 5 Mar 2019 16:55:38 +0000 (16:55 +0000)]
Merge !773: misc. ubsan fixes
Vladimír Čunát [Tue, 19 Feb 2019 19:27:50 +0000 (20:27 +0100)]
lib/utils kr_memreserve(): fix a ubsan nitpick
Vladimír Čunát [Tue, 19 Feb 2019 18:58:34 +0000 (19:58 +0100)]
lib/generic/lru: fix alignment of contained values
Vladimír Čunát [Tue, 19 Feb 2019 18:41:19 +0000 (19:41 +0100)]
lib/generic/lru: fix alignment of struct lru
Vladimír Čunát [Tue, 19 Feb 2019 18:06:07 +0000 (19:06 +0100)]
contrib/murmurhash3: fix bad type punning
Vladimír Čunát [Tue, 5 Mar 2019 14:46:55 +0000 (14:46 +0000)]
Merge !781: fix flushing of messages to logs in some cases
Vladimír Čunát [Tue, 5 Mar 2019 13:56:38 +0000 (14:56 +0100)]
treewide: fix flushing of messages to logs in some cases
... by setting FILE* properties and replace the explicit flushes.
Explicit flushing couldn't be well done e.g. for lua's error() function.
In particular, we had problems with journald not getting logs timely.
Tomas Krizek [Tue, 5 Mar 2019 14:39:59 +0000 (14:39 +0000)]
Merge branch 'rpz-errors' into 'master'
modules/policy.RPZ: log libzonefile errors as well
See merge request knot/knot-resolver!780
Vladimír Čunát [Tue, 5 Mar 2019 07:55:07 +0000 (08:55 +0100)]
modules/policy.RPZ: log libzonefile errors as well
Petr Špaček [Thu, 28 Feb 2019 13:30:16 +0000 (13:30 +0000)]
Merge branch 'stdin-null' into 'master'
lua event.socket(): remove a hacky workaround
See merge request knot/knot-resolver!778
Vladimír Čunát [Thu, 28 Feb 2019 09:19:48 +0000 (10:19 +0100)]
tests: rename forgotten worker.test.lua
Vladimír Čunát [Thu, 28 Feb 2019 06:39:47 +0000 (07:39 +0100)]
lua event.socket(): disable a hacky workaround
It should be fixed in quite old libuv versions already:
https://github.com/libuv/libuv/issues/883
Tomas Krizek [Thu, 28 Feb 2019 09:18:39 +0000 (09:18 +0000)]
Merge branch 'docker-certs' into 'master'
Add ca-certificates to runtime on Dockerfile
See merge request knot/knot-resolver!779
Jayson Reis [Wed, 27 Feb 2019 18:55:32 +0000 (19:55 +0100)]
Add ca-certificates to runtime on Dockerfile
Petr Špaček [Mon, 25 Feb 2019 13:53:20 +0000 (13:53 +0000)]
Merge branch 'addr-split-port' into 'master'
Splitting port from IP address
See merge request knot/knot-resolver!776
Vladimír Čunát [Mon, 25 Feb 2019 10:49:32 +0000 (11:49 +0100)]
modules/policy: support '#' for separating port numbers
and deduplicate the parsing logic.
Vladimír Čunát [Thu, 21 Feb 2019 16:19:08 +0000 (17:19 +0100)]
lib/utils kr_straddr_split(): simplify the API
After
83539eb7f it was a bit complicated. It allowed to save a memcpy
of the address in case no port was specified, but we only need to do the
split when changing configuration, so it was overzealous optimization.
Petr Špaček [Mon, 25 Feb 2019 10:10:30 +0000 (10:10 +0000)]
Merge branch 'tls-sni' into 'master'
policy.TLS_FORWARD: send SNI on wire if configured
See merge request knot/knot-resolver!762
Petr Špaček [Fri, 22 Feb 2019 09:28:06 +0000 (10:28 +0100)]
daemon: improve readability of TLS parameter handling
Petr Špaček [Thu, 21 Feb 2019 15:02:42 +0000 (16:02 +0100)]
daemon: split TLS authentication into smaller functions
Petr Špaček [Fri, 15 Feb 2019 12:25:37 +0000 (13:25 +0100)]
nitpicks
Vladimír Čunát [Thu, 31 Jan 2019 16:00:22 +0000 (17:00 +0100)]
daemon: rework handling of TLS authentication params
It's mainly about the way we parse and validate them.
Almost all of the parts of validation that were being done
in modules/policy/policy.lua and daemon/tls.c got moved
to daemon/bindings/net.c, so it's easier to follow that.
Also more checks are being done now, e.g. contents of .pin_sha256
and .hostname strings.
Vladimír Čunát [Wed, 23 Jan 2019 17:56:51 +0000 (18:56 +0100)]
policy.TLS_FORWARD: send SNI on wire if configured
In https world it's standard to do that, and it's relied on.
Real-life example: 8.8.8.8#853 over TLSv1.3 won't send a certificate
if we don't send SNI (no idea why; also they do send it with TLSv1.2).
As a consequence, we no longer allow multiple hostnames per
address-port tuple, but that didn't seem useful.
Vladimír Čunát [Fri, 22 Feb 2019 10:04:05 +0000 (10:04 +0000)]
Merge !774: various compiler warning fixes
Tomas Krizek [Mon, 18 Feb 2019 13:10:11 +0000 (14:10 +0100)]
daemon/network: avoid unused functions and variables
Make sure gcc doesn't produce unused func/var warnings when using
optional compilation. This fixes three such issues on CentOS 7.
Tomas Krizek [Thu, 14 Feb 2019 14:52:54 +0000 (15:52 +0100)]
daemon/engine: avoid unused variable with DNDEBUG
Tomas Krizek [Tue, 12 Feb 2019 12:37:04 +0000 (13:37 +0100)]
pytests/tlsproxy: fix C warnings
Vladimír Čunát [Thu, 21 Feb 2019 14:15:18 +0000 (15:15 +0100)]
nitpick fixes for clang-tidy
Vladimír Čunát [Thu, 21 Feb 2019 10:52:46 +0000 (11:52 +0100)]
test nitpicks: fix -Wpedantic issues
Tomas Krizek [Mon, 18 Feb 2019 09:30:06 +0000 (09:30 +0000)]
Merge branch 'doc-rename-flowcharts' into 'master'
doc/flowcharts: use underscores instead of spaces in filename
See merge request knot/knot-resolver!772
Tomas Krizek [Fri, 15 Feb 2019 09:45:03 +0000 (10:45 +0100)]
doc/flowcharts: use underscores instead of spaces in filename
Petr Špaček [Thu, 14 Feb 2019 13:37:07 +0000 (13:37 +0000)]
Merge branch 'doc-flowcharts' into 'master'
doc: attempt on documenting of some kresd algorithms
See merge request knot/knot-resolver!731
Grigorii Demidov [Wed, 2 Jan 2019 16:50:33 +0000 (17:50 +0100)]
doc/flowcharts: minor additions and restructurization