Whonix and Tor
From Whonix
Why Whonix ™ Uses Tor[edit]
Whonix ™ uses Tor® [archive] because it is the best anonymity network available today.
Anonymity Enforcement[edit]
The Whonix ™ Project wants to enforce good security by default for our users. That is why a fundamental Whonix ™ design is to force all outgoing traffic through the Tor anonymity network.
After around 20 years of development [archive], Tor has become a large network with good throughput [archive] (.onion [archive]) and a lot of capacity [archive] (.onion) [archive].
Virtual Private Networks (VPNs) are usually faster than Tor, but they are not anonymity networks. VPN administrators can log both where a user is connecting from and the destination website, breaking anonymity in the process. [1] Tor provides anonymity by design rather than policy, making it impossible for a single point in the network to know both the origin and the destination of a connection. Anonymity by design provides a higher standard, since trust is removed from the equation.
When using a VPN, an adversary can break anonymity by monitoring the incoming and outgoing connections of the limited set of servers. On the other hand, the Tor network is formed by over 6000 relays and nearly 2000 bridges [archive] (.onion [archive]) run worldwide by volunteers. [2] This makes it far more difficult to conduct successful, end-to-end correlation (confirmation) attacks, although not impossible.
Despite Tor's superiority to VPNs, poisoned Tor nodes pose a threat to anonymity. If an adversary runs a malicious Tor entry guard and exit node in a network of 7,000 relays (2,000 entry guards and 1,000 exit nodes), the odds of the Tor circuit crossing both are around one in 2 million. If an adversary can increase their malicious entry and exit relays to comprise 10 percent of the bandwidth, they could deanonymize 1 percent of all Tor circuits. [3]
User Base[edit]
Tor has the largest user base of all available anonymity networks. More than 2 million users [archive] (.onion [archive]) connect to Tor daily. Tor's adoption by a substantial audience proves its maturity, stability and usability. It has also led to rapid development and significant community contributions.
Tor is equally used by journalists, law enforcement, governments, human rights activists, business leaders, militaries, abuse victims and average citizens concerned about online privacy. [4] This diversity actually provides stronger anonymity because it makes it more difficult to identify or target a specific profile of Tor user. Anonymity loves company. [5]
Technical Merits and Recognition[edit]
Tor has partnered with leading research institutions and been subject to intensive academic research. It is the anonymity network which benefits from the most auditing and peer review.
Tor has received awards from institutions like the Electronic Frontier Foundation [archive] and the Free Software Foundation [archive], to name a few [archive].
An extract of a Top Secret appraisal by the NSA characterized Tor as "the King of high secure, low latency Internet anonymity [archive]" with "no contenders for the throne in waiting".
Relationship between the Tor Project and Whonix ™[edit]
- The Tor® [archive] software is made by The Tor Project [archive].
- The Tor® [archive] network is run by a worldwide community of volunteers.
- Whonix ™ is a completely separate project developed by a different developer team.
- Whonix ™ is a complete operating system which uses Tor® [archive] as its default networking application.
Many people use Tor outside of Whonix ™. Similarly, a significant number use Whonix ™ for activities other than accessing the Internet through Tor, for example hosting onion services, tunnelling I2P through Tor, tunnelling VPNs or other anonymity networks through Tor, and more.
Further Reading[edit]
Why Tor is Slow[edit]
Users often complain that the Tor network is slow or has inconsistent speed. This section briefly describes some reasons for affected Tor throughput. Interested readers can also refer to the Tor Project FAQ [archive] (.onion [archive]) and relevant research [archive] for a more detailed explanation.
Tor Circuits Lengthen the Connections[edit]
When navigating to clearnet resources, Tor provides anonymity by building circuits with three relays. So instead of connecting directly to the destination server, a connection is made between each relay of the circuit and this takes more time. In the case of onion services, a six-relay arrangement is used in the connection - three picked by the user and three picked by the onion service.
In addition to using multiple relays, Tor tries to build circuits with relays in different geographical locations. This necessarily causes connections to travel further and slows down the fetching of resources.
Relay Quality and Throughput[edit]
Tor relays are run by volunteers (and hostile actors) in a decentralized way. Consequently, relays do not have uniform quality; some are big and fast, while others are smaller and slower. While an increase in the number of relays would increase Tor's average throughput, performance variance will still remain high due to factors like overloaded guards or bad Tor circuits. Consistent, high-performing Tor connections requires both congestion control and load balancing issues to be solved. [6]
On the whole, the network could be faster if it had more capacity [archive] (.onion) [archive]. To improve the capacity of the Tor network, users can either run a Tor relay [archive] (.onion [archive]) or help existing relays [archive].
Misuse of the Tor Network[edit]
Some actors misuse the Tor network, either purposefully or due to a lack of knowledge. For instance, Tor is sometimes used to conduct DDoS attacks [archive]. By doing this, the Tor relays are the ones who actually suffer from the attack, instead of the intended target. Some people use peer-to-peer software [archive] (like BitTorrent [archive]) through Tor which slows down the network for all users. [7]
Other Factors[edit]
Research by computer scientists Mike Perry, Roger Dingledine [8] and Steven Murdoch has highlighted several other factors that affect Tor throughput.
Table: Tor Throughput Factors [9] [6]
Factor | Description |
---|---|
Directory Information Download Overhead | Users with low bandwidth (like those on cell phones) have to spend too much time downloading directory information. Tor protocols need to be optimized for efficiency. |
Excessive User Load | Some users put excessive traffic load on the Tor network relative to their network contributions. Methods of limiting these effects and prioritizing other users need to be implemented. [10] |
Tor Congestion Control | Tor's mechanism does not work well in combining high-volume (bulk transfer) and low-volume (browsing) streams. Tor is not able to signal congestion to endpoints, leading to excessively large queuing at routers, resulting in variable latency. [11] |
Tor Latency Failures | Tor is inefficient in handling connection failures or high / variable latency. Better heuristics to move away from bad circuits and a more uniform latency response is required. |
Tor Load Distribution | Tor's current path selection algorithms do not effectively distribute the network load. [12] The properties of relays need to be more accurately estimated so relays do not become over or under-loaded, but unfortunately Bandwidth Authorities do not yet fully account for geographic diversity, and cannot handle rapid changes in relay capacity or load. [13] Further, the centralized status of Bandwidth Authorities means they are are vulnerable to DoS and manipulation. |
Tor Network Capacity | As noted earlier, the total capacity of the Tor network is insufficient relative to unmet privacy demand. A significant boost in the overall number of relays is required. [14] |
Footnotes[edit]
- ↑ Promises made by VPN operators are meaningless, since they cannot be verified.
- ↑ Admittedly the network has an unknown proportion of malicious relay operators.
- ↑ https://arstechnica.com/information-technology/2016/08/building-a-new-tor-that-withstands-next-generation-state-surveillance/ [archive]
- ↑ https://www.torproject.org/about/torusers.html.en [archive]
- ↑ http://freehaven.net/anonbib/cache/usability:weis2006.pdf [archive]
- ↑ 6.0 6.1 https://blog.torproject.org/tors-open-research-topics-2018-edition [archive]
- ↑ A large file downloaded through BitTorrent can translate to several hours of browsing for the regular Tor Browser user.
- ↑ Roger Dingledine is the co-creator of the first alpha version of Tor.
- ↑ https://svn.torproject.org/svn/projects/roadmaps/2009-03-11-performance.pdf [archive]
- ↑ This may involve targeting specific user profiles (e.g. throttling certain protocols) so the original Tor design of high throughput and good latency properties can be realized.
- ↑ The Tor Project is considering adopting QUIC as a datagram transport with end-to-end congestion control.
- ↑ The Tor Project is currently preparing to replace Bandwidth Authorities with a simplified system using central measurement servers.
- ↑ Capacity is currently estimated by observing the largest traffic burst seen in the past day. This bandwidth capacity is advertised in the directory information, leading clients to preference their path selection based upon a relay's estimated bandwidth.
- ↑ Economics suggests increased supply will lead to more users arriving to fill the void.
License[edit]
Whonix ™ Whonix and Tor wiki page Copyright (C) Amnesia <amnesia at boum dot org>
Whonix ™ Whonix and Tor wiki page Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>This program comes with ABSOLUTELY NO WARRANTY; for details see the wiki source code.
This is free software, and you are welcome to redistribute it under certain conditions; see the wiki source code for details.
Whonix ™ is Supported by Evolution Host DDoS Protected VPS. Stay private and get your VPS with Bitcoin or Monero.
100px | |
Fosshost | About Advertisements |
Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki
Priority Support | Investors | Professional Support
Whonix ™ | © ENCRYPTED SUPPORT LP | Freedom Software / Open Source (Why?)
The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.