]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
9 years agoMerge branch '1.0.0'
Marek Vavrusa [Tue, 29 Mar 2016 05:09:34 +0000 (22:09 -0700)] 
Merge branch '1.0.0'

9 years agoMerge branch 'supervisor'
Marek Vavrusa [Tue, 29 Mar 2016 05:09:29 +0000 (22:09 -0700)] 
Merge branch 'supervisor'

9 years agoversion bump, added kresd(8) man, updated doc
Marek Vavrusa [Tue, 29 Mar 2016 05:09:03 +0000 (22:09 -0700)] 
version bump, added kresd(8) man, updated doc

9 years agodaemon: systemd socket activation
Marek Vavrusa [Tue, 29 Mar 2016 01:35:41 +0000 (18:35 -0700)] 
daemon: systemd socket activation

addition to previous generic socket activation

fixes #11

9 years agodaemon: support running in supervised mode (--fd=X)
Marek Vavrusa [Mon, 28 Mar 2016 23:08:24 +0000 (16:08 -0700)] 
daemon: support running in supervised mode (--fd=X)

daemon can accept existing fds on command line,
thus supporting process managers like circus or
upstart. a tiny supervisor script is attached

9 years agolib/resolve: worked around bug with multiple TAs
Marek Vavrusa [Thu, 10 Mar 2016 17:52:49 +0000 (17:52 +0000)] 
lib/resolve: worked around bug with multiple TAs

9 years agobuild: bumped version to 1.0.0-beta4
Marek Vavrusa [Thu, 10 Mar 2016 17:30:11 +0000 (17:30 +0000)] 
build: bumped version to 1.0.0-beta4

9 years agoMerge branch 'better-rtt-tracking'
Marek Vavrusa [Thu, 10 Mar 2016 17:29:23 +0000 (17:29 +0000)] 
Merge branch 'better-rtt-tracking'

9 years agoMerge branch 'set-adbit-when-secure' into better-rtt-tracking
Marek Vavrusa [Thu, 10 Mar 2016 17:29:09 +0000 (17:29 +0000)] 
Merge branch 'set-adbit-when-secure' into better-rtt-tracking

9 years agolib/resolve: set AD=1 when client asks with it and secure
Marek Vavrusa [Thu, 10 Mar 2016 17:28:22 +0000 (17:28 +0000)] 
lib/resolve: set AD=1 when client asks with it and secure

9 years agodaemon: track case when all upstreams fail
Marek Vavrusa [Tue, 8 Mar 2016 17:26:19 +0000 (17:26 +0000)] 
daemon: track case when all upstreams fail

previously full timeout led to reset of the evaluated
address list and no upstream server was penalised
for not answering the query, this penalises all of
tried servers with TIMEOUT

9 years agoUse Knot DNS 2.1.1 instead of Knot DNS 2.1.0-rc1
Ondřej Surý [Sat, 5 Mar 2016 08:12:59 +0000 (09:12 +0100)] 
Use Knot DNS 2.1.1 instead of Knot DNS 2.1.0-rc1

9 years agoMerge branch 'ent-wc-fix' into 'master'
Marek Vavrusa [Thu, 3 Mar 2016 22:36:31 +0000 (23:36 +0100)] 
Merge branch 'ent-wc-fix' into 'master'

Fixed nsec3 proof validation with opt-out below wildcard

See merge request !17

9 years agolib/cache;lib/dnssec;lib/layer: some issues were fixed
Grigorii Demidov [Wed, 24 Feb 2016 10:19:05 +0000 (11:19 +0100)] 
lib/cache;lib/dnssec;lib/layer: some issues were fixed

9 years agomodules/graphite: updated doc
Marek Vavrusa [Wed, 24 Feb 2016 06:47:03 +0000 (22:47 -0800)] 
modules/graphite: updated doc

9 years agomodules/graphite: support for Graphite/TCP
Marek Vavrusa [Wed, 24 Feb 2016 06:40:17 +0000 (22:40 -0800)] 
modules/graphite: support for Graphite/TCP

graphite module now supports sending over TCP,
if the connection is severed it will attempt to
reconnect periodically. the stats module is now
optional, if not loaded only core built-in stats
will be transmitted

9 years agoFix 'bogus proof of DS non-existence' for non-existant DS records in the cache
Ondřej Surý [Wed, 17 Feb 2016 18:34:33 +0000 (19:34 +0100)] 
Fix 'bogus proof of DS non-existence' for non-existant DS records in the cache

