[tor-bugs] #20974 [Core Tor/Tor]: Call no directory guard happy until its directory headers are received

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 14 20:43:30 UTC 2016


#20974: Call no directory guard happy until its directory headers are received
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.0.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:  #20822
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 In my prop271 code as it is, we call entry_guard_succeeded() from
 connection_dir_process_inbuf().  But apparently that can get called
 without data actually having been read.  We should instead call the guard
 successful only when we get good-looking headers from it.

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


More information about the tor-bugs mailing list