Opened 6 years ago

Closed 2 years ago

#11998 closed defect (wontfix)

Add support for publishing test-helpers and collectors to bouncer

Reported by: cypherpunks Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Normal Keywords: archived-closed-2018-07-04
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


This issue was automatically migrated from github issue

The ooni-probe bouncer should also expose an API for allowing test-helpers and collectors to advertise their presence to the bouncer.

The most simple way of doing this is simply exposing a public API on the bouncer side that allows you to POST a message with a payload like so:


'collector': 'httpo://thirteenchars1234.onion/',
'http-return-json-headers': '',
'dns': ''


The bouncer will then just add this to the list of collectors and bouncer it is aware of.

The drawback with this approach is that it allows anybody, even not authenticated, to pollute the database with random bouncer addresses.

I think this is mainly a threat to availability since it could lead to a malicious actor to polluting the bouncer with non-working bouncers.

A better approach would be to have the JSON document be signed.

There are quite a few approaches to singing JSON documents, but the one I personally like most is this:

Though I would like feedback from @nathan-at-least on this matter.

At this point we can have the bouncer have a list of approved public keys that can publish to the bouncer and we will only accept publication of reports that have been signed.

I would suggest we implement the publication of bouncer addresses to the bouncer via a iterative process. We first implement the unauthenticated method and then we implement it via signing.

Child Tickets

Change History (2)

comment:1 Changed 3 years ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:2 Changed 2 years ago by teor

Keywords: archived-closed-2018-07-04 added
Resolution: wontfix
Status: newclosed

Close all tickets in archived components

Note: See TracTickets for help on using tickets.