TODO 11 KB

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