9 years agolib/cache: kr_cache_clear() fixed
Grigorii Demidov [Mon, 22 Feb 2016 12:17:56 +0000 (13:17 +0100)] 
lib/cache: kr_cache_clear() fixed

9 years agoFix 'bogus proof of DS non-existence' for non-existant DS records in the cache
Ondřej Surý [Wed, 17 Feb 2016 18:34:33 +0000 (19:34 +0100)] 
Fix 'bogus proof of DS non-existence' for non-existant DS records in the cache

9 years agodnssec/nsec3: some clarifications were made in comments
Grigorii Demidov [Fri, 12 Feb 2016 12:29:33 +0000 (13:29 +0100)] 
dnssec/nsec3: some clarifications were made in comments

9 years agodnssec/nsec3: missed kr_error() fixed
Grigorii Demidov [Fri, 12 Feb 2016 09:51:59 +0000 (10:51 +0100)] 
dnssec/nsec3: missed kr_error() fixed

9 years agonsec3: rfc5155 errata 3114 8.5 was implemented
Grigorii Demidov [Thu, 11 Feb 2016 12:30:19 +0000 (13:30 +0100)] 
nsec3: rfc5155 errata 3114 8.5 was implemented

9 years agolib/validate: scrubbed extra rrs in NS were checked
Marek Vavrusa [Mon, 8 Feb 2016 01:36:48 +0000 (01:36 +0000)] 
lib/validate: scrubbed extra rrs in NS were checked

the validator module should ignore any data that
will be scrubbed, that includes non-authoritative
data outside current bailiwick. previously,
validator attempted to ignore these records only
for answer section and had a special case for NS
records.

cache: non-authoritative NS records are always
unchecked and must be treated as insecure

affected: www.iana.org trying to provide
delegation information for CNAME target, which is
moot with CNAME target explicit-fetch policy unless
the the resolver already knows DNSKEY with which
is could verify the records

9 years agodoc: changes in dnssec
Marek Vavrusa [Wed, 3 Feb 2016 01:35:51 +0000 (01:35 +0000)] 
doc: changes in dnssec

9 years agodaemon/trust_anchors: accept DS in root keys
Marek Vavrusa [Wed, 3 Feb 2016 01:21:14 +0000 (01:21 +0000)] 
daemon/trust_anchors: accept DS in root keys

kresd accepts DS records in root keys if provided,
it will eventually replace them with DNSKEY in
automatic mode

9 years agobuild: enabled -ld for Linux
Marek Vavrusa [Wed, 3 Feb 2016 01:20:16 +0000 (01:20 +0000)] 
build: enabled -ld for Linux

9 years agodaemon/config: bind to v4 and v6 loopback separately
Marek Vavrusa [Wed, 3 Feb 2016 01:20:05 +0000 (01:20 +0000)] 
daemon/config: bind to v4 and v6 loopback separately

9 years agobuild: fixed too early CFLAGS expansion
Marek Vavrusa [Tue, 2 Feb 2016 23:28:59 +0000 (23:28 +0000)] 
build: fixed too early CFLAGS expansion

9 years agodoc: fixed broken breathe mistaking define for func v1.0.0-beta3
Marek Vavrusa [Sat, 30 Jan 2016 15:03:15 +0000 (15:03 +0000)] 
doc: fixed broken breathe mistaking define for func

breathe failed to process the typedef thinking
the macro expansion was a function pointer

9 years agoscripts/tools: updated doc, timers
Marek Vavrusa [Sat, 30 Jan 2016 14:35:28 +0000 (14:35 +0000)] 
scripts/tools: updated doc, timers

9 years agodaemon/worker: updated doc, worker.timeout metric
Marek Vavrusa [Sat, 30 Jan 2016 14:35:00 +0000 (14:35 +0000)] 
daemon/worker: updated doc, worker.timeout metric

9 years agoscripts/kresd-host: name alias handling
Marek Vavrusa [Sat, 30 Jan 2016 13:13:23 +0000 (13:13 +0000)] 
scripts/kresd-host: name alias handling

9 years agoscripts/kresd-host: ignore other types in answer
Marek Vavrusa [Sat, 30 Jan 2016 13:06:05 +0000 (13:06 +0000)] 
scripts/kresd-host: ignore other types in answer

