[tor-dev] hidden service involvement in external program

Andrea Shepard andrea at torproject.org
Sun Jul 20 14:43:18 UTC 2014

On Sun, Jul 20, 2014 at 04:34:16PM +0200, Tomas Bortoli wrote:
> Hi all, I want to develop a program that connects to a hidden server through
> tor. This is my problem: how can i establish a connection to the server from
> the client? I read the hidden service protocol, but i need a usable
> implementation of it. So i was looking in stem but seems it doesn't provide
> this functionality, i'm wrong?  Anyone have an idea of how can i achieve a
> solution?? any library already implemented?

You would have to implement most of a Tor client to do it the way you're
thinking, including all the path selection and circuit building and everything.

You should just connect through Tor's SOCKS5 port.

Andrea Shepard
<andrea at torproject.org>
PGP fingerprint (ECC): BDF5 F867 8A52 4E4A BECF  DE79 A4FF BC34 F01D D536
PGP fingerprint (RSA): 3611 95A4 0740 ED1B 7EA5  DF7E 4191 13D9 D0CF BDA5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 328 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20140720/cb8d48e8/attachment.sig>

More information about the tor-dev mailing list