Opened 3 months ago

Last modified 3 months ago

#31648 new enhancement

Calculate responsible HSDirs for v3 descriptors in stem

Reported by: asn Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version:
Severity: Normal Keywords: tor-hs scaling onionbalance network-team-roadmap-september tor-spec
Cc: s7r, gk Actual Points: 3.7
Parent ID: #26768 Points: 4
Reviewer: Sponsor:

Description

The v3 HSPOST command will only post the current descriptor if we don't explicitly provide the HSDirs, but we also need to post the next descriptor from onionbalance.

This means that we will need to compute the right HSDirs for both current and next descriptors from within stem.

Furthermore, we will need to implement the whole time-period/SRV logic on the onionbalance side to know which time-period/SRV to use at any given time, and also when a new consensus arrives.

Child Tickets

Change History (3)

comment:1 Changed 3 months ago by asn

Component: Core Tor/TorCore Tor/Stem
Milestone: Tor: unspecified
Owner: set to atagar
Type: defectenhancement

comment:2 Changed 3 months ago by asn

OK I pushed some code for this here: https://github.com/asn-d6/onionbalance_v3/tree/responsible_hsdirs_dev

It's ugly and quick but it should do the job as a PoC for now.

comment:3 Changed 3 months ago by asn

Actual Points: 3.7

There is more to do here, but this is a fine milestone to take a break from this and start working on keyblinding....

Note: See TracTickets for help on using tickets.