Update OONI scripts
The OONI scripts use data from the vanilla_tor
and tcp_reachability
tests. vanilla_tor
has been retired and tcp_reachability
is no longer run for Tor bridges. Instead, the new tor
test measures the ability to make HTTP and vanilla Tor connections to directory authorities and obfs4 connections to Tor Browser's default obfs4 bridges.
The ooni-sync
tool has been deprecated - bulk data access is now via S3.
We should update our OONI scripts to fetch the results of the tor
test from S3. The test_keys
field contains a summary of the number of reachable dir ports, OR ports and obfs4 bridges. We can use the dir port and OR port reachability to check whether Tor is blocked and the obfs4 reachability to check whether the default bridges are blocked.
The probe_asn
field can be used to separate the measurements by AS. Since Briar clients don't know which AS they belong to, I suggest we use the most restrictive AS in each country to choose our default strategy for that country. So for example if one AS blocks Tor and the default bridges while another blocks Tor but not the default bridges, we should use non-default bridges for that country.