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?
Thanks!
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.
On 7/20/2014 7:34 AM, 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?
Thanks!
tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
Unless I am misunderstanding what you are trying to do, you should be able to connect the same way that Torbrowser does. Just connect to the HS url using the local tor driver as a proxy.