9 years agolib/dnssec: new nsec3 test, cleanup
Marek Vavrusa [Fri, 29 Jan 2016 13:06:10 +0000 (13:06 +0000)] 
lib/dnssec: new nsec3 test, cleanup

9 years agolayer/validate: fixed NSEC nodata in some cases
Marek Vavrusa [Fri, 29 Jan 2016 00:06:26 +0000 (00:06 +0000)] 
layer/validate: fixed NSEC nodata in some cases

updated tests

9 years agoscripts: 'host' utility alternative in scripts
Marek Vavrusa [Sat, 23 Jan 2016 00:00:58 +0000 (16:00 -0800)] 
scripts: 'host' utility alternative in scripts

the utility supports most of the 'unbound-host'
functionality except PTR records

9 years agodaemon/lua: rrset printing, new flags
Marek Vavrusa [Fri, 22 Jan 2016 23:59:40 +0000 (15:59 -0800)] 
daemon/lua: rrset printing, new flags

this is a temporary change until luajit-kdns is
merged-in with complete functionality,
this will break the API later and will require a
couple changes in several modules and trust anchors

9 years agoscripts: kresd-query.lua (new)
Marek Vavrusa [Fri, 22 Jan 2016 07:48:58 +0000 (23:48 -0800)] 
scripts: kresd-query.lua (new)

this is a boilerplate for a CLI utility to resolve
names and execute script on query response
in another words, "a jq for resolver answers"

this is a scaffolding for alternative tools like
'host' or a plug-in part for scripting around it.

it basically starts a kresd instance, but doesn't
bind to any interface or read configuration,
then a query + callback is sent to kresd standard
input, and it quits after the execution

9 years agodaemon/trust_anchors: faster TA bootstrap refetch
Marek Vavrusa [Fri, 22 Jan 2016 07:44:51 +0000 (23:44 -0800)] 
daemon/trust_anchors: faster TA bootstrap refetch

when boostrapping root TA, the DNSKEYs are updated
immediately after retrieving DS from the side channel

9 years agodaemon/lua: kres can see request zone cut (part)
Marek Vavrusa [Fri, 22 Jan 2016 07:43:47 +0000 (23:43 -0800)] 
daemon/lua: kres can see request zone cut (part)

a part of the zone cut is visible from Lua world:
- zone cut name (dname)
- trust anchor (rrset)
- current key (rrset)

9 years agolib/resolve: new flag ALWAYS_CUT
Marek Vavrusa [Fri, 22 Jan 2016 07:42:17 +0000 (23:42 -0800)] 
lib/resolve: new flag ALWAYS_CUT

when raised, a response zone cut will be recovered
even if the response came from cache. this is
normally not needed (and incurs additional cache
lookups), but it may be useful for
inspection

9 years agodaemon: "-c -" doesn't ready any configuration
Marek Vavrusa [Fri, 22 Jan 2016 07:40:26 +0000 (23:40 -0800)] 
daemon: "-c -" doesn't ready any configuration

this includes default configuration, resolver
starts completely blank

9 years agodaemon: resolve callback has request as well
Marek Vavrusa [Fri, 22 Jan 2016 07:39:34 +0000 (23:39 -0800)] 
daemon: resolve callback has request as well

the second parameter to resolve() callback function
is request (kres.request_t), so the caller can
look into request stats, timing and zone cut data

9 years agodaemon: -q for quiet mode, deferred TA update
Marek Vavrusa [Thu, 21 Jan 2016 17:57:23 +0000 (09:57 -0800)] 
daemon: -q for quiet mode, deferred TA update

the quiet mode doesn't print neither intro messages nor prompt
in the interactive mode, which makes it useful for scripted usage

9 years agodaemon/trust_anchors: fixed root key fetch
Marek Vavrusa [Thu, 21 Jan 2016 05:42:21 +0000 (21:42 -0800)] 
daemon/trust_anchors: fixed root key fetch

9 years agotests/deckard: synced to master
Marek Vavrusa [Thu, 21 Jan 2016 05:23:44 +0000 (21:23 -0800)] 
tests/deckard: synced to master

9 years agoMerge branch 'deck_test'
Marek Vavrusa [Thu, 21 Jan 2016 05:20:47 +0000 (21:20 -0800)] 
Merge branch 'deck_test'

