[tor-bugs] #19124 [Core Tor/Tor]: Shared Random and Half-Hour Consensuses

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 19 18:15:13 UTC 2016


#19124: Shared Random and Half-Hour Consensuses
--------------------------+------------------------------------
 Reporter:  teor          |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:  #16943        |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 So what happened is:
 `cat debug.log | grep 'Current phase is'`
 {{{
 May 19 00:00:01.000 [info] sr_state_update: SR: State prepared for new
 voting period (2016-05-19 05:00:00). Current phase is reveal (3 commit & 3
 reveal rounds).
 May 19 01:00:01.000 [info] sr_state_update: SR: State prepared for new
 voting period (2016-05-19 06:00:00). Current phase is commit (1 commit & 0
 reveal rounds).
 May 19 02:00:01.000 [info] sr_state_update: SR: State prepared for new
 voting period (2016-05-19 07:00:00). Current phase is commit (2 commit & 0
 reveal rounds).
 May 19 03:00:01.000 [info] sr_state_update: SR: State prepared for new
 voting period (2016-05-19 08:00:00). Current phase is commit (3 commit & 0
 reveal rounds).
 May 19 04:00:01.000 [info] sr_state_update: SR: State prepared for new
 voting period (2016-05-19 09:00:00). Current phase is reveal (3 commit & 1
 reveal rounds).
 May 19 10:17:11.000 [info] sr_state_update: SR: State prepared for new
 voting period (2016-05-19 15:00:00). Current phase is reveal (3 commit & 2
 reveal rounds).
 May 19 11:31:10.000 [info] sr_state_update: SR: State prepared for new
 voting period (2016-05-19 16:00:00). Current phase is reveal (3 commit & 3
 reveal rounds).
 May 19 12:03:10.000 [info] sr_state_update: SR: State prepared for new
 voting period (2016-05-19 17:00:00). Current phase is reveal (3 commit & 4
 reveal rounds).
 May 19 13:00:01.000 [info] sr_state_update: SR: State prepared for new
 voting period (2016-05-19 18:00:00). Current phase is commit (1 commit & 0
 reveal rounds).
 May 19 14:00:01.000 [info] sr_state_update: SR: State prepared for new
 voting period (2016-05-19 19:00:00). Current phase is commit (2 commit & 0
 reveal rounds).
 }}}

 The "3 commit & 4 reveal rounds" is obviously wrong, but it recovers in
 the next round.

 Also, the "11:31:10.000 [info] sr_state_update: SR: State prepared for new
 voting period (2016-05-19 16:00:00)" is correct. But I wonder what would
 have happened at 11:00 had tje authority been awake at that time. Would it
 have prepared state with the same valid-after time "2016-05-19 16:00:00"?
 Is this a bug?

 How do we get rounds and valid-after times working correctly when one or
 more authorities is voting on the half-hour because they don't have a
 recent consensus?

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


More information about the tor-bugs mailing list