]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
6 years agotreewide nitpick: fix -Wshadow
Vladimír Čunát [Fri, 30 Nov 2018 11:15:15 +0000 (12:15 +0100)] 
treewide nitpick: fix -Wshadow

None of these seemed to be errors, but it seems better to clear these.

6 years agoMerge !739: daemon/tls: fix rare case of improperly handled rehandshake
Vladimír Čunát [Tue, 8 Jan 2019 10:05:12 +0000 (10:05 +0000)] 
Merge !739: daemon/tls: fix rare case of improperly handled rehandshake

6 years agodaemon/tls: in some cases rehandshake might be improperly handled, which may lead...
Grigorii Demidov [Mon, 31 Dec 2018 13:30:44 +0000 (14:30 +0100)] 
daemon/tls: in some cases rehandshake might be improperly handled, which may lead to assertion;

6 years agoMerge !740: dockerfile: best practices
Vladimír Čunát [Mon, 7 Jan 2019 16:10:41 +0000 (16:10 +0000)] 
Merge !740: dockerfile: best practices

6 years agodockerfile: use ENTRYPOINT for main command
Tomas Krizek [Thu, 3 Jan 2019 09:31:48 +0000 (10:31 +0100)] 
dockerfile: use ENTRYPOINT for main command

6 years agodockerfile: use LABEL instead of MAINTAINER
Tomas Krizek [Thu, 3 Jan 2019 09:15:21 +0000 (10:15 +0100)] 
dockerfile: use LABEL instead of MAINTAINER

6 years agoMerge !733: various nitpicks, mainly docs
Vladimír Čunát [Mon, 7 Jan 2019 14:35:09 +0000 (14:35 +0000)] 
Merge !733: various nitpicks, mainly docs

6 years agodoc for net.tls_sticket_secret: outdated text
Vladimír Čunát [Wed, 2 Jan 2019 13:18:12 +0000 (14:18 +0100)] 
doc for net.tls_sticket_secret: outdated text

6 years agoqueue_* doc: explicitly note non-emptiness requirement
Vladimír Čunát [Wed, 19 Dec 2018 10:17:01 +0000 (11:17 +0100)] 
queue_* doc: explicitly note non-emptiness requirement

6 years agopolicy docs: improve the examples
Vladimír Čunát [Tue, 18 Dec 2018 15:28:15 +0000 (16:28 +0100)] 
policy docs: improve the examples

6 years agoworker interactive mode: add TODO
Vladimír Čunát [Mon, 10 Dec 2018 17:50:58 +0000 (18:50 +0100)] 
worker interactive mode: add TODO

6 years agolib/utils: more docs
Vladimír Čunát [Thu, 22 Nov 2018 16:43:15 +0000 (17:43 +0100)] 
lib/utils: more docs

It's perhaps unfortunate that the output value of buflen had +1 change
in meaning in commit 19a3cad69, but the name clearly indicates that we
care about length of the buffer, i.e. space terminating zero *is*
counted on input, so let's be consistent and count it on output as well.

6 years agodaemon/worker: re-activate assertion
Vladimír Čunát [Tue, 6 Nov 2018 14:34:40 +0000 (15:34 +0100)] 
daemon/worker: re-activate assertion

The problem has been fixed, apparently.

6 years agoMerge !745: docker config: correct the help output
Vladimír Čunát [Sat, 5 Jan 2019 16:25:23 +0000 (16:25 +0000)] 
Merge !745: docker config: correct the help output

6 years agoCorrect help function output in docker config.
Ali Asad Lotia [Sat, 5 Jan 2019 02:58:07 +0000 (21:58 -0500)] 
Correct help function output in docker config.

Previously the help function output in the docker config listed port 80
as the port on which the server would listen for DNS over UDP and TCP.
However that was inconsistent with the first output line where it was
indicated to be port 53. This has now been corrected.

6 years agoMerge branch 'centos-issue' into 'master'
Petr Špaček [Fri, 4 Jan 2019 13:09:32 +0000 (13:09 +0000)] 
Merge branch 'centos-issue' into 'master'

daemon/tls: fix broken compatibility with gnutls 3.3

Closes #438

See merge request knot/knot-resolver!741

