TODO 8.2 KB

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