Skip to content
Snippets Groups Projects
Verified Commit 83efd209 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

lib/selection: improve IPv6 avoidance if broken

It was still possible to get into a deadlock here.
https://forum.turris.cz/t/not-connecting-to-applications-like-discord/17111/7
If A records for a NS fell out of cache but AAAA remained,
with probability 1-\epsilon we'd choose an AAAA address
even if IPv6 was considered broken.

I looked at *the whole* no6 strategy again, and I do think that
there are no such holes anymore.  A few percent attempts will still
go over IPv6 even if it's considered broken, but that sounds OK-ish.
parent c0542b17
No related branches found
No related tags found
2 merge requests!1327Update manager branch with the newest changes from master,!1298lib/selection: improve IPv6 avoidance if broken + debug logs
This commit is part of merge request !1298. Comments created here will be created in the context of that merge request.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment