]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Vladimír Čunát [Tue, 30 Jan 2018 14:17:04 +0000 (15:17 +0100)]
doc: fixup after moving files around
Vladimír Čunát [Tue, 30 Jan 2018 14:14:11 +0000 (15:14 +0100)]
Merge tag 'v1.99.1-alpha' into cache-aggr-wip
It's just to have the tag in history. The files are unchanged.
Vladimír Čunát [Tue, 30 Jan 2018 14:07:20 +0000 (15:07 +0100)]
move files: all cache stuff is in lib/cache/ now
Almost. A trivial lib/layer/cache.c remains.
I put all lib/generic/*.h into libkres_HEADERS, to be sure.
They rarely change anyway.
Vladimír Čunát [Tue, 30 Jan 2018 13:05:58 +0000 (14:05 +0100)]
Merge branch 'master' into cache-aggr-wip
Vladimír Čunát [Tue, 30 Jan 2018 13:04:11 +0000 (14:04 +0100)]
Merge !466: osx and other fixes
Vladimír Čunát [Tue, 30 Jan 2018 10:45:41 +0000 (11:45 +0100)]
main: fix exiting with --help etc.
Vladimír Čunát [Tue, 30 Jan 2018 10:30:02 +0000 (11:30 +0100)]
main: fix build without CAN_FORK_EARLY
Vladimír Čunát [Tue, 30 Jan 2018 10:19:17 +0000 (11:19 +0100)]
make: fixup passing export-dynamic flags
It was breaking on Darwin, and clang was throwing warnings.
Problem since
ddb699d364 .
Petr Špaček [Tue, 30 Jan 2018 12:24:02 +0000 (13:24 +0100)]
Merge branch 'organize-doc' into 'master'
documentation: reorganize chapters
See merge request knot/knot-resolver!467
Tomas Krizek [Tue, 30 Jan 2018 11:52:59 +0000 (12:52 +0100)]
documentation: reorganize chapters
The manual page discusses basic usage of kresd, but completely lacks
configuration description. Users are pointed to
https://knot-resolver.readthedocs.io for reference. When visiting this
page, the most important information they don't have yet, is how to
configure kresd. This should be the first chapter in the documentation
to make it easier to find.
Vladimír Čunát [Tue, 30 Jan 2018 09:43:58 +0000 (10:43 +0100)]
logging: fix bad whitespace (newline inside message)
Vladimír Čunát [Mon, 29 Jan 2018 16:01:53 +0000 (17:01 +0100)]
doc: fixup after removing other cache modules
Petr Špaček [Mon, 29 Jan 2018 08:02:05 +0000 (09:02 +0100)]
Merge branch 'clang-scan' into 'master'
fix two nitpicks from clang-scan
See merge request knot/knot-resolver!465
Vladimír Čunát [Mon, 29 Jan 2018 07:38:33 +0000 (08:38 +0100)]
fix two nitpicks from clang-scan
- utils.c: overflowing size_t is basically impossible, but well...
- stats.c: NULL would probably not cause a problem with zero length passed
Vladimír Čunát [Mon, 29 Jan 2018 07:26:34 +0000 (08:26 +0100)]
Merge !454: daemon/worker: fix regression from
e7c5c102d0eb8
Grigorii Demidov [Mon, 22 Jan 2018 12:42:29 +0000 (13:42 +0100)]
daemon/worker: cleanup errors; missed packet source
Vladimír Čunát [Fri, 26 Jan 2018 16:31:52 +0000 (17:31 +0100)]
cache: avoid leaking memory
Also guard all allocations in cache against this, via assert.
(Except in cases that would segfault anyway.)
Vladimír Čunát [Fri, 26 Jan 2018 13:27:53 +0000 (14:27 +0100)]
cache: *always* store and retrieve RRSIGs
Vladimír Čunát [Thu, 25 Jan 2018 17:48:24 +0000 (18:48 +0100)]
cache: skip NSEC stype, instead of failing assertion
Vladimír Čunát [Thu, 25 Jan 2018 16:39:10 +0000 (17:39 +0100)]
cache: try also CNAME wildcard
I somehow forgot that case. Unfortunately the cache optimization for
CNAMEs doesn't help this case, so we just do (up to) two probes.
Petr Špaček [Thu, 25 Jan 2018 16:43:51 +0000 (17:43 +0100)]
Merge branch 'policy_polish' into 'master'
policy: polish policy module up
See merge request knot/knot-resolver!462
Petr Špaček [Thu, 25 Jan 2018 12:53:17 +0000 (13:53 +0100)]
CI: test doc build
Petr Špaček [Thu, 25 Jan 2018 13:12:13 +0000 (14:12 +0100)]
doc: fix Sphinx warnings
Petr Špaček [Thu, 25 Jan 2018 12:50:22 +0000 (13:50 +0100)]
policy: polish policy module documentation
Petr Špaček [Thu, 25 Jan 2018 11:46:53 +0000 (12:46 +0100)]
policy: fix generated SOA RR so it can be cached
RFC 6303 section 3 explains that
The SOA RR is needed to support negative caching [RFC2308] of name
error responses and to point clients to the primary master for DNS
dynamic updates.
Now SOA RR owner name matches query name so it can be cached.
Using zone name as owner would be more difficult so it is left for
further optimizations.
I've verified that nsupdate correctly determines that master name
does not exist and stops update process.
Petr Špaček [Thu, 25 Jan 2018 11:26:50 +0000 (12:26 +0100)]
policy: add explanatory TXT record to zones blocked by default
Petr Špaček [Thu, 25 Jan 2018 09:14:28 +0000 (10:14 +0100)]
policy: refactor policy and view modules
I've removed couple layers of indirection to make it easier to follow.
This should make it easier to extend the policy module.
Petr Špaček [Thu, 25 Jan 2018 15:45:45 +0000 (16:45 +0100)]
Merge branch 'respdiff-debug' into 'master'
CI: store respdiff database for debuging purposes
See merge request knot/knot-resolver!443
Petr Špaček [Mon, 15 Jan 2018 11:46:14 +0000 (12:46 +0100)]
CI: store respdiff database for debuging purposes
Petr Špaček [Thu, 25 Jan 2018 14:38:15 +0000 (15:38 +0100)]
Merge branch 'dockerfile' into 'master'
Dockefile: fix TLS server in demo container
See merge request knot/knot-resolver!463
Petr Špaček [Thu, 25 Jan 2018 14:29:25 +0000 (15:29 +0100)]
Dockefile: fix TLS server in demo container
Related: #297
Vladimír Čunát [Thu, 25 Jan 2018 13:24:24 +0000 (14:24 +0100)]
treewide: compiler warnings for printf-style functions
Vladimír Čunát [Thu, 25 Jan 2018 13:17:22 +0000 (14:17 +0100)]
reduce verbosity of cache-related logs
It was just too noisy for default --verbose.
Vladimír Čunát [Thu, 25 Jan 2018 12:25:57 +0000 (13:25 +0100)]
cache: fix logging after parent merge
Vladimír Čunát [Thu, 25 Jan 2018 08:32:11 +0000 (09:32 +0100)]
Merge master into cache-aggr-wip
... to start fixing conflicts with changes in logging
Petr Špaček [Wed, 24 Jan 2018 16:18:52 +0000 (17:18 +0100)]
Merge branch 'dockerfile' into 'master'
Docker: fix Dockerfile for demo container
Closes #297
See merge request knot/knot-resolver!461
Petr Špaček [Wed, 24 Jan 2018 16:09:07 +0000 (17:09 +0100)]
Docker: fix Dockerfile for demo container
libstdc++ was missing in the Alpine image.
At the same time, I've enabled DNSSEC validation, DNS-over-TLS, HTTP interface
and added explanatory message.
Vladimír Čunát [Wed, 24 Jan 2018 14:25:25 +0000 (15:25 +0100)]
treewide: prepare for libknot-2.7
Covers changes to case handling of knot_dname_lf and knot_dname_cmp.
Vladimír Čunát [Wed, 24 Jan 2018 14:03:15 +0000 (15:03 +0100)]
treewide: fix lower-casing of NSEC next name
Vladimír Čunát [Wed, 24 Jan 2018 11:03:16 +0000 (12:03 +0100)]
Merge !439: Use common convention for paths and user name
Tomas Krizek [Fri, 12 Jan 2018 09:29:53 +0000 (10:29 +0100)]
use common convention for configuration path and user name
Vladimír Čunát [Tue, 23 Jan 2018 18:47:16 +0000 (19:47 +0100)]
Merge !405: Support for tracing query execution logs
Vladimír Čunát [Tue, 23 Jan 2018 18:29:43 +0000 (19:29 +0100)]
http module: rename after
2702e0416994
Vladimír Čunát [Tue, 23 Jan 2018 18:07:35 +0000 (19:07 +0100)]
nitpicks from review of !405: query-trace
The deckard change was probably unintentional, so I reverted that.
The only real mistake I found was `sizeof(128)`, though the effect was
just unnecessary reallocations.
On the whole I really like it. Verbose logging might get slightly
slower, due to increased amount of string allocation and copying,
but it does seem worth it, at least until we can prove otherwise.
I didn't look much into http module changes, etc.
Vladimír Čunát [Tue, 23 Jan 2018 18:36:49 +0000 (19:36 +0100)]
Merge branch 'master'
Tomas Krizek [Tue, 23 Jan 2018 18:32:44 +0000 (19:32 +0100)]
Merge branch 'fix-sphinx-rtd-theme' into 'master'
doc: fix generating sphinx doc using older packages
See merge request knot/knot-resolver!460
Tomas Krizek [Tue, 23 Jan 2018 14:57:51 +0000 (15:57 +0100)]
doc: fix generating sphinx doc using older packages
Vladimír Čunát [Tue, 23 Jan 2018 15:42:50 +0000 (16:42 +0100)]
Merge !459: 1.5.3 fixes + nitpicks
Vladimír Čunát [Tue, 23 Jan 2018 15:34:55 +0000 (16:34 +0100)]
CI: ignore the clang -rdynamic problems, for now
Vladimír Čunát [Tue, 23 Jan 2018 14:55:52 +0000 (15:55 +0100)]
nitpicks
Vladimír Čunát [Tue, 23 Jan 2018 15:05:17 +0000 (16:05 +0100)]
Merge tag 'v1.5.3'
Petr Špaček [Tue, 23 Jan 2018 15:03:39 +0000 (16:03 +0100)]
Merge branch 'keyfile-arg' into 'master'
Split CLI for managed and unmanaged trust anchor modes
Closes #145 and #168
See merge request knot/knot-resolver!358
Petr Špaček [Tue, 23 Jan 2018 14:20:01 +0000 (15:20 +0100)]
docs: update link to IANA web with DNSSEC root TA
Petr Špaček [Tue, 23 Jan 2018 12:27:00 +0000 (13:27 +0100)]
TA bootstrap: print obtained values
Vítězslav Kříž [Mon, 11 Dec 2017 14:11:46 +0000 (15:11 +0100)]
config-test: refactor config test framework, add keyfile tests
Config tests now have ability to run daemon with different arguments and
to check exit code.
Vítězslav Kříž [Tue, 24 Oct 2017 12:25:10 +0000 (14:25 +0200)]
daemon: remove globals, split main into functions
Vítězslav Kříž [Tue, 17 Oct 2017 12:03:57 +0000 (14:03 +0200)]
keyfile: added tests
Vitezslav Kriz [Mon, 14 Aug 2017 07:25:42 +0000 (09:25 +0200)]
keyfile argument distiguish managed and unmanaged mode
Arguments --keyfile, -k for managed mode
and
--keyfile-ro, -K for unmanaged (readonly) mode.
Automatic setting based on the file permission is removed because it was
confusing and could easily lead to state where automatic update does not
happen because of unexpected file permissions.
Check if folder is writeable was moved into Lua code.
Default unmanaged keyfile path can be specified at compile
time with option KEYFILE_DEFAULT. This default
configuration can be disabled in configuration file with
trust_anchors.keyfile_default = nil.
Vladimír Čunát [Tue, 23 Jan 2018 13:16:23 +0000 (14:16 +0100)]
release 1.5.3
Vladimír Čunát [Tue, 23 Jan 2018 13:34:42 +0000 (14:34 +0100)]
test_cache: disable test_materialize
I'm not sure why the preceding commits broke it.
Vladimír Čunát [Tue, 23 Jan 2018 12:55:45 +0000 (13:55 +0100)]
make: fix Fedora problems with symbols
Vladimír Čunát [Tue, 23 Jan 2018 12:51:04 +0000 (13:51 +0100)]
make: CFLAGS cleanup
Readability, and don't -I embedded lmdb if not using it.
Vladimír Čunát [Tue, 23 Jan 2018 12:36:17 +0000 (13:36 +0100)]
make: use -fvisibility=hidden by default
Symbols not marked by KR_EXPORT shouldn't be visible outside
the same output binary (e.g. sbin/kresd or lib/kdns_modules/hints.so)
Also mark `engine_hint_root_file`.
Petr Špaček [Tue, 23 Jan 2018 08:53:30 +0000 (09:53 +0100)]
Merge branch 'draft-huston-kskroll-sentinel' into 'master'
Implement draft-ietf-dnsop-kskroll-sentinel-00
Closes #266
See merge request knot/knot-resolver!382
Petr Špaček [Mon, 22 Jan 2018 15:03:57 +0000 (16:03 +0100)]
Implement draft-ietf-dnsop-kskroll-sentinel-00
It is enabled by default.
Petr Špaček [Mon, 22 Jan 2018 14:50:16 +0000 (15:50 +0100)]
Add Lua interface for kr_pkt_clear_payload().
Petr Špaček [Tue, 23 Jan 2018 08:44:16 +0000 (09:44 +0100)]
Merge branch 'policy_default' into 'master'
policy: load policy module by default
See merge request knot/knot-resolver!457
Petr Špaček [Mon, 22 Jan 2018 20:31:34 +0000 (21:31 +0100)]
policy: load policy module by default
RFC 6761 mandates functionality implemented by policy module, so it is
now loaded by default. Users with special needs can still unload the
module.
Vladimír Čunát [Mon, 22 Jan 2018 15:17:41 +0000 (16:17 +0100)]
Merge !456: lib: make map_contains recongize null value
Vladimír Čunát [Mon, 22 Jan 2018 14:58:24 +0000 (15:58 +0100)]
lib map: comment around the change in parent commit
anb [Fri, 12 Jan 2018 19:08:57 +0000 (19:08 +0000)]
lib: make map_contains recongize null value
Without changing the interface, map_contains is able to tell whether
the item exist in map or not.
Vladimír Čunát [Mon, 22 Jan 2018 13:39:06 +0000 (14:39 +0100)]
Merge !455: Fixup Dockerfile and NEWS
Vladimír Čunát [Mon, 22 Jan 2018 13:30:43 +0000 (14:30 +0100)]
NEWS: fix typo in year
Vladimír Čunát [Mon, 22 Jan 2018 13:29:03 +0000 (14:29 +0100)]
Dockerfile: fixup build after libknot update
Vladimír Čunát [Mon, 22 Jan 2018 13:19:55 +0000 (14:19 +0100)]
Merge branches 'regression-fix' and 'master'
Grigorii Demidov [Mon, 22 Jan 2018 12:42:29 +0000 (13:42 +0100)]
daemon/worker: cleanup errors; missed packet source
Vladimír Čunát [Mon, 22 Jan 2018 12:42:01 +0000 (13:42 +0100)]
Merge !453: merge tag 'v1.5.2', bringing security fixes
Vladimír Čunát [Mon, 22 Jan 2018 12:30:29 +0000 (13:30 +0100)]
Merge tag 'v1.5.2', bringing security fixes
Vladimír Čunát [Mon, 22 Jan 2018 10:45:44 +0000 (11:45 +0100)]
security release 1.5.2
Vladimír Čunát [Mon, 15 Jan 2018 17:08:47 +0000 (18:08 +0100)]
validator nitpick: remove a useless dead store
Discovered by clang scan.
Vladimír Čunát [Fri, 5 Jan 2018 09:15:43 +0000 (10:15 +0100)]
validator: fix NSEC* + delegation -> NXDOMAIN
Vladimír Čunát [Fri, 12 Jan 2018 15:15:08 +0000 (16:15 +0100)]
validator: fix NSEC* -> NODATA
Petr Špaček [Mon, 22 Jan 2018 09:25:46 +0000 (10:25 +0100)]
Merge branch 'misc-fix' into 'master'
daemon/worker: worker_process_tcp: cleanup
See merge request knot/knot-resolver!452
Grigorii Demidov [Mon, 22 Jan 2018 09:16:42 +0000 (10:16 +0100)]
daemon/worker: worker_process_tcp: cleanup; there are no need in special processing for qr_task_step return code
Vladimír Čunát [Fri, 19 Jan 2018 16:10:32 +0000 (17:10 +0100)]
cache: fix answers from wildcards
Also make the control flow more readable and tweak comments.
Vladimír Čunát [Fri, 19 Jan 2018 12:08:31 +0000 (13:08 +0100)]
cache: fix CNAME on DS query
Petr Špaček [Fri, 19 Jan 2018 10:07:50 +0000 (11:07 +0100)]
Merge branch 'cdn-mozilla' into 'master'
layer/iterate: forwarding; repeat query to upstream if SERVFAIL\REFUSE has been received
See merge request knot/knot-resolver!451
Grigorii Demidov [Wed, 17 Jan 2018 12:50:23 +0000 (13:50 +0100)]
layer/iterate: forwarding; repeat query to upstream if SERVFAIL\REFUSE has been received
Petr Špaček [Fri, 19 Jan 2018 09:18:44 +0000 (10:18 +0100)]
Merge branch 'dockerfile-add-flake8' into 'master'
ci: add flake8 to Dockerfile
See merge request knot/knot-resolver!449
Tomas Krizek [Thu, 18 Jan 2018 16:16:58 +0000 (17:16 +0100)]
ci: docker - add flake8, remove infer
We do not use Infer after all (see MR !435) so it does not make sense to
have it in the image.
Petr Špaček [Fri, 19 Jan 2018 09:03:48 +0000 (10:03 +0100)]
Merge branch 'assert-cleanup' into 'master'
daemon/worker: clean up some unnecessary asserts
See merge request knot/knot-resolver!450
Grigorii Demidov [Fri, 19 Jan 2018 08:26:00 +0000 (09:26 +0100)]
daemon/worker: clean up some unnecessary asserts
Vladimír Čunát [Thu, 18 Jan 2018 17:15:00 +0000 (18:15 +0100)]
cache: assertion nitpicks
Vladimír Čunát [Thu, 18 Jan 2018 17:11:44 +0000 (18:11 +0100)]
fixup! treewide: safer structure literals and initialization
Vladimír Čunát [Thu, 18 Jan 2018 16:55:12 +0000 (17:55 +0100)]
TMP Merge branch 'valid-nxdomain' into cache-aggr-wip
Petr Špaček [Thu, 18 Jan 2018 15:40:12 +0000 (16:40 +0100)]
Merge branch 'tls_polish' into 'master'
TLS polish
See merge request knot/knot-resolver!447
Vladimír Čunát [Thu, 18 Jan 2018 15:30:52 +0000 (16:30 +0100)]
Merge branch 'master' into valid-nxdomain
Conflicts: lib/dnssec/nsec3.c
Petr Špaček [Thu, 18 Jan 2018 15:22:56 +0000 (16:22 +0100)]
TLS: make GnuTLS priorities compatible with CentOS 7 and Debian 9
gnutls-3.3.26-9.el7.x86_64 and libgnutls30-3.5.8-5+deb9u3 do not support
@SYSTEM keyword and CentOS 7 has problem with -VERS-DTLS-ALL.
We do not configure DTLS sockets so it should be harmless to delete
the DTLS keyword.
@SYSTEM is replaced by NORMAL, oh well.
fixup! TLS client: enforce minimal TLS version and no compression
Petr Špaček [Thu, 18 Jan 2018 14:47:15 +0000 (15:47 +0100)]
TLS client: enforce minimal TLS version and no compression
Same change as in
a625a0ea1ce03b0707fd421633f21c0aacb786da but for
client.
Petr Špaček [Thu, 18 Jan 2018 13:12:45 +0000 (14:12 +0100)]
TLS server: enforce minimal TLS version and no compression
Server side now enforces security requirements from
draft-ietf-dprive-dtls-and-tls-profiles-11 section 9