Tor究竟是什么、运作方式原理、为什么使用它
本页面介绍Tor网络──由志愿者运行、可以保护隐私、抵制审查制度,并帮助人们匿名交流和浏览的系统。 它解释了Tor做什么,为什么要它,以及分布式设计如何保证用户安全。
Tor网络是一组由志愿者运营的服务器,它们使人们可以在互联网上提高自身的隐私性和安全性。 Tor's users employ this network by connecting through a series of virtual tunnels rather than making a direct connection, thus allowing both organizations and individuals to share information over public networks without compromising their privacy. Along the same line, Tor is an effective censorship circumvention tool, allowing its users to reach otherwise blocked destinations or content. Tor can also be used as a building block for software developers to create new communication tools with built-in privacy features.
Individuals use Tor to keep websites from tracking them and their family members, or to connect to news sites, instant messaging services, or the like when these are blocked by their local Internet providers. Tor's onion services let users publish web sites and other services without needing to reveal the location of the site. 人们也使用 Tor 进行一些涉及社会敏感信息的交流:例如,为强奸和虐待幸存者或患病人士提供的聊天室和网络论坛。
记者们使用 Tor 来更安全地与举报人和异见人士沟通。 非政府组织 (NGO) 使用 Tor 允许其工作人员在国外时连接到其总部网站,而不会让附近的所有人意识到他们正在为该组织工作。
一些激进团体,如电子前沿基金会(EFF),推荐Tor作为保持公民网络自由的途径。 企业使用 Tor 作为进行竞争分析的安全方式,并保护敏感的采购模式免受窃听者的窥探。 They also use it to replace traditional VPNs, which reveal the exact amount and timing of communication. Which locations have employees working late? Which locations have employees consulting job-hunting websites? Which research divisions are communicating with the company's patent lawyers?
The variety of people who use Tor is actually part of what makes it so secure. Tor hides you among the other users on the network, so the more populous and diverse the user base for Tor is, the more your anonymity will be protected.
Using Tor protects you against a common form of Internet surveillance known as "traffic analysis." Traffic analysis can be used to infer who is talking to whom over a public network. 了解你的网络流量来源和目的地,就能让别人追踪你的行为和兴趣。 This can impact your checkbook if, for example, an e-commerce site uses price discrimination based on your country or institution of origin. 它甚至会泄露你的身份和位置,从而威胁你的工作和人身安全。 例如,如果您在国外旅行,并连接到雇主的计算机来查看或发送邮件,即使连接已加密,您也可能无意中向任何观察该网络的人透露您的国籍和职业关系。
流量分析是如何运作的?
互联网数据包由两部分组成:数据有效载荷和用于路由的头部。 The data payload is whatever is being sent, whether that's an email message, a web page, or an audio file. 即使你对通信的数据有效载荷进行加密,流量分析仍然可以揭示很多关于你在做什么以及你可能在说什么的信息。 那是因为它专注于数据包头,它揭示了来源、目的、大小、时间等信息。
A basic problem for the privacy minded is that the recipient of your communications can see that you sent it by looking at headers. 互联网服务提供商等授权中介也可以,有时也可以是未授权的中介。 A very simple form of traffic analysis might involve sitting somewhere between sender and recipient on the network, looking at headers.
但还有功能更强大的流量分析方法。 一些攻击者从多维度监视互联网并使用复杂的数据技术跟踪不同组织及个人的通信模式。加密并不能帮助抵挡这些攻击者,因为它仅仅隐藏互联网通信的内容,而不是数据包头。
Tor helps to reduce the risks of both simple and sophisticated traffic analysis by distributing your transactions over several places on the Internet, so no single point can link you to your destination. The idea is similar to using a twisty, hard-to-follow route in order to throw off somebody who is tailing you - and then periodically erasing your footprints. Instead of taking a direct route from source to destination, data packets on the Tor network take a random pathway through several relays that cover your tracks so no observer at any single point can tell where the data came from or where it's going.
To create a private network pathway with Tor, the user's software or client incrementally builds a circuit of encrypted connections through relays on the network. 线路一次延长一个跃点,沿途的每个中继站只知道哪个中继站给它发送数据以及要向哪个中继站发送数据。 任何一个中继站都无法得知数据包的完整路径。 客户端为线路上的每个跃点协商一组单独的加密密钥,以确保连接通过跃点时每个跃点无法追踪这些连接。
一旦建立一条线路,就能交换多类数据,而且Tor网络上的几种不同的软件应用都可用。 因为每一个中继节点只能看到线路中的一个跃点,窃听者和泄露的中继节点都不能使用流量分析将连接发起者和目标终端联系起来。 Tor only works for TCP streams and can be used by any application with SOCKS support.
为了提高效率,Tor 软件对大约十分钟内发生的连接使用相同的链路。 后续请求会给予新的链路,以防止人们将你之前的操作与新的操作联系起来。