[tor-bugs] #23101 [Core Tor/Tor]: Predict and build specific HS purpose circuits (rather than GENERAL)
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Sep 19 15:02:14 UTC 2017
#23101: Predict and build specific HS purpose circuits (rather than GENERAL)
------------------------------------------------+--------------------------
Reporter: mikeperry | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor:
| unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-hs, tor-guard, guard-discovery | Actual Points:
Parent ID: #9001 | Points:
Reviewer: | Sponsor:
------------------------------------------------+--------------------------
Comment (by asn):
One approach here is to indeed define new circuit purposes for HS
circuits. My main fear here is that these circuit purposes are used for
tons of things in the codebase (from circuit timeouts, to cannibalization,
to guard stuff, to stats stuff, to basic circuit functionality state
machine), and hence adding new purposes means that we need to find
'''all''' the right places to consider our new purposes which I imagine is
gonna be a PITA and perhaps error-prone...
Another approach would be to use the `hs_ident` and `rend_data` elements
of the `circuit_t` to distinguish HS circuits from normal circuits. That's
what most of the code is doing to detect HS rend circuits.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23101#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list