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.