ooni / backend

Everything related to OONI backend infrastructure: ooni/api, ooni/pipeline, ooni/sysadmin, collector, bouncers and test-helpers
BSD 3-Clause "New" or "Revised" License
50 stars 29 forks source link

api: fetch tor bridge lists at runtime #589

Open hellais opened 2 years ago

hellais commented 2 years ago

We currently use a static JSON file that requires manual update, to give out the testing targets for the default tor bridges. Tor now has an official API that we could use to fetch these at runtime and we should be using that.

The API in question is the following: https://bridges.torproject.org/moat/circumvention/builtin

This was previously discussed in this old issue: https://github.com/ooni/backend/issues/426

hellais commented 2 years ago

Things to consider:

meskio commented 2 years ago

This is the documentation of the moat API (that covers the /builtin endpoint): https://gitlab.torproject.org/tpo/anti-censorship/rdsys/-/blob/main/doc/moat.md#circumventionbuiltin

hellais commented 1 year ago

Broken down by country can be found here: https://bridges.torproject.org/moat/circumvention/map