[tor-bugs] #13790 [Core Tor/Tor]: Refactor and add comments to new_route_len()

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Feb 5 22:59:16 UTC 2017


#13790: Refactor and add comments to new_route_len()
-------------------------------------------------+-------------------------
 Reporter:  dgoulet                              |          Owner:
     Type:  enhancement                          |         Status:  new
 Priority:  Low                                  |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  026-deferrable,                      |  Actual Points:
  tor-03-unspecified-201612                      |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by nickm):

 To a first approximation: you should make 3 hops ''of your own''.  So,
 when the last hop is one that somebody else picked, you should pick 4
 hops, so that there will be 3 hops that you picked.

 I think this occurs:
    * when a hidden service client connects to an introduction point (which
 the hidden service picked)
    * when a hidden service itself connects to a rendezvous point (which
 the client picked).
    * when a hidden service or a hidden service client connects to the
 hidden service directory (which is determined by the current date and the
 HS public key)

 (The above is from memory; if the code disagrees with me, I might be
 wrong!)

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


More information about the tor-bugs mailing list