Tor Stack Exchange is a question and answer site for researchers, developers, and users of Tor. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone have an example of what GET request is needed to be send to the responsible HSDir server to retrieve the rendezvous2 document for a specified HS

currently I have

"GET HTTP/1.1\r\nHost:"+web_addresses+"\r\n\r\n"

but do not think this is correct as I am unable to retrieve the docs.

share|improve this question

You want to make a request of the form:

GET /tor/rendezvous2/<descriptor-id> HTTP/1.0
Host: <HSDir-IP>:<HSDir-port>

A rather annoying thing about newer versions of Tor is that making a direct (unencrypted) HTTP request like that won't actually work. Instead you need to make the request over a circuit that ends at the HSDir. I'm not completely sure of the details, but it's much easier using or modifying an existing Tor client (such as Orchid) than writing your own to do that.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.