6 years agodaemon/tls: fix broken compatibility with gnutls 3.3
Grigorii Demidov [Thu, 3 Jan 2019 14:52:25 +0000 (15:52 +0100)] 
daemon/tls: fix broken compatibility with gnutls 3.3

6 years agoMerge !734: daemon/worker: improve timeouted outgoing tcp
Vladimír Čunát [Wed, 2 Jan 2019 12:39:50 +0000 (12:39 +0000)] 
Merge !734: daemon/worker: improve timeouted outgoing tcp

6 years agodaemon/worker: improved handling of timeouted outgouing tcp connections
Grigorii Demidov [Wed, 19 Dec 2018 13:28:48 +0000 (14:28 +0100)] 
daemon/worker: improved handling of timeouted outgouing tcp connections

6 years agoMerge branch 'pause-when-hover' into 'master'
Petr Špaček [Fri, 21 Dec 2018 12:22:01 +0000 (12:22 +0000)] 
Merge branch 'pause-when-hover' into 'master'

Modernize graphs in HTTP module

See merge request knot/knot-resolver!736

6 years agopause life graph data when hovered by mouse
Michal Lupečka [Thu, 20 Dec 2018 16:03:30 +0000 (17:03 +0100)] 
pause life graph data when hovered by mouse

6 years agograph legend at right top corner
Michal Lupečka [Thu, 20 Dec 2018 15:03:19 +0000 (16:03 +0100)] 
graph legend at right top corner

6 years agonew version of graph library Dygraph; new colors; repaired data type
Michal Lupečka [Thu, 20 Dec 2018 13:23:00 +0000 (14:23 +0100)] 
new version of graph library Dygraph; new colors; repaired data type

6 years agoMerge branch 'dnssec_log' into 'master'
Petr Špaček [Fri, 21 Dec 2018 10:44:03 +0000 (10:44 +0000)] 
Merge branch 'dnssec_log' into 'master'

Improvements for DNSSEC logging

See merge request knot/knot-resolver!735

6 years agodnssec: improve bogus logging to give more info
Petr Špaček [Thu, 20 Dec 2018 16:32:53 +0000 (17:32 +0100)] 
dnssec: improve bogus logging to give more info

6 years agovalidator: clarify message about bogus non-authoritative data
Petr Špaček [Thu, 20 Dec 2018 11:13:46 +0000 (12:13 +0100)] 
validator: clarify message about bogus non-authoritative data

6 years agoMerge branch 'news_320' into 'master' v3.2.0
Tomas Krizek [Mon, 17 Dec 2018 13:24:23 +0000 (13:24 +0000)] 
Merge branch 'news_320' into 'master'

NEWS: 3.2.0 release

See merge request knot/knot-resolver!730

6 years agorelease 3.2.0
Tomas Krizek [Mon, 17 Dec 2018 13:09:13 +0000 (14:09 +0100)] 
release 3.2.0

6 years agoNEWS: 3.2.0
Petr Špaček [Mon, 17 Dec 2018 11:58:16 +0000 (12:58 +0100)] 
NEWS: 3.2.0

6 years agoview: clarify docs
Petr Špaček [Mon, 17 Dec 2018 11:57:15 +0000 (12:57 +0100)] 
view: clarify docs

6 years agoMerge branch 'packaging-update' into 'master'
Tomas Krizek [Mon, 17 Dec 2018 11:47:21 +0000 (11:47 +0000)] 
Merge branch 'packaging-update' into 'master'

packaging updates

Closes #419

See merge request knot/knot-resolver!712

6 years agodostr/common: tweak kresd.conf
Tomas Krizek [Mon, 17 Dec 2018 10:59:48 +0000 (11:59 +0100)] 
dostr/common: tweak kresd.conf

Don't explicitly load policy module, which is loaded by default anyway.

6 years agomodules/experimental_dot_auth: fix lualint errors in basexx
Tomas Krizek [Thu, 13 Dec 2018 16:22:38 +0000 (17:22 +0100)] 
modules/experimental_dot_auth: fix lualint errors in basexx

6 years agodistro/deb: add experimental_dot_auth module
Tomas Krizek [Thu, 13 Dec 2018 13:17:49 +0000 (14:17 +0100)] 
distro/deb: add experimental_dot_auth module

