- Dec 21, 2017
-
-
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
also disabled priming and TA signalisation during tests
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
-
Marek Vavruša authored
This leverages the HTTP interface to trace execution of individual requests. This is helpful for troubleshooting problems with a specific instance, or to generate test files (as it writes out answers received). Ideally it would also print a timeline of request processing broken down by function (or layer) and the amount of time spent, but there's no tracepoint for that yet.
-
Marek Vavruša authored
The `QRVERBOSE` macro uses the `query` pointer to find out whether the request has trace log enabled. If it does, it uses trace log to log verbose messages using that callback (regardless of whether verbose mode is set or not). This required changing of structure printing functions to formatting functions returning textual representation of the objects (dname, rrset, pkt). This is potentially slower as creates heap objects, but it doesn't happen in the hotpath so it doesn't really matter for verbose logs.
-
Marek Vavruša authored
This doesn't affect any of the objects lifetime, just provides a convenience for logging as some subsystems take only pointer of queries not the request object.
-
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
-
Marek Vavruša authored
this allows for changing request settings or performing other actions just after the request is created.
-
- Dec 19, 2017
-
-
Petr Špaček authored
CI: test transports See merge request !423
-
Petr Špaček authored
-
Petr Špaček authored
-
- Dec 13, 2017
-
-
Petr Špaček authored
fixup! memcached: rename module kmemcached -> memcached See merge request !421
-
Petr Špaček authored
-
- Dec 12, 2017
-
-
Petr Špaček authored
http: error out if GeoIP is requested but mmdblua is not available See merge request !420
-
Petr Špaček authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Vladimír Čunát authored
struct timeval wasn't available, probably depending on libknot version, breaking e.g. the Docker build.
-
Vladimír Čunát authored
-
- Dec 11, 2017
-
-
Vladimír Čunát authored
-
Petr Špaček authored
Monotonic nitpicks See merge request !418
-
Vladimír Čunát authored
-
Vladimír Čunát authored
-
Petr Špaček authored
detect_time_jump: remove forgotten debug print See merge request !417
-
Petr Špaček authored
fixup! module: detect discontinuous jumps in the system time
-
- Dec 08, 2017
-
-
Petr Špaček authored
use monotonic time Closes #247 See merge request !392
-
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
daemon: add missing RR type definitions See merge request !416
-
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.
-
Vitezslav Kriz authored
time_skew: Detect time skew during kresd start. See merge request !414
-
- Dec 07, 2017
-
-
Petr Špaček authored
Without this check, the module would print warning for every single run without root trust anchor.
-
This module is enabled by default, but disabled in Deckard tests.
-
Petr Špaček authored
Originally division around sizeof(uint32_t) caused silent truncation for struct kr_qflags with sizes not multiple of 4 bytes. Attempts to optimize using uint32_t blocks could lead to read/write beyond end of uint32_t so I'm not willing to risk it. Also, the code was refactored to avoid duplication between _set and _clear. Quick look into assembly produced by gcc 7.2.1 with -O2 on x86_64 confirms that all auxiliary functions got inlined so there are not extra function calls. Unit tests are attached. These fail on the previous version of _set() and _clear() and work now.
-
Petr Špaček authored
CI fixups Closes #282 See merge request !415
-