- Apr 20, 2018
-
-
Since there is already a bundled JSON library, expose it to lua for modules to use.
-
- Apr 19, 2018
-
-
Petr Špaček authored
daemon/worker: separate counter for TLS sendings See merge request !557
-
-
- Apr 18, 2018
-
-
Petr Špaček authored
root zone import implementation See merge request !511
-
Petr Špaček authored
-
Petr Špaček authored
luasec internally calls SSL_CTX_load_verify_locations() which has non-intuituve behavior for directories. Given that we already use path to certificate file for TLS_FORWARD it is better to use consistent and intuitive interface.
-
Petr Špaček authored
Default values would cause confusion when we introduce support for non-root zones.
-
Petr Špaček authored
Only root zone can be imported (for now) but we want to avoid changing syntax when support for other zones is added.
-
Petr Špaček authored
Delaying import would leak bunch of queries from the resolver between moment of start and import.
-
Petr Špaček authored
The original prefill module did not import zone data after daemon restart unless the file TTL was expired. The module now reuses data on disk as long as TTL is not expired, and imports the zone after module load.
-
Petr Špaček authored
An attempt to rename/move temporary file to its final destination will fail if /tmp and working directory belong to different filesystems. It seems that temporary file is not required so it easier to get rid of it altogether.
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
ca_path parameter is now required so the module does not do anything until its config() method is called.
-
Petr Špaček authored
-
The old kr_rrkey() was used only on one place (and incorrectly) so now we are replacing both copies with single implementation for general resolver and root zone import. It should not make any practical difference.
-
Petr Špaček authored
worker: fixed infinite loop on send failure See merge request !559
-
- Apr 14, 2018
-
-
Marek Vavruša authored
The problem here is when qr_task_send() returns an error, the following error handler will attempt to cancel all tasks that were started on the same connection, but that will only work for the first task (which is finished), the qr_task_on_send() will have no effect on tasks in progress as the passed handle is NULL, and the task->finished is false, thus looping infinitely. The solution here is to let the rest of the tasks complete, even though sending answer back will fail (which is fine).
-
- Apr 13, 2018
-
-
Petr Špaček authored
tls_client logging and doc improvements See merge request !536
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
-
Petr Špaček authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
It just feels more consistent with the rest.
-
Vladimír Čunát authored
-
Grigorii Demidov authored
-
Petr Špaček authored
improve TLS error handling Closes #340 See merge request !555
-
-
-
- Apr 12, 2018
-
-
Vladimír Čunát authored
... and migrate kr_zonecut to it.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
Needed for followup commits. The trie_* names aren't ideal for global namespace, but ATM I can't see a better way.
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-