TODO 8.6 KB

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