Dear Guys,
I am brand new to TOR and I feel like multiple TORs should be considered. The multiple tors I mentioned here are not only multiple instances, but also using different proxy ports for each, like what has been done here http://www.howtoforge.com/ultimate-security-proxy-with-tor)
I am trying to get started with 4 tors. However, the tutorial applies to Arch Linux and I am using a headless EC2 ubuntu 64bits. It is really a pain going through the differences between Arch and Ubuntu. And here I am wondering is there anyone could offer some help to implement my idea simplicitly. 1. Four TORs running at the same time each with an individual port, privoxy or polipo or whatever are ok once it works. Like: 8118 <- Privoxy <- TOR <- 9050 8129 <- Privoxy <- TOR <- 9150 8230 <- Privoxy <- TOR <- 9250 8321 <- Privoxy <- TOR <- 9350
2. In this way, if I try to return the ip of 127.0.0.1:8118, 8129, 8230 and 8321, they should return four different ips, which indicates there are four different tors running at the same time. Then, a few minutes later, check again, all four of them should have a new ips again.
I know my simple 'dream' could come true in many ways, however... I am not only new to tor, but even also to bash and python... That is why I come here and see whether some of you could light me up.
These links might be useful:
http://blog.databigbang.com/distributed-scraping-with-multiple-tor-circuits/ https://www.torservers.net/wiki/setup/server#multiple_tor_processes http://www.howtoforge.com/ultimate-security-proxy-with-tor Best, Bin Wang
Dear Guys,
I am brand new to TOR and I feel like multiple TORs should be considered. The multiple tors I mentioned here are not only multiple instances, but also using different proxy ports for each, like what has been done here http://www.howtoforge.com/ultimate-security-proxy-with-tor)
There is stream isolation, i.e. you can add multiple SocksPort to torrc. Is this what you want?
Thanks a lot for your reply :) I know that we can add up more SocksPort into torrc file, however, my current idea is to build different tor threads. In my opinion, a complete tor threads starts from privoxy(polipo. etc.), then point 8118 to 9050 as default, then tor points 9050 to the outside networks.. What I want to do is build many threads like this, for example, I have $ ls /etc/tor
torrc torrc2 torrc3 torrc4...
torrc points to 9050, torrc2 points to 9150..etc at the same time, running different privoxies, privoxy points 8118 to 9050, then privoxy2 points 8119 to 9150, etc.... https://trac.torproject.org/projects/tor/wiki/doc/RunTwoPrivoxys I am still struggling with it.. and not quite sure whether this is applicable and is there any better solution to run multiple threads of tor. Best regards, Bin Wang On Mon, Jan 14, 2013 at 11:01 AM, adrelanos@riseup.net wrote:
stream isolation
First, you would be better to ask in the tor-talk list, because your question is about how to configure and use Tor rather than how to improve its internals.
You can run multiple Tor instances on the same machine. It merely requires management of the config files to keep the ports separate. Privoxy and polipo or other http proxies are usually no longer needed. See https://www.torproject.org/docs/faq.html.en#TBBPolipo
Finally, why would you *not* want your website scraping requests to come from the same exit node? (Note that a new exit node is chosen approximately every 10 minutes for web connections.) If you are trying to avoid getting banned from a site that disallows periodic scraping, for example Craigslist, using multiple exit nodes (aka circuits) will soon result in the entire Tor network being banned by the target site, denying anonymous users that valuable resource.
On Mon, 14 Jan 2013 11:23:15 -0700 Bin Wang binwang.cu@gmail.com wrote:
Thanks a lot for your reply :) I know that we can add up more SocksPort into torrc file, however, my current idea is to build different tor threads. In my opinion, a complete tor threads starts from privoxy(polipo. etc.), then point 8118 to 9050 as default, then tor points 9050 to the outside networks.. What I want to do is build many threads like this, for example, I have $ ls /etc/tor
torrc torrc2 torrc3 torrc4...
torrc points to 9050, torrc2 points to 9150..etc at the same time, running different privoxies, privoxy points 8118 to 9050, then privoxy2 points 8119 to 9150, etc.... https://trac.torproject.org/projects/tor/wiki/doc/RunTwoPrivoxys I am still struggling with it.. and not quite sure whether this is applicable and is there any better solution to run multiple threads of tor. Best regards, Bin Wang On Mon, Jan 14, 2013 at 11:01 AM, adrelanos@riseup.net wrote:
stream isolation
Hi, k e bera, thanks a lot for your reply. The reason that I want to run multiple tor instead of the same exit nodes is because I am trying to figure out what is the capability of this technology, and actually, I am only using this purely for academic purpose. I have already followed your advise and after properly set up separate configuration files for each tor. Then I could use all of them using a python script. I also have subscribed to the tor-talk maillist. Thanks again for your info. Best, /usr/bin
On Mon, Jan 14, 2013 at 10:52 PM, k e bera keb@cyblings.on.ca wrote:
First, you would be better to ask in the tor-talk list, because your question is about how to configure and use Tor rather than how to improve its internals.
You can run multiple Tor instances on the same machine. It merely requires management of the config files to keep the ports separate. Privoxy and polipo or other http proxies are usually no longer needed. See https://www.torproject.org/docs/faq.html.en#TBBPolipo
Finally, why would you *not* want your website scraping requests to come from the same exit node? (Note that a new exit node is chosen approximately every 10 minutes for web connections.) If you are trying to avoid getting banned from a site that disallows periodic scraping, for example Craigslist, using multiple exit nodes (aka circuits) will soon result in the entire Tor network being banned by the target site, denying anonymous users that valuable resource.
On Mon, 14 Jan 2013 11:23:15 -0700 Bin Wang binwang.cu@gmail.com wrote:
Thanks a lot for your reply :) I know that we can add up more SocksPort into torrc file, however, my current idea is to build different tor threads. In my opinion, a complete tor threads starts from privoxy(polipo. etc.), then point 8118 to 9050 as default, then tor points 9050 to the outside networks.. What I want to do is build many threads like this, for example, I have $ ls /etc/tor
torrc torrc2 torrc3 torrc4...
torrc points to 9050, torrc2 points to 9150..etc at the same time, running different privoxies, privoxy points 8118 to
9050,
then privoxy2 points 8119 to 9150, etc.... https://trac.torproject.org/projects/tor/wiki/doc/RunTwoPrivoxys I am still struggling with it.. and not quite sure whether this is applicable and is there any better solution to run multiple threads of
tor.
Best regards, Bin Wang On Mon, Jan 14, 2013 at 11:01 AM, adrelanos@riseup.net wrote:
stream isolation
tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev