18

By default, Tor uses an onion-routing path with three hops: entry, relay (middle) and exit. Is it possible to configure (or, if necessary, recompile) Tor to use more than three hops? This would lessen the probability that all the hops would be under control of an attacker, right?

mirimir
  • 3,017
  • 1
  • 19
  • 29

4 Answers4

14

Yes, it is possible (through a source-code change), but it is a bad idea. If an attacker is observing (or controls) the first and last hop of your circuit they will very likely be able to de-anonymize you. Changing to four (or more) hop paths doesn't affect the probability of this occurring but it does slow down your Tor connection and increases the load on the Tor network.

Steven Murdoch
  • 1,730
  • 13
  • 21
14

Increasing the number of hops in a Tor circuit has various impacts :

  • Performance is decreased since the path is longer and latency is bigger. A bigger path is also less reliable and more failures will occur.
  • The same goes for Throughput of the circuit. Throughput is better when having three hops.
  • Anonymity is not enhanced as a matter of fact. Increasing the number of nodes you're using to establish a circuit, if we assume that total number of possible relays is fixed, increases the possibility of picking some node controlled by an adversary.

So, all in all, increasing the number of hops will not profit you much and may harm your anonymity and performance. It's feasible but not advisable.

It seems that the three hops circuits initially picked from the authors of Tor is the wise choice for anonymity and performance.

You may read more on path selection strategies and related topics in this paper : http://cseweb.ucsd.edu/users/pasquale/Papers/globecom10c.pdf . Some graphs are also included.

alaf
  • 2,536
  • 3
  • 17
  • 26
-2

The question was ¨Is it possible to use more nodes (then the default 3 nodes)¨ I see that it is a bad idea, so the answer is YES!..it is possible!

I have seen it in the many many lines on the worldmap in vidalia.

I still don't know how to configure torrc between the EntryNodes and ExitNodes so that would be nice to give as an answer.

So the answer is yes, it is possible to have many nodes between the EntryNodes and ExitNodes.

Putin
  • 9
-4

Actually the answer is yes you can. The only downfall is your tor network slows down. But the upside is the security and anonymity is enhanced greatly. Don't believe the ones who say if you use beyond three it gets worse for you. That is not true at all. If you truly understand technology then you understand that if 3 bodes is hard to track then more than three is harder. One reason this is true is the 4th node and beyond will not know the up of the second node and so on. If you have a 5th node it will not know the 1st 2nd and 3rd node. And this is so on the more nodes you add . And to make it more difficult you need to customize your exit node, it should be picked in places where data retention does not apply. Ex Sweden, Netherlands, Bulgaria. Search for them. Also know that laws can change so you should keep up with which nation does and doesn't have data retention laws. Cheers and yes I did read all the tor documents. I also can't believe what you guys wrote about it make tor less secure. The recommended length of tor nodes is 5 .