]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
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 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
Vladimír Čunát [Fri, 3 Feb 2017 10:00:09 +0000 (11:00 +0100)]
Merge !180: hints module fixes, add hints.add_hosts(path)
Grigorii Demidov [Fri, 3 Feb 2017 09:59:07 +0000 (10:59 +0100)]
modules/policy: allow QTRACE policy to be chained with other policies
Vladimír Čunát [Fri, 3 Feb 2017 09:34:11 +0000 (10:34 +0100)]
Merge !190: lib/resolve: fix zonecut fetching for DS queries
Grigorii Demidov [Thu, 2 Feb 2017 13:36:35 +0000 (14:36 +0100)]
lib/resolve: fix zonecut fetching for explicit DS queries
Ondřej Surý [Wed, 1 Feb 2017 19:27:39 +0000 (20:27 +0100)]
Merge branch 'release-1.2.1' into 'master'
Final 1.2.1 changelog update
See merge request !189
Ondřej Surý [Wed, 1 Feb 2017 19:25:44 +0000 (20:25 +0100)]
Final changelog update
Ondřej Surý [Wed, 1 Feb 2017 19:22:49 +0000 (20:22 +0100)]
Merge branch 'deckard-rhybar.cz' into 'master'
Merge deckard test for negative CD/no-AD answers (using rhybar.cz)
See merge request !188
Ondřej Surý [Wed, 1 Feb 2017 19:08:05 +0000 (20:08 +0100)]
Merge deckard test for negative CD/no-AD answers (using rhybar.cz)
Ondřej Surý [Wed, 1 Feb 2017 19:19:22 +0000 (20:19 +0100)]
Merge branch 'policy-qtrace-documentation' into 'master'
Fix policy.TRACE -> policy.QTRACE mistake in the documentation
See merge request !187
Ondřej Surý [Wed, 1 Feb 2017 19:16:29 +0000 (20:16 +0100)]
Fix policy.TRACE -> policy.QTRACE mistake in the documentation
Grigorii Demidov [Wed, 1 Feb 2017 17:09:06 +0000 (18:09 +0100)]
Merge branch 'pktcache-insecure' into 'master'
Fix a possible Insecure vs Bogus bad cache reuse for negative answers
See merge request !186
Vladimír Čunát [Wed, 1 Feb 2017 14:33:49 +0000 (15:33 +0100)]
release 1.2.1
Vladimír Čunát [Wed, 1 Feb 2017 14:08:26 +0000 (15:08 +0100)]
pktcache: fix mixup of BOGUS and INSECURE DNSSEC
A negative answer cached from a +cd query could be mistakenly used
even for a later query without +cd.
Vladimír Čunát [Tue, 31 Jan 2017 13:28:26 +0000 (14:28 +0100)]
Merge !185: lua: make the map command check its arguments
Vladimír Čunát [Tue, 31 Jan 2017 13:25:29 +0000 (14:25 +0100)]
lua: make the map command check its arguments
Fixes #147.
Vladimír Čunát [Fri, 27 Jan 2017 18:33:10 +0000 (19:33 +0100)]
Merge !183: lua: get rid of knot_rrset_txt_dump
Vladimír Čunát [Fri, 27 Jan 2017 18:28:16 +0000 (19:28 +0100)]
lua: get rid of knot_rrset_txt_dump
I believe it was unused, so no risk was caused, but better remove it.
There's the complication that its signature has changed since libknot-2.4.0.
Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/146
Vladimír Čunát [Fri, 27 Jan 2017 17:13:21 +0000 (18:13 +0100)]
bump the soname, as kr_nsrep_set changed API+ABI
Vladimír Čunát [Fri, 27 Jan 2017 17:10:06 +0000 (18:10 +0100)]
libkresd: link against libuv
Vladimír Čunát [Fri, 27 Jan 2017 16:48:34 +0000 (17:48 +0100)]
policy.MIRROR: support IPv6 link-local addresses
Vladimír Čunát [Fri, 27 Jan 2017 15:57:16 +0000 (16:57 +0100)]
policy.FORWARD: support IPv6 link-local addresses
These shouldn't make any problems:
- the verbose messages don't print any scope, and
- reputation cache doesn't consider scope.
Vladimír Čunát [Fri, 20 Jan 2017 17:43:01 +0000 (18:43 +0100)]
module: document the API and simplify the code
This does NOT change the module API/ABI in any way.
Vladimír Čunát [Thu, 26 Jan 2017 15:02:41 +0000 (16:02 +0100)]
hints.add_hosts(path): a new property
So far it wasn't possible to load multiple files (!). Real use case:
https://forum.turris.cz/t/how-to-configure-local-address-dns-resoultion-on-omnia/1000/14
Vladimír Čunát [Thu, 26 Jan 2017 14:10:03 +0000 (15:10 +0100)]
hints: more NULL checks
Calling `hints.del()` would cause a crash.
It wasn't apparent to me that NULL could be passed through.
Vladimír Čunát [Thu, 26 Jan 2017 15:07:04 +0000 (16:07 +0100)]
Merge !179: doc nitpicks
Vladimír Čunát [Thu, 26 Jan 2017 14:50:26 +0000 (15:50 +0100)]
docs: misc warning fixes
Vladimír Čunát [Fri, 20 Jan 2017 12:15:17 +0000 (13:15 +0100)]
redis doc: fix some hyperlinks
I must say I have a hard time getting used to rst syntax myself.
Vladimír Čunát [Thu, 26 Jan 2017 09:32:30 +0000 (10:32 +0100)]
Merge !178: update link to Linux kernel coding style
Petr Špaček [Thu, 26 Jan 2017 09:27:51 +0000 (10:27 +0100)]
update link to Linux kernel coding style
Ondřej Surý [Wed, 25 Jan 2017 13:16:25 +0000 (14:16 +0100)]
Merge branch 'release-1.2.0' into 'master'
Knot DNS Release 1.2.0
See merge request !176
Ondřej Surý [Wed, 25 Jan 2017 12:55:46 +0000 (13:55 +0100)]
Knot Resolver 1.2.0
Ondřej Surý [Wed, 25 Jan 2017 13:14:13 +0000 (14:14 +0100)]
Update copyright information with 2017
Ondřej Surý [Wed, 25 Jan 2017 13:06:27 +0000 (14:06 +0100)]
Use NEWS as a reference date for timestamp in man page
Ondřej Surý [Wed, 25 Jan 2017 13:06:09 +0000 (14:06 +0100)]
Update copyright in documentation
Ondřej Surý [Wed, 25 Jan 2017 13:00:29 +0000 (14:00 +0100)]
Merge branch 'deckard-update' into 'master'
Update deckard to latest version
See merge request !175
Ondřej Surý [Wed, 25 Jan 2017 12:57:08 +0000 (13:57 +0100)]
Update deckard to latest version
Ondřej Surý [Tue, 24 Jan 2017 22:12:10 +0000 (23:12 +0100)]
Merge branch 'misc-issues' into 'master'
Fix insecure CNAME pointing to secure target returning AD flag in error
Closes #144
See merge request !174
Ondřej Surý [Tue, 24 Jan 2017 22:00:56 +0000 (23:00 +0100)]
Add a deckard test for www.nic.mx issue
Ondřej Surý [Tue, 24 Jan 2017 21:54:59 +0000 (22:54 +0100)]
minor spelling fixes
Grigorii Demidov [Tue, 24 Jan 2017 19:23:15 +0000 (20:23 +0100)]
layer/iterate: revert some previous changes
Grigorii Demidov [Tue, 24 Jan 2017 15:55:31 +0000 (16:55 +0100)]
layer/validate: fix for issue 144
Vladimír Čunát [Tue, 24 Jan 2017 09:54:34 +0000 (10:54 +0100)]
Merge !173: doc: fix luasec links
Vladimír Čunát [Tue, 24 Jan 2017 09:51:58 +0000 (10:51 +0100)]
doc: fix luasec links
Ondřej Surý [Tue, 24 Jan 2017 09:21:24 +0000 (10:21 +0100)]
Merge branch '1.2.0-rc3' into 'master'
Prepare 1.2.0-rc3 release
See merge request !171
Ondřej Surý [Mon, 23 Jan 2017 15:00:47 +0000 (16:00 +0100)]
Prepare 1.2.0-rc3 release
Ondřej Surý [Tue, 24 Jan 2017 09:05:27 +0000 (10:05 +0100)]
Merge branch 'fix-arpa-ds' into 'master'
layer/validate: some bugfixes
See merge request !170
Grigorii Demidov [Tue, 24 Jan 2017 09:02:34 +0000 (10:02 +0100)]
Merge branch 'policy-TRACE-docs' into 'master'
Update policy.TRACE documentation
See merge request !169
Ondřej Surý [Tue, 24 Jan 2017 08:59:38 +0000 (09:59 +0100)]
Mention that TRACE also prints answers for all subqueries
Grigorii Demidov [Mon, 23 Jan 2017 20:14:29 +0000 (21:14 +0100)]
layer/validate: some bugfixes
Ondřej Surý [Mon, 23 Jan 2017 15:07:16 +0000 (16:07 +0100)]
Update policy.TRACE documentation
Ondřej Surý [Mon, 23 Jan 2017 14:55:30 +0000 (15:55 +0100)]
Merge branch 'qry-trace' into 'master'
TRACE policy
See merge request !167
Vladimír Čunát [Mon, 23 Jan 2017 14:52:42 +0000 (15:52 +0100)]
Merge !168: iterate: fix typo from !165
Vladimír Čunát [Mon, 23 Jan 2017 14:49:32 +0000 (15:49 +0100)]
iterate: fix typo from !165
Oh, I failed to notice this typo. Clang is just better than gcc in this.
Ondřej Surý [Mon, 23 Jan 2017 14:37:19 +0000 (15:37 +0100)]
Use WITH_VERBOSE instead of NDEBUG to enable debug printing via policy.TRACE()
Vladimír Čunát [Mon, 23 Jan 2017 14:00:18 +0000 (15:00 +0100)]
Merge !166: accept packets with junk after end (by default)
Closes #133.
Grigorii Demidov [Mon, 23 Jan 2017 12:53:41 +0000 (13:53 +0100)]
lib/utils: QTRACE plicy - turn off OPT rrset
Ondřej Surý [Mon, 23 Jan 2017 12:06:30 +0000 (13:06 +0100)]
Perform the excessive size (junk at the end of the packet) only in strict_mode
Grigorii Demidov [Mon, 23 Jan 2017 11:11:44 +0000 (12:11 +0100)]
lib/utils: Merge conflicts were resolved
Grigorii Demidov [Mon, 23 Jan 2017 11:05:27 +0000 (12:05 +0100)]
lib/utils: debug print improvements
Grigorii Demidov [Fri, 20 Jan 2017 10:26:43 +0000 (11:26 +0100)]
modules/policy: set QTRACE flag for current query too
Grigorii Demidov [Wed, 18 Jan 2017 12:29:49 +0000 (13:29 +0100)]
modules/policy: QTRACE policy; some improvements