- Mar 26, 2021
-
-
Vladimír Čunát authored
I'm overall unsure here, but this does seem as improvement.
-
Vladimír Čunát authored
The target of STUB might commonly not have good support for "advanced" features like TCP.
-
- Mar 24, 2021
-
-
Tomas Krizek authored
policy.TLS_FORWARD: better avoid dead addresses See merge request !1156
-
Vladimír Čunát authored
-
- Mar 19, 2021
-
-
Tomas Krizek authored
lib/resolve *_LAYERS: detect bad return code from module See merge request !1151
-
Practical example was now in dnstap (060349c9). This way we detect such mistakes more often and closer to their point of origin.
-
Tomas Krizek authored
selection: cap the timeout value when probing a random server See merge request !1154
-
This patch caps the timeout set on UDP queries to servers chosen in the EXPLORE phase of the selection algorithm to two times the timeout that would be set if we were EXPLOITing. This measns that we no longer spend an unreasonable amount of time probing servers that are probably dead anyway while ensuring that we do probe them from time to time to check if they didn't come to life. If the timeout value is capped and the server fails to respond, we don't punish the server for it i.e. we don't cache the timeout.
-
- Mar 17, 2021
-
-
Vladimír Čunát authored
-
Š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
-