- Aug 24, 2022
-
-
Vladimír Čunát authored
Enums are more like ints anyway (in standard), even when drawn from a small subset.
-
Vladimír Čunát authored
So far the message wasn't pointing to freebind at all: [net ] bind to '::1@53' (UDP): Operation not supported I used preprocessor to avoid duplication and unused warnings. Another way would be to ignore the freebind option if not supported, but I think it's better to convince users not to specify it.
-
- Aug 11, 2022
-
-
Vladimír Čunát authored
This caused a huge increase in real memory usage in case of queries arriving to kresd while being disconnected from internet. The usage was slowly creeping up, even over 2G. Interesting past commits: b350d38d and two preceding. There apparently was no real memory leak. I assume that reusal of long-living mempools is risky in terms of memory fragmentation, though the extent of the issue surprised me very much. The issue seemed the same with normal glibc and jemalloc. I generally dislike ad-hoc optimization attempts like these freelists. Now the allocator can better decide *itself* how to reuse memory.
-
Vladimír Čunát authored
-
- Jul 26, 2022
-
-
Vladimír Čunát authored
-
Vladimír Čunát authored
Our strategy was (and remains) that the in-header QNAME is overwritten in-place, so most of our code was already (correctly) assuming that knot_pkt_qname() returns lower-case only. That simplifies this commit.
-
Vladimír Čunát authored
-
- Jul 13, 2022
-
-
Fixes a regression on Meson 0.57.0 that produces a timeout in config.ta_bootstrap test.
-
- Jun 29, 2022
-
-
The double-free may have happened in some cases when the upstream resolver was stopped while answering a forwarded query. I was reliably reproducing it by running resperf on two kresd instances with one forwarded to the other, and killing the upstream one.
-
- Jun 27, 2022
-
-
Oto Šťáva authored
-
- Jun 17, 2022
-
-
Oto Šťáva authored
The `check_uri()` function now only checks that the endpoint is either `/doh` or `/dns-query`. Parameter checks were moved into `process_uri_path()` so that the check only takes place for GET requests. POST requests now do not care about parameters at all.
-
- Jun 03, 2022
-
-
Vladimír Čunát authored
https://clangd.llvm.org/design/include-cleaner Though somehow I'm all the time getting false positives for "daemon/bindings/impl.h"
-
Vladimír Čunát authored
It provides more information and the condition is typically easier to read, too.
-
- 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 20, 2022
- 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 11, 2022
-
-
Oto Šťáva authored
-
- May 04, 2022
-
-
Oto Šťáva authored
-
- May 02, 2022
- Apr 11, 2022
-
-
Vladimír Čunát authored
I'm really sorry about this. It's my regression in 5.5.0 (!1225) Practical consequence was that the RW transaction was held open until that instance did something with cache (and thus closed), so any other instance would be frozen in the meantime if doing anything non-read-only with cache (e.g. startup). https://lists.nic.cz/hyperkitty/list/knot-resolver-users@lists.nic.cz/thread/6DOXXOA6ACEUBVYPUY3T2MLGIHWOMV6M/
-
- Apr 04, 2022
-
-
Vladimír Čunát authored
It's probably a bit more efficient, but this part of code should be rarely used even on a resolver serving all in XDP.
-
Vladimír Čunát authored
Somehow I did this wrong when porting to libknot 3.1.
-
- Mar 21, 2022
-
-
Also change the return type of kr_pkt_has_dnssec() and lua's :dobit()
-
- Mar 14, 2022
-
-
Vladimír Čunát authored
This reverts commit 0c9ea133 (!1226). CI rp:fwd-tls6.udp-asan now repeatedly shows use-after-free. That could be a serious issue, and this commit's feature seems less important than the risk. Let's revert until the issue gets deeper investigation.
-
- Mar 01, 2022
- Feb 28, 2022
-
-
Vladimír Čunát authored
The new limit is over 68 years, so still completely meaningless.
-
- Feb 22, 2022
-
-