Opened 9 months ago

Closed 6 months ago

#31648 closed enhancement (fixed)

Calculate responsible HSDirs for v3 descriptors in stem

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


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 (4)

comment:1 Changed 9 months ago by asn

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

comment:2 Changed 8 months ago by asn

OK I pushed some code for this here:

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

comment:3 Changed 8 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....

comment:4 Changed 6 months ago by asn

Actual Points: 3.74
Resolution: fixed
Status: newclosed

This works just fine right now and it's merged into the mainline onionbalance WIP branch. Any bugs that come out of this are not worth keeping this ticket open. Closing it!

Note: See TracTickets for help on using tickets.