- Jan 23, 2017
-
-
Grigorii Demidov authored
-
- Jan 20, 2017
-
-
Grigorii Demidov authored
-
- Jan 18, 2017
-
-
Grigorii Demidov authored
-
- Jan 16, 2017
-
-
Petr Špaček authored
-
Ondřej Surý authored
-
Grigorii Demidov authored
-
-
- Jan 11, 2017
-
-
On standard 64-bit: 24 -> 16 bytes per element.
-
-
Grigorii Demidov authored
-
- Dec 19, 2016
-
-
Ondřej Surý authored
-
Ondřej Surý authored
-
Motivation: maintaining these by hand in kres.lua is tricky, as just inserting or reordering the structures can do anything and isn't detected in general. For example, `rr_array_t::at` has always "missed a star". A couple libknot structure fields have apparently changed name since the old definitions were written; in most cases I renamed them in *.lua. The file daemon/lua/kres-gen.lua will be regenerated only if explicitly deleted. That requires building with debug symbols and gdb on $PATH.
-
- Dec 02, 2016
-
-
Vladimír Čunát authored
Fixes https://github.com/CZ-NIC/knot-resolver/issues/35.
-
- Nov 28, 2016
-
-
Vladimír Čunát authored
-
- Nov 14, 2016
-
-
Ondřej Surý authored
-
- Nov 13, 2016
-
-
Daniel Kahn Gillmor authored
-
- Nov 08, 2016
-
-
Vladimír Čunát authored
Some structures have changed but lua was still using the old ABI. I think no our lua code used the fields misplaced due to this, except an example in documentation. I didn't check much of the ABI in there. I wish I knew some (half-)automatic way how to do that.
-
Vladimír Čunát authored
- The API and ABI for modules changes slightly (details below). KR_MODULE_API is bumped to avoid loading incompatible code. We have bumped libkres ABIVER since the last release 1.1.1, so leaving that one intact. - Make KR_STATE_YIELD not reuse 0 value anymore. It's easy to e.g. return kr_ok() by mistake. - struct kr_layer_t: * ::mm was unused, uninitialized, etc. * Make ::state an int, as it was everywhere else. * void *data was ugly and always containing struct kr_request * - struct kr_layer_api: * Drop the void* parameter from ::begin, as it was only used for the request which is available as ctx->req anyway (formerly ctx->data). * Drop ::fail. It wasn't even called. Modules can watch for KR_STATE_FAIL in ::finish. - Document the apparent meaning of the layer interface, deduced mainly from the way it's used in the code. Caveats: * enum knot_layer_state handling seems to assume that it holds exactly one of the possibilities at a time. The cookie module does NOT follow that (intentionally), apparently depending on the exact implementation of the handling at that moment. It feels fragile. * I was unable to deduce a plausible description of when ::reset is called. It's practically unused in modules, too.
-
- Oct 24, 2016
-
-
Vladimír Čunát authored
Fixes https://gitlab.labs.nic.cz/knot/resolver/issues/93. API of a KR_EXPORT function is changed, so ABIVER is bumped.
-
- Oct 20, 2016
-
-
Ondřej Surý authored
and set libknot_SONAME and libzscanner_SONAME as lua literals. Remove now obsolete libpath lua function - use find_soname from platform.mk to define <arg>_SONAME, add lua_pushliteral to daemon/engine.c and add -D to daemon/daemon.mk for any new library loaded from Lua.
-
- Aug 25, 2016
-
-
Marek Vavruša authored
RTT tracking for all targets is also supported, but no loadbalancing is done based on that yet
-
- Aug 23, 2016
-
-
Marek Vavruša authored
example: > daf.add 'forward 127.0.0.1@5353'
-
Karel Slaný authored
The missing entry caused some entries to be dear and written to wrong positions.
-
- Aug 11, 2016
-
-
Karel Slaný authored
-
Karel Slaný authored
-
Karel Slaný authored
-
- Aug 10, 2016
-
-
Marek Vavruša authored
-
- Jul 16, 2016
-
-
Daniel Kahn Gillmor authored
-
- Jul 06, 2016
-
-
Marek Vavruša authored
-
Marek Vavruša authored
forks are connected with IPC pipes to process group leader and can execute expressions on its behalf. so running commands over all workers is easy now: > hostname() -- single localhost > map 'hostname()' -- all localhost localhost localhost
-
Marek Vavruša authored
* in the begin() layer, the incoming query is exposed as req->qsource.packet, it is invalidated after begin() and should not be modified * the destination address (local interface) is also tracked for filtering purposes
-
Marek Vavruša authored
during the consume step, the information about upstream authoritative (address and current rtt) is exposed in the request structure, just like information about current query
-
Marek Vavruša authored
* http embeds modified lua-http server code that reuses single cqueue for all h2 client sockets, this is also because the API in upstream is unstable * http embeds rickshaw for real-time graphs over websockets, it displays latency heatmap by default and can show several other metrics * http shows a world map with pinned recently contacted authoritatives, where diameter represents number of queries sent and colour its average RTT, so you can see where the queries are going * http now exports several endpoints and websockets: /stats for statistics in JSON, and /metrics for metrics in Prometheus text format
-
- May 20, 2016
-
-
Marek Vavruša authored
this change introduces new API for cache backends, that is a subset of knot_db_api_t from libknot with several cache-specific operations major changes are: * merged 'cachectl' module into 'cache' as it is 99% default-on and it simplifies things * not transaction oriented, transactions may be reused and cached for higher performance * scatter/gather API, this is important for latency and performance of non-local backends like Redis * faster and reliable cache clearing * cache-specific operations (prefix scan, ...) in the API not hacked in * simpler code for both backends and caller
-
- Apr 18, 2016
-
-
Marek Vavruša authored
the daemon has now three modes of strictness checking from strict to permissive. it reflects the tradeoff between resolving the query in as few steps as possible and security for insecure zones
-
- Apr 07, 2016
-
-
Marek Vavruša authored
-
- Apr 06, 2016
-
-
Marek Vavruša authored
new trust anchors variables: * trust_anchors.hold_down_time = 30 * day * trust_anchors.refresh_time = nil * trust_anchors.keep_removed = 0 these could be used to control how often should root trust anchors be checked and how many removed keys should be kept in log (0 by default)
-
- Feb 03, 2016
-
-
Marek Vavruša authored
kresd accepts DS records in root keys if provided, it will eventually replace them with DNSKEY in automatic mode
-
Marek Vavruša authored
-