[tor-bugs] #26931 [Core Tor/Tor]: Wrong service-side HSv3 hash ring for HSv3 once a day (low impact)

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 25 07:00:45 UTC 2018


#26931: Wrong service-side HSv3 hash ring for HSv3 once a day (low impact)
------------------------------+--------------------------------------
     Reporter:  asn           |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-hs hsv3 reachability
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------------
 Here is another bug we found with dgoulet at HOPE:

 In `set_rotation_time()` we set the next rotation time to next midnight:
 {{{
   service->state.next_rotation_time =
     sr_state_get_start_time_of_current_protocol_run() +
     sr_state_get_protocol_run_duration();
 }}}

 Supposedly we do that because at next midnight the next SRV value is
 computed, and hence we want the next descriptor to use that next SRV
 value.

 However there is of course no guarantee that the service has the consensus
 with the right SRV at that point, and actually there is no chance that's
 the case since the consensus is computed exactly at midnight.

 This means that the first upload of the next descriptor is done with a
 wrong HSDir. We think that this should not actually impact reachability
 since that first descriptor upload should only be used by severely clock
 skewed clients.

 We should investigate more.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26931>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list