[guardian-dev] Orbot hidden services

Michael Rogers michael at briarproject.org
Tue Apr 23 07:32:51 EDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23/04/13 02:32, Nathan of Guardian wrote:
> Michael Rogers <michael at briarproject.org> wrote:
> 
>> Is it possible for another app to ask Orbot to create a hidden 
>> service,
> 
> Yes
> 
>> and to start and stop a previously created hidden service?
> 
> No.
> 
> Want to help me design the intent/service API for this?

That would be great! What I'm looking for is pretty basic:

(1) Create a hidden service. Inputs: local port number. Outputs: onion
URL, random cookie to be used in later calls.

(2) Pause a hidden service (ie, tell Orbot that the app providing the
service is closing the local port, perhaps because it's shutting
down). Inputs: cookie.

(3) Resume a hidden service (ie, tell Orbot that the app providing the
service has reopened the local port, perhaps because it's restarted).
Inputs: cookie, new local port number.

(4) Destroy a hidden service (ie, permanently remove it). Inputs: cookie.

The cookie is used to prove that a call comes from the same app that
originally created the service.

I guess it would be useful if Orbot could automatically connect to Tor
when the first hidden service was created/resumed, and disconnect when
the last hidden service was paused/destroyed (in the absence of any
explicit connect/disconnect instructions from the user, of course).

But everything except (1) is non-essential. So how can I create a
hidden service with the current version?

Thanks,
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJRdnFiAAoJEBEET9GfxSfMA9EIALwaLFJ7+oT/2pNnU3OlLxL1
/gVZEhiO4Yzq/lonGGCyvWsj7FlA7dLPa89089gwdst5mXgZaYYvJ/qTdnR704nl
U/5SoCWxtTRTtw+1x0Gr+QBvEVLPa3jif5l+Ids4+cTJdqs9+j8NfKWovQ4wYc3p
uGuWXzy+HbkAY4MOxjg0RlUFA1NMdM21f656jBYXy/9IAeO09evnkcRRecLeFECJ
RIW/rIQO2c+BxZ6RD1S4rwLj1Duu4I7mMmibSnCLK4XZuzTxDq3fi2aTNU/rRBQF
liNoN+hY0orQwbrcUfr5Es1OmR9eMQc9aIAplmNFo32c3Ci1z08X35yRwJyODms=
=N1Op
-----END PGP SIGNATURE-----


More information about the Guardian-dev mailing list