4

I'm trying to write a little application which connects to the internet over Tor. The application uses the zeromq messaging library to get some information from another server and it's basically only one file that runs.

On the TorifyHOWTO page I read some more information about torifying an application, but I'm kind of lost in that page. Also, I wonder if I should make some kind of wrapper around my program, or around the zeromq messaging library. I suppose I might be able to get zeromq to use a certain (Tor)proxy. But if so, what kind of proxy information should I use?

Could anybody provide some hints about where I could start? (example code would be great)

1

2 Answers 2

2

You might just want to include socks proxy support, since Tor is a socks proxy. For that read about the protocol on Wikipedia. If you already have http proxy support you could ship a translating proxy, such as polipo, to communicate with Tor.

If your use-case requires control over Tor, Stem could be what you are looking for. Documentation and tutorials are available.

If your use-case requires to not rely on already deployed Tor, Onionroute, a libary that is loaded into a process, could be an option. Please note, this isn't a project by the Tor Project and that it is to be considered experimental.

1

To torify an application, you can use advtor: http://sourceforge.net/projects/advtor/

4
  • 2
    Welcome to Tor.SE! You might want to expand this answer. Perhaps you could add an explanation of what advtor is, and add specific details of how it can be used to Torify an application - does it require specific configuration changes for example. Oct 25, 2013 at 19:37
  • Unfortunately I do not use Windows, plus I would like to be able to build it myself. It's not only the aim of achieving the connection, but also the aim of learning something new.. :) @SamuelWalker - Would you be able to give me some advice on where to get started?
    – hubbtwea
    Oct 26, 2013 at 8:01
  • Oh, Advanced Onion Router; a controversial Tor 'fork'.
    – bastik
    Oct 26, 2013 at 8:29
  • @hubbtwea Unfortunately I have no experience with trying to torify applications. Oct 26, 2013 at 10:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .