Opened 5 years ago

Closed 5 years ago

#12579 closed enhancement (fixed)

Make bouncer and client aware of policies

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

Description

Currently when the bouncer returns a collector to a probe it does not take into account the fact that such collector may not support the specified test and/or inputs. This means that when the probe will try to report to it, it may fail and the report will be lost.

This feature is related to making the bouncer aware of the collector policies. Depending on the input and tests that a probe is interested in running it shall return only collectors that support them.

The bouncer should always return the collector with the most strict policy that supports the given test and only fail over to using the less strict ones when there is no alternative.

Part of this is already implemented in these two branches:

ooni-probe: https://github.com/TheTorProject/ooni-probe/tree/feature/oonib_policy_aware

ooni-backend: https://github.com/TheTorProject/ooni-backend/tree/feature/oonib_policy_aware

What is currently missing is to review these two branches and update ooni-spec to reflect these changes to the bouncer API.

Child Tickets

Change History (1)

comment:1 Changed 5 years ago by hellais

Resolution: fixed
Status: newclosed

This has now made it's way into master and will be included in the latest release.

Note: See TracTickets for help on using tickets.