TODO 8.2 KB

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