]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
8 years agozonefile.lua: support comments and string input
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.

8 years agotrust anchors: improve logging of failures
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.

8 years agotrust anchors: increase hold-down time for Missing
Vladimír Čunát [Fri, 10 Feb 2017 11:51:42 +0000 (12:51 +0100)] 
trust anchors: increase hold-down time for Missing

8 years agotrust anchors: nitpicks
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.

8 years agotrust anchors: remove key missing for too long
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.

8 years agoQUERY_NO_CACHE: sync description and reality
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.

8 years agotrust anchors: nitpicks
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;

8 years agotrust anchors: make bootstrap configurable
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}

8 years agotrust anchors: verbose-log the RRset when adding
Vladimír Čunát [Fri, 3 Feb 2017 16:18:35 +0000 (17:18 +0100)] 
trust anchors: verbose-log the RRset when adding

8 years agotrust anchor bootstrapping: parse multiple records
Vladimír Čunát [Fri, 3 Feb 2017 16:17:26 +0000 (17:17 +0100)] 
trust anchor bootstrapping: parse multiple records

8 years agoMerge !192: doc build nitpicks
Vladimír Čunát [Fri, 3 Feb 2017 10:33:15 +0000 (11:33 +0100)] 
Merge !192: doc build nitpicks

8 years agodoc build: missing hexdump/xxd, swapped footnotes
Vladimír Čunát [Thu, 2 Feb 2017 13:13:20 +0000 (14:13 +0100)] 
doc build: missing hexdump/xxd, swapped footnotes

8 years agodoc build: add optional sphinx_rtd_theme
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.)

8 years agoMerge !182: policy: support IPv6 link-local addresses
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.

8 years agoMerge !191: modules/policy: allow QTRACE chaining
Vladimír Čunát [Fri, 3 Feb 2017 10:03:08 +0000 (11:03 +0100)] 
Merge !191: modules/policy: allow QTRACE chaining

8 years agoMerge !180: hints module fixes, add hints.add_hosts(path)
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)

8 years agomodules/policy: allow QTRACE policy to be chained with other policies
Grigorii Demidov [Fri, 3 Feb 2017 09:59:07 +0000 (10:59 +0100)] 
modules/policy: allow QTRACE policy to be chained with other policies

8 years agoMerge !190: lib/resolve: fix zonecut fetching for DS queries
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

8 years agolib/resolve: fix zonecut fetching for explicit DS queries
Grigorii Demidov [Thu, 2 Feb 2017 13:36:35 +0000 (14:36 +0100)] 
lib/resolve: fix zonecut fetching for explicit DS queries

8 years agoMerge branch 'release-1.2.1' into 'master' v1.2.1
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

8 years agoFinal changelog update
Ondřej Surý [Wed, 1 Feb 2017 19:25:44 +0000 (20:25 +0100)] 
Final changelog update

8 years agoMerge branch 'deckard-rhybar.cz' into 'master'
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

8 years agoMerge deckard test for negative CD/no-AD answers (using rhybar.cz)
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)

8 years agoMerge branch 'policy-qtrace-documentation' into 'master'
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

8 years agoFix policy.TRACE -> policy.QTRACE mistake in the documentation
Ondřej Surý [Wed, 1 Feb 2017 19:16:29 +0000 (20:16 +0100)] 
Fix policy.TRACE -> policy.QTRACE mistake in the documentation

8 years agoMerge branch 'pktcache-insecure' into 'master'
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

8 years agorelease 1.2.1
Vladimír Čunát [Wed, 1 Feb 2017 14:33:49 +0000 (15:33 +0100)] 
release 1.2.1

8 years agopktcache: fix mixup of BOGUS and INSECURE DNSSEC
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.

8 years agoMerge !185: lua: make the map command check its arguments
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

8 years agolua: 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.

8 years agoMerge !183: lua: get rid of knot_rrset_txt_dump
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

8 years agolua: 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

8 years agobump the soname, as kr_nsrep_set changed API+ABI
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

8 years agolibkresd: link against libuv
Vladimír Čunát [Fri, 27 Jan 2017 17:10:06 +0000 (18:10 +0100)] 
libkresd: link against libuv

