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

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 10 09:09:06 UTC 2015


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

 Using stem's prompt thing...
 {{{
 >>> foo = controller.msg("ADD_EPH_HS RSA1024 [Base64 blob redacted] 6060
 6060")
 >>> print foo
 OK
 }}}

 {{{
 ypres :: ~ % torsocks nc [my super sekrit HS].onion 6060
 GET / HTTP/1.0

 HTTP/1.0 200 OK
 Date: Tue, 10 Feb 2015 09:05:18 GMT
 Content-Type: text/html; charset=utf-8
 [Rest of the response redacted]
 }}}

 Notes:
  * I used "or-key-tool" from the example I pasted to generate the
 key/onion address.
  * "250 OK" isn't a very user friendly response, I might change that to be
 more useful.
  * Branch to follow after some minor cleanups.
  * When trying to test this I found a torsocks bug, yay me.

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


More information about the tor-bugs mailing list