ooni / probe

OONI Probe network measurement tool for detecting internet censorship
https://ooni.org/install
BSD 3-Clause "New" or "Revised" License
750 stars 142 forks source link

engineresolver: refactor to use the bridge strategy #2581

Closed bassosimone closed 4 months ago

bassosimone commented 8 months ago

This issue is about refactoring the engineresolver package to use the bridge strategy implemented in 3.19 just for communicating with the OONI backend (see https://github.com/ooni/probe/issues/2531). This issue is probably a bit large and we may consider splitting it if we discover it's too large once we start working on it.

bassosimone commented 4 months ago

Properly doing this is probably not possible, because most DoH resolvers are hosted by CDN like environments, so we cannot guarantee that we're able to get the correct server name from the certificate. As such, I am going to close this issue as WONTFIX. Additionaly cleanups in engineresolver will be scoped as part of a new issue.