- Jan 06, 2017
-
-
Daniel Kahn Gillmor authored
If kresd is configured to listen using TLS, but it has no credentials, it should fall back to generating ephemeral credentials and using them. It stores the ephemerally-generated secret key in the same directory as the cache, using the name "ephemeral_key.pem". If the cache persists, then the key will too, even if the daemon dies. This means that any set of daemons that share a cache will also share an ephemeral secret key. The ephemeral X.509 certificate that corresponds to the key will be automatically generated (self-signed), will have a lifetime of about 90 days (matching Let's Encrypt policy). The ephemeral cert is never written to disk; it is always dynamically-generated by kresd. This should make it very easy to get DNS-over-TLS working in opportunistic mode.
-
- Dec 19, 2016
-
-
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.
-
- Nov 30, 2016
-
-
Vladimír Čunát authored
This reverts commit 64f80706. TL;DR: it brought almost no benefits AFAIK and potential for problems. The "portable bytecode" produced by luajit isn't compatible when (lib)luajit version changes or when some build-time configuration of it changes. If you mix these up, kresd fails to start.
-
- Nov 14, 2016
-
-
Vladimír Čunát authored
It seems a bit cleaner, though impact on size and load speed should not be noticeable. We simply install most of the lua code, as before, and I assume that we *do* want to keep that visibility, at least by default. Suggested on !57.
-
- Oct 21, 2016
-
-
Vladimír Čunát authored
This saves a few kilobytes in the executable. Also, the name XXD seemed no longer suitable, as it does lua-specific cleaning.
-
- 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.
-
Vladimír Čunát authored
-
- Sep 08, 2016
-
-
Ondřej Surý authored
-
- Aug 05, 2016
-
-
Daniel Kahn Gillmor authored
-
Daniel Kahn Gillmor authored
-
- Jun 30, 2016
-
-
Ondřej Surý authored
-
- Mar 29, 2016
-
-
Ondřej Surý authored
-
Ondřej Surý authored
-
Marek Vavruša authored
-
Marek Vavruša authored
addition to previous generic socket activation fixes #11
-
- Dec 23, 2015
-
-
Marek Vavruša authored
-
- Dec 10, 2015
-
-
Marek Vavruša authored
* 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
-
- Dec 09, 2015
-
-
Marek Vavruša authored
this is needed to make sure it always compiles with PIC
-
Marek Vavruša authored
-
- Dec 06, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
this allows to override any dstdir variable without patching config.mk
-
- Nov 26, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
- Nov 25, 2015
-
-
Marek Vavruša authored
amalgamated build concatenates all files into a single .c file to allow compiler see all symbols and produce possibly smaller code. for binary distributions this is what you want, as it's faster but may consume more memory during compilation. it however cannot do incremental builds.
-
- Nov 21, 2015
-
-
Marek Vavruša authored
-
- Sep 25, 2015
-
-
Marek Vavruša authored
todo: active refresh
-
- Aug 03, 2015
-
-
Marek Vavruša authored
this is a first step of leaning towards LuaJIT. the FFI bindings are much faster, simpler and don’t abort traces daemon core scripting engine is still going to support interpreted Lua, but modules requiring library bindings (such as ‘block’) will require LuaJIT for FFI
-
- Jul 15, 2015
-
-
Karel Slaný authored
-
- Jun 30, 2015
-
-
Marek Vavruša authored
-
- Jun 15, 2015
-
-
Marek Vavruša authored
-
- Jun 07, 2015
-
-
Marek Vavruša authored
also some cleanup and version bump to Q2
-
- May 25, 2015
-
-
Marek Vavruša authored
-
- May 18, 2015
-
-
Marek Vavruša authored
-
- May 07, 2015
-
-
Marek Vavruša authored
-
- Apr 24, 2015
-
-
Marek Vavruša authored
the worker now creates a resolution context copy, and keeps it if the query requires iterative queries. the worker_exec() is now a reentrant function that gets called with incoming data until the resolution is done, and it sends the answer
-
- Apr 08, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
- Mar 31, 2015
-
-
Marek Vavruša authored
-
- Mar 29, 2015
-
-
Marek Vavruša authored
example: modules.hints = ‘{“input”:”/etc/hosts”}’ .. is equal to .. modules.load(‘hints’) hints.config(‘{“input”:”/etc/hosts”}’)
-