[tor-bugs] #6411 [Tor]: Adding hidden services through control socket
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Mar 24 20:29:08 UTC 2015
#6411: Adding hidden services through control socket
-------------------------+-------------------------------------------------
Reporter: | Owner: yawning
kevinevans | Status: needs_review
Type: | Milestone: Tor: 0.2.7.x-final
enhancement | Version: Tor: 0.2.3.19-rc
Priority: normal | Keywords: hidden-service control maybe-
Component: Tor | proposal tor-hs globalleaks-wants
Resolution: | Parent ID: #8993
Actual Points: |
Points: |
-------------------------+-------------------------------------------------
Comment (by special):
There's no way to change the target ports for a service other than calling
DEL_ONION and ADD_ONION again, which has side effects (like getting all
new IPs, disruptions). This becomes even more relevant if we add client
authentication data later, for example.
Use case: I was thinking about modifying onionwrap[1] to monitor ports
bound by its child process and forward all of them. It would sometimes
need to add new ports.
The obvious option is to allow ADD_ONION to update the properties (ports,
detach?) of an existing service, but this is a problem for fully ephemeral
services where the controller didn't even get a PK.
But, it seems excessive to add CHANGE_ONION just for this case.
It's also acceptable to ignore this problem, and if someone later thinks
that we need a better solution than DEL/ADD, they can discuss and
implement it.
Thoughts?
[1] https://github.com/Yawning/onionwrap
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6411#comment:50>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list