- Jul 13, 2022
-
-
Fixes a regression on Meson 0.57.0 that produces a timeout in config.ta_bootstrap test.
-
- Jun 01, 2022
-
-
Vladimír Čunát authored
WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 In almost all cases we already check the return code explicitly and throw a more descriptive message than what would be the default.
-
- May 18, 2022
-
-
Vladimír Čunát authored
I was diffing logs from different runs and got annoyed by the shuffles.
-
- May 13, 2022
- May 04, 2022
-
-
Oto Šťáva authored
-
- Mar 21, 2022
-
-
Also change the return type of kr_pkt_has_dnssec() and lua's :dobit()
-
- Feb 28, 2022
- Feb 22, 2022
-
-
- Dec 22, 2021
-
-
Vladimír Čunát authored
We can always easily add groups when needed.
-
Vladimír Čunát authored
The approach of the code was rather hacky, simulating some packets arriving from upstream and making the module stack CONSUME that. Instead we take a direct approach now: use the simplified validator API and then insert into cache directly. One effect is improved performance, and consequently roughly halving the lag which happens when prefill module invokes this. (With root zone the lag goes down to 0.1 s from over 0.2 s, on my relatively fast CPU. Fortunately it's just once a day.)
-
- Dec 21, 2021
-
-
Tomas Krizek authored
The following actions will now be logged in debug level (or request tracing): ANSWER, DENY, DENY_MSG, DROP, REFUSE, TC This can be useful for RPZ and other policy debugging. Purposefully ommitted actions: PASS - since it's the same as normal processing REROUTE - the action itself comes from renumber module STUB,FORWARD,TLS_FORWARD - this could be more confusing than useful (e.g. when response comes from cache)
-
Tomas Krizek authored
Add a utility function for simpler lua API when setting extended errors.
-
Tomas Krizek authored
Version 2.9 isn't supported anymore anyway, but 3.0.2 is needed for extended error constants.
-
Tomas Krizek authored
-
Tomas Krizek authored
-
Tomas Krizek authored
-
Tomas Krizek authored
-
Tomas Krizek authored
-
- Dec 20, 2021
-
-
Oto Šťáva authored
-
- Nov 25, 2021
-
-
Tomas Krizek authored
Credit for code goes to Vladimír Čunát
-
- Nov 24, 2021
-
-
Tomas Krizek authored
-
- Nov 23, 2021
-
-
Answers to EDNS requests from certain lua policies that use the answer_clear() function would lack OPT RR and thus violate the MUST condition in RFC6891.6.1.1.
-
- Nov 19, 2021
-
-
Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com>
-
- Nov 04, 2021
-
-
Vladimír Čunát authored
sandbox.lua:72: attempt to call global 'log_notice' (a nil value) Broken by commit 39dd89db (MR !1208)
-
- Nov 03, 2021
-
-
NSEC* params were not being stashed by this function. For prefilling it's useful, but doing it on *every* NSEC* record would be quite a waste, so we introduce a parameter to select this. Implementation: there were good reasons not to implement this until needed - it wasn't straightforward at all.
-
- Oct 11, 2021
- Sep 20, 2021
-
-
By default, notice level is set. Thus, if users want to use log() in the same way as pre-5.4, they'd have to increase the log level. This bumps the log level of log() function to keep the same behavior.
-
- Aug 19, 2021
-
-
Vladimír Čunát authored
It's not a perfect solution and with the future policy engine it will hopefully be better, but it's really trivial to add this already. (should've done that years ago)
-
- Aug 10, 2021
-
-
It's special: always on and not shown in log_groups() output. It's been quite a long fight to find how to best deal with such a special case (from user perspective; code itself is easy).
-
The result gets logged as a single multi-line message, so let's not repeat any prefix on (some of) those in-the-middle lines.
-
Systemd docs say: > Those arguments must contain valid journal entries including > the variable name, e.g. "CODE_FILE=src/foo.c", [...] I tried that passing all three strings empty (without variable name) wouldn't result into the line getting logged; the suggested style does.
-
The former "default" dumping style isn't really used anywhere in Knot. The only visible difference is that RRSIGs are now logged *without* replacing their TTLs by the original non-decremented TTL values. That can avoid some confusion when reading debug logs. (Those original TTLs are still shown a bit further on each line.)
-
- Aug 09, 2021
-
-
Vladimír Čunát authored
This is all that's missing in comparison to enum knot_rr_type. For now I didn't remove types that aren't present there (anymore), even though noone would miss them, most likely.
-
- Aug 05, 2021
-
-
Vladimír Čunát authored
I considered switching it to our usual 3-option combo, but that way didn't really seem useful.
-
Vladimír Čunát authored
I didn't intend to use this mix of tabs and spaces for indentation.
-
- Jul 29, 2021
-
-
Tomas Krizek authored
-
Vladimír Čunát authored
- we've been using lua's formatting so far, so avoid changing that - some lua values would be harder to format with the C style
-
Let's be consistent witk kr_log_name2level() and even generally we tend to use negative numbers for errors.
-
Tomas Krizek authored
-