Opened 7 years ago

Closed 6 years ago

#7934 closed enhancement (fixed)

Bouncer for informing probes of collector and test helper addresses

Reported by: hellais Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Keywords: oonib
Cc: aagbsn, isis, ioerror, hellais Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


We will soon start having a multitude of Tor Hidden Service based collectors to handle reports from probes.

We must devise a strategy for getting ooniprobe the list of Tor Hidden service addresses (or https service addresses) of the collectors.

The first iteration of this should be to have a single Tor Hidden Service (or IP address that runs HTTPs) that will inform the probe of a set of collector .onion addresses.

Such service shall be called the bouncer.

The ooniprobe shall cache these results for a period of time that is of 48 hours.

The bouncer will also give out the addresses of a set of test helpers

Child Tickets

Change History (3)

comment:1 Changed 7 years ago by hellais

Cc: aagbsn isis ioerror hellais added

In the first iteration of this we should hardcode a default list of collectors and test helpers inside of the config file.

Once such service is implemented we can then move towards having the keys in the config file updated by ooniprobe.

Since we want to set a time interval for updating such keys, there should be a timestamp of the time in which such keys were updated.

comment:2 Changed 7 years ago by aagbsn

The first iteration was completed, the tpo collector address is baked into ooni-probe, and test_helper addresses baked into the test decks in decks/

The next step is to devise a bouncer service that can be queried for a subset of available test collectors and helpers.

ooni-probe must be able to query a bouncer service for collector(s) and test helper(s)
ooni-probe must be able to cache a bouncer's reply.
ooni-probe must provide an API for querying the cached helper and collector lists (for NetTests developers).
ooni-backend should publish its available collector address(es) and test helper(s) to a bouncer

We should also consider:
a bouncer service must require authentication to register collector addresses and test helpers. This could be implemented as a keyed hidden service.
a bouncer service may test collector addresses and helpers before choosing to publish them. This could be implemented as an ooni-probe NetTest.


comment:3 Changed 6 years ago by hellais

Resolution: fixed
Status: newclosed

This is implemented.

Note: See TracTickets for help on using tickets.