9 years agotests: sync deckard; lib\iterate: sync to master
Grigorii Demidov [Wed, 20 Jan 2016 09:05:05 +0000 (10:05 +0100)] 
tests: sync deckard; lib\iterate: sync to master

9 years agolib/iterate: ignore out-of-bailiwick NSs for positive answers
Marek Vavrusa [Tue, 19 Jan 2016 20:27:23 +0000 (12:27 -0800)] 
lib/iterate: ignore out-of-bailiwick NSs for positive answers

there are broken resolution chains where a zone cut is advertised,
but it doesn't exist and the final NS answers from its parent's
zone cut, which is an attempt to escape bailiwick

example:

resolving A ab.cd.ef
NS ef responds:
 - ab.cd.ef NS X ; adverises ab.cd.ef zone cut
X responds:
 - A ab.cd.ef A 1.2.3.4
 - cd.ef NS X ; escapes previously advertised cut

on the other hand, it is important to fail early for referrals as
it signifies a lame answer

9 years agolib/iterate: ignore out-of-bailiwick NSs for positive answers
Marek Vavrusa [Tue, 19 Jan 2016 20:27:23 +0000 (12:27 -0800)] 
lib/iterate: ignore out-of-bailiwick NSs for positive answers

there are broken resolution chains where a zone cut is advertised,
but it doesn't exist and the final NS answers from its parent's
zone cut, which is an attempt to escape bailiwick

example:

resolving A ab.cd.ef
NS ef responds:
 - ab.cd.ef NS X ; adverises ab.cd.ef zone cut
X responds:
 - A ab.cd.ef A 1.2.3.4
 - cd.ef NS X ; escapes previously advertised cut

on the other hand, it is important to fail early for referrals as
it signifies a lame answer

9 years agolib/dnssec: wrong prepend_asterisk() usage was fixed, cleanup
Grigorii Demidov [Mon, 18 Jan 2016 09:27:19 +0000 (10:27 +0100)] 
lib/dnssec: wrong prepend_asterisk() usage was fixed, cleanup

9 years agotests/deckard: sync to master
Grigorii Demidov [Fri, 15 Jan 2016 11:43:58 +0000 (12:43 +0100)] 
tests/deckard: sync to master

9 years agolib/dnssec: nsec3.c, wrong prepend_asterisk() usage was fixed
Grigorii Demidov [Fri, 15 Jan 2016 11:31:20 +0000 (12:31 +0100)] 
lib/dnssec: nsec3.c, wrong prepend_asterisk() usage was fixed

9 years agodeckard: sync to master
Grigorii Demidov [Mon, 11 Jan 2016 12:47:19 +0000 (13:47 +0100)] 
deckard: sync to master

9 years agomodules/zonefile: cleanup
Marek Vavrusa [Mon, 11 Jan 2016 07:01:29 +0000 (23:01 -0800)] 
modules/zonefile: cleanup

9 years agoscripts: moved LuaJIT to Github, updated deckard
Marek Vavrusa [Mon, 11 Jan 2016 05:55:55 +0000 (21:55 -0800)] 
scripts: moved LuaJIT to Github, updated deckard

9 years agoMerge branch 'new-libknot'
Marek Vavrusa [Mon, 11 Jan 2016 04:31:39 +0000 (20:31 -0800)] 
Merge branch 'new-libknot'

9 years agotests: synced deckard
Marek Vavrusa [Mon, 11 Jan 2016 04:30:39 +0000 (20:30 -0800)] 
tests: synced deckard

9 years agotests/cache: disabled malloc faking (broken)
Marek Vavrusa [Mon, 11 Jan 2016 04:30:31 +0000 (20:30 -0800)] 
tests/cache: disabled malloc faking (broken)

this is broken by changes in libknot2/db api,
needs to be done differently later

9 years agomodules/view: fixed direct access to addr family
Marek Vavrusa [Mon, 11 Jan 2016 04:29:51 +0000 (20:29 -0800)] 
modules/view: fixed direct access to addr family

9 years agolib/utils: added function for addr family
Marek Vavrusa [Mon, 11 Jan 2016 04:29:00 +0000 (20:29 -0800)] 
lib/utils: added function for addr family

the field length is platform-dependent

9 years agodaemon: ignore empty TA instead of failing
Marek Vavrusa [Mon, 11 Jan 2016 04:27:43 +0000 (20:27 -0800)] 
daemon: ignore empty TA instead of failing