6 years agomodules/experimental_dot_auth: bundle basexx.lua
Tomas Krizek [Thu, 13 Dec 2018 13:15:45 +0000 (14:15 +0100)] 
modules/experimental_dot_auth: bundle basexx.lua

Fedora, CentOS and Ubuntu 16.04 are missing lua-basexx dependency.
Since it's just a single file, it's easier to bundle it with the module.

Related https://gitlab.labs.nic.cz/knot/knot-resolver/merge_requests/711

6 years agolibkres: bump ABI to 9
Tomas Krizek [Thu, 13 Dec 2018 12:30:26 +0000 (13:30 +0100)] 
libkres: bump ABI to 9

6 years agodistro/deb: update libkres symbols
Tomas Krizek [Thu, 13 Dec 2018 12:25:27 +0000 (13:25 +0100)] 
distro/deb: update libkres symbols

6 years agodistro/common: mention systemd.socket in kresd.systemd man page
Tomas Krizek [Mon, 10 Dec 2018 17:43:17 +0000 (18:43 +0100)] 
distro/common: mention systemd.socket in kresd.systemd man page

6 years agodistro/rpm: remove F27 migration
Tomas Krizek [Mon, 10 Dec 2018 14:39:51 +0000 (15:39 +0100)] 
distro/rpm: remove F27 migration

6 years agoci/fedora: add correct obs repo to F29 container
Tomas Krizek [Fri, 30 Nov 2018 11:46:47 +0000 (12:46 +0100)] 
ci/fedora: add correct obs repo to F29 container

6 years agodoc/daemon: trust_anchors.keyfile_default
Tomas Krizek [Thu, 13 Dec 2018 14:38:22 +0000 (15:38 +0100)] 
doc/daemon: trust_anchors.keyfile_default

6 years agodistro/kresd.no_ta.conf - mention how to turn off DNSSEC validation
Tomas Krizek [Thu, 29 Nov 2018 14:13:59 +0000 (15:13 +0100)] 
distro/kresd.no_ta.conf - mention how to turn off DNSSEC validation

6 years agodistro/tests: use faster mirrorlist for Arch
Tomas Krizek [Tue, 27 Nov 2018 10:52:48 +0000 (11:52 +0100)] 
distro/tests: use faster mirrorlist for Arch

6 years agoREADME: remove unused coverity status icon
Tomas Krizek [Fri, 23 Nov 2018 10:49:16 +0000 (11:49 +0100)] 
README: remove unused coverity status icon

6 years agodistro/arch: use dnssec-anchors
Tomas Krizek [Fri, 23 Nov 2018 16:14:48 +0000 (17:14 +0100)] 
distro/arch: use dnssec-anchors

6 years agodistro/arch: add armv7h to supported archs
Tomas Krizek [Fri, 2 Nov 2018 16:30:56 +0000 (17:30 +0100)] 
distro/arch: add armv7h to supported archs

6 years agoMerge branch 'config-examples' into 'master'
Petr Špaček [Mon, 17 Dec 2018 10:38:50 +0000 (10:38 +0000)] 
Merge branch 'config-examples' into 'master'

etc/config.*: tweak the config examples

See merge request knot/knot-resolver!729

6 years agoetc/config.*: tweak the config examples
Vladimír Čunát [Sun, 16 Dec 2018 10:11:48 +0000 (11:11 +0100)] 
etc/config.*: tweak the config examples

The main impulse was to have 'hints > iterate', as people usually expect
hints to take precendence before cache.

6 years agoMerge !727: lib/resolve: drop a piece cycle-avoidance code
Vladimír Čunát [Fri, 14 Dec 2018 19:58:28 +0000 (19:58 +0000)] 
Merge !727: lib/resolve: drop a piece cycle-avoidance code

6 years agolib/resolve: drop a piece cycle-avoidance code
Vladimír Čunát [Fri, 7 Dec 2018 20:15:02 +0000 (21:15 +0100)] 
lib/resolve: drop a piece cycle-avoidance code

- It was too aggressive.  Example I ran into: we have glue address
  in qry->ns but we want to find authoritative record by asking the NS.
- The anti-cycling measures are probably not perfect yet,
  but they seem to be fine enough and this commit seems
  very unlikely to make anything worse in practice.

6 years agoMerge branch 'tls-failed-rehandshake' into 'master'
Petr Špaček [Fri, 14 Dec 2018 17:57:01 +0000 (17:57 +0000)] 
Merge branch 'tls-failed-rehandshake' into 'master'

daemon: proper processing of unsuccessful TLS rehandshake

See merge request knot/knot-resolver!728

6 years agodaemon: proper processing of unsuccessful TLS rehandshake
Grigorii Demidov [Fri, 14 Dec 2018 12:31:47 +0000 (13:31 +0100)] 
daemon: proper processing of unsuccessful TLS rehandshake

6 years agoMerge branch 'stub-timneouting' into 'master'
Petr Špaček [Fri, 14 Dec 2018 11:57:26 +0000 (11:57 +0000)] 
Merge branch 'stub-timneouting' into 'master'

daemon: addition to fd54dd5a, handle STUB in the same way as FORWARDING;

See merge request knot/knot-resolver!723

6 years agoNEWS: update after recent merges
Vladimír Čunát [Tue, 11 Dec 2018 14:33:55 +0000 (15:33 +0100)] 
NEWS: update after recent merges

6 years agolib/nsrep _sort(): reduce code repetition
Vladimír Čunát [Tue, 11 Dec 2018 14:19:22 +0000 (15:19 +0100)] 
lib/nsrep _sort(): reduce code repetition

6 years agodaemon: addition to fd54dd5a, handle STUB in the same way as FORWARDING;
Grigorii Demidov [Tue, 11 Dec 2018 14:06:29 +0000 (15:06 +0100)] 
daemon: addition to fd54dd5a, handle STUB in the same way as FORWARDING;

also improvement in NS election algorytm when using FORWARDING & STUB.

6 years agoMerge !678: view: change to a more natural semantics
Vladimír Čunát [Thu, 13 Dec 2018 16:40:22 +0000 (16:40 +0000)] 
Merge !678: view: change to a more natural semantics

6 years agoview doc: better explain rule order
Vladimír Čunát [Tue, 11 Dec 2018 17:39:26 +0000 (18:39 +0100)] 
view doc: better explain rule order

6 years agoview: test new semantics
Petr Špaček [Mon, 10 Dec 2018 15:09:55 +0000 (16:09 +0100)] 
view: test new semantics

6 years agotests: move view tests from Deckard repo to kresd repo
Petr Špaček [Mon, 10 Dec 2018 14:24:31 +0000 (15:24 +0100)] 
tests: move view tests from Deckard repo to kresd repo

This is an attempt to separate kresd-specific tests from generic DNS
resolver tests.

6 years agomodules/{policy,view}: do not act if FAIL or DONE
Vladimír Čunát [Wed, 12 Dec 2018 14:29:23 +0000 (15:29 +0100)] 
modules/{policy,view}: do not act if FAIL or DONE

Not all actions are destructive, but it seems generally expected that if
an earlier module or other code already transitioned the request into
a FAIL or DONE state, we don't want to apply rules anymore.
In particular, later rule actions would "overwrite" what previous
actions did.

6 years agoview: allow multiple :tsig rules with the same key
Vladimír Čunát [Tue, 11 Dec 2018 17:13:32 +0000 (18:13 +0100)] 
view: allow multiple :tsig rules with the same key

It's perhaps still confusing that there are three distinct rule chains:
policy, view:tsig and view:addr.

6 years agoview: change :addr to a more natural semantics
Vladimír Čunát [Mon, 17 Sep 2018 09:34:11 +0000 (11:34 +0200)] 
view: change :addr to a more natural semantics

Continue executing :addr rules until a non-chain action is executed.
Before this, the only the first match in view:addr rules got a chance,
even though the inner policy rule might not trigger in that case
or be a chain action.

6 years agoview doc: warn against split-horizon DNS
Vladimír Čunát [Mon, 17 Sep 2018 10:48:30 +0000 (12:48 +0200)] 
view doc: warn against split-horizon DNS

6 years agoMerge branch 'doc_graft' into 'master'
Petr Špaček [Thu, 13 Dec 2018 14:31:16 +0000 (14:31 +0000)] 
Merge branch 'doc_graft' into 'master'

policy: improve example for grafting subtrees

See merge request knot/knot-resolver!726

