ooni / probe

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

feature request: make session resolvers configurable #2675

Open Lanius-collaris opened 4 months ago

Lanius-collaris commented 4 months ago

Is it possible to make session resolvers configurable? And I think OONI Probe should prefer DNS over HTTP/3 servers than DNS over HTTP/2 servers, because TLS over TCP may trigger residual censorship, trying https://mozilla.cloudflare-dns.com/dns-query first may make http3://mozilla.cloudflare-dns.com/dns-query unavailable.

bassosimone commented 4 months ago

Sure! Let me add this to my development sprint!

As part of the patch, based on what you suggest, I think I should be doing two things:

  1. give HTTP/3 priority over HTTP/2 by default;
  2. allow to configure resolvers just like we can configure the endpoints for communicating with the backend.

Thank you! 🙌