8 years agopolicy.MIRROR: support IPv6 link-local addresses
Vladimír Čunát [Fri, 27 Jan 2017 16:48:34 +0000 (17:48 +0100)] 
policy.MIRROR: support IPv6 link-local addresses

8 years agopolicy.FORWARD: 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.

8 years agohints.add_hosts(path): a new property
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

8 years agohints: more NULL checks
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.

8 years agoMerge !179: doc nitpicks
Vladimír Čunát [Thu, 26 Jan 2017 15:07:04 +0000 (16:07 +0100)] 
Merge !179: doc nitpicks

8 years agodocs: misc warning fixes
Vladimír Čunát [Thu, 26 Jan 2017 14:50:26 +0000 (15:50 +0100)] 
docs: misc warning fixes

8 years agoredis doc: fix some hyperlinks
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.

8 years agoMerge !178: update link to Linux kernel coding style
Vladimír Čunát [Thu, 26 Jan 2017 09:32:30 +0000 (10:32 +0100)] 
Merge !178: update link to Linux kernel coding style

8 years agoupdate 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

8 years agoMerge branch 'release-1.2.0' into 'master' v1.2.0
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

8 years agoKnot Resolver 1.2.0
Ondřej Surý [Wed, 25 Jan 2017 12:55:46 +0000 (13:55 +0100)] 
Knot Resolver 1.2.0

8 years agoUpdate copyright information with 2017
Ondřej Surý [Wed, 25 Jan 2017 13:14:13 +0000 (14:14 +0100)] 
Update copyright information with 2017

8 years agoUse NEWS as a reference date for timestamp in man page
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

8 years agoUpdate copyright in documentation
Ondřej Surý [Wed, 25 Jan 2017 13:06:09 +0000 (14:06 +0100)] 
Update copyright in documentation

8 years agoMerge branch 'deckard-update' into 'master'
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

8 years agoUpdate deckard to latest version
Ondřej Surý [Wed, 25 Jan 2017 12:57:08 +0000 (13:57 +0100)] 
Update deckard to latest version

8 years agoMerge branch 'misc-issues' into 'master'
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

8 years agoAdd a deckard test for www.nic.mx issue
Ondřej Surý [Tue, 24 Jan 2017 22:00:56 +0000 (23:00 +0100)] 
Add a deckard test for www.nic.mx issue

8 years agominor spelling fixes
Ondřej Surý [Tue, 24 Jan 2017 21:54:59 +0000 (22:54 +0100)] 
minor spelling fixes

8 years agolayer/iterate: revert some previous changes
Grigorii Demidov [Tue, 24 Jan 2017 19:23:15 +0000 (20:23 +0100)] 
layer/iterate: revert some previous changes

8 years agolayer/validate: fix for issue 144
Grigorii Demidov [Tue, 24 Jan 2017 15:55:31 +0000 (16:55 +0100)] 
layer/validate: fix for issue 144

8 years agoMerge !173: doc: fix luasec links
Vladimír Čunát [Tue, 24 Jan 2017 09:54:34 +0000 (10:54 +0100)] 
Merge !173: doc: fix luasec links

8 years agodoc: fix luasec links
Vladimír Čunát [Tue, 24 Jan 2017 09:51:58 +0000 (10:51 +0100)] 
doc: fix luasec links

8 years agoMerge branch '1.2.0-rc3' into 'master' v1.2.0-rc3
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

8 years agoPrepare 1.2.0-rc3 release
Ondřej Surý [Mon, 23 Jan 2017 15:00:47 +0000 (16:00 +0100)] 
Prepare 1.2.0-rc3 release

8 years agoMerge branch 'fix-arpa-ds' into 'master'
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

8 years agoMerge branch 'policy-TRACE-docs' into 'master'
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

8 years agoMention that TRACE also prints answers for all subqueries
Ondřej Surý [Tue, 24 Jan 2017 08:59:38 +0000 (09:59 +0100)] 
Mention that TRACE also prints answers for all subqueries

8 years agolayer/validate: some bugfixes
Grigorii Demidov [Mon, 23 Jan 2017 20:14:29 +0000 (21:14 +0100)] 
layer/validate: some bugfixes

8 years agoUpdate policy.TRACE documentation
Ondřej Surý [Mon, 23 Jan 2017 15:07:16 +0000 (16:07 +0100)] 
Update policy.TRACE documentation

8 years agoMerge branch 'qry-trace' into 'master'
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

8 years agoMerge !168: iterate: fix typo from !165
Vladimír Čunát [Mon, 23 Jan 2017 14:52:42 +0000 (15:52 +0100)] 
Merge !168: iterate: fix typo from !165

8 years agoiterate: 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.

8 years agoUse WITH_VERBOSE instead of NDEBUG to enable debug printing via policy.TRACE()
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()

8 years agoMerge !166: accept packets with junk after end (by default)
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.

8 years agolib/utils: QTRACE plicy - turn off OPT rrset
Grigorii Demidov [Mon, 23 Jan 2017 12:53:41 +0000 (13:53 +0100)] 
lib/utils: QTRACE plicy - turn off OPT rrset

8 years agoPerform the excessive size (junk at the end of the packet) only in strict_mode
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

8 years agolib/utils: Merge conflicts were resolved
Grigorii Demidov [Mon, 23 Jan 2017 11:11:44 +0000 (12:11 +0100)] 
lib/utils: Merge conflicts were resolved

8 years agolib/utils: debug print improvements
Grigorii Demidov [Mon, 23 Jan 2017 11:05:27 +0000 (12:05 +0100)] 
lib/utils: debug print improvements

8 years agomodules/policy: set QTRACE flag for current query too
Grigorii Demidov [Fri, 20 Jan 2017 10:26:43 +0000 (11:26 +0100)] 
modules/policy: set QTRACE flag for current query too

8 years agomodules/policy: QTRACE policy; some improvements
Grigorii Demidov [Wed, 18 Jan 2017 12:29:49 +0000 (13:29 +0100)] 
modules/policy: QTRACE policy; some improvements

8 years agomodules/policy: QTRACE policy was added (answers logging)
Grigorii Demidov [Wed, 18 Jan 2017 11:18:54 +0000 (12:18 +0100)] 
modules/policy: QTRACE policy was added (answers logging)

8 years agoQUERY_TRACE: disable with -DNDEBUG
Vladimír Čunát [Wed, 18 Jan 2017 17:17:21 +0000 (18:17 +0100)] 
QUERY_TRACE: disable with -DNDEBUG

At least for now.  It didn't compile.

8 years agomodules/policy: QTRACE policy; some improvements
Grigorii Demidov [Wed, 18 Jan 2017 12:29:49 +0000 (13:29 +0100)] 
modules/policy: QTRACE policy; some improvements

8 years agomodules/policy: QTRACE policy; cleanup
Grigorii Demidov [Wed, 18 Jan 2017 12:15:05 +0000 (13:15 +0100)] 
modules/policy: QTRACE policy; cleanup

8 years agomodules/policy: QTRACE policy was added (answers logging)
Grigorii Demidov [Wed, 18 Jan 2017 11:18:54 +0000 (12:18 +0100)] 
modules/policy: QTRACE policy was added (answers logging)

8 years agoMerge !165: improve fallback on bad replies
Vladimír Čunát [Mon, 23 Jan 2017 09:49:47 +0000 (10:49 +0100)] 
Merge !165: improve fallback on bad replies

Retry with disable QNAME minimization when NOTIMPL or FORMERR
is encountered in response

Closes #132

8 years agoWhen NOTIMPL or FORMERR is encountered, disable QNAME minimization
Ondřej Surý [Sat, 21 Jan 2017 06:58:46 +0000 (07:58 +0100)] 
When NOTIMPL or FORMERR is encountered, disable QNAME minimization
first, and disable EDNS in a second round.  This adds some latency
(one more roundtrip), but it's safer to not drop EDNS0 on a first
failure.

8 years agoMerge branch '1.2.0-rc2' into 'master' v1.2.0-rc2
Ondřej Surý [Fri, 20 Jan 2017 15:25:21 +0000 (16:25 +0100)] 
Merge branch '1.2.0-rc2' into 'master'

Release second release candidate of 1.2.0

