4

Since the path and the length of a circuit can be chosen by a modified client an attacker could make it arbitrarily long and thus multiply the the impact of his traffic on the network by the amount of hops.

Is there any limitation besides possible packet size limitations and timeouts? And what would the practical limit be?

I assume there must be some counter measure. Otherwise someone would have already done this.

  • Just following on from Ron's answer: to clarify, are you talking about the Bad Guys trying to flood the network to make things slower for everyone else? (By cloning the Tor code from Git, manually adjusting the hop count, and re-building?) – Richard Horrocks Sep 15 '15 at 15:57
  • yes, and depending on the numbers it would be quite easy. a vps with a 10gbit connection using paths with 100 hops could easily take down the whole network 10gbit*100=1000gbit>60gbit. and without any information about a path length limit you could as well use an analog modem with 20000000 hops for the same effect(ignoring timeouts) – elypter Sep 15 '15 at 20:42
3

The type of attack you are describing is a congestion attack. In theory, the simplest form of such an attack would be a general DoS on the Tor network.

Taking things one step further, a congestion attack could be used in conjunction with traffic correlation to monitor a given user of the Tor network. Such a strategy is discussed in A Practical Congestion Attack on Tor Using Long Paths (section 2.2.3).

To mitigate such attacks, as of Tor version 0.2.1.3-alpha, the maximum number of hops is restricted to 8, regardless of what is set in the client code. This is done by restricting the number of "relay early" cells that a client can send when creating a circuit.

[A Practical Congestion Attack on Tor Using Long Paths, Section 5: Proposed Solutions]

In the modified design, Tor routers now must keep track of how often each circuit has been extended and refuse to route messages that would extend the circuit beyond a given threshold t. This can be done by tagging messages that may extend the circuit with a special flag that is not part of the encrypted stream. The easiest way to do this is to introduce a new Tor cell type that is used to flag cells that may extend the circuit. Routers then count the number of messages with the special flag and refuse to route more than a given small number (at the moment, eight) of those messages. Routers that receive a circuit-extension request check that the circuit-extension message is contained in a cell of the appropriate type.

0

User can not make the path length longer unless Tor is re-compiled from source. If you indeed managed to make longer path, it will dampen your bandwidth and increase network load.

Have a look at the post Is it possible to make the Tor onion-routing path longer?

  • yes i read this post and clarified my question. its about an attacker who wants to dos the whole tor network. – elypter Sep 15 '15 at 20:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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