]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Tomas Krizek [Tue, 3 Jul 2018 08:11:13 +0000 (10:11 +0200)]
bump libknot dependency to 2.6.7
Tomas Krizek [Mon, 2 Jul 2018 17:17:07 +0000 (19:17 +0200)]
Merge branch 'systemd-updates' into 'master'
systemd: use kresd.target for service start
See merge request knot/knot-resolver!597
Tomas Krizek [Tue, 5 Jun 2018 15:23:53 +0000 (17:23 +0200)]
distro/rpm: update systemd scriptlets
Tomas Krizek [Mon, 4 Jun 2018 15:05:46 +0000 (17:05 +0200)]
distro/systemd: use kresd.target to start enabled instances
Starting multiple systemd units with a target is conceptually cleaner
than using globbing expression.
Related https://github.com/systemd/systemd/issues/9080
Tomas Krizek [Mon, 4 Jun 2018 13:49:13 +0000 (15:49 +0200)]
distro: move systemd unit files
Tomas Krizek [Mon, 4 Jun 2018 13:34:34 +0000 (15:34 +0200)]
distro: move kresd.systemd man page
Tomas Krizek [Mon, 4 Jun 2018 13:26:21 +0000 (15:26 +0200)]
distro: move tmpfiles
Petr Špaček [Mon, 2 Jul 2018 15:34:06 +0000 (17:34 +0200)]
Merge branch 'upstream-packet-check' into 'master'
daemon/worker: upstream's answer integrity check
Closes #366
See merge request knot/knot-resolver!619
Grigorii Demidov [Thu, 28 Jun 2018 12:02:43 +0000 (14:02 +0200)]
daemon/worker: upstream's answer integrity check
Tomas Krizek [Mon, 2 Jul 2018 15:11:52 +0000 (17:11 +0200)]
Merge branch 'ci-dockerfiles' into 'master'
ci: dockerfiles
See merge request knot/knot-resolver!621
Tomas Krizek [Mon, 2 Jul 2018 14:56:33 +0000 (16:56 +0200)]
ci: organize dockerfiles
Tomas Krizek [Mon, 2 Jul 2018 14:53:08 +0000 (16:53 +0200)]
ci: debian-unstable docker - install new respdiff
Petr Špaček [Mon, 2 Jul 2018 14:46:54 +0000 (16:46 +0200)]
Merge branch 'NEWS' into 'master'
NEWS: preparation for 2.4 release
See merge request knot/knot-resolver!620
Petr Špaček [Mon, 2 Jul 2018 14:38:03 +0000 (16:38 +0200)]
NEWS: preparation for 2.4 release
Petr Špaček [Mon, 2 Jul 2018 13:41:41 +0000 (15:41 +0200)]
Merge branch 'dns64' into 'master'
modules/dns64: implement more properties from RFC
Closes #375
See merge request knot/knot-resolver!617
Vladimír Čunát [Thu, 28 Jun 2018 10:55:27 +0000 (12:55 +0200)]
modules/dns64: implement more properties from RFC
- don't synthesize if +CD
- bound synthesized TTL by SOA's TTL
- set AD flag if synthesizing from secure NODATA and A.
- review the RFC for properties that the module is missing
Tomas Krizek [Fri, 29 Jun 2018 13:01:34 +0000 (15:01 +0200)]
Merge branch 'distro-tests-fix' into 'master'
distro/tests: configure correct OBS repo
See merge request knot/knot-resolver!618
Tomas Krizek [Fri, 29 Jun 2018 12:53:11 +0000 (14:53 +0200)]
distro/tests: configure correct OBS repo
Petr Špaček [Fri, 29 Jun 2018 10:40:57 +0000 (12:40 +0200)]
Merge branch 'tls-tickets-old-gnutls-disable' into 'master'
TLS session resumption: disable on gnutls < 3.5
See merge request knot/knot-resolver!615
Vladimír Čunát [Fri, 29 Jun 2018 09:34:12 +0000 (11:34 +0200)]
TLS session resumption: disable on gnutls < 3.5
Vladimír Čunát [Fri, 29 Jun 2018 10:19:24 +0000 (12:19 +0200)]
Merge !614: ta_sentinel: remove limit for IN class
Petr Špaček [Thu, 28 Jun 2018 10:57:49 +0000 (12:57 +0200)]
ta_sentinel: remove limit for IN class
Draft version -14 does not contain limitation to IN class.
References: knot/knot-resolver!596
Tomas Krizek [Fri, 29 Jun 2018 10:03:12 +0000 (12:03 +0200)]
Merge branch 'distro-tests' into 'master'
distro/tests: add new distros
See merge request knot/knot-resolver!616
Tomas Krizek [Fri, 29 Jun 2018 09:54:49 +0000 (11:54 +0200)]
distro/tests: add new distros
Tomas Krizek [Fri, 29 Jun 2018 09:53:37 +0000 (11:53 +0200)]
distro/tests: use identifiable VM names
Tomas Krizek [Thu, 28 Jun 2018 12:25:40 +0000 (14:25 +0200)]
Merge branch 'ci-make-check' into 'master'
ci: fix make check
See merge request knot/knot-resolver!612
Petr Špaček [Thu, 28 Jun 2018 11:50:45 +0000 (13:50 +0200)]
ci: optimize check-integration
py.test now runs Deckard tests in parallel so it does not make sense to
run py.test instances in parallel (using make), it just clutters output.
Petr Špaček [Thu, 28 Jun 2018 11:46:57 +0000 (13:46 +0200)]
tests unit: print commands executed by make
Petr Špaček [Thu, 28 Jun 2018 11:46:21 +0000 (13:46 +0200)]
tests bench: print commands executed by make
Petr Špaček [Thu, 28 Jun 2018 11:31:51 +0000 (13:31 +0200)]
tests: fix LD_PRELOAD tricks in Makefile to fix make check
fixup!
0118441e60ca2937790bd65526b2a07edd73b2c4 which broke
make check on systemd without libkres in library path.
Petr Špaček [Thu, 28 Jun 2018 11:28:54 +0000 (13:28 +0200)]
gitignore: bench/bench_lru
Tomas Krizek [Wed, 27 Jun 2018 14:26:40 +0000 (16:26 +0200)]
distro/rpm: run make check during pkgbuild
Tomas Krizek [Wed, 27 Jun 2018 14:26:21 +0000 (16:26 +0200)]
ci: test that `make check` does not require installation
Grigorii Demidov [Thu, 28 Jun 2018 11:13:02 +0000 (13:13 +0200)]
Merge branch '369_log_bogus' into 'master'
new module: bogus_log to log DNSSEC bogus queries
Closes #369
See merge request knot/knot-resolver!613
Petr Špaček [Wed, 27 Jun 2018 13:09:00 +0000 (15:09 +0200)]
new module: bogus_log to log DNSSEC bogus queries
Petr Špaček [Wed, 27 Jun 2018 11:54:44 +0000 (13:54 +0200)]
Merge branch 'lua-layer-doc' into 'master'
doc: behavior of layers on kres.FAIL in lua modules
See merge request knot/knot-resolver!611
Vladimír Čunát [Wed, 27 Jun 2018 11:45:20 +0000 (13:45 +0200)]
doc: behavior of layers on kres.FAIL in lua modules
Vladimír Čunát [Tue, 26 Jun 2018 12:58:39 +0000 (14:58 +0200)]
Merge !608: Protection from DNS rebinding attack
Closes #320 and #371.
Petr Špaček [Fri, 15 Jun 2018 11:01:50 +0000 (13:01 +0200)]
protection from DNS rebinding attack
Closes: #320
Petr Špaček [Thu, 21 Jun 2018 14:18:01 +0000 (16:18 +0200)]
lua: provide Lua tostring for sockaddr_t
Petr Špaček [Thu, 21 Jun 2018 10:28:57 +0000 (12:28 +0200)]
CI: fail build if kres-gen.lua is not up-to-date
Closes: #371
Petr Špaček [Thu, 21 Jun 2018 10:43:00 +0000 (12:43 +0200)]
gitignore: coverage.stats
Temporary directory generated by code coverage measurement.
Petr Špaček [Fri, 15 Jun 2018 12:12:29 +0000 (14:12 +0200)]
fixup! daemon/lua: added basic bindings for LRU
Fix mess in daemon/lua/kres-gen.lua after
6e2ed9ec29be56e4ee08d8bae8bf3ba978bbbf86
Petr Špaček [Fri, 15 Jun 2018 12:06:37 +0000 (14:06 +0200)]
fixup! check per-query flags instead of global options, getter for NS name
Remove stray kr_zonecut_find_nsname() which somehow appeared in
45e38b3df3e5aee9c93de0fe7a78b20811e65bae .
Petr Špaček [Fri, 15 Jun 2018 12:03:52 +0000 (14:03 +0200)]
build: catch errors during kres-gen.lua regeneration
Petr Špaček [Tue, 26 Jun 2018 06:54:43 +0000 (08:54 +0200)]
Merge branch 'kresd_special_tests' into 'master'
Special integration tests
See merge request knot/knot-resolver!610
Petr Špaček [Tue, 26 Jun 2018 06:45:27 +0000 (08:45 +0200)]
serve_stale: merge integration test for serve_stale module
Closes: deckard!103
Petr Špaček [Tue, 26 Jun 2018 06:32:52 +0000 (08:32 +0200)]
policy: merge integration test for REFUSE policy
Closes: deckard!114
Petr Špaček [Mon, 25 Jun 2018 16:38:21 +0000 (18:38 +0200)]
Merge branch 'ta_sentinel-update' into 'master'
ta_sentinel: switch to version 14 of the RFC draft
Closes #358
See merge request knot/knot-resolver!596
Vladimír Čunát [Wed, 30 May 2018 17:01:00 +0000 (19:01 +0200)]
ta_sentinel: switch to version 14 of the RFC draft
Also minor fixes and speed enhancement (not measured).
Vladimír Čunát [Fri, 22 Jun 2018 11:57:58 +0000 (13:57 +0200)]
add kr_request::rank, and slightly refactor it
Vladimír Čunát [Tue, 19 Jun 2018 13:00:07 +0000 (15:00 +0200)]
doc: warn about NTAs outside zone cuts
We just ran into that in the val_ta_sentinel_insecure.rpl test.
Petr Špaček [Mon, 25 Jun 2018 16:08:29 +0000 (18:08 +0200)]
Merge branch 'explicit-ds-rrsig-disable' into 'master'
layer/validate: disable explicit RRSIG query if RRSIG for DS is missed
See merge request knot/knot-resolver!603
Grigorii Demidov [Mon, 18 Jun 2018 09:17:01 +0000 (11:17 +0200)]
layer/validate: disable explicit RRSIG query if RRSIG for DS is missed
Grigorii Demidov [Mon, 25 Jun 2018 13:35:30 +0000 (15:35 +0200)]
Merge branch 'zone-transition' into 'master'
iterate: some special cases of transition to insecure zone
Closes #376
See merge request knot/knot-resolver!607
Grigorii Demidov [Thu, 21 Jun 2018 12:42:08 +0000 (14:42 +0200)]
iterate: some special cases of transition to insecure zone
Petr Špaček [Mon, 25 Jun 2018 12:12:33 +0000 (14:12 +0200)]
Merge branch 'deckard-update' into 'master'
CI: support kresd-specific integration tests
See merge request knot/knot-resolver!541
Petr Špaček [Fri, 22 Jun 2018 15:05:46 +0000 (17:05 +0200)]
CI: workaround mangled timestamps in test jobs
Git sets file timestamp to the moment of checkout
while Gitlab copies gcda and gcno files in artefacts with timestamps
set to time of compilation in previous job. This leads to gcov/lcov
complaints about source timestamps being newer than profiling
timestampts etc.
Petr Špaček [Fri, 6 Apr 2018 17:53:26 +0000 (19:53 +0200)]
tests: support kresd-specific integration tests
Petr Špaček [Fri, 6 Apr 2018 12:37:55 +0000 (14:37 +0200)]
CI: clean up gitlab-ci.yml variables
Preparation for new integration tests.
Petr Špaček [Fri, 6 Apr 2018 07:18:13 +0000 (09:18 +0200)]
tests: integrate new Deckard test interface
Petr Špaček [Wed, 4 Apr 2018 12:41:23 +0000 (14:41 +0200)]
tests: split integration test to separate Makefile
This is preparation for more generic integration test framework.
Vladimír Čunát [Fri, 22 Jun 2018 09:26:51 +0000 (11:26 +0200)]
Merge !600: NSEC3 aggressive caching
Vladimír Čunát [Fri, 22 Jun 2018 09:14:00 +0000 (11:14 +0200)]
Merge branch 'master' into cache-NSEC3
Vladimír Čunát [Thu, 21 Jun 2018 10:18:55 +0000 (12:18 +0200)]
Merge !606: fix validation of explicit wildcard queries
Marek Vavruša [Mon, 18 Jun 2018 23:56:53 +0000 (16:56 -0700)]
nsec: correct wildcard proof check with queried for literal wildcard
The validation fails in current implementation when queried directly
for the wildcard. In that case the count of the common labels with the
NSEC record is the same, and not shorter by 1 (to accomodate wildcard
expansion).
Grigorii Demidov [Wed, 20 Jun 2018 10:28:12 +0000 (12:28 +0200)]
Merge branch 'http-allow-reuseport' into 'master'
http: allow all forks to process HTTP requests
See merge request knot/knot-resolver!406
Marek Vavruša [Tue, 6 Mar 2018 22:29:45 +0000 (14:29 -0800)]
modules/http: allow passing server options to http configuration
This allows HTTP server to start with reuseport, reuseaddr or v6only.
The reuseport allows running HTTP module on all forks, not just the main one.
Vladimír Čunát [Mon, 18 Jun 2018 10:00:31 +0000 (12:00 +0200)]
Merge !561: minor pack_t and nsrep refactoring
Marek Vavruša [Fri, 20 Apr 2018 03:15:19 +0000 (20:15 -0700)]
lib/generic/pack: switch to NULL on empty pack iterator
It's probably slightly safer to use NULL than end-array pointer,
so let's use it in this case. Significantly adapted by Vlada
from original Marek's change, after master fixed the corruption.
Marek Vavruša [Fri, 20 Apr 2018 03:54:36 +0000 (20:54 -0700)]
lib/nsrep: refactored copypasta
Vladimír Čunát [Mon, 18 Jun 2018 08:58:22 +0000 (10:58 +0200)]
cache: tiny nitpicks
Vladimír Čunát [Fri, 15 Jun 2018 16:47:39 +0000 (18:47 +0200)]
NEWS: add aggressive NSEC3
Vladimír Čunát [Fri, 15 Jun 2018 16:42:26 +0000 (18:42 +0200)]
Merge branch 'master' into cache-NSEC3
Vladimír Čunát [Fri, 15 Jun 2018 16:40:20 +0000 (18:40 +0200)]
reduce verbose logging - cases not really useful
Also tweak order of information when logging cache stash,
as it was rather unnatural.
Vladimír Čunát [Fri, 15 Jun 2018 15:31:41 +0000 (17:31 +0200)]
cache: more checks, comment cleanup
Vladimír Čunát [Fri, 15 Jun 2018 12:18:54 +0000 (14:18 +0200)]
cache: review stashing NSEC* parameters
Tomas Krizek [Fri, 15 Jun 2018 11:22:18 +0000 (13:22 +0200)]
Merge branch 'ci-docker' into 'master'
ci/Dockerfile.debian: use new respdiff git repo
See merge request knot/knot-resolver!602
Tomas Krizek [Fri, 15 Jun 2018 11:07:39 +0000 (13:07 +0200)]
ci/Dockerfile.debian: use new respdiff git repo
Vladimír Čunát [Fri, 15 Jun 2018 09:05:40 +0000 (11:05 +0200)]
cache: avoid potential out-of-bounds with NSEC3 params
It's possible the parser wouldn't let such RR through,
and it's most likely validator shouldn't let them through.
Even so, I feel better to check anyway.
Petr Špaček [Wed, 13 Jun 2018 16:15:00 +0000 (18:15 +0200)]
Merge branch 'tls-session-resumption' into 'master'
daemon/tls: session resumption with tickets (client & server side)
See merge request knot/knot-resolver!585
Vladimír Čunát [Wed, 13 Jun 2018 16:07:27 +0000 (18:07 +0200)]
cache find_leq_NSEC3: precise check for NSEC3 params
Vladimír Čunát [Wed, 13 Jun 2018 16:04:38 +0000 (18:04 +0200)]
cache: shorten repetitive `qry->flags` blocks
Vladimír Čunát [Wed, 13 Jun 2018 16:04:04 +0000 (18:04 +0200)]
cache entry_list_parse: squash a simple FIXME
Petr Špaček [Wed, 13 Jun 2018 15:54:56 +0000 (17:54 +0200)]
daemon/tls: disable session resumption with shared secret for now
There is no GnuTLS version which would make this safe.
See https://gitlab.com/gnutls/gnutls/issues/477
Vladimír Čunát [Tue, 12 Jun 2018 13:03:52 +0000 (15:03 +0200)]
opt-out nitpicks, eradicate kr_rank_test_noassert
Petr Špaček [Wed, 13 Jun 2018 14:00:01 +0000 (16:00 +0200)]
daemon/tls: add basic config tests
Petr Špaček [Wed, 13 Jun 2018 12:58:39 +0000 (14:58 +0200)]
daemon/tls: document limitations of the session key synchronization
Vladimír Čunát [Thu, 31 May 2018 11:51:03 +0000 (13:51 +0200)]
daemon/tls: work on server-side session tickets
Grigorii Demidov [Tue, 22 May 2018 08:21:19 +0000 (10:21 +0200)]
daemon/bindings: import tls session ticket key salt from file
Grigorii Demidov [Mon, 21 May 2018 15:55:35 +0000 (17:55 +0200)]
daemon/tls: session resumption with tickets (client & server side)
Vladimír Čunát [Tue, 12 Jun 2018 09:06:50 +0000 (11:06 +0200)]
separate most of code for retrieval from cache
api.c was growing too long.
Also a few other minor changes.
Vladimír Čunát [Mon, 11 Jun 2018 13:40:37 +0000 (15:40 +0200)]
WIP: minor code cleanups
Vladimír Čunát [Mon, 11 Jun 2018 08:14:47 +0000 (10:14 +0200)]
kr_rank_test*: avoid code duplication
Vladimír Čunát [Mon, 11 Jun 2018 07:58:16 +0000 (09:58 +0200)]
Merge branch 'master' into cache-NSEC3
Petr Špaček [Fri, 8 Jun 2018 13:19:41 +0000 (15:19 +0200)]
Merge branch 'tls-ciphers' into 'master'
restrict TLS ciphers
See merge request knot/knot-resolver!601
Vladimír Čunát [Fri, 8 Jun 2018 10:20:16 +0000 (12:20 +0200)]
daemon/tls: make gnutls_priority stricter
Otherwise CentOS 7 enables those two "ciphers" by default.
Noticed in #355.
Vladimír Čunát [Fri, 8 Jun 2018 10:19:02 +0000 (12:19 +0200)]
daemon/tls: don't segfault if gnutls_priority_* fails
Vladimír Čunát [Fri, 8 Jun 2018 09:57:11 +0000 (11:57 +0200)]
Merge remote-tracking branch 'o/master' into cache-NSEC3
Grigorii Demidov [Thu, 7 Jun 2018 09:27:11 +0000 (11:27 +0200)]
Merge branch 'policy_clear_ad' into 'master'
modules.policy: REFUSE, TC - clear AD flag in answers
See merge request knot/knot-resolver!599