This blog post from a few years ago suggests that using BitTorrent services over Tor is a bad idea for multiple reasons. However, it also suggests some fixes to get over these problems.

Is using a BitTorrent client over Tor safe? How do I set it up?

  • 4
    While I'm at it, you might want to read torproject.org/docs/faq#WhyCalledTor for why it's "Tor" rather than "TOR". :) – Roger Dingledine Sep 26 '13 at 1:18
  • @RogerDingledine I had read that FAQ a while back, guess it slipped my mind. Thanks :) – asheeshr Sep 26 '13 at 2:03
  • TOR will always be The Onion Router and Pluto will always be a planet. – Chloe Jul 29 '16 at 3:46
up vote 21 down vote accepted

As others have said, this is something you shouldn't do. However, for the purpose of actually answering the second part of your question, you can do it fairly easily. In your Torrent client's configuration screen, look for a section called "proxy" or "network connection" etc. and set it up like the following example (using Deluge here):

Deluge configured for Tor use

The important part is just to use 127.0.0.1:9050 as the proxy. Also note that 9050 is the default port, but it may not be the same on your installation (or if you're using the browser bundle). You'll have to look up the orport value in your torrc file.

If you don't have separate options for different types of Torrent traffic, please don't do it. This will send all traffic (including peer-to-peer traffic) through Tor.

  • It took me a few reads, spanning over multiple months, to realize that you weren't sending actual downloading of pirated movies through Tor. It might be helpful to supply which Torrent clients allow this. Obviously, Deluge does. – Cammy_the_block Jun 8 '14 at 6:25
  • You have included the DHT in the list of proxies - DHT in Deluge works over UDP, so this traffic would just get dropped, making it not function, and only good to prevent leaks, yes ? – bobjandal Nov 19 '14 at 18:45
  • @bobjandal Yah, you could set that to localhost or something if you didn't want to use the DHT. I'm not sure if it's always over UDP or not... might as well just set it to Tor and then if it works over TCP at all great, if not you prevent it leaking information (I'm pretty sure you're correct, however). – Sam Whited Nov 19 '14 at 19:45
  • 1
    and here is the catch : check twice with tcpdump if when a client checks it's IP address or uses DHT - in some cases many BT clients can ignore proxy settings – Alexey Vesnin Apr 3 '16 at 14:48

The blog post is still accurate. Please don't do it.

Sending your BitTorrent traffic through the Tor network would overload it even more. It isn't designed to handle such things -- the Tor network has much less capacity than it has users wanting to use it. And since it's zero-sum, every person trying to BitTorrent over Tor means many more people in Syria who can't get to their Facebook pages.

We've even been exploring mechanisms for throttling "loud" users, to make it even less worthwhile to try to BitTorrent over Tor:

That said, it should be fine to just fetch the torrent files themselves over Tor. That's even what the Pirate Browser folks are trying to do. And it could even be OK to send the tracker traffic over Tor. The trouble there is that it's a slippery slope, and so far everybody who has made a check-box in their torrent software for just tracker traffic also makes a check-box right next to it for the bulk traffic. Since we don't want to get into the business of writing more usable (and more Tor-friendly) BitTorrent software, it's simplest just to tell people not to do it.

If you need alternatives, consider i2p, or gnunet, or just getting a VPN somewhere.

As Roger Dingledine wrote, please do not do it. He also described good alternatives.

Basically some torrent clients allow to communicate over a socks proxy so they can be redirected to a Tor client acting as a socks proxy. In fact in many cases there could be a lot of information leakage as described in this paper: Compromising Tor Anonymity Exploiting P2P Information Leakage so the effort and discomfort caused to other users could be useless.

As Roger and pabouk have said, just don't do it. It would hog too much of Tor's bandwidth, and probably for something that doesn't require that much anonymity. Just use a VPN, or (if it really matters) two or three chained/nested VPNs. It's easy to chain two VPNs with just one Linux VM (one in the host, and another in the VM). With good ISP speeds and good VPN services, you can get 10-20 Mbps each way!

Also, even if you totally block leaks (for example, by routing a TCP-based VPN tunnel through Tor) your traffic signal will stand out very clearly. It's like a snake eating a pig ;) Finally, it will be far too slow to be workable, even without specific throttling (which Tor really needs, by the way).

If you want to do this you should really try I2P. It comes with Bittorrent built in and I2P has many similarities with Tor.

https://geti2p.net/

Sending Torrent traffic over Tor is a bad idea for three main reasons:

  1. It doesn't make you anonymous. Torrent protocol wasn't designed with anonymity in mind and there are a million ways you're going to leak your actual IP address.
  2. Tor is a TCP only network.
  3. While this doesn't give you the anonymity you wanted, it will hurt the network for other users. (See @RogerDingledine's answer.)

Also make sure you read this official blog post: Bittorrent over Tor isn't a good idea

In theory, it doesn't compromise it any more than torrenting already does.

What you should be wary of is cross-contamination, fetching a torrent over Tor then loading into your torrent client. The torrent file or magnet link itself could be "tainted" to link the identity that downloaded the torrent file to the one that connects to the trackers/DHT.

Ensure you're using a fresh Tor Browser session by using New Identity before you ever do this, and use New Identity again once you're done to avoid cross-contaminating any anonymous or pseudonymous identities you might have with the identity participating in the peer-swarm.

protected by Sam Whited Oct 29 '13 at 17:37

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.