6 years agopolicy: improve example for grafting subtrees
Petr Špaček [Thu, 13 Dec 2018 14:29:58 +0000 (15:29 +0100)] 
policy: improve example for grafting subtrees

6 years agoMerge branch 'ci-pytests-fix-connflood' into 'master'
Petr Špaček [Thu, 13 Dec 2018 11:40:59 +0000 (11:40 +0000)] 
Merge branch 'ci-pytests-fix-connflood' into 'master'

ci: run pytests with ASAN + fix con_flood

See merge request knot/knot-resolver!725

6 years agoci: run small respdiff with ASAN build
Tomas Krizek [Wed, 12 Dec 2018 16:53:27 +0000 (17:53 +0100)] 
ci: run small respdiff with ASAN build

6 years agopytests/conn_flood: select number of connections dynamically
Tomas Krizek [Tue, 11 Dec 2018 17:19:15 +0000 (18:19 +0100)] 
pytests/conn_flood: select number of connections dynamically

6 years agoci/gitlab-ci.yaml: use ASAN build for pytests
Tomas Krizek [Tue, 11 Dec 2018 16:48:57 +0000 (17:48 +0100)] 
ci/gitlab-ci.yaml: use ASAN build for pytests

6 years agoMerge branch 'alexforster/so-attach-bpf' into 'master'
Petr Špaček [Thu, 13 Dec 2018 11:28:24 +0000 (11:28 +0000)] 
Merge branch 'alexforster/so-attach-bpf' into 'master'

daemon: support Linux eBPF socket filters with new net.bpf_set(fd) and net.bpf_clear() bindings

See merge request knot/knot-resolver!719

6 years agodaemon/bindings: eBPF socket filter support, fix broken RHEL/CentOS build; fix callba...
Grigorii Demidov [Tue, 11 Dec 2018 15:39:52 +0000 (16:39 +0100)] 
daemon/bindings: eBPF socket filter support, fix broken RHEL/CentOS build; fix callbacks for map_walk()

6 years agodaemon/bindings: eBPF socket filters bindings, avoid usage of lua 5.3 macro; fix...
Grigorii Demidov [Tue, 11 Dec 2018 14:57:57 +0000 (15:57 +0100)] 
daemon/bindings: eBPF socket filters bindings, avoid usage of lua 5.3 macro; fix clang warnings

6 years agodaemon: support Linux eBPF socket filters with new net.bpf_set(fd) and net.bpf_clear...
Alex Forster [Wed, 5 Dec 2018 23:01:33 +0000 (17:01 -0600)] 
daemon: support Linux eBPF socket filters with new net.bpf_set(fd) and net.bpf_clear() bindings

6 years agoMerge branch 'tcp-timeout-trigger-fix' into 'master'
Petr Špaček [Wed, 12 Dec 2018 16:45:27 +0000 (16:45 +0000)] 
Merge branch 'tcp-timeout-trigger-fix' into 'master'

daemon/io: additional integrity check

See merge request knot/knot-resolver!724

6 years agodaemon/io: additional integrity check
Grigorii Demidov [Wed, 12 Dec 2018 13:32:17 +0000 (14:32 +0100)] 
daemon/io: additional integrity check

6 years agoMerge !629: new statistics
Vladimír Čunát [Tue, 11 Dec 2018 20:29:54 +0000 (20:29 +0000)] 
Merge !629: new statistics

Closes #186.

6 years agoadd NEWS entries for this branch
Vladimír Čunát [Tue, 11 Dec 2018 18:18:40 +0000 (19:18 +0100)] 
add NEWS entries for this branch

6 years agostats nitpick: refactor to simpler code
Vladimír Čunát [Tue, 11 Dec 2018 18:06:12 +0000 (19:06 +0100)] 
stats nitpick: refactor to simpler code

These if-guards seemed unnecessarily complicated.

6 years agobogus_log: document new function frequent()
Petr Špaček [Tue, 11 Dec 2018 17:10:54 +0000 (18:10 +0100)] 
bogus_log: document new function frequent()

6 years agostats: document new counters
Petr Špaček [Tue, 11 Dec 2018 17:03:37 +0000 (18:03 +0100)] 
stats: document new counters

6 years agostats: fix crash when stats.get/set is called with invalid parameters
Petr Špaček [Tue, 11 Dec 2018 16:03:13 +0000 (17:03 +0100)] 
stats: fix crash when stats.get/set is called with invalid parameters

