Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #15557

Closed (moved)
Open
Opened Apr 02, 2015 by George Kadianakis@asn

Improve relaunch logic for failed rendezvous circuits

When a hidden service fails its rendezvous circuits (maybe because it's too overworked, or maybe its guard is overwhelmed) it currently retries up to MAX_REND_FAILURES times (this used to be 8 but #11447 (moved) will change it to 1).

When the client notices the failure, it will also retry every 2 seconds or so, subject to normal circuit_expire_building() expiry.

In the future, to reduce the computational costs of hidden services, we could push the retry logic solely to the clients. At that point the client should ensure that the rendezvous circuit retries enough time to be correct.

Furthermore, currently, when the client notices a rend circ failure, it will establish a new rendezvous point and send a new INTRODUCE1 cell to the IP. Maybe this can be optimized, and have the client keep the same rendezvous point for a while and just send more introductions. After a few more failed introductions, the client should switch rendezvous point as well.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: unspecified
Milestone
Tor: unspecified
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#15557