blocking.tex 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121
  1. \documentclass{llncs}
  2. \usepackage{url}
  3. \usepackage{amsmath}
  4. \usepackage{epsfig}
  5. %\setlength{\textwidth}{5.9in}
  6. %\setlength{\textheight}{8.4in}
  7. %\setlength{\topmargin}{.5cm}
  8. %\setlength{\oddsidemargin}{1cm}
  9. %\setlength{\evensidemargin}{1cm}
  10. \newenvironment{tightlist}{\begin{list}{$\bullet$}{
  11. \setlength{\itemsep}{0mm}
  12. \setlength{\parsep}{0mm}
  13. % \setlength{\labelsep}{0mm}
  14. % \setlength{\labelwidth}{0mm}
  15. % \setlength{\topsep}{0mm}
  16. }}{\end{list}}
  17. \begin{document}
  18. \title{Design of a blocking-resistant anonymity system}
  19. %\author{Roger Dingledine\inst{1} \and Nick Mathewson\inst{1}}
  20. \author{Roger Dingledine \and Nick Mathewson}
  21. \institute{The Free Haven Project\\
  22. \email{\{arma,nickm\}@freehaven.net}}
  23. \maketitle
  24. \pagestyle{plain}
  25. \begin{abstract}
  26. Websites around the world are increasingly being blocked by
  27. government-level firewalls. Many people use anonymizing networks like
  28. Tor to contact sites without letting an attacker trace their activities,
  29. and as an added benefit they are no longer affected by local censorship.
  30. But if the attacker simply denies access to the Tor network itself,
  31. blocked users can no longer benefit from the security Tor offers.
  32. Here we describe a design that builds upon the current Tor network
  33. to provide an anonymizing network that resists blocking
  34. by government-level attackers.
  35. \end{abstract}
  36. \section{Introduction and Goals}
  37. Anonymizing networks such as Tor~\cite{tor-design} bounce traffic around
  38. a network of relays. They aim to hide not only what is being said, but
  39. also who is communicating with whom, which users are using which websites,
  40. and so on. These systems have a broad range of users, including ordinary
  41. citizens who want to avoid being profiled for targeted advertisements,
  42. corporations who don't want to reveal information to their competitors,
  43. and law enforcement and government intelligence agencies who need to do
  44. operations on the Internet without being noticed.
  45. Historically, research on anonymizing systems has assumed a passive
  46. attacker who monitors the user (call her Alice) and tries to discover her
  47. activities, yet lets her reach any piece of the network. In more modern
  48. threat models such as Tor's, the adversary is allowed to perform active
  49. attacks such as modifying communications in hopes of tricking Alice
  50. into revealing her destination, or intercepting some of her connections
  51. to run a man-in-the-middle attack. But these systems still assume that
  52. Alice can eventually reach the anonymizing network.
  53. An increasing number of users are making use of the Tor software
  54. not so much for its anonymity properties but for its censorship
  55. resistance properties -- if they access Internet sites like Wikipedia
  56. and Blogspot via Tor, they are no longer affected by local censorship
  57. and firewall rules. In fact, an informal user study (described in
  58. Appendix~\ref{app:geoip}) showed China as the third largest user base
  59. for Tor clients, with perhaps ten thousand people accessing the Tor
  60. network from China each day.
  61. The current Tor design is easy to block if the attacker controls Alice's
  62. connection to the Tor network --- by blocking the directory authorities,
  63. by blocking all the server IP addresses in the directory, or by filtering
  64. based on the signature of the Tor TLS handshake. Here we describe a
  65. design that builds upon the current Tor network to provide an anonymizing
  66. network that also resists this blocking. Specifically,
  67. Section~\ref{sec:adversary} discusses our threat model --- that is,
  68. the assumptions we make about our adversary; Section~\ref{sec:current-tor}
  69. describes the components of the current Tor design and how they can be
  70. leveraged for a new blocking-resistant design; Section~\ref{sec:related}
  71. explains the features and drawbacks of the currently deployed solutions;
  72. and ...
  73. %And adding more different classes of users and goals to the Tor network
  74. %improves the anonymity for all Tor users~\cite{econymics,usability:weis2006}.
  75. \section{Adversary assumptions}
  76. \label{sec:adversary}
  77. The history of blocking-resistance designs is littered with conflicting
  78. assumptions about what adversaries to expect and what problems are
  79. in the critical path to a solution. Here we try to enumerate our best
  80. understanding of the current situation around the world.
  81. In the traditional security style, we aim to describe a strong attacker
  82. --- if we can defend against this attacker, we inherit protection
  83. against weaker attackers as well. After all, we want a general design
  84. that will work for people in China, people in Iran, people in Thailand,
  85. whistleblowers in firewalled corporate networks, and people in whatever
  86. turns out to be the next oppressive situation. In fact, by designing with
  87. a variety of adversaries in mind, we can take advantage of the fact that
  88. adversaries will be in different stages of the arms race at each location.
  89. We assume there are three main network attacks in use by censors
  90. currently~\cite{clayton:pet2006}:
  91. \begin{tightlist}
  92. \item Block destination by automatically searching for certain strings
  93. in TCP packets.
  94. \item Block destination by manually listing its IP address at the
  95. firewall.
  96. \item Intercept DNS requests and give bogus responses for certain
  97. destination hostnames.
  98. \end{tightlist}
  99. We assume the network firewall has very limited CPU per
  100. connection~\cite{clayton:pet2006}. Against an adversary who spends
  101. hours looking through the contents of each packet, we would need
  102. some stronger mechanism such as steganography, which introduces its
  103. own problems~\cite{active-wardens,tcpstego,bar}.
  104. More broadly, we assume that the chance that the authorities try to
  105. block a given system grows as its popularity grows. That is, a system
  106. used by only a few users will probably never be blocked, whereas a
  107. well-publicized system with many users will receive much more scrutiny.
  108. We assume that readers of blocked content are not in as much danger
  109. as publishers. So far in places like China, the authorities mainly go
  110. after people who publish materials and coordinate organized movements
  111. against the state~\cite{mackinnon}. If they find that a user happens
  112. to be reading a site that should be blocked, the typical response is
  113. simply to block the site. Of course, even with an encrypted connection,
  114. the adversary may be able to distinguish readers from publishers by
  115. observing whether Alice is mostly downloading bytes or mostly uploading
  116. them --- we discuss this issue more in Section~\ref{subsec:upload-padding}.
  117. We assume that while various different regimes can coordinate and share
  118. notes, there will be a significant time lag between one attacker learning
  119. how to overcome a facet of our design and other attackers picking it up.
  120. Similarly, we assume that in the early stages of deployment the insider
  121. threat isn't as high of a risk, because no attackers have put serious
  122. effort into breaking the system yet.
  123. We assume that government-level attackers are not always uniform across
  124. the country. For example, there is no single centralized place in China
  125. that coordinates its censorship decisions and steps.
  126. We assume that our users have control over their hardware and
  127. software --- they don't have any spyware installed, there are no
  128. cameras watching their screen, etc. Unfortunately, in many situations
  129. these threats are very real~\cite{zuckerman-threatmodels}; yet
  130. software-based security systems like ours are poorly equipped to handle
  131. a user who is entirely observed and controlled by the adversary. See
  132. Section~\ref{subsec:cafes-and-livecds} for more discussion of what little
  133. we can do about this issue.
  134. We assume that widespread access to the Internet is economically and/or
  135. socially valuable in each deployment country. After all, if censorship
  136. is more important than Internet access, the firewall administrators have
  137. an easy job: they should simply block everything. The corollary to this
  138. assumption is that we should design so that increased blocking of our
  139. system results in increased economic damage or public outcry.
  140. We assume that the user will be able to fetch a genuine
  141. version of Tor, rather than one supplied by the adversary; see
  142. Section~\ref{subsec:trust-chain} for discussion on helping the user
  143. confirm that he has a genuine version and that he can connect to the
  144. real Tor network.
  145. \section{Components of the current Tor design}
  146. \label{sec:current-tor}
  147. Tor is popular and sees a lot of use. It's the largest anonymity
  148. network of its kind.
  149. Tor has attracted more than 800 routers from around the world.
  150. A few sentences about how Tor works.
  151. In this section, we examine some of the reasons why Tor has taken off,
  152. with particular emphasis to how we can take advantage of these properties
  153. for a blocking-resistance design.
  154. Tor aims to provide three security properties:
  155. \begin{tightlist}
  156. \item 1. A local network attacker can't learn, or influence, your
  157. destination.
  158. \item 2. No single router in the Tor network can link you to your
  159. destination.
  160. \item 3. The destination, or somebody watching the destination,
  161. can't learn your location.
  162. \end{tightlist}
  163. For blocking-resistance, we care most clearly about the first
  164. property. But as the arms race progresses, the second property
  165. will become important --- for example, to discourage an adversary
  166. from volunteering a relay in order to learn that Alice is reading
  167. or posting to certain websites. The third property is not so clearly
  168. important in this context, but we believe it will turn out to be helpful:
  169. consider websites and other Internet services that have been pressured
  170. recently into treating clients differently depending on their network
  171. location~\cite{google-geolocation}.
  172. % and cite{goodell-syverson06} once it's finalized.
  173. The Tor design provides other features as well over manual or ad
  174. hoc circumvention techniques.
  175. Firstly, the Tor directory authorities automatically aggregate, test,
  176. and publish signed summaries of the available Tor routers. Tor clients
  177. can fetch these summaries to learn which routers are available and
  178. which routers have desired properties. Directory information is cached
  179. throughout the Tor network, so once clients have bootstrapped they never
  180. need to interact with the authorities directly. (To tolerate a minority
  181. of compromised directory authorities, we use a threshold trust scheme ---
  182. see Section~\ref{subsec:trust-chain} for details.)
  183. Secondly, Tor clients can be configured to use any directory authorities
  184. they want. They use the default authorities if no others are specified,
  185. but it's easy to start a separate (or even overlapping) Tor network just
  186. by running a different set of authorities and convincing users to prefer
  187. a modified client. For example, we could launch a distinct Tor network
  188. inside China; some users could even use an aggregate network made up of
  189. both the main network and the China network. But we should not be too
  190. quick to create other Tor networks --- part of Tor's anonymity comes from
  191. users behaving like other users, and there are many unsolved anonymity
  192. questions if different users know about different pieces of the network.
  193. Thirdly, in addition to automatically learning from the chosen directories
  194. which Tor routers are available and working, Tor takes care of building
  195. paths through the network and rebuilding them as needed. So the user
  196. never has to know how paths are chosen, never has to manually pick
  197. working proxies, and so on. More generally, at its core the Tor protocol
  198. is simply a tool that can build paths given a set of routers. Tor is
  199. quite flexible about how it learns about the routers and how it chooses
  200. the paths. Harvard's Blossom project~\cite{blossom-thesis} makes this
  201. flexibility more concrete: Blossom makes use of Tor not for its security
  202. properties but for its reachability properties. It runs a separate set
  203. of directory authorities, its own set of Tor routers (called the Blossom
  204. network), and uses Tor's flexible path-building to let users view Internet
  205. resources from any point in the Blossom network.
  206. Fourthly, Tor separates the role of \emph{internal relay} from the
  207. role of \emph{exit relay}. That is, some volunteers choose just to relay
  208. traffic between Tor users and Tor routers, and others choose to also allow
  209. connections to external Internet resources. Because we don't force all
  210. volunteers to play both roles, we end up with more relays. This increased
  211. diversity in turn is what gives Tor its security: the more options the
  212. user has for her first hop, and the more options she has for her last hop,
  213. the less likely it is that a given attacker will be watching both ends
  214. of her circuit~\cite{tor-design}. As a bonus, because our design attracts
  215. more internal relays that want to help out but don't want to deal with
  216. being an exit relay, we end up with more options for the first hop ---
  217. the one most critical to being able to reach the Tor network.
  218. Fifthly, Tor is sustainable. Zero-Knowledge Systems offered the commercial
  219. but now-defunct Freedom Network~\cite{freedom21-security}, a design with
  220. security comparable to Tor's, but its funding model relied on collecting
  221. money from users to pay relays. Modern commercial proxy systems similarly
  222. need to keep collecting money to support their infrastructure. On the
  223. other hand, Tor has built a self-sustaining community of volunteers who
  224. donate their time and resources. This community trust is rooted in Tor's
  225. open design: we tell the world exactly how Tor works, and we provide all
  226. the source code. Users can decide for themselves, or pay any security
  227. expert to decide, whether it is safe to use. Further, Tor's modularity
  228. as described above, along with its open license, mean that its impact
  229. will continue to grow.
  230. Sixthly, Tor has an established user base of hundreds of
  231. thousands of people from around the world. This diversity of
  232. users contributes to sustainability as above: Tor is used by
  233. ordinary citizens, activists, corporations, law enforcement, and
  234. even governments and militaries~\cite{tor-use-cases}, and they can
  235. only achieve their security goals by blending together in the same
  236. network~\cite{econymics,usability:weis2006}. This user base also provides
  237. something else: hundreds of thousands of different and often-changing
  238. addresses that we can leverage for our blocking-resistance design.
  239. We discuss and adapt these components further in
  240. Section~\ref{sec:bridges}. But first we examine the strengths and
  241. weaknesses of other blocking-resistance approaches, so we can expand
  242. our repertoire of building blocks and ideas.
  243. \section{Current proxy solutions}
  244. \label{sec:related}
  245. Relay-based blocking-resistance schemes generally have two main
  246. components: a relay component and a discovery component. The relay part
  247. encompasses the process of establishing a connection, sending traffic
  248. back and forth, and so on --- everything that's done once the user knows
  249. where he's going to connect. Discovery is the step before that: the
  250. process of finding one or more usable relays.
  251. For example, we described several pieces of Tor in the previous section,
  252. but we can divide them into the process of building paths and sending
  253. traffic over them (relay) and the process of learning from the directory
  254. servers about what routers are available (discovery). With this distinction
  255. in mind, we now examine several categories of relay-based schemes.
  256. \subsection{Centrally-controlled shared proxies}
  257. Existing commercial anonymity solutions (like Anonymizer.com) are based
  258. on a set of single-hop proxies. In these systems, each user connects to
  259. a single proxy, which then relays the user's traffic. These public proxy
  260. systems are typically characterized by two features: they control and
  261. operator the proxies centrally, and many different users get assigned
  262. to each proxy.
  263. In terms of the relay component, single proxies provide weak security
  264. compared to systems that distribute trust over multiple relays, since a
  265. compromised proxy can trivially observe all of its users' actions, and
  266. an eavesdropper only needs to watch a single proxy to perform timing
  267. correlation attacks against all its users' traffic. Worse, all users
  268. need to trust the proxy company to have good security itself as well as
  269. to not reveal user activities.
  270. On the other hand, single-hop proxies are easier to deploy, and they
  271. can provide better performance than distributed-trust designs like Tor,
  272. since traffic only goes through one relay. They're also more convenient
  273. from the user's perspective --- since users entirely trust the proxy,
  274. they can just use their web browser directly.
  275. Whether public proxy schemes are more or less scalable than Tor is
  276. still up for debate: commercial anonymity systems can use some of their
  277. revenue to provision more bandwidth as they grow, whereas volunteer-based
  278. anonymity systems can attract thousands of fast relays to spread the load.
  279. The discovery piece can take several forms. Most commercial anonymous
  280. proxies have one or a handful of commonly known websites, and their users
  281. log in to those websites and relay their traffic through them. When
  282. these websites get blocked (generally soon after the company becomes
  283. popular), if the company cares about users in the blocked areas, they
  284. start renting lots of disparate IP addresses and rotating through them
  285. as they get blocked. They notify their users of new addresses by email,
  286. for example. It's an arms race, since attackers can sign up to receive the
  287. email too, but they have one nice trick available to them: because they
  288. have a list of paying subscribers, they can notify certain subscribers
  289. about updates earlier than others.
  290. Access control systems on the proxy let them provide service only to
  291. users with certain characteristics, such as paying customers or people
  292. from certain IP address ranges.
  293. Discovery despite a government-level firewall is a complex and unsolved
  294. topic, and we're stuck in this same arms race ourselves; we explore it
  295. in more detail in Section~\ref{sec:discovery}. But first we examine the
  296. other end of the spectrum --- getting volunteers to run the proxies,
  297. and telling only a few people about each proxy.
  298. \subsection{Independent personal proxies}
  299. Personal proxies such as Circumventor~\cite{circumventor} and
  300. CGIProxy~\cite{cgiproxy} use the same technology as the public ones as
  301. far as the relay component goes, but they use a different strategy for
  302. discovery. Rather than managing a few centralized proxies and constantly
  303. getting new addresses for them as the old addresses are blocked, they
  304. aim to have a large number of entirely independent proxies, each managing
  305. its own (much smaller) set of users.
  306. As the Circumventor site~\cite{circumventor} explains, ``You don't
  307. actually install the Circumventor \emph{on} the computer that is blocked
  308. from accessing Web sites. You, or a friend of yours, has to install the
  309. Circumventor on some \emph{other} machine which is not censored.''
  310. This tactic has great advantages in terms of blocking-resistance ---
  311. recall our assumption in Section~\ref{sec:adversary} that the attention
  312. a system attracts from the attacker is proportional to its number of
  313. users and level of publicity. If each proxy only has a few users, and
  314. there is no central list of proxies, most of them will never get noticed.
  315. On the other hand, there's a huge scalability question that so far has
  316. prevented these schemes from being widely useful: how does the fellow
  317. in China find a person in Ohio who will run a Circumventor for him? In
  318. some cases he may know and trust some people on the outside, but in many
  319. cases he's just out of luck. Just as hard, how does a new volunteer in
  320. Ohio find a person in China who needs it?
  321. %discovery is also hard because the hosts keep vanishing if they're
  322. %on dynamic ip. But not so bad, since they can use dyndns addresses.
  323. This challenge leads to a hybrid design --- centrally-distributed
  324. personal proxies --- which we will investigate in more detail in
  325. Section~\ref{sec:discovery}.
  326. \subsection{Open proxies}
  327. Yet another currently used approach to bypassing firewalls is to locate
  328. open and misconfigured proxies on the Internet. A quick Google search
  329. for ``open proxy list'' yields a wide variety of freely available lists
  330. of HTTP, HTTPS, and SOCKS proxies. Many small companies have sprung up
  331. providing more refined lists to paying customers.
  332. There are some downsides to using these oen proxies though. Firstly,
  333. the proxies are of widely varying quality in terms of bandwidth and
  334. stability, and many of them are entirely unreachable. Secondly, unlike
  335. networks of volunteers like Tor, the legality of routing traffic through
  336. these proxies is questionable: it's widely believed that most of them
  337. don't realize what they're offering, and probably wouldn't allow it if
  338. they realized. Thirdly, in many cases the connection to the proxy is
  339. unencrypted, so firewalls that filter based on keywords in IP packets
  340. will not be hindered. And lastly, many users are suspicious that some
  341. open proxies are a little \emph{too} convenient: are they run by the
  342. adversary, in which case they get to monitor all the user's requests
  343. just as single-hop proxies can?
  344. A distributed-trust design like Tor resolves each of these issues for
  345. the relay component, but a constantly changing set of thousands of open
  346. relays is clearly a useful idea for a discovery component. For example,
  347. users might be able to make use of these proxies to bootstrap their
  348. first introduction into the Tor network.
  349. \subsection{JAP}
  350. Stefan's WPES paper is probably the closest related work, and is
  351. the starting point for the design in this paper.
  352. \subsection{steganography}
  353. infranet
  354. \subsection{break your sensitive strings into multiple tcp packets;
  355. ignore RSTs}
  356. \subsection{Internal caching networks}
  357. Freenet is deployed inside China and caches outside content.
  358. \subsection{Skype}
  359. port-hopping. encryption. voice communications not so susceptible to
  360. keystroke loggers (even graphical ones).
  361. \subsection{Tor itself}
  362. And lastly, we include Tor itself in the list of current solutions
  363. to firewalls. Tens of thousands of people use Tor from countries that
  364. routinely filter their Internet. Tor's website has been blocked in most
  365. of them. But why hasn't the Tor network been blocked yet?
  366. We have several theories. The first is the most straightforward: tens of
  367. thousands of people are simply too few to matter. It may help that Tor is
  368. perceived to be for experts only, and thus not worth attention yet. The
  369. more subtle variant on this theory is that we've positioned Tor in the
  370. public eye as a tool for retaining civil liberties in more free countries,
  371. so perhaps blocking authorities don't view it as a threat. (We revisit
  372. this idea when we consider whether and how to publicize a a Tor variant
  373. that improves blocking-resistance --- see Section~\ref{subsec:publicity}
  374. for more discussion.)
  375. The broader explanation is that most government-level filters are not
  376. created by people setting out to block all possible ways to bypass
  377. them. They're created by people who want to do a good enough job that
  378. they can still appear in control. They realize that there will always
  379. be ways for a few people to get around the firewall, and as long as Tor
  380. has not publically threatened their control, they see no urgent need to
  381. block it yet.
  382. We should recognize that we're \emph{already} in the arms race. These
  383. constraints can give us insight into the priorities and capabilities of
  384. our various attackers.
  385. \section{The relay component of our blocking-resistant design}
  386. \label{sec:bridges}
  387. Section~\ref{sec:current-tor} describes many reasons why Tor is
  388. well-suited as a building block in our context, but several changes will
  389. allow the design to resist blocking better. The most critical changes are
  390. to get more relay addresses, and to distribute them to users differently.
  391. %We need to address three problems:
  392. %- adapting the relay component of Tor so it resists blocking better.
  393. %- Discovery.
  394. %- Tor's network signature.
  395. %Here we describe the new pieces we need to add to the current Tor design.
  396. \subsection{Bridge relays}
  397. Hundreds of thousands of people around the world use Tor. We can leverage
  398. our already self-selected user base to produce a list of thousands of
  399. often-changing IP addresses. Specifically, we can give them a little
  400. button in the GUI that says ``Tor for Freedom'', and users who click
  401. the button will turn into \emph{bridge relays}, or just \emph{bridges}
  402. for short. They can rate limit relayed connections to 10 KB/s (almost
  403. nothing for a broadband user in a free country, but plenty for a user
  404. who otherwise has no access at all), and since they are just relaying
  405. bytes back and forth between blocked users and the main Tor network, they
  406. won't need to make any external connections to Internet sites. Because
  407. of this separation of roles, and because we're making use of software
  408. that the volunteers have already installed for their own use, we expect
  409. our scheme to attract and maintain more volunteers than previous schemes.
  410. As usual, there are new anonymity and security implications from running a
  411. bridge relay, particularly from letting people relay traffic through your
  412. Tor client; but we leave this discussion for Section~\ref{sec:security}.
  413. %...need to outline instructions for a Tor config that will publish
  414. %to an alternate directory authority, and for controller commands
  415. %that will do this cleanly.
  416. \subsection{The bridge directory authority (BDA)}
  417. How do the bridge relays advertise their existence to the world? We
  418. introduce a second new component of the design: a specialized directory
  419. authority that aggregates and tracks bridges. Bridge relays periodically
  420. publish server descriptors (summaries of their keys, locations, etc,
  421. signed by their long-term identity key), just like the relays in the
  422. ``main'' Tor network, but in this case they publish them only to the
  423. bridge directory authorities.
  424. The main difference between bridge authorities and the directory
  425. authorities for the main Tor network is that the main authorities provide
  426. out a list of every known relay, but the bridge authorities only give
  427. out a server descriptor if you already know its identity key. That is,
  428. you can keep up-to-date on a bridge's location and other information
  429. once you know about it, but you can't just grab a list of all the bridges.
  430. The identity keys, IP address, and directory port for the bridge
  431. authorities ship by default with the Tor software, so the bridge relays
  432. can be confident they're publishing to the right location, and the
  433. blocked users can establish an encrypted authenticated channel. See
  434. Section~\ref{subsec:trust-chain} for more discussion of the public key
  435. infrastructure and trust chain.
  436. Bridges use Tor to publish their descriptors privately and securely,
  437. so even an attacker monitoring the bridge directory authority's network
  438. can't make a list of all the addresses contacting the authority and
  439. track them that way.
  440. %\subsection{A simple matter of engineering}
  441. %
  442. %Although we've described bridges and bridge authorities in simple terms
  443. %above, some design modifications and features are needed in the Tor
  444. %codebase to add them. We describe the four main changes here.
  445. %
  446. %Firstly, we need to get smarter about rate limiting:
  447. %Bandwidth classes
  448. %
  449. %Secondly, while users can in fact configure which directory authorities
  450. %they use, we need to add a new type of directory authority and teach
  451. %bridges to fetch directory information from the main authorities while
  452. %publishing server descriptors to the bridge authorities. We're most of
  453. %the way there, since we can already specify attributes for directory
  454. %authorities:
  455. %add a separate flag named ``blocking''.
  456. %
  457. %Thirdly, need to build paths using bridges as the first
  458. %hop. One more hole in the non-clique assumption.
  459. %
  460. %Lastly, since bridge authorities don't answer full network statuses,
  461. %we need to add a new way for users to learn the current status for a
  462. %single relay or a small set of relays --- to answer such questions as
  463. %``is it running?'' or ``is it behaving correctly?'' We describe in
  464. %Section~\ref{subsec:enclave-dirs} a way for the bridge authority to
  465. %publish this information without resorting to signing each answer
  466. %individually.
  467. \subsection{Putting them together}
  468. If a blocked user knows the identity keys of a set of bridge relays, and
  469. he has correct address information for at least one of them, he can use
  470. that one to make a secure connection to the bridge authority and update
  471. his knowledge about the other bridge relays. He can also use it to make
  472. secure connections to the main Tor network and directory servers, so he
  473. can build circuits and connect to the rest of the Internet. All of these
  474. updates happen in the background: from the blocked user's perspective,
  475. he just accesses the Internet via his Tor client like always.
  476. So now we've reduced the problem from how to circumvent the firewall
  477. for all transactions (and how to know that the pages you get have not
  478. been modified by the local attacker) to how to learn about a working
  479. bridge relay.
  480. The following section describes ways to bootstrap knowledge of your first
  481. bridge relay, and ways to maintain connectivity once you know a few
  482. bridge relays.
  483. % (See Section~\ref{subsec:first-bridge} for a discussion
  484. %of exactly what information is sufficient to characterize a bridge relay.)
  485. \section{Discovering and maintaining working bridge relays}
  486. \label{sec:discovery}
  487. Tor's modular design means that we can develop a better relay component
  488. independently of developing the discovery component. This modularity's
  489. great promise is that we can pick any discovery approach we like; but the
  490. unfortunate fact is that we have no magic bullet for discovery. We're
  491. in the same arms race as all the other designs we described in
  492. Section~\ref{sec:related}.
  493. 3 options:
  494. - independent proxies. just tell your friends.
  495. - public proxies. given out like circumventors. or all sorts of other rate limiting ways.
  496. - social network scheme, with accounts and stuff.
  497. In the first subsection we describe how to find a first bridge.
  498. Thus they can reach the BDA. From here we either assume a social
  499. network or other mechanism for learning IP:dirport or key fingerprints
  500. as above, or we assume an account server that allows us to limit the
  501. number of new bridge relays an external attacker can discover.
  502. Going to be an arms race. Need a bag of tricks. Hard to say
  503. which ones will work. Don't spend them all at once.
  504. \subsection{Bootstrapping: finding your first bridge}
  505. \label{subsec:first-bridge}
  506. Most government firewalls are not perfect. They allow connections to
  507. Google cache or some open proxy servers, or they let file-sharing or
  508. Skype or World-of-Warcraft connections through.
  509. For users who can't use any of these techniques, hopefully they know
  510. a friend who can --- for example, perhaps the friend already knows some
  511. bridge relay addresses.
  512. (If they can't get around it at all, then we can't help them --- they
  513. should go meet more people.)
  514. Some techniques are sufficient to get us an IP address and a port,
  515. and others can get us IP:port:key. Lay out some plausible options
  516. for how users can bootstrap into learning their first bridge.
  517. Round one:
  518. - the bridge authority server will hand some out.
  519. - get one from your friend.
  520. - send us mail with a unique account, and get an automated answer.
  521. -
  522. Round two:
  523. - social network thing
  524. attack: adversary can reconstruct your social network by learning who
  525. knows which bridges.
  526. \subsection{Centrally-distributed personal proxies}
  527. Circumventor, realizing that its adoption will remain limited if would-be
  528. users can't connect with volunteers, has started a mailing list to
  529. distribute new proxy addresses every few days. From experimentation
  530. it seems they have concluded that sending updates every 3 or 4 days is
  531. sufficient to stay ahead of the current attackers.
  532. If there are many volunteer proxies and many interested users, a central
  533. watering hole to connect them is a natural solution. On the other hand,
  534. at first glance it appears that we've inherited the \emph{bad} parts of
  535. each of the above designs: not only do we have to attract many volunteer
  536. proxies, but the users also need to get to a single site that is sure
  537. to be blocked.
  538. There are two reasons why we're in better shape. Firstly, the users don't
  539. actually need to reach the watering hole directly: it can respond to
  540. email, for example. Secondly,
  541. % In fact, the JAP
  542. %project~\cite{web-mix,koepsell:wpes2004} suggested an alternative approach
  543. %to a mailing list: new users email a central address and get an automated
  544. %response listing a proxy for them.
  545. % While the exact details of the
  546. %proposal are still to be worked out, the idea of giving out
  547. \subsection{Discovery based on social networks}
  548. A token that can be exchanged at the BDA (assuming you
  549. can reach it) for a new IP:dirport or server descriptor.
  550. The account server
  551. runs as a Tor controller for the bridge authority
  552. Users can establish reputations, perhaps based on social network
  553. connectivity, perhaps based on not getting their bridge relays blocked,
  554. Probably the most critical lesson learned in past work on reputation
  555. systems in privacy-oriented environments~\cite{p2p-econ} is the need for
  556. verifiable transactions. That is, the entity computing and advertising
  557. reputations for participants needs to actually learn in a convincing
  558. way that a given transaction was successful or unsuccessful.
  559. (Lesson from designing reputation systems~\cite{p2p-econ}: easy to
  560. reward good behavior, hard to punish bad behavior.
  561. \subsection{How to allocate bridge addresses to users}
  562. Hold a fraction in reserve, in case our currently deployed tricks
  563. all fail at once --- so we can move to new approaches quickly.
  564. (Bridges that sign up and don't get used yet will be sad; but this
  565. is a transient problem --- if bridges are on by default, nobody will
  566. mind not being used.)
  567. Perhaps each bridge should be known by a single bridge directory
  568. authority. This makes it easier to trace which users have learned about
  569. it, so easier to blame or reward. It also makes things more brittle,
  570. since loss of that authority means its bridges aren't advertised until
  571. they switch, and means its bridge users are sad too.
  572. (Need a slick hash algorithm that will map our identity key to a
  573. bridge authority, in a way that's sticky even when we add bridge
  574. directory authorities, but isn't sticky when our authority goes
  575. away. Does this exist?)
  576. Divide bridges into buckets based on their identity key.
  577. [Design question: need an algorithm to deterministically map a bridge's
  578. identity key into a category that isn't too gameable. Take a keyed
  579. hash of the identity key plus a secret the bridge authority keeps?
  580. An adversary signing up bridges won't easily be able to learn what
  581. category he's been put in, so it's slow to attack.]
  582. One portion of the bridges is the public bucket. If you ask the
  583. bridge account server for a public bridge, it will give you a random
  584. one of these. We expect they'll be the first to be blocked, but they'll
  585. help the system bootstrap until it *does* get blocked, and remember that
  586. we're dealing with different blocking regimes around the world that will
  587. progress at different rates.
  588. The generalization of the public bucket is a bucket based on the bridge
  589. user's IP address: you can learn a random entry only from the subbucket
  590. your IP address (actually, your /24) maps to.
  591. Another portion of the bridges can be sectioned off to be given out in
  592. a time-release basis. The bucket is partitioned into pieces which are
  593. deterministically available only in certain time windows.
  594. And of course another portion is made available for the social network
  595. design above.
  596. Captchas.
  597. Is it useful to load balance which bridges are handed out? The above
  598. bucket concept makes some bridges wildly popular and others less so.
  599. But I guess that's the point.
  600. \subsection{How do we know if a bridge relay has been blocked?}
  601. We need some mechanism for testing reachability from inside the
  602. blocked area.
  603. The easiest answer is for certain users inside the area to sign up as
  604. testing relays, and then we can route through them and see if it works.
  605. First problem is that different network areas block different net masks,
  606. and it will likely be hard to know which users are in which areas. So
  607. if a bridge relay isn't reachable, is that because of a network block
  608. somewhere, because of a problem at the bridge relay, or just a temporary
  609. outage?
  610. Second problem is that if we pick random users to test random relays, the
  611. adversary should sign up users on the inside, and enumerate the relays
  612. we test. But it seems dangerous to just let people come forward and
  613. declare that things are blocked for them, since they could be tricking
  614. us. (This matters even moreso if our reputation system above relies on
  615. whether things get blocked to punish or reward.)
  616. Another answer is not to measure directly, but rather let the bridges
  617. report whether they're being used. If they periodically report to their
  618. bridge directory authority how much use they're seeing, the authority
  619. can make smart decisions from there.
  620. If they install a geoip database, they can periodically report to their
  621. bridge directory authority which countries they're seeing use from. This
  622. might help us to track which countries are making use of Ramp, and can
  623. also let us learn about new steps the adversary has taken in the arms
  624. race. (If the bridges don't want to install a whole geoip subsystem, they
  625. can report samples of the /24 network for their users, and the authorities
  626. can do the geoip work. This tradeoff has clear downsides though.)
  627. Worry: adversary signs up a bunch of already-blocked bridges. If we're
  628. stingy giving out bridges, users in that country won't get useful ones.
  629. (Worse, we'll blame the users when the bridges report they're not
  630. being used?)
  631. Worry: the adversary could choose not to block bridges but just record
  632. connections to them. So be it, I guess.
  633. \subsection{How to learn how well the whole idea is working}
  634. We need some feedback mechanism to learn how much use the bridge network
  635. as a whole is actually seeing. Part of the reason for this is so we can
  636. respond and adapt the design; part is because the funders expect to see
  637. progress reports.
  638. The above geoip-based approach to detecting blocked bridges gives us a
  639. solution though.
  640. \section{Security considerations}
  641. \label{sec:security}
  642. \subsection{Hiding Tor's network signatures}
  643. \label{subsec:enclave-dirs}
  644. A short paragraph about Tor's current network appearance.
  645. The simplest format for communicating information about a bridge relay
  646. is as an IP address and port for its directory cache. From there, the
  647. user can ask the directory cache for an up-to-date copy of that bridge
  648. relay's server descriptor, to learn its current circuit keys, the port
  649. it uses for Tor connections, and so on.
  650. However, connecting directly to the directory cache involves a plaintext
  651. HTTP request. A censor could create a network signature for the
  652. request and/or its response, thus preventing these connections. Therefore
  653. we've modified the Tor protocol so that users can connect to the directory
  654. cache via the main Tor port --- they establish a TLS connection with
  655. the bridge as normal, and then send a Tor "begindir" relay cell to
  656. establish a connection to its directory cache.
  657. Predictable SSL ports:
  658. We should encourage most servers to listen on port 443, which is
  659. where SSL normally listens.
  660. Is that all it will take, or should we set things up so some fraction
  661. of them pick random ports? I can see that both helping and hurting.
  662. Predictable TLS handshakes:
  663. Right now Tor has some predictable strings in its TLS handshakes.
  664. These can be removed; but should they be replaced with nothing, or
  665. should we try to emulate some popular browser? In any case our
  666. protocol demands a pair of certs on both sides --- how much will this
  667. make Tor handshakes stand out?
  668. \subsection{Minimum info required to describe a bridge}
  669. In the previous subsection, we described a way for the bridge user
  670. to bootstrap into the network just by knowing the IP address and
  671. Tor port of a bridge. What about local spoofing attacks? That is,
  672. since we never learned an identity key fingerprint for the bridge,
  673. a local attacker could intercept our connection and pretend to be
  674. the bridge we had in mind. It turns out that giving false information
  675. isn't that bad --- since the Tor client ships with trusted keys for the
  676. bridge directory authority and the Tor network directory authorities,
  677. the user can learn whether he's being given a real connection to the
  678. bridge authorities or not. (If the adversary intercepts every connection
  679. the user makes and gives him a bad connection each time, there's nothing
  680. we can do.)
  681. What about anonymity-breaking attacks from observing traffic? Not so bad
  682. either, since the adversary could do the same attacks just by monitoring
  683. the network traffic.
  684. Once the Tor client has fetched the bridge's server descriptor at least
  685. once, he should remember the identity key fingerprint for that bridge
  686. relay. Thus if the bridge relay moves to a new IP address, the client
  687. can then query the bridge directory authority to look up a fresh server
  688. descriptor using this fingerprint.
  689. So we've shown that it's \emph{possible} to bootstrap into the network
  690. just by learning the IP address and port of a bridge, but are there
  691. situations where it's more convenient or more secure to learn its
  692. identity fingerprint at the beginning too? We discuss that question
  693. more in Section~\ref{sec:bootstrapping}, but first we introduce more
  694. security topics.
  695. \subsection{Observers can tell who is publishing and who is reading}
  696. \label{subsec:upload-padding}
  697. Should bridge users sometimes send bursts of long-range drop cells?
  698. \subsection{Anonymity effects from becoming a bridge relay}
  699. Against some attacks, becoming a bridge relay can improve anonymity. The
  700. simplest example is an attacker who owns a small number of Tor servers. He
  701. will see a connection from the bridge, but he won't be able to know
  702. whether the connection originated there or was relayed from somebody else.
  703. There are some cases where it doesn't seem to help: if an attacker can
  704. watch all of the bridge's incoming and outgoing traffic, then it's easy
  705. to learn which connections were relayed and which started there. (In this
  706. case he still doesn't know the final destinations unless he is watching
  707. them too, but in this case bridges are no better off than if they were
  708. an ordinary client.)
  709. There are also some potential downsides to running a bridge. First, while
  710. we try to make it hard to enumerate all bridges, it's still possible to
  711. learn about some of them, and for some people just the fact that they're
  712. running one might signal to an attacker that they place a high value
  713. on their anonymity. Second, there are some more esoteric attacks on Tor
  714. relays that are not as well-understood or well-tested --- for example, an
  715. attacker may be able to ``observe'' whether the bridge is sending traffic
  716. even if he can't actually watch its network, by relaying traffic through
  717. it and noticing changes in traffic timing~\cite{attack-tor-oak05}. On
  718. the other hand, it may be that limiting the bandwidth the bridge is
  719. willing to relay will allow this sort of attacker to determine if it's
  720. being used as a bridge but not whether it is adding traffic of its own.
  721. It is an open research question whether the benefits outweigh the risks. A
  722. lot of the decision rests on which the attacks users are most worried
  723. about. For most users, we don't think running a bridge relay will be
  724. that damaging.
  725. \subsection{Trusting local hardware: Internet cafes and LiveCDs}
  726. \label{subsec:cafes-and-livecds}
  727. Assuming that users have their own trusted hardware is not
  728. always reasonable.
  729. For Internet cafe Windows computers that let you attach your own USB key,
  730. a USB-based Tor image would be smart. There's Torpark, and hopefully
  731. there will be more options down the road. Worries about hardware or
  732. software keyloggers and other spyware --- and physical surveillance.
  733. If the system lets you boot from a CD or from a USB key, you can gain
  734. a bit more security by bringing a privacy LiveCD with you. Hardware
  735. keyloggers and physical surveillance still a worry. LiveCDs also useful
  736. if it's your own hardware, since it's easier to avoid leaving breadcrumbs
  737. everywhere.
  738. \subsection{Forward compatibility and retiring bridge authorities}
  739. Eventually we'll want to change the identity key and/or location
  740. of a bridge authority. How do we do this mostly cleanly?
  741. \subsection{The trust chain}
  742. \label{subsec:trust-chain}
  743. Tor's ``public key infrastructure'' provides a chain of trust to
  744. let users verify that they're actually talking to the right servers.
  745. There are four pieces to this trust chain.
  746. Firstly, when Tor clients are establishing circuits, at each step
  747. they demand that the next Tor server in the path prove knowledge of
  748. its private key~\cite{tor-design}. This step prevents the first node
  749. in the path from just spoofing the rest of the path. Secondly, the
  750. Tor directory authorities provide a signed list of servers along with
  751. their public keys --- so unless the adversary can control a threshold
  752. of directory authorities, he can't trick the Tor client into using other
  753. Tor servers. Thirdly, the location and keys of the directory authorities,
  754. in turn, is hard-coded in the Tor source code --- so as long as the user
  755. got a genuine version of Tor, he can know that he is using the genuine
  756. Tor network. And lastly, the source code and other packages are signed
  757. with the GPG keys of the Tor developers, so users can confirm that they
  758. did in fact download a genuine version of Tor.
  759. But how can a user in an oppressed country know that he has the correct
  760. key fingerprints for the developers? As with other security systems, it
  761. ultimately comes down to human interaction. The keys are signed by dozens
  762. of people around the world, and we have to hope that our users have met
  763. enough people in the PGP web of trust~\cite{pgp-wot} that they can learn
  764. the correct keys. For users that aren't connected to the global security
  765. community, though, this question remains a critical weakness.
  766. % XXX make clearer the trust chain step for bridge directory authorities
  767. \subsection{Security through obscurity: publishing our design}
  768. Many other schemes like dynaweb use the typical arms race strategy of
  769. not publishing their plans. Our goal here is to produce a design ---
  770. a framework --- that can be public and still secure. Where's the tradeoff?
  771. \section{Performance improvements}
  772. \label{sec:performance}
  773. \subsection{Fetch server descriptors just-in-time}
  774. I guess we should encourage most places to do this, so blocked
  775. users don't stand out.
  776. network-status and directory optimizations. caching better. partitioning
  777. issues?
  778. \section{Maintaining reachability}
  779. \subsection{How many bridge relays should you know about?}
  780. If they're ordinary Tor users on cable modem or DSL, many of them will
  781. disappear and/or move periodically. How many bridge relays should a
  782. blockee know
  783. about before he's likely to have at least one reachable at any given point?
  784. How do we factor in a parameter for "speed that his bridges get discovered
  785. and blocked"?
  786. The related question is: if the bridge relays change IP addresses
  787. periodically, how often does the bridge user need to "check in" in order
  788. to keep from being cut out of the loop?
  789. \subsection{Cablemodem users don't provide important websites}
  790. \label{subsec:block-cable}
  791. ...so our adversary could just block all DSL and cablemodem networks,
  792. and for the most part only our bridge relays would be affected.
  793. The first answer is to aim to get volunteers both from traditionally
  794. ``consumer'' networks and also from traditionally ``producer'' networks.
  795. The second answer (not so good) would be to encourage more use of consumer
  796. networks for popular and useful websites.
  797. Other attack: China pressures Verizon to discourage its users from
  798. running bridges.
  799. \subsection{Scanning-resistance}
  800. If it's trivial to verify that we're a bridge, and we run on a predictable
  801. port, then it's conceivable our attacker would scan the whole Internet
  802. looking for bridges. (In fact, he can just scan likely networks like
  803. cablemodem and DSL services --- see Section~\ref{block-cable} for a related
  804. attack.) It would be nice to slow down this attack. It would
  805. be even nicer to make it hard to learn whether we're a bridge without
  806. first knowing some secret.
  807. Password protecting the bridges.
  808. Could provide a password to the bridge user. He provides a nonced hash of
  809. it or something when he connects. We'd need to give him an ID key for the
  810. bridge too, and wait to present the password until we've TLSed, else the
  811. adversary can pretend to be the bridge and MITM him to learn the password.
  812. \subsection{How to motivate people to run bridge relays}
  813. One of the traditional ways to get people to run software that benefits
  814. others is to give them motivation to install it themselves. An often
  815. suggested approach is to install it as a stunning screensaver so everybody
  816. will be pleased to run it. We take a similar approach here, by leveraging
  817. the fact that these users are already interested in protecting their
  818. own Internet traffic, so they will install and run the software.
  819. Make all Tor users become bridges if they're reachable -- needs more work
  820. on usability first, but we're making progress.
  821. Also, we can make a snazzy network graph with Vidalia that emphasizes
  822. the connections the bridge user is currently relaying. (Minor anonymity
  823. implications, but hey.) (In many cases there won't be much activity,
  824. so this may backfire. Or it may be better suited to full-fledged Tor
  825. servers.)
  826. \subsection{What if the clients can't install software?}
  827. Bridge users without Tor clients
  828. Bridge relays could always open their socks proxy. This is bad though,
  829. firstly
  830. because they learn the bridge users' destinations, and secondly because
  831. we've learned that open socks proxies tend to attract abusive users who
  832. have no idea they're using Tor.
  833. Bridges could require passwords in the socks handshake (not supported
  834. by most software including Firefox). Or they could run web proxies
  835. that require authentication and then pass the requests into Tor. This
  836. approach is probably a good way to help bootstrap the Psiphon network,
  837. if one of its barriers to deployment is a lack of volunteers willing
  838. to exit directly to websites. But it clearly drops some of the nice
  839. anonymity features Tor provides.
  840. \subsection{Publicity attracts attention}
  841. \label{subsec:publicity}
  842. both good and bad.
  843. \subsection{The Tor website: how to get the software}
  844. \section{Future designs}
  845. \subsection{Bridges inside the blocked network too}
  846. Assuming actually crossing the firewall is the risky part of the
  847. operation, can we have some bridge relays inside the blocked area too,
  848. and more established users can use them as relays so they don't need to
  849. communicate over the firewall directly at all? A simple example here is
  850. to make new blocked users into internal bridges also -- so they sign up
  851. on the BDA as part of doing their query, and we give out their addresses
  852. rather than (or along with) the external bridge addresses. This design
  853. is a lot trickier because it brings in the complexity of whether the
  854. internal bridges will remain available, can maintain reachability with
  855. the outside world, etc.
  856. Hidden services as bridges. Hidden services as bridge directory authorities.
  857. \bibliographystyle{plain} \bibliography{tor-design}
  858. \appendix
  859. \section{Counting Tor users by country}
  860. \label{app:geoip}
  861. \end{document}
  862. ship geoip db to bridges. they look up users who tls to them in the db,
  863. and upload a signed list of countries and number-of-users each day. the
  864. bridge authority aggregates them and publishes stats.
  865. bridge relays have buddies
  866. they ask a user to test the reachability of their buddy.
  867. leaks O(1) bridges, but not O(n).
  868. we should not be blockable by ordinary cisco censorship features.
  869. that is, if they want to block our new design, they will need to
  870. add a feature to block exactly this.
  871. strategically speaking, this may come in handy.
  872. hash identity key + secret that bridge authority knows. start
  873. out dividing into 2^n buckets, where n starts at 0, and we choose
  874. which bucket you're in based on the first n bits of the hash.
  875. Bridges come in clumps of 4 or 8 or whatever. If you know one bridge
  876. in a clump, the authority will tell you the rest. Now bridges can
  877. ask users to test reachability of their buddies.
  878. Giving out clumps helps with dynamic IP addresses too. Whether it
  879. should be 4 or 8 depends on our churn.
  880. the account server. let's call it a database, it doesn't have to
  881. be a thing that human interacts with.
  882. rate limiting mechanisms:
  883. energy spent. captchas. relaying traffic for others?
  884. send us $10, we'll give you an account
  885. so how do we reward people for being good?