Closes: #186
6 years agobogus_log: integration tests for bogus_log.frequent()
Petr Špaček [Tue, 11 Dec 2018 15:42:49 +0000 (16:42 +0100)] 
bogus_log: integration tests for bogus_log.frequent()

6 years agostats: integration tests
Petr Špaček [Tue, 11 Dec 2018 14:32:50 +0000 (15:32 +0100)] 
stats: integration tests

6 years agofixup! added stats for all dns header flags
Petr Špaček [Tue, 11 Dec 2018 10:40:26 +0000 (11:40 +0100)] 
fixup! added stats for all dns header flags

Flag counting was incorrect.

6 years agofix content type
Ulrich Wisser [Thu, 19 Jul 2018 22:44:31 +0000 (18:44 -0400)] 
fix content type

6 years agoadded tests for new web apis
Ulrich Wisser [Thu, 19 Jul 2018 22:36:14 +0000 (18:36 -0400)] 
added tests for new web apis
added new global bogus_log

6 years agoexpose bogus_log.frequent as web api
Ulrich Wisser [Thu, 19 Jul 2018 22:20:42 +0000 (18:20 -0400)] 
expose bogus_log.frequent as web api

6 years agobogus_log: add list of most frequent bogus queries
Ulrich Wisser [Thu, 19 Jul 2018 02:19:18 +0000 (22:19 -0400)] 
bogus_log: add list of most frequent bogus queries

6 years agoall stats are now named with prefix answer_
Ulrich Wisser [Tue, 17 Jul 2018 20:47:35 +0000 (16:47 -0400)] 
all stats are now named with prefix answer_
stats with query_ prefix are deprecated
added stats for all dns header flags

6 years agoexpose stats.upstreams as web api /upstreams
Ulrich Wisser [Tue, 17 Jul 2018 20:46:54 +0000 (16:46 -0400)] 
expose stats.upstreams as web api /upstreams

6 years agoMerge !721: daemon/worker, session: correctly process...
Vladimír Čunát [Tue, 11 Dec 2018 13:51:14 +0000 (13:51 +0000)] 
Merge !721: daemon/worker, session: correctly process...

... connected upstreams list when closing outgoing connection

6 years agodaemon/worker, session: correctly process connected...
Grigorii Demidov [Mon, 10 Dec 2018 14:01:37 +0000 (15:01 +0100)] 
daemon/worker, session: correctly process connected...

... upstreams list when closing outgoing connection

6 years agoMerge !673: use randomness from gnutls instead of internal ISAAC
Vladimír Čunát [Tue, 11 Dec 2018 11:56:29 +0000 (11:56 +0000)] 
Merge !673: use randomness from gnutls instead of internal ISAAC

6 years agokr_random_coin: do not crash on invalid values
Petr Špaček [Mon, 10 Dec 2018 17:43:00 +0000 (18:43 +0100)] 
kr_random_coin: do not crash on invalid values

6 years agoremove kr_rand_bytes_nonstatic()
Vladimír Čunát [Mon, 17 Sep 2018 16:33:35 +0000 (18:33 +0200)] 
remove kr_rand_bytes_nonstatic()

It seems simpler, now that we have kr_rnd_buffered().

6 years agobuffer randomness from gnutls
Vladimír Čunát [Mon, 17 Sep 2018 15:37:16 +0000 (17:37 +0200)] 
buffer randomness from gnutls

gnutls_rnd() is more heavy-weight than I originally anticipated,
and in simple profiling it would take roughly 1% of CPU.
With this simple buffering the usage dropped well under 0.1%.

6 years agoadd kr_random_coin() to make some code more readable
Vladimír Čunát [Mon, 17 Sep 2018 13:54:01 +0000 (15:54 +0200)] 
add kr_random_coin() to make some code more readable

6 years agouse randomness from gnutls instead of internal ISAAC
Vladimír Čunát [Wed, 12 Sep 2018 15:08:22 +0000 (17:08 +0200)] 
use randomness from gnutls instead of internal ISAAC

6 years agoMerge !722: small command input fixes
Vladimír Čunát [Mon, 10 Dec 2018 16:23:09 +0000 (16:23 +0000)] 
Merge !722: small command input fixes