Opened 15 months ago

Last modified 3 months ago

#27908 new task

PrivCount proof of concept with existing statistics

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: privcount, 040-unreached-20190109, 041-accepted-20190115, network-team-roadmap-2019-Q1Q2
Cc: amj703, irl Actual Points:
Parent ID: #22898 Points: 0
Reviewer: Sponsor:

Description

Let's implement a proof-of-concept implementation of PrivCount that adds some noise to existing relay statistics, and then aggregates them.

This proof of concept will help us answer open questions, find bugs and unexpected issues, and get started on the metrics analysis. (But it doesn't need to be secure, because the stats are already public for each relay.)

Child Tickets

TicketStatusOwnerSummaryComponent
#27161assignedAdd make check-rustfmt to make checkCore Tor/Tor
#29004newPrivCount proof of concept: implement check countersCore Tor/Tor
#29005newPrivCount proof of concept: implement consumed bandwidth countersCore Tor/Tor
#29006assignedPrivCount proof of concept: add noise to countersCore Tor/Tor
#29007assignedPrivCount proof of concept: implement debugging for PrivCountCore Tor/Tor
#29008assignedPrivCount proof of concept: add a PrivCount module, torrc option, and protocolCore Tor/Tor
#29009newPrivCount proof of concept: use blinding and Shamir secret sharingCore Tor/Tor
#29010newPrivCount proof of concept: work out how to do CI for PrivCount using chutneyCore Tor/Tor
#29011closedPrivCount proof of concept: work out how to do integration testing without chutneyCore Tor/Tor
#29129newPrivCount proof of concept: decide if we want to remove bandwidth statisticsCore Tor/Tor
#29265newPrivCount proof of concept: Re-implement the C code in RustCore Tor/Tor
#29266newPrivCount proof of concept: round results to hide usage over timeCore Tor/Tor
#29268newPrivCount proof of concept: Use the subsystems API for PrivCountCore Tor/Tor
#29271newPrivCount proof of concept: use pubsub for events that PrivCount cares aboutCore Tor/Tor

Change History (18)

comment:1 Changed 15 months ago by nickm

Milestone: Tor: unspecifiedTor: 0.3.6.x-final

comment:2 Changed 14 months ago by teor

We want to create a local proof of concept with counters set to 0 and 1. Then we want to create a minimal viable product with the relay bandwidth statistic. (If we want to show Guard, Middle, and Exit bandwidth, we'll need to make this statistic a histogram.)

Some of our detailed planning is here:
https://trac.torproject.org/projects/tor/wiki/org/meetings/2018MexicoCity/Notes/PrivCount

comment:3 Changed 14 months ago by gaba

Sponsor: SponsorV

comment:4 Changed 14 months ago by gaba

Keywords: privcount added

comment:5 Changed 13 months ago by nickm

Milestone: Tor: 0.3.6.x-finalTor: 0.4.0.x-final

Tor 0.3.6.x has been renamed to 0.4.0.x.

comment:6 Changed 11 months ago by teor

Type: enhancementtask

This can be a parent task

comment:7 Changed 11 months ago by teor

Keywords: 040-unreached-20190109 041-proposed added
Milestone: Tor: 0.4.0.x-finalTor: unspecified

These tasks are on the 0.4.1 roadmap for PrivCount and Sponsor V.

comment:8 Changed 11 months ago by teor

Keywords: 041-proposed-on-roadmap added; 041-proposed removed
Milestone: Tor: unspecifiedTor: 0.4.1.x-final

Let's review these tickets at the next meeting using our 041-proposed process.

They're on the roadmap, so the review should focus on ticket size and team capacity (and sponsor expectations).

comment:9 Changed 11 months ago by teor

Points: 3

The points for this ticket are for the remaining sub tasks that we haven't created yet,

comment:10 Changed 11 months ago by amj703

Cc: amj703 added

comment:11 Changed 11 months ago by teor

Keywords: 041-accepted-20190115 added; 041-proposed-on-roadmap removed

These PrivCount tickets are on the 041 roadmap, we accepted their points estimates in 041 without discussion.

comment:12 Changed 10 months ago by gaba

Keywords: network-team-roadmap-2019-Q1Q2 added

comment:13 Changed 10 months ago by teor

Points: 30

This is a parent task, it has no points.

comment:14 Changed 9 months ago by teor

Owner: teor deleted

This is a parent ticket, I'm not sure it makes sense for it to have an owner

comment:15 Changed 7 months ago by nickm

Milestone: Tor: 0.4.1.x-finalTor: 0.4.2.x-final

Move privcount tickets to 0.4.2

comment:16 Changed 6 months ago by gaba

Sponsor: SponsorV

comment:17 Changed 6 months ago by irl

Cc: irl added

comment:18 Changed 3 months ago by nickm

Milestone: Tor: 0.4.2.x-finalTor: unspecified
Status: assignednew

Move privcount tickets from 0.4.2 to "Unspecified"; mark as new.

Note: See TracTickets for help on using tickets.