See merge request !164

8 years agoRelease second release candidate of 1.2.0
Ondřej Surý [Fri, 20 Jan 2017 15:21:23 +0000 (16:21 +0100)] 
Release second release candidate of 1.2.0

8 years agoMerge branch 'fix-cname-loop' into 'master'
Ondřej Surý [Fri, 20 Jan 2017 15:18:50 +0000 (16:18 +0100)] 
Merge branch 'fix-cname-loop' into 'master'

layer/iterate: changes in cname loop detection process

See merge request !163

8 years agolayer/iterate: changes in cname loop detection process
Grigorii Demidov [Fri, 20 Jan 2017 14:34:02 +0000 (15:34 +0100)] 
layer/iterate: changes in cname loop detection process

8 years agomodules/policy: Merge conflicts were resolved
Grigorii Demidov [Fri, 20 Jan 2017 10:41:55 +0000 (11:41 +0100)] 
modules/policy: Merge conflicts were resolved

8 years agomodules/policy: set QTRACE flag for current query too
Grigorii Demidov [Fri, 20 Jan 2017 10:26:43 +0000 (11:26 +0100)] 
modules/policy: set QTRACE flag for current query too

8 years agomodules/policy: QTRACE policy; some improvements
Grigorii Demidov [Wed, 18 Jan 2017 12:29:49 +0000 (13:29 +0100)] 
modules/policy: QTRACE policy; some improvements

8 years agomodules/policy: QTRACE policy; cleanup
Grigorii Demidov [Wed, 18 Jan 2017 12:15:05 +0000 (13:15 +0100)] 
modules/policy: QTRACE policy; cleanup

8 years agomodules/policy: QTRACE policy was added (answers logging)
Grigorii Demidov [Wed, 18 Jan 2017 11:18:54 +0000 (12:18 +0100)] 
modules/policy: QTRACE policy was added (answers logging)

8 years agoMerge branch 'libknot-2.4' into 'master'
Ondřej Surý [Thu, 19 Jan 2017 18:44:15 +0000 (19:44 +0100)] 
Merge branch 'libknot-2.4' into 'master'

better libknot-2.4 fixup

See merge request !161

8 years agoMerge branch 'fix-zonecut-fetch' into 'master'
Ondřej Surý [Thu, 19 Jan 2017 18:43:30 +0000 (19:43 +0100)] 
Merge branch 'fix-zonecut-fetch' into 'master'

lib/resolve: bugfix in zonecut fetching process

See merge request !162

8 years agolib/resolve: bugfix in zonecut fetching process
Grigorii Demidov [Thu, 19 Jan 2017 16:22:43 +0000 (17:22 +0100)] 
lib/resolve: bugfix in zonecut fetching process

8 years agobetter libknot-2.4 fixup
Vladimír Čunát [Thu, 19 Jan 2017 10:00:01 +0000 (11:00 +0100)] 
better libknot-2.4 fixup

8 years agoMerge !160: cookies: make it work also with libknot-2.4
Vladimír Čunát [Thu, 19 Jan 2017 09:17:46 +0000 (10:17 +0100)] 
Merge !160: cookies: make it work also with libknot-2.4

8 years agocookies: make it work also with libknot-2.4
Vladimír Čunát [Thu, 19 Jan 2017 09:14:43 +0000 (10:14 +0100)] 
cookies: make it work also with libknot-2.4

8 years agoQUERY_TRACE: disable with -DNDEBUG
Vladimír Čunát [Wed, 18 Jan 2017 17:17:21 +0000 (18:17 +0100)] 
QUERY_TRACE: disable with -DNDEBUG

At least for now.  It didn't compile.

8 years agoMerge branch 'gitlab-deps' into 'master'
Ondřej Surý [Wed, 18 Jan 2017 13:19:17 +0000 (14:19 +0100)] 
Merge branch 'gitlab-deps' into 'master'

Use artifacts and dependencies in Gitlab CI

See merge request !159

8 years agoUse artifacts and dependencies in Gitlab CI
Ondřej Surý [Wed, 18 Jan 2017 13:09:32 +0000 (14:09 +0100)] 
Use artifacts and dependencies in Gitlab CI