TODO 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. Legend:
  2. SPEC!! - Not specified
  3. SPEC - Spec not finalized
  4. NICK - nick claims
  5. ARMA - arma claims
  6. - Not done
  7. * Top priority
  8. . Partially done
  9. o Done
  10. D Deferred
  11. X Abandoned
  12. For September:
  13. . Windows port
  14. o works as client
  15. - deal with pollhup / reached_eof on all platforms
  16. . robust as a client
  17. - works as server
  18. - can be configured
  19. - robust as a server
  20. - docs for building in win
  21. - installer?
  22. - Docs
  23. - FAQ
  24. - overview of tor. how does it work, what's it do, pros and
  25. cons of using it, why should I use it, etc.
  26. - a howto tutorial with examples
  27. - tutorial: how to set up your own tor network
  28. - (need to not hardcode dirservers file in config.c)
  29. . correct, update, polish spec
  30. - document the exposed function api?
  31. - document what we mean by socks.
  32. - packages
  33. - rpm
  34. - find a long-term rpm maintainer
  35. - code
  36. - better warn/info messages
  37. - let tor do resolves.
  38. - extend socks4 to do resolves?
  39. - make script to ask tor for resolves
  40. - tsocks
  41. - gather patches, submit to maintainer
  42. - intercept gethostbyname and others, do resolve via tor
  43. - redesign and thorough code revamp, with particular eye toward:
  44. - support half-open tcp connections
  45. - conn key rotation
  46. - other transports -- http, airhook
  47. - modular introduction mechanism
  48. - allow non-clique topology
  49. Other details and small and hard things:
  50. - rend_services_introduce should check if it's failed a lot
  51. recently, and not try for a while if so
  52. - check tor version as soon as you get the recommended-versions
  53. string, regardless of whether parsing the directory succeeded.
  54. - tor should be able to have a pool of outgoing IP addresses
  55. that it is able to rotate through. (maybe)
  56. - tie into squid
  57. - buffer size pool, to let a few buffers grow huge or many buffers
  58. grow a bit
  59. - hidserv offerers shouldn't need to define a SocksPort
  60. - when the client fails to pick an intro point for a hidserv,
  61. it should refetch the hidserv desc.
  62. . should maybe make clients exit(1) when bad things happen?
  63. e.g. clock skew.
  64. - should retry exitpolicy end streams even if the end cell didn't
  65. resolve the address for you
  66. - Add '[...truncated]' or similar to truncated log entries (like the directory
  67. in connection_dir_process_inbuf()).
  68. . Make logs handle it better when writing to them fails.
  69. - Dirserver shouldn't put you in running-routers list if you haven't
  70. uploaded a descriptor recently
  71. . Refactor: add own routerinfo to routerlist. Right now, only
  72. router_get_by_nickname knows about 'this router', as a hack to
  73. get circuit_launch_new to do the right thing.
  74. . Scrubbing proxies
  75. - Find an smtp proxy?
  76. . Get socks4a support into Mozilla
  77. - Extend by nickname/hostname/something, not by IP.
  78. - Need a relay teardown cell, separate from one-way ends.
  79. - Make it harder to circumvent bandwidth caps: look at number of bytes
  80. sent across sockets, not number sent inside TLS stream.
  81. - fix router_get_by_* functions so they can get ourselves too,
  82. and audit everything to make sure rend and intro points are
  83. just as likely to be us as not.
  84. ***************************Future tasks:****************************
  85. Rendezvous and hidden services:
  86. make it fast:
  87. - preemptively build and start rendezvous circs.
  88. - preemptively build n-1 hops of intro circs?
  89. - cannibalize general circs?
  90. make it reliable:
  91. - standby/hotswap/redundant services.
  92. - store stuff to disk? dirservers forget service descriptors when
  93. they restart; nodes offering hidden services forget their chosen
  94. intro points when they restart.
  95. make it robust:
  96. - auth mechanisms to let midpoint and bob selectively choose
  97. connection requests.
  98. make it scalable:
  99. - right now the hidserv store/lookup system is run by the dirservers;
  100. this won't scale.
  101. Tor scalability:
  102. Relax clique assumptions.
  103. Redesign how directories are handled.
  104. - Separate running-routers lookup from descriptor list lookup.
  105. - Resolve directory agreement somehow.
  106. - Cache directory on all servers.
  107. Find and remove bottlenecks
  108. - Address linear searches on e.g. circuit and connection lists.
  109. Reputation/memory system, so dirservers can measure people,
  110. and so other people can verify their measurements.
  111. - Need to measure via relay, so it's not distinguishable.
  112. Bandwidth-aware path selection. So people with T3's are picked
  113. more often than people with DSL.
  114. Reliability-aware node selection. So people who are stable are
  115. preferred for long-term circuits such as intro and rend circs,
  116. and general circs for irc, aim, ssh, etc.
  117. Let dissidents get to Tor servers via Tor users. ("Backbone model")
  118. Anonymity improvements:
  119. Is abandonding the circuit the only option when an extend fails, or
  120. can we do something without impacting anonymity too much?
  121. Is exiting from the middle of the circuit always a bad idea?
  122. Helper nodes. Decide how to use them to improve safety.
  123. DNS resolution: need to make tor support resolve requests. Need to write
  124. a script and an interface (including an extension to the socks
  125. protocol) so we can ask it to do resolve requests. Need to patch
  126. tsocks to intercept gethostbyname, else we'll continue leaking it.
  127. Improve path selection algorithms based on routing-zones paper. Be sure
  128. to start and end circuits in different ASs. Ideally, consider AS of
  129. source and destination -- maybe even enter and exit via nearby AS.
  130. Intermediate model, with some delays and mixing.
  131. Add defensive dropping regime?
  132. Make it more correct:
  133. Handle half-open connections: right now we don't support all TCP
  134. streams, at least according to the protocol. But we handle all that
  135. we've seen in the wild.
  136. Support IPv6.
  137. Efficiency/speed/robustness:
  138. Congestion control. Is our current design sufficient once we have heavy
  139. use? Need to measure and tweak, or maybe overhaul.
  140. Allow small cells and large cells on the same network?
  141. Cell buffering and resending. This will allow us to handle broken
  142. circuits as long as the endpoints don't break, plus will allow
  143. connection (tls session key) rotation.
  144. Implement Morphmix, so we can compare its behavior, complexity, etc.
  145. Use cpuworker for more heavy lifting.
  146. - Signing (and verifying) hidserv descriptors
  147. - Signing (and verifying) intro/rend requests
  148. - Signing (and verifying) router descriptors
  149. - Signing (and verifying) directories
  150. - Doing TLS handshake (this is very hard to separate out, though)
  151. Buffer size pool: allocate a maximum size for all buffers, not
  152. a maximum size for each buffer. So we don't have to give up as
  153. quickly (and kill the thickpipe!) when there's congestion.
  154. Exit node caching: tie into squid or other caching web proxy.
  155. Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  156. link crypto, unless we can bully openssl into it.
  157. P2P Tor:
  158. Do all the scalability stuff above, first.
  159. Incentives to relay. Not so hard.
  160. Incentives to allow exit. Possibly quite hard.
  161. Sybil defenses without having a human bottleneck.
  162. How to gather random sample of nodes.
  163. How to handle nodelist recommendations.
  164. Consider incremental switches: a p2p tor with only 50 users has
  165. different anonymity properties than one with 10k users, and should
  166. be treated differently.