- Apr 23, 2018
- Apr 12, 2018
-
-
Vladimír Čunát authored
-
- Mar 28, 2018
-
-
Vladimír Čunát authored
-
- Mar 01, 2018
-
-
Vladimír Čunát authored
We use the knot style everywhere else; this was very similar and yet different, so really annoying to me. In the long term we might better migrate to qp-tries from knot, but the API differs, so it's delayed...
-
- Feb 15, 2018
-
-
Fields after kr_nsrep got offset; fortunately only new fields were added in there, unused from lua so far.
-
-
- Jan 31, 2018
-
-
Vladimír Čunát authored
Decision function is separated out.
-
Vladimír Čunát authored
Some parts were hand-written, apparently.
-
- Jan 30, 2018
-
-
Tomas Krizek authored
-
- Jan 24, 2018
- Jan 23, 2018
-
-
Petr Špaček authored
-
Petr Špaček authored
-
Config tests now have ability to run daemon with different arguments and to check exit code.
-
Arguments --keyfile, -k for managed mode and --keyfile-ro, -K for unmanaged (readonly) mode. Automatic setting based on the file permission is removed because it was confusing and could easily lead to state where automatic update does not happen because of unexpected file permissions. Check if folder is writeable was moved into Lua code. Default unmanaged keyfile path can be specified at compile time with option KEYFILE_DEFAULT. This default configuration can be disabled in configuration file with trust_anchors.keyfile_default = nil.
-
Petr Špaček authored
It is enabled by default.
-
Petr Špaček authored
-
Petr Špaček authored
RFC 6761 mandates functionality implemented by policy module, so it is now loaded by default. Users with special needs can still unload the module.
-
- Jan 08, 2018
-
-
Marek Vavruša authored
This is a followup on addition of trace callbacks in the resolver library, to get rid of the Lua/C interfacing in daemon and unify it with the log tracing. All modules can now install completion callback on the kr_request object that will be called after the resolution is done.
-
This implements worker coroutines in Lua to perform non-blocking I/O and do many things concurrently. For example a file watcher can be now implemented as: ``` local watcher = notify.opendir('/etc') watcher:add('hosts') -- Watch changes to /etc/hosts worker.coroutine(function () for flags, name in watcher:changes() do for flag in notify.flags(flags) do print(name, notify[flag]) end end end) ``` In order to make this work, the runtime uses the cqueues library which can run coroutines concurrently, and return a file descriptor to poll on if it's blocked. The worker takes that file descriptor and calls `event.socket(pollfd, resume_callback)` so that libuv can wake up the worker when its ready again. The cqueues library is still optional, but if it's not present following stuff won't work: * worker.coroutine() * worker.sleep()
-
- Jan 04, 2018
- Dec 21, 2017
-
-
Marek Vavruša authored
This reverts commit 0a891eb6.
-
Marek Vavruša authored
-
Marek Vavruša authored
This allows debugging of what records were used for final answer.
-
Marek Vavruša authored
-
Marek Vavruša authored
This is useful in many troubleshooting scenarios when you want debug logs just for a single request. It's going to expand on TRACE flag functionality in the next PRs, so that special requests can be invoked with various tracers attached. Currently this is only available in the C modules that can set the callback, it's not called anywhere in the library yet.
-
Marek Vavruša authored
this allows for changing request settings or performing other actions just after the request is created.
-
- Dec 08, 2017
-
-
Check differences between real and monotonic time. It clears cache when this diffrence changes since last cache clear.
-
Monotonic time from libuv function uv_now (wrapped in kr_now) is used for query timeout, stats and RTT in reputation cache. Cache, DNSSEC Validation and Cookies use real time.
-
Petr Špaček authored
Some RR type definitions present in IANA DNS parameters registry were missing in kresd. This commit synchronizes the tables with IANA registry as of 2017-12-08 13:20 UTC. At the same time, this commit is fixup! converted constant tables, support kres.type.TYPE1234 The mentioned commit accidentally removed NULL definition which broke TA signaling module.
-
- Dec 07, 2017
-
-
This module is enabled by default, but disabled in Deckard tests.
-
- Dec 04, 2017
-
-
Vitezslav Kriz authored
-
- Nov 28, 2017
-
-
Also removed priming query from trust anchor module. Updated deckard repository.
-