]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Vladimír Čunát [Tue, 31 Jul 2018 15:53:51 +0000 (15:53 +0000)]
Merge !632: Fix http module regressions from 2.3.0
Petr Špaček [Wed, 25 Jul 2018 09:59:36 +0000 (11:59 +0200)]
http: NEWS
Petr Špaček [Wed, 25 Jul 2018 09:02:01 +0000 (11:02 +0200)]
http: remove /feed from docs
/feed disappeared in v1.1.0 and never worked since then.
fixup!
6887a4a2be84f9276c4cdfb903f757aafd19e778
Petr Špaček [Wed, 25 Jul 2018 09:00:39 +0000 (11:00 +0200)]
http: clarify TLS configuration and recommend reverse-proxy
Petr Špaček [Tue, 24 Jul 2018 16:12:26 +0000 (18:12 +0200)]
Fix regression in HTTP module which broke custom certs.
This is now covered by test suite.
fixup!
b2cefdcf350e846492579e3308f234a696350e01 (regressed in 2.4.0).
Parameter cert=false did not work even in 2.3.0 so it was replaced with cleaner
tls=false.
Petr Špaček [Tue, 24 Jul 2018 16:12:21 +0000 (18:12 +0200)]
Remove http:// from examples.
We want to encourage users to use HTTPS everywhere.
Vladimír Čunát [Mon, 30 Jul 2018 13:56:41 +0000 (13:56 +0000)]
Merge !634: hints docs: unify the descriptions of `hints.root()`
Vladimír Čunát [Thu, 26 Jul 2018 15:35:19 +0000 (17:35 +0200)]
hints docs: unify the descriptions of `hints.root()`
(Thanks to Láďa.)
Also try to stress that hints.set() only takes a pair and not more.
Petr Špaček [Fri, 27 Jul 2018 17:48:15 +0000 (17:48 +0000)]
Merge branch 'aggressive-nsec3-fixes' into 'master'
Aggressive nsec3 fixes
Closes #384
See merge request knot/knot-resolver!628
Vladimír Čunát [Mon, 23 Jul 2018 11:40:09 +0000 (13:40 +0200)]
NEWS for the caching fix in grand-parent commit
Vladimír Čunát [Mon, 23 Jul 2018 08:10:41 +0000 (10:10 +0200)]
cache closest_NS(): factor out the inside of a loop
The code around was getting too complex and too deeply indented.
Vladimír Čunát [Fri, 20 Jul 2018 17:43:30 +0000 (19:43 +0200)]
cache: don't require cached NS for aggresive answers
Vladimír Čunát [Fri, 20 Jul 2018 15:35:15 +0000 (17:35 +0200)]
cache: better logging of NSEC3 parameters
Petr Špaček [Tue, 24 Jul 2018 16:17:58 +0000 (16:17 +0000)]
Merge branch 'tls-tickets-0ms' into 'master'
daemon/tls session tickets: avoid bad scheduling cycles
Closes #385
See merge request knot/knot-resolver!631
Vladimír Čunát [Tue, 24 Jul 2018 16:02:12 +0000 (18:02 +0200)]
daemon/tls session tickets: avoid bad scheduling cycles
This should fix #385: possible floods with
> scheduling rotation check in 0 ms
Petr Špaček [Mon, 23 Jul 2018 14:24:02 +0000 (14:24 +0000)]
Merge branch 'tls-reneg' into 'master'
daemon/tls: properly process TLS rehandshake
See merge request knot/knot-resolver!623
Grigorii Demidov [Mon, 9 Jul 2018 12:42:51 +0000 (14:42 +0200)]
daemon/tls: properly process TLS rehandshake
Tomas Krizek [Mon, 16 Jul 2018 10:22:50 +0000 (10:22 +0000)]
Merge branch 'update-rpm-spec' into 'master'
distro/rpm: add BuildRequires: gcc
See merge request knot/knot-resolver!625
Tomas Krizek [Wed, 11 Jul 2018 13:06:23 +0000 (15:06 +0200)]
distro/rpm: add BuildRequires: gcc-c++
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
Tomas Krizek [Mon, 16 Jul 2018 09:35:08 +0000 (09:35 +0000)]
Merge branch 'add-version-in-lua' into 'master'
added package_version() in Lua, removed version module
See merge request knot/knot-resolver!412
Tomas Krizek [Mon, 16 Jul 2018 09:15:37 +0000 (11:15 +0200)]
distro/deb: remove version.lua module
Marek Vavruša [Sat, 2 Dec 2017 04:00:03 +0000 (20:00 -0800)]
added package_version() in Lua, removed version module
The package_version() function returns current build information.
Removed the version module instead of fixing, as it's being obsoleted.
Marek Vavruša [Wed, 30 May 2018 06:41:09 +0000 (23:41 -0700)]
luacheck: added missing module (trust_anchors)
Petr Špaček [Mon, 16 Jul 2018 09:24:27 +0000 (09:24 +0000)]
Merge branch 'various-tcp-fixes' into 'master'
daemon: avoid memory leak when reading broken incoming TCP stream
See merge request knot/knot-resolver!626
Grigorii Demidov [Wed, 11 Jul 2018 13:50:03 +0000 (15:50 +0200)]
daemon: broken incoming TCP stream can lead to memory leaks in some circumstances, fixed
Petr Špaček [Mon, 16 Jul 2018 09:12:16 +0000 (09:12 +0000)]
Merge branch 'tcp-client-idle-timeout' into 'master'
daemon/io: configurable idle timeout for incoming TCP connection
See merge request knot/knot-resolver!624
Grigorii Demidov [Tue, 26 Jun 2018 08:49:23 +0000 (10:49 +0200)]
daemon: make idle timeout for incoming connection configurable
Tomas Krizek [Mon, 16 Jul 2018 08:47:48 +0000 (08:47 +0000)]
Merge branch 'respdiff-threshold' into 'master'
ci: bump respdiff threshold to 1.0%
See merge request knot/knot-resolver!627
Tomas Krizek [Mon, 16 Jul 2018 08:09:54 +0000 (10:09 +0200)]
ci: bump respdiff threshold to 1.0%
The upstream data have changed, so the threshold has to be bumped for CI
to pass. This is a temporary measure before we have a better working
solution
Related https://gitlab.labs.nic.cz/knot/respdiff/issues/12
Tomas Krizek [Tue, 3 Jul 2018 08:24:48 +0000 (10:24 +0200)]
Merge branch 'release-2-4-0' into 'master'
Release 2.4.0
See merge request knot/knot-resolver!622
Tomas Krizek [Tue, 3 Jul 2018 08:12:01 +0000 (10:12 +0200)]
release 2.4.0
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