[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 Aug 8 12:11:22 UTC 2018


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

Comment (by teor):

 Replying to [comment:2 neel]:
 > I am interested in fixing this.
 >
 > I have a question: what is a "careful count"?

 The function counts all nodes, and then checks if there are enough nodes
 for a path.

 But it should check that there is at least 1 guard node, and at least 2
 non-guard nodes.

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


More information about the tor-bugs mailing list