9 years agodaemon: proper initialization of requests's source address
Grigorii Demidov [Wed, 30 Dec 2015 10:44:48 +0000 (11:44 +0100)] 
daemon: proper initialization of requests's source address

lib: answer finalization was changed

9 years agomodules/tinyweb: fixed module path
Marek Vavrusa [Fri, 8 Jan 2016 08:49:35 +0000 (00:49 -0800)] 
modules/tinyweb: fixed module path

9 years agowip: trustanchor(), compat with libknot2/libzscanner1
Marek Vavruša [Tue, 22 Dec 2015 16:26:16 +0000 (17:26 +0100)] 
wip: trustanchor(), compat with libknot2/libzscanner1

9 years agotests: synced deckard
Marek Vavruša [Thu, 17 Dec 2015 22:29:11 +0000 (23:29 +0100)] 
tests: synced deckard

9 years agoall: ported to upcoming libknot APIs
Marek Vavruša [Thu, 17 Dec 2015 17:52:57 +0000 (18:52 +0100)] 
all: ported to upcoming libknot APIs

this is not going to be backwards compatible change, but it will be the first tagged libknot release sufficient for resolver

9 years agomodules: doc update
Marek Vavruša [Thu, 17 Dec 2015 14:17:27 +0000 (15:17 +0100)] 
modules: doc update

9 years agodaemon: optional FFI to support e500
Marek Vavruša [Thu, 17 Dec 2015 14:17:08 +0000 (15:17 +0100)] 
daemon: optional FFI to support e500

9 years agobuild: version bump
Marek Vavruša [Thu, 17 Dec 2015 14:16:51 +0000 (15:16 +0100)] 
build: version bump

9 years agomodules/policy: updated readme
Marek Vavruša [Fri, 11 Dec 2015 13:29:37 +0000 (14:29 +0100)] 
modules/policy: updated readme

9 years agobuild: fixed NDEBUG build
Marek Vavruša [Fri, 11 Dec 2015 09:50:46 +0000 (10:50 +0100)] 
build: fixed NDEBUG build

9 years agotests/deckard: synced to master
Marek Vavruša [Thu, 10 Dec 2015 23:54:01 +0000 (00:54 +0100)] 
tests/deckard: synced to master

9 years agolayer/iterate: fail answers with NSs outside bailiwick immediately
Marek Vavruša [Thu, 10 Dec 2015 23:53:35 +0000 (00:53 +0100)] 
layer/iterate: fail answers with NSs outside bailiwick immediately

9 years agobuild: better incremental builds (less depends)
Marek Vavruša [Thu, 10 Dec 2015 23:04:08 +0000 (00:04 +0100)] 
build: better incremental builds (less depends)

9 years agobuild: do not rebuild hiredis/libmc every time
Marek Vavruša [Thu, 10 Dec 2015 22:32:52 +0000 (23:32 +0100)] 
build: do not rebuild hiredis/libmc every time

9 years agobuild: revert hiredis to git
Marek Vavruša [Thu, 10 Dec 2015 22:26:39 +0000 (23:26 +0100)] 
build: revert hiredis to git

9 years agobuild: install hiredis to PREFIX
Marek Vavruša [Thu, 10 Dec 2015 22:24:34 +0000 (23:24 +0100)] 
build: install hiredis to PREFIX

9 years agobuild: follow redirects in dl links
Marek Vavruša [Thu, 10 Dec 2015 22:14:15 +0000 (23:14 +0100)] 
build: follow redirects in dl links

9 years agobuild: cleanup, added hiredis/libmemcached to Travis build
Marek Vavruša [Thu, 10 Dec 2015 22:09:29 +0000 (23:09 +0100)] 
build: cleanup, added hiredis/libmemcached to Travis build

9 years agodaemon: luasec/luasocket optional
Marek Vavruša [Thu, 10 Dec 2015 20:12:32 +0000 (21:12 +0100)] 
daemon: luasec/luasocket optional

9 years agobuild: merged #21,#22
Marek Vavruša [Thu, 10 Dec 2015 17:47:36 +0000 (18:47 +0100)] 
build: merged #21,#22

thanks @darix!
fixes #21,#22

9 years agobuild: set soname for ELF libraries with versioning
Marek Vavruša [Thu, 10 Dec 2015 17:44:59 +0000 (18:44 +0100)] 
build: set soname for ELF libraries with versioning

fixes #20

