- Mar 17, 2021
-
-
Štěpán Balážik authored
Previously, qry->flags.TCP flag was incorectly set, which led to incorrect logging and maybe other troubles down the line.
-
- Mar 16, 2021
-
-
Tomas Krizek authored
utils/cache_gc: fix crashes/assertions on RTT entries See merge request !1153
-
Tomas Krizek authored
-
Vladimír Čunát authored
I missed some parts when finishing this. I should've tested it better. GC would hit assertions or NULL dereferences when removing entries, and eventually that would lead to cache overflowing (and getting cleared).
-
- Mar 15, 2021
-
-
Tomas Krizek authored
daemon/http: replace assertions See merge request !1152
-
Tomas Krizek authored
-
Tomas Krizek authored
ci: update ODVR distros See merge request !1148
-
Tomas Krizek authored
-
Tomas Krizek authored
doh2: refuse stream on failure See merge request !1149
-
- Mar 12, 2021
-
-
Lukas Jezek authored
-
Lukas Jezek authored
-
- Mar 11, 2021
-
-
Tomas Krizek authored
dnstap: don't break request resolution on dnstap errors See merge request !1147
-
Vladimír Čunát authored
This isn't a regression of 5.3.0 changes. Layer functions are supposed to return new values for ctx->state, but here we were sometimes returning kr_error(EFOO) which altered processing of the request. Our case: answers directly from policy module would not end up finishing the request and we'd hit an assert at the end of processing.
-
- Mar 09, 2021
-
-
Tomas Krizek authored
doh2: send HTTP error status code Closes #618 See merge request !1102
-
-
-
Lukas Jezek authored
-
Lukas Jezek authored
-
Lukas Jezek authored
-
- Mar 02, 2021
-
-
Tomas Krizek authored
predict docs: better explain how it works See merge request !1145
-
Vladimír Čunát authored
-
- Feb 25, 2021
-
-
Tomas Krizek authored
release 5.3.0 See merge request !1138
-
Tomas Krizek authored
-
Tomas Krizek authored
lib/selection: add simple detection of IPv6 being broken See merge request !1143
-
Vladimír Čunát authored
Details are described in code comments.
-
- Feb 22, 2021
-
-
Tomas Krizek authored
lib/selection: halve the default timeout (for iteration) See merge request !1141
-
- Feb 21, 2021
-
-
Vladimír Čunát authored
-
- Feb 19, 2021
-
-
Tomas Krizek authored
lib/selection{,_iter}.c: allow switching back to UDP See merge request !1140
-
- Feb 18, 2021
-
-
Štěpán Balážik authored
Switching to TCP instead of querying very slow servers over UDP has had unwanted side effect – we would sometimes get stuck with a server permanently switched to TCP. And if the server happens to not reply over TCP we were in trouble. Therefore after we TCP connect fails or timeouts we provide one last chance for the server over UDP. This will not prevent the next request to try TCP again on this server again, but we don't care because DNS MUST ******* work over TCP.
-
- Feb 12, 2021
-
-
Tomas Krizek authored
daemon/udp_queue: drop the error logging See merge request !1139
-
Vladimír Čunát authored
We should do this for all transports and probably just in verbose mode. We were printing lots of these on Turris OS (for one user at least): https://forum.turris.cz/t/5-1-8-kresd-throwing-many-errors-in-var-log-messages/14775 EACCESS in particular apparently may happen (on Linux) when the network is "unavailable", EPERM because of firewall/netfilter: https://stackoverflow.com/a/23869102
-
Vladimír Čunát authored
-
- Feb 11, 2021
-
-
Tomas Krizek authored
-
Tomas Krizek authored
modules/{http,watchdog}: fix stability problems See merge request knot/knot-resolver!1136
-
As first noted in commit d1a229ae, in some cases we do call chains that are not supported for JIT in LuaJIT. I'm not 100% sure all of these are needed to comply, but the functions here are really small and probably not to be that heavily used, so I don't think it will be costly to interpret them (and avoiding crashes is more important). In my tests this fixed occasional crashes when using http://*/trace/*
-
Tomas Krizek authored
adapt to knot 3.1 changes See merge request knot/knot-resolver!1134
-
- Feb 10, 2021
-
-
Vladimír Čunát authored
-
- Feb 09, 2021
-
-
Tomas Krizek authored
ci: Sonarcloud fixup See merge request knot/knot-resolver!1135
-
Tomas Krizek authored
-
Tomas Krizek authored
ci: sonarcloud improvements See merge request knot/knot-resolver!1121
-