TODO 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  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 0.0.9:
  13. N&R. bring tor-spec up to date
  14. N&R. make loglevels info,debug less noisy
  15. N - Get win32 servers working, or find out why it isn't happening now.
  16. ************************ For Post 0.0.9 *****************************
  17. Tier one:
  18. - fix dfc/weasel's intro point bug
  19. - support hostnames as well as IPs for authdirservers.
  20. N - OS X package (and bundle?)
  21. N - Make millisecond accuracy work on win32
  22. - Make more configuration variables into CSVs.
  23. - Once we have a trusted directory on port 80, stop falling back to
  24. forbidden ports when fascistfirewall blocks all good dirservers.
  25. - Convert man pages to pod, or whatever's right.
  26. - Move to our new version system.
  27. - Get more nodes running on 80 and 443.
  28. - Get epic, aclu, etc running nodes.
  29. - Start distributing an rpm with the new version scheme.
  30. - Bug tracker.
  31. Tier two:
  32. - Handle pools of waiting circuits better.
  33. - Let more config options (e.g. ORPort) change dynamically.
  34. - Write limiting; configurable token buckets.
  35. - Only the top of a directory needs to be signed.
  36. - Make sure logged information is 'safe'.
  37. - make advertised_server_mode() ORs fetch dirs more often.
  38. N - Clean up NT service code
  39. - Work as an NT service; on system tray; etc.
  40. - Win32 installer plus privoxy, sockscap/freecap, etc.
  41. - controller should have 'getinfo' command to query about rephist,
  42. about rendezvous status, etc.
  43. - Implement If-Modified-Since for directories.
  44. N - Handle rendezvousing with unverified nodes.
  45. - Specify: Stick rendezvous point's key in INTRODUCE cell.
  46. Bob should _always_ use key from INTRODUCE cell.
  47. - Implement.
  48. N - add ipv6 support.
  49. - Spec issue: if a resolve returns an IP4 and an IP6 address,
  50. which to use?
  51. - christian grothoff's attack of infinite-length circuit.
  52. the solution is to have a separate 'extend-data' cell type
  53. which is used for the first N data cells, and only
  54. extend-data cells can be extend requests.
  55. . rename/rearrange functions for what file they're in
  56. - tor should be able to have a pool of outgoing IP addresses
  57. that it is able to rotate through. (maybe)
  58. - hidserv offerers shouldn't need to define a SocksPort
  59. * figure out what breaks for this, and do it.
  60. - should retry exitpolicy end streams even if the end cell didn't
  61. resolve the address for you
  62. - Make it harder to circumvent bandwidth caps: look at number of bytes
  63. sent across sockets, not number sent inside TLS stream.
  64. - fix router_get_by_* functions so they can get ourselves too,
  65. and audit everything to make sure rend and intro points are
  66. just as likely to be us as not.
  67. Packaging, docs, etc:
  68. - Exit node caching: tie into squid or other caching web proxy.
  69. - FAQ.
  70. - Website spiffying. Logo. Pictures.
  71. - Configuration walk-through with screenshots of each step.
  72. Deferred until needed:
  73. - Do something to prevent spurious EXTEND cells from making middleman
  74. nodes connect all over. Rate-limit failed connections, perhaps?
  75. - Limit to 2 dir, 2 OR, N SOCKS connections per IP.
  76. - Handle full buffers without totally borking
  77. * do this eventually, no rush.
  78. - Rate-limit OR and directory connections overall and per-IP and
  79. maybe per subnet.
  80. - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
  81. - Have clients and dirservers preserve reputation info over
  82. reboots.
  83. - round detected bandwidth up to nearest 10KB?
  84. - client software not upload descriptor until:
  85. - you've been running for an hour
  86. - it's sufficiently satisfied with its bandwidth
  87. - it decides it is reachable
  88. - start counting again if your IP ever changes.
  89. - never regenerate identity keys, for now.
  90. - you can set a bit for not-being-an-OR.
  91. * no need to do this yet. few people define their ORPort.
  92. - authdirserver lists you as running iff:
  93. - he can connect to you
  94. - he has successfully extended to you
  95. - you have sufficient mean-time-between-failures
  96. * keep doing nothing for now.
  97. - Include HTTP status messages in logging (see parse_http_response).
  98. Blue sky or deferred indefinitely:
  99. - Support egd or other non-OS-integrated strong entropy sources
  100. - password protection for on-disk identity key
  101. - Possible to get autoconf to easily install things into ~/.tor?
  102. - server descriptor declares min log level, clients avoid servers
  103. that are too loggy.
  104. - put expiry date on onion-key, so people don't keep trying
  105. old ones that they could know are expired?
  106. - Add a notion of nickname->Pubkey binding that's not 'verification'
  107. - Conn key rotation.
  108. - Need a relay teardown cell, separate from one-way ends.
  109. Big tasks that would demonstrate progress:
  110. - Facility to automatically choose long-term helper nodes; perhaps
  111. on by default for hidden services.
  112. - patch privoxy and socks protocol to pass strings to the browser.
  113. - patch tsocks with our current patches + gethostbyname, getpeername, etc.
  114. - make freecap (or whichever) do what we want.
  115. - scrubbing proxies for protocols other than http.
  116. - Find an smtp proxy?
  117. . Get socks4a support into Mozilla
  118. N - Reverse DNS: specify and implement.
  119. - figure out enclaves, e.g. so we know what to recommend that people
  120. do, and so running a tor server on your website is helpful.
  121. - Do enclaves for same IP only.
  122. - Resolve first, then if IP is an OR, extend to him first.
  123. - implement a trivial fun gui to demonstrate our control interface.
  124. ************************ Roadmap for 2004-2005 **********************
  125. Hard problems that need to be solved:
  126. - Separating node discovery from routing.
  127. - Arranging membership management for independence.
  128. Sybil defenses without having a human bottleneck.
  129. How to gather random sample of nodes.
  130. How to handle nodelist recommendations.
  131. Consider incremental switches: a p2p tor with only 50 users has
  132. different anonymity properties than one with 10k users, and should
  133. be treated differently.
  134. - Measuring performance of other nodes. Measuring whether they're up.
  135. - Choosing exit node by meta-data, e.g. country.
  136. - Incentives to relay; incentives to exit.
  137. - Allowing dissidents to relay through Tor clients.
  138. - How to intercept, or not need to intercept, dns queries locally.
  139. - Improved anonymity:
  140. - Experiment with mid-latency systems. How do they impact usability,
  141. how do they impact safety?
  142. - Understand how powerful fingerprinting attacks are, and experiment
  143. with ways to foil them (long-range padding?).
  144. - Come up with practical approximations to picking entry and exit in
  145. different routing zones.
  146. - Find ideal churn rate for helper nodes; how safe is it?
  147. - What info squeaks by Privoxy? Are other scrubbers better?
  148. - Attacking freenet-gnunet/timing-delay-randomness-arguments.
  149. - Is abandoning the circuit the only option when an extend fails, or
  150. can we do something without impacting anonymity too much?
  151. - Is exiting from the middle of the circuit always a bad idea?
  152. Sample Publicity Landmarks:
  153. - we have N servers / N users
  154. - we have servers at epic and aclu and foo
  155. - hidden services are robust and fast
  156. - a more decentralized design
  157. - tor win32 installer works
  158. - win32 tray icon for end-users
  159. - tor server works on win32
  160. - win32 service for servers
  161. - mac installer works
  162. ***************************Future tasks:****************************
  163. Rendezvous and hidden services:
  164. make it fast:
  165. - preemptively build and start rendezvous circs.
  166. - preemptively build n-1 hops of intro circs?
  167. - cannibalize general circs?
  168. make it reliable:
  169. - standby/hotswap/redundant services.
  170. - store stuff to disk? dirservers forget service descriptors when
  171. they restart; nodes offering hidden services forget their chosen
  172. intro points when they restart.
  173. make it robust:
  174. - auth mechanisms to let midpoint and bob selectively choose
  175. connection requests.
  176. make it scalable:
  177. - robust decentralized storage for hidden service descriptors.
  178. make it accessible:
  179. - web proxy gateways to let normal people browse hidden services.
  180. Tor scalability:
  181. Relax clique assumptions.
  182. Redesign how directories are handled.
  183. - Resolve directory agreement somehow.
  184. Find and remove bottlenecks
  185. - Address linear searches on e.g. circuit and connection lists.
  186. Reputation/memory system, so dirservers can measure people,
  187. and so other people can verify their measurements.
  188. - Need to measure via relay, so it's not distinguishable.
  189. Let dissidents get to Tor servers via Tor users. ("Backbone model")
  190. Make it more correct:
  191. Handle half-open connections: right now we don't support all TCP
  192. streams, at least according to the protocol. But we handle all that
  193. we've seen in the wild.
  194. Support IPv6.
  195. Efficiency/speed/robustness:
  196. Congestion control. Is our current design sufficient once we have heavy
  197. use? Need to measure and tweak, or maybe overhaul.
  198. Allow small cells and large cells on the same network?
  199. Cell buffering and resending. This will allow us to handle broken
  200. circuits as long as the endpoints don't break, plus will allow
  201. connection (tls session key) rotation.
  202. Implement Morphmix, so we can compare its behavior, complexity, etc.
  203. Use cpuworker for more heavy lifting.
  204. - Signing (and verifying) hidserv descriptors
  205. - Signing (and verifying) intro/rend requests
  206. - Signing (and verifying) router descriptors
  207. - Signing (and verifying) directories
  208. - Doing TLS handshake (this is very hard to separate out, though)
  209. Buffer size pool: allocate a maximum size for all buffers, not
  210. a maximum size for each buffer. So we don't have to give up as
  211. quickly (and kill the thickpipe!) when there's congestion.
  212. Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  213. link crypto, unless we can bully openssl into it.