9 years agobuild: fixed modules depends
Marek Vavruša [Thu, 10 Dec 2015 17:33:13 +0000 (18:33 +0100)] 
build: fixed modules depends

fixes #19

9 years agobuild: fixed modules broken by latest build
Marek Vavruša [Thu, 10 Dec 2015 17:16:33 +0000 (18:16 +0100)] 
build: fixed modules broken by latest build

fixes #18

9 years agoMerge branch 'build-improvements'
Marek Vavruša [Thu, 10 Dec 2015 16:44:54 +0000 (17:44 +0100)] 
Merge branch 'build-improvements'

9 years agoscripts: added basic service/sysconfig/apparmor templates
Marek Vavruša [Thu, 10 Dec 2015 16:44:05 +0000 (17:44 +0100)] 
scripts: added basic service/sysconfig/apparmor templates

this should help packaging the project to other platforms

thanks @darix!

9 years agosupport: updated doc, added config examples
Marek Vavruša [Thu, 10 Dec 2015 16:43:03 +0000 (17:43 +0100)] 
support: updated doc, added config examples

9 years agobuild: library able to compile to both static/dynamic versioned libs
Marek Vavruša [Wed, 9 Dec 2015 22:52:09 +0000 (23:52 +0100)] 
build: library able to compile to both static/dynamic versioned libs

* PIE,RELRO+NOW and other security features enabled
* support for both static/dynamic builds with BUILDMODE
* dynamic library is ABI-versioned, starting at 1
* pkg-config file is installed

9 years agocontrib: compile to convenience static library
Marek Vavruša [Wed, 9 Dec 2015 18:30:22 +0000 (19:30 +0100)] 
contrib: compile to convenience static library

this is needed to make sure it always compiles with PIC

9 years agobuild: hardening, doc, cleanup build rules
Marek Vavruša [Tue, 8 Dec 2015 18:38:24 +0000 (19:38 +0100)] 
build: hardening, doc, cleanup build rules

9 years agolib: do not use potentially large stack allocations
Marek Vavruša [Tue, 8 Dec 2015 18:40:18 +0000 (19:40 +0100)] 
lib: do not use potentially large stack allocations

rdata may be <=64k + 8B on stack which may be source of various mystery
errors later, for example in bindings or stackspace-constricted env

9 years agodoc: documented default paths
Marek Vavruša [Tue, 8 Dec 2015 18:38:36 +0000 (19:38 +0100)] 
doc: documented default paths

9 years agolayer/validate: buggy rrsig qtype resolution in tests
Marek Vavruša [Tue, 8 Dec 2015 13:54:48 +0000 (14:54 +0100)] 
layer/validate: buggy rrsig qtype resolution in tests

9 years agodaemon/lua: update defaults (both v4/v6 localhost, 100M cache)
Marek Vavruša [Tue, 8 Dec 2015 12:36:05 +0000 (13:36 +0100)] 
daemon/lua: update defaults (both v4/v6 localhost, 100M cache)

9 years agodaemon: worker.id and worker.count documented
Marek Vavruša [Tue, 8 Dec 2015 11:57:34 +0000 (12:57 +0100)] 
daemon: worker.id and worker.count documented

9 years agolib/cache: count clear()s as deletes
Marek Vavruša [Mon, 7 Dec 2015 11:16:41 +0000 (12:16 +0100)] 
lib/cache: count clear()s as deletes

9 years agobuild: DESTDIR= support, doc
Marek Vavruša [Sun, 6 Dec 2015 13:51:09 +0000 (14:51 +0100)] 
build: DESTDIR= support, doc

9 years agobuild: *DIR variables are assembled in Makefile
Marek Vavruša [Sun, 6 Dec 2015 12:20:39 +0000 (13:20 +0100)] 
build: *DIR variables are assembled in Makefile

this allows to override any dstdir variable without
patching config.mk

9 years agodaemon: root trust anchors automatically bootstrapped from IANA
Marek Vavruša [Sat, 5 Dec 2015 17:09:23 +0000 (18:09 +0100)] 
daemon: root trust anchors automatically bootstrapped from IANA

if the root key file doesn’t exist, it will be populated from root DNSKEY query, which will be validated against root trust anchors retrieved over HTTPS with IANA cert verification against built-in current IANA cert CA. it requires luasocket and luasec for it to work. trust anchors XML file signature is not checked, as there’s no facility for PKCS7 checking yet.