[tor-bugs] #25885 [Core Tor/Tor]: count_acceptable_nodes() would be more accurate using node_has_preferred_descriptor()

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 17 07:18:29 UTC 2018


#25885: count_acceptable_nodes() would be more accurate using
node_has_preferred_descriptor()
--------------------------+------------------------------------
 Reporter:  nickm         |          Owner:  neel
     Type:  defect        |         Status:  needs_revision
 Priority:  Medium        |      Milestone:  Tor: 0.3.6.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:  nickm         |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 I agree with nickm's comments, and I also found another edge case: direct
 nodes can be bridges, which are not used as middles or exits.

 I'd like to review the revised code as well.

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


More information about the tor-bugs mailing list