[tor-bugs] #6411 [Tor]: Adding hidden services through control socket

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 12 00:20:03 UTC 2015


#6411: Adding hidden services through control socket
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  yawning
  kevinevans             |     Status:  needs_revision
         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 yawning):

 Replying to [comment:38 atagar]:
 > > This is for the response right?
 >
 > Oh baka, I'm being stupid. Controller inputs change so infrequently it
 completely slipped my mind that I wasn't looking at a reply.
 >
 > > I made the decision to tie HSes added this way to the controller
 connection to ensure that things get cleaned up if the application ever
 terminates abruptly, misbehaves, etc.
 >
 > Actually, on reflection I really like this design.
 >
 > All points I brought up are incorrect. Sorry about the confusion. :)

 No worries.  I went and changed the syntax to `Flags=DiscardPK` in both
 the code and the spec.  Since enough people asked about it, I'm severely
 tempted to go and add the `Detach` flag now as well, and `LIST_ONIONS`
 since it covers the use case you detailed (and a lot of other people
 initially ask about, till I explain why things are this way).

 Applications/users that chose to use `Detach`, and get their HSes snuffled
 out like a guttering candle amidst a typhoon, will be treated to a
 performance of "The Requiem Mass in D minor" on my world's smallest
 violin.

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


More information about the tor-bugs mailing list