]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Vladimír Čunát [Wed, 22 Feb 2017 13:47:26 +0000 (14:47 +0100)]
modules/dnstap: move description into the docs
Vladimír Čunát [Wed, 22 Feb 2017 12:50:10 +0000 (13:50 +0100)]
modules/dnstap: nitpicks
Vladimír Čunát [Wed, 22 Feb 2017 12:10:21 +0000 (13:10 +0100)]
dnstap.proto: move from contrib into module
... and generate files instead of including them.
Vicky Shrestha [Tue, 17 Jan 2017 08:08:17 +0000 (08:08 +0000)]
minor changes from https://github.com/CZ-NIC/knot-resolver/pull/39
Vicky Shrestha [Fri, 30 Dec 2016 20:14:55 +0000 (12:14 -0800)]
adding dnstap to documentation
Vicky Shrestha [Fri, 30 Dec 2016 20:14:02 +0000 (12:14 -0800)]
dnstap tests requires go 1.5+
removing it from make test since default go version for language
C in Travis is 1.4 which has no vendoring support
Vicky Shrestha [Mon, 26 Dec 2016 09:16:05 +0000 (01:16 -0800)]
adding dnstap dependencies to bootstrap
Vicky Shrestha [Mon, 26 Dec 2016 08:05:49 +0000 (00:05 -0800)]
fixing makefile to compile protobuf if dnstap is enabled
Vicky Shrestha [Sat, 24 Dec 2016 18:04:53 +0000 (10:04 -0800)]
Fixing structs after rebasing upstream changes
Vicky Shrestha [Thu, 8 Dec 2016 07:26:04 +0000 (23:26 -0800)]
dnstap testing application
Vicky Shrestha [Thu, 22 Sep 2016 22:32:27 +0000 (15:32 -0700)]
Adding dnstap module
Vladimír Čunát [Fri, 3 Mar 2017 12:28:28 +0000 (13:28 +0100)]
Merge !226: lib/resolve: deferred answer processing was fixed
Vladimír Čunát [Fri, 3 Mar 2017 12:04:02 +0000 (13:04 +0100)]
Merge !225: rrcache: don't store NSEC3 and their signatures
Vladimír Čunát [Fri, 3 Mar 2017 12:02:39 +0000 (13:02 +0100)]
Merge !224: layer/validate: fix missing AD flag in some cases
Fixes #164.
Grigorii Demidov [Fri, 3 Mar 2017 09:17:06 +0000 (10:17 +0100)]
lib/resolve: deferred answer processing was fixed
Vladimír Čunát [Thu, 2 Mar 2017 17:28:14 +0000 (18:28 +0100)]
rrcache: don't store NSEC3 and their signatures
They would end up cached by their hashed owner names and then even
returned if explicitly queried by that hashed name, which is not correct:
https://tools.ietf.org/html/rfc4035#section-2.3
Internally we only need these for non-existence proofs, and those are
stored in pktcache instead.
Grigorii Demidov [Wed, 1 Mar 2017 12:47:27 +0000 (13:47 +0100)]
layer/validate: don't treat anwsers which contain DS non-existance proof as unsecured
Vladimír Čunát [Wed, 1 Mar 2017 09:59:56 +0000 (10:59 +0100)]
Merge !221: daemon: fixed memory leak and array bounds check fail
Submitted as https://github.com/CZ-NIC/knot-resolver/pull/42
Petr Špaček [Wed, 1 Mar 2017 08:13:22 +0000 (09:13 +0100)]
Merge branch 'full_check_integration' into 'master'
Update check-integration to run full test suite from Deckard
See merge request !220
Marek Vavruša [Tue, 28 Feb 2017 19:05:20 +0000 (11:05 -0800)]
daemon: fixed memory leak and array bounds check fail
Petr Špaček [Tue, 28 Feb 2017 16:27:36 +0000 (17:27 +0100)]
tests: print warning if check-integration is executed with PREFIX outside of source directory
Petr Špaček [Tue, 28 Feb 2017 10:46:04 +0000 (11:46 +0100)]
tests: use tests/deckard/kresd_run.sh for check-integration target
Now the check-integration is (again) doing the same set of tests
as kresd_run.sh in Deckard tree.
Vladimír Čunát [Tue, 28 Feb 2017 13:33:29 +0000 (14:33 +0100)]
Merge 219: lib/resolve: forward +cd in stub mode; minor bugfix
Grigorii Demidov [Tue, 28 Feb 2017 12:30:25 +0000 (13:30 +0100)]
lib/resolve: forward +cd in stub mode; minor bugfix in debug output
Vladimír Čunát [Tue, 28 Feb 2017 11:42:23 +0000 (12:42 +0100)]
Merge !202: trust anchor improvements
Vladimír Čunát [Tue, 28 Feb 2017 10:49:26 +0000 (11:49 +0100)]
Merge !210: support setting address for outgoing connections
Closes #158.
Vladimír Čunát [Mon, 20 Feb 2017 10:26:27 +0000 (11:26 +0100)]
lua: add net.outgoing_{v4,v6} and documentation
Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/158
The naming is inspired by Unbound's "outgoing-interface".
Vladimír Čunát [Mon, 20 Feb 2017 09:12:38 +0000 (10:12 +0100)]
daemon: support restricting outgoing IP address
Grigorii Demidov [Tue, 28 Feb 2017 09:59:09 +0000 (10:59 +0100)]
Merge branch 'fix-dups' into 'master'
layer/validate: fix duplicate records in AUTHORITY section in case of WC expansion proof
See merge request !216
Grigorii Demidov [Tue, 28 Feb 2017 09:47:05 +0000 (10:47 +0100)]
tests: sync deckard; cleanup
Vladimír Čunát [Tue, 28 Feb 2017 09:24:20 +0000 (10:24 +0100)]
Merge !209: iterate: remove unused function
Grigorii Demidov [Mon, 27 Feb 2017 12:19:48 +0000 (13:19 +0100)]
layer/validate: fix duplicate records in AUTHORITY section in case of WC expansion proof
Vladimír Čunát [Tue, 14 Feb 2017 15:44:27 +0000 (16:44 +0100)]
trust anchors: persist the state and timer
The format of TA store is compatible both ways with old kresd.
Note: it requires the parent commit to work, i.e. new libzscanner.
Vladimír Čunát [Tue, 14 Feb 2017 15:13:23 +0000 (16:13 +0100)]
zonefile.lua: support comments and string input
Comment parsing will only be supported in future libzscanner version.
Also move out of the module, as trust_anchors.lua requires it and isn't
in a module.
Vladimír Čunát [Fri, 24 Feb 2017 14:07:36 +0000 (15:07 +0100)]
Merge !215: lua: do *not* truncate cache size to unsigned
Vladimír Čunát [Fri, 24 Feb 2017 10:26:28 +0000 (11:26 +0100)]
lua: do *not* truncate cache size to unsigned
... and perform extra checks when converting from the floating-point
number.
Vladimír Čunát [Tue, 21 Feb 2017 15:00:43 +0000 (16:00 +0100)]
Merge !211: iterate: skip answer RRs that don't match the query
Fixes #160.
Vladimír Čunát [Tue, 21 Feb 2017 14:53:41 +0000 (15:53 +0100)]
Merge !184: add workarounds module
Vladimír Čunát [Tue, 21 Feb 2017 11:13:41 +0000 (12:13 +0100)]
workarounds: add magazine-fashion.net
Some of their nameservers return 192.168.1.1, but it seems an
improvement, as meaningful address is returned sometimes now.
Vladimír Čunát [Tue, 21 Feb 2017 10:38:19 +0000 (11:38 +0100)]
workarounds: add another NS set with bogus 0x20 PTR
Vladimír Čunát [Mon, 20 Feb 2017 12:50:39 +0000 (13:50 +0100)]
iterate: skip answer RRs that don't match the query
Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/160
Vladimír Čunát [Mon, 20 Feb 2017 07:06:57 +0000 (08:06 +0100)]
utils: add union inaddr
It will be a useful idiom for IP address storage and correct conversion
of sockaddr* pointers.
Petr Špaček [Fri, 17 Feb 2017 19:20:12 +0000 (20:20 +0100)]
Merge branch 'harden-permissive-mode' into 'master'
Disable storing GLUE records into the cache in the QUERY_PERMISSIVE mode
See merge request !208
Ondřej Surý [Fri, 17 Feb 2017 14:18:25 +0000 (15:18 +0100)]
Disable storing GLUE records into the cache in the QUERY_PERMISSIVE mode
Vladimír Čunát [Fri, 17 Feb 2017 15:41:18 +0000 (16:41 +0100)]
iterate: remove function unused after parent merge
Grigorii Demidov [Fri, 17 Feb 2017 11:57:21 +0000 (12:57 +0100)]
Merge branch 'fix-cname-unroll' into 'master'
layer/iterate: some improvements in cname chain unrolling
See merge request !207
Grigorii Demidov [Fri, 17 Feb 2017 10:36:11 +0000 (11:36 +0100)]
layer/iterate: some improvements in cname chain unrolling
Grigorii Demidov [Thu, 16 Feb 2017 14:22:10 +0000 (15:22 +0100)]
Merge branch 'fix-unsecured-secured' into 'master'
lib/resolve: zonecut fetching error was fixed
See merge request !205
Grigorii Demidov [Thu, 16 Feb 2017 12:23:41 +0000 (13:23 +0100)]
lib/resolve: zonecut fetching error was fixed
Vladimír Čunát [Thu, 16 Feb 2017 10:15:39 +0000 (11:15 +0100)]
policy: document the FLAGS action
Vladimír Čunát [Wed, 15 Feb 2017 17:30:34 +0000 (18:30 +0100)]
workarounds docs: add manual section
Vladimír Čunát [Wed, 15 Feb 2017 17:27:19 +0000 (18:27 +0100)]
avoid a doxygen warning
Vladimír Čunát [Wed, 15 Feb 2017 17:19:32 +0000 (18:19 +0100)]
kres-gen.lua: reduce installed whitespace
Vladimír Čunát [Wed, 15 Feb 2017 17:15:11 +0000 (18:15 +0100)]
workarounds: add code to deal with #139
Vladimír Čunát [Mon, 30 Jan 2017 16:38:27 +0000 (17:38 +0100)]
workarounds: prototype of a new module
including code to deal with #128 and #140.
Vladimír Čunát [Mon, 30 Jan 2017 14:58:55 +0000 (15:58 +0100)]
policy: add policy.FLAGS, (un)setting query flags
Vladimír Čunát [Mon, 30 Jan 2017 14:58:00 +0000 (15:58 +0100)]
NO_0X20: add a new query flag
Vladimír Čunát [Wed, 15 Feb 2017 13:10:13 +0000 (14:10 +0100)]
Merge !204: layer/iterate: mark referrals as non-authoritative
Grigorii Demidov [Wed, 15 Feb 2017 11:57:08 +0000 (12:57 +0100)]
layer/iterate: some additional processing for referrals
Vladimír Čunát [Wed, 15 Feb 2017 10:14:45 +0000 (11:14 +0100)]
Merge !203: .gitignore: add some entries
Vladimír Čunát [Wed, 15 Feb 2017 10:11:12 +0000 (11:11 +0100)]
.gitignore: add some entries
All either generated by the build system or some "standard tools".
Vladimír Čunát [Mon, 13 Feb 2017 13:01:50 +0000 (14:01 +0100)]
trust anchors: improve logging of failures
engine_cmd() doesn't print the error() exceptions thrown from lua;
it only leaves the message on lua stack.
Vladimír Čunát [Fri, 10 Feb 2017 11:51:42 +0000 (12:51 +0100)]
trust anchors: increase hold-down time for Missing
Vladimír Čunát [Mon, 13 Feb 2017 10:15:53 +0000 (11:15 +0100)]
Merge !196: Query name minimization tests in CI
Vladimír Čunát [Mon, 13 Feb 2017 10:12:20 +0000 (11:12 +0100)]
Merge !181: module: document the API and simplify the code
Ondřej Surý [Fri, 10 Feb 2017 07:58:36 +0000 (08:58 +0100)]
Merge branch 'ta-multiple' into 'master'
trust anchor fixes
Closes #151
See merge request !193
Vladimír Čunát [Mon, 6 Feb 2017 14:48:58 +0000 (15:48 +0100)]
trust anchors: nitpicks
- Remove abstraction of the refresh callback, as we always use the same
function. This way the code is significantly easier to understand.
- Add a couple more comments.
Vladimír Čunát [Thu, 9 Feb 2017 13:22:58 +0000 (14:22 +0100)]
trust anchors: remove key missing for too long
It was strange to keep it indefinitely, and the code was already
half-prepared for this change. Theoretically, if a resolver has been
stopped for too long to miss a key's period of Revoked status, it would
continue to trust the key forever.
Vladimír Čunát [Mon, 6 Feb 2017 14:41:16 +0000 (15:41 +0100)]
QUERY_NO_CACHE: sync description and reality
- The description was very misleading (far from reality).
- The removed condition in rrcache was bogus.
Vladimír Čunát [Mon, 6 Feb 2017 13:10:11 +0000 (14:10 +0100)]
trust anchors: nitpicks
- printing refresh time in milliseconds could've been confusing;
- move syntactic sugar definitions close to the rest of the table;
Vladimír Čunát [Mon, 6 Feb 2017 16:56:50 +0000 (17:56 +0100)]
trust anchors: make bootstrap configurable
... via trust_anchors.{bootstrap_url,bootstrap_ca}
Vladimír Čunát [Fri, 3 Feb 2017 16:18:35 +0000 (17:18 +0100)]
trust anchors: verbose-log the RRset when adding
Vladimír Čunát [Fri, 3 Feb 2017 16:17:26 +0000 (17:17 +0100)]
trust anchor bootstrapping: parse multiple records
Petr Špaček [Thu, 9 Feb 2017 12:14:12 +0000 (13:14 +0100)]
CI: Run Deckard tests in parallel
Petr Špaček [Thu, 9 Feb 2017 11:35:53 +0000 (12:35 +0100)]
Run Deckard tests with qmin on & off
Latest version of Deckard provides script kresd_run.sh which executes
all the tests twice:
- without query name minimization
- with query name minimization
Let's use this for CI!
Vladimír Čunát [Wed, 8 Feb 2017 13:17:23 +0000 (14:17 +0100)]
Merge !194: kresc: misc improvements
Vladimír Čunát [Wed, 8 Feb 2017 12:13:57 +0000 (13:13 +0100)]
lua cache.* fixes
- docs: fix cache.current_* since long ago
d5272b4
- don't allow "cache.foo = 'bar'" for abitrary foo
- restore cache['nic.cz'] after
b31bad2ccf while not breaking completion
- #cache won't work on lua 5.1, so remove it
Ondřej Surý [Wed, 8 Feb 2017 12:23:07 +0000 (13:23 +0100)]
Merge branch 'k_param' into 'master'
Fix -k argument processing to avoid out-of-bounds memory accesses
See merge request !195
Petr Špaček [Fri, 3 Feb 2017 14:18:49 +0000 (15:18 +0100)]
Fix -k argument processing to avoid out-of-bounds memory accesses
Mangling of keyfile_dir and allocation of keyfile_path led to rare
crashes (and Valgrind complaints).
The error was introduced in
21f3a6b9d0ed3b4ae05d4d1f1612f0f277235723 .
Štěpán Balážik [Mon, 6 Feb 2017 19:14:38 +0000 (20:14 +0100)]
kresc: fix unfree'd strings
Štěpán Balážik [Mon, 6 Feb 2017 17:18:14 +0000 (18:18 +0100)]
kresc: refactor `complete` to multiple functions
Vladimír Čunát [Mon, 6 Feb 2017 10:41:19 +0000 (11:41 +0100)]
kresc: fix coverity warning 155938
The FD leak happened only when we exit the process, but still...
Stepan Balazik [Mon, 6 Feb 2017 09:38:15 +0000 (10:38 +0100)]
kresc: fix: possible uninitialized variable
Petr Špaček [Fri, 3 Feb 2017 18:48:05 +0000 (19:48 +0100)]
Merge branch 'add_libedit_2' into 'master'
Added client (kresc) for interacting with daemon using command prompt with history and tab-completion
See merge request !177
Štěpán Balážik [Wed, 1 Feb 2017 14:19:56 +0000 (15:19 +0100)]
lua sandbox: fix syntactic sugar for `cache` table in order for tab-completion to work properly
Vladimír Čunát [Tue, 31 Jan 2017 17:07:58 +0000 (18:07 +0100)]
daemon TTY: comment nitpicks
Vladimír Čunát [Tue, 31 Jan 2017 16:28:54 +0000 (17:28 +0100)]
daemon TTY: don't skip lua_settop in binary mode
This might help if the lua command returns an unexpected number of
arguments.
Vladimír Čunát [Tue, 31 Jan 2017 15:50:56 +0000 (16:50 +0100)]
daemon TTY: use network byte order in binary output
That's to allow tunnelling the TTY to a different endian.
Vladimír Čunát [Tue, 31 Jan 2017 15:40:34 +0000 (16:40 +0100)]
daemon TTY: remove an unused variable
Vladimír Čunát [Tue, 31 Jan 2017 15:37:31 +0000 (16:37 +0100)]
daemon TTY: fix handling of buffer
It was possible to write past the end of the buffer, if very unlucky.
Štěpán Balážik [Wed, 25 Jan 2017 15:47:49 +0000 (16:47 +0100)]
kresc: improve libedit/editline based history and tab-completion
Štěpán Balážik [Wed, 18 Jan 2017 13:35:02 +0000 (14:35 +0100)]
kresc: add basic tab-completion
Vladimír Čunát [Fri, 11 Nov 2016 20:51:11 +0000 (21:51 +0100)]
kresc: add a mock-up of the client
The build system is prepared for libedit.
Vladimír Čunát [Fri, 11 Nov 2016 20:29:09 +0000 (21:29 +0100)]
daemon TTY: support binary output
... via "__binary" pseudocommand
Vladimír Čunát [Fri, 11 Nov 2016 14:19:27 +0000 (15:19 +0100)]
lua sandbox: export the list of original names
That will allow us to discover the top-level symbols for completion.
For others we can e.g.: for n in pairs(net) do print(n); end
I must admit I fail to understand some of the related lua magic.
Vladimír Čunát [Fri, 3 Feb 2017 10:33:15 +0000 (11:33 +0100)]
Merge !192: doc build nitpicks
Vladimír Čunát [Thu, 2 Feb 2017 13:13:20 +0000 (14:13 +0100)]
doc build: missing hexdump/xxd, swapped footnotes
Vladimír Čunát [Mon, 30 Jan 2017 13:39:24 +0000 (14:39 +0100)]
doc build: add optional sphinx_rtd_theme
The theme is no longer included in newer Sphinx versions,
so some systems (at least) will require specifying it explicitly.
(The docs refuse to build without it.)
Vladimír Čunát [Fri, 3 Feb 2017 10:26:07 +0000 (11:26 +0100)]
Merge !182: policy: support IPv6 link-local addresses
Closes #101.
Vladimír Čunát [Fri, 3 Feb 2017 10:03:08 +0000 (11:03 +0100)]
Merge !191: modules/policy: allow QTRACE chaining