-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make OONI Probe testing more resilient to network outages #88
Comments
We should probably introduce a longer chain of fallbacks in the nervous resolver, but, for now, using the IP address is good enough because it can protect us against the whole DNS being down. This happened to me in Italy, when "Vodafone rete sicura" had several hours of outage and the default DNS was not working as intended, while there was IP connectivity. Reference issue: ooni/probe-engine#88
We should probably introduce a longer chain of fallbacks in the nervous resolver, but, for now, using the IP address is good enough because it can protect us against the whole DNS being down. This happened to me in Italy, when "Vodafone rete sicura" had several hours of outage and the default DNS was not working as intended, while there was IP connectivity. Reference issue: ooni/probe-engine#88
Now, rather than using nervousresolver as an opt-in that is not so easy to use, you can chain as many resolvers as you wish. Xref: ooni/probe-engine#88
Now, rather than using nervousresolver as an opt-in that is not so easy to use, you can chain as many resolvers as you wish. Xref: ooni/probe-engine#88
I have implemented this functionality in https://github.com/ooni/netx, a more low-level library where this functionality was better placed. I have uses https://github.com/ooni/jafar to calibrate timeouts and retransmissions, and have concluded the following (see also ooni/netx@9a94f46)
This is better than using just short timeouts to guarantee that the whole duration of an operation is bounded, because it gives a bad network time to breathe in case of interference. More on the field testing is probably required to validate this assumption. Another aspect related to this issue is the implementation of automatic DNS fallback. It was devised for #87 but it is actually also useful here. In more than one instance, I have been in networks in which measurements needed to be run, where the DNS was not well provisioned, therefore MK failed quite often. The automatic fallback to other DNS servers using DoT and DoH, and the fact that, for several of them we use hardcoded IP addresses, implies that, if the DNS does not always reply, then we'll have a fallback and we'll still be able to use the network. |
No description provided.
The text was updated successfully, but these errors were encountered: