TODO 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. $Id$
  2. Legend:
  3. SPEC!! - Not specified
  4. SPEC - Spec not finalized
  5. NICK - nick claims
  6. ARMA - arma claims
  7. PHOBOS - phobos claims
  8. - Not done
  9. * Top priority
  10. . Partially done
  11. o Done
  12. D Deferred
  13. X Abandoned
  14. Non-Coding, Soon:
  15. N - contact umass folks
  16. N - Packaging logic and HOWTO for controller libs
  17. N - Mention controller libs someplace.
  18. - FAQ entry: why gnutls is bad/not good for tor
  19. P - flesh out the rest of the section 6 of the faq
  20. P - gather pointers to livecd distros that include tor
  21. - put the logo on the website, in source form, so people can put it on
  22. stickers directly, etc.
  23. - more pictures from ren. he wants to describe the tor handshake, i want to
  24. talk about hidden services.
  25. * clean up the places where our docs are redundant (or worse, obsolete in
  26. one file and correct elsewhere). agl has a start on a global
  27. list-of-tor-docs.
  28. P - update window's docs to clarify which versions of windows, and why a
  29. DOS window, how it's used, for the less technical users
  30. NR- write a spec appendix for 'being nice with tor'
  31. - Hunt for open socks ports on tor servers, send mail
  32. - tor-in-the-media page
  33. - Ask schanzle@cas.homelinux.org about a patch for rpm spec fixes against
  34. tor-0.1.0.7.rc
  35. - Remove need for HACKING file.
  36. For 0.1.0.x:
  37. o Why do solaris cpuworks go dormant?
  38. (Apparently, disabling threads fixes this.)
  39. o Fix the remaining flyspray bugs marked for 0.1.0.9
  40. X Free remaining unfreed memory (arma will run valgrind)
  41. (Not for a stable release)
  42. o Note libevent/method/platform combos that are unlikely to work.
  43. X change torrc to point to abuse-faq (once abuse-faq is posted)
  44. . Memory use on Linux: what's happening?
  45. - Is it threading? (Maybe, maybe not)
  46. - Is it the buf_shrink bug? (Quite possibly)
  47. - Instrument the 0.1.1 code to figure out where our memory is going;
  48. apply the results. (all platforms?)
  49. . Why does kevent barf with EINVAL on some freebsd boxes?
  50. o Submit libevent patch to Niels
  51. o Warn on non-repeated EINVAL in Tor (don't die.)
  52. - Investigate why freebsd kernel actually does this: it doesn't seem
  53. simple to trigger.
  54. for 0.1.1.x:
  55. N . Controller improvements
  56. o new controller protocol
  57. o Specify
  58. o Implement
  59. . Test, debug
  60. o add new getinfo options to enumerate things we only find out about
  61. currently via events.
  62. o controller should have an event to learn about new addressmappings,
  63. e.g. when we learn a hostname to IP mapping ?
  64. . make sure err-level log events get flushed to the controller
  65. immediately, since tor will exit right after.
  66. o Implement
  67. - Test, debug
  68. - Allow EXTENDCIRCUIT to unknown server.
  69. . Switch example controllers to use new protocol
  70. . Python
  71. o Implement main controller interface
  72. o Glue code
  73. . Testing
  74. . Java
  75. o Implement main controller interface
  76. o Glue code
  77. . Testing
  78. - switch accountingmax to count total in+out, not either in or
  79. out. it's easy to move in this direction (not risky), but hard to
  80. back, out if we decide we prefer it the way it already is. hm.
  81. . Come up with a coherent strategy for bandwidth buckets and TLS. (The
  82. logic for reading from TLS sockets is likely to overrun the bandwidth
  83. buckets under heavy load. (Really, the logic was never right in the
  84. first place.) Also, we should audit all users of get_pending_bytes().)
  85. - Make it harder to circumvent bandwidth caps: look at number of bytes
  86. sent across sockets, not number sent inside TLS stream.
  87. N . Handle rendezvousing with unverified nodes.
  88. o Specify: Stick rendezvous point's address and port in INTRODUCE cell.
  89. o Handle new format.
  90. o Support to extend circuit/target circuit to a chosen combination of
  91. addr/port/ID/onionkey
  92. o Parse new format
  93. o Generate new format (#ifdef out the logic to generate it for now)
  94. o Specify: make service descriptors contain onion key and identity.
  95. o Implement new service desc format
  96. - Think: are we okay with the partitioning?
  97. o Implement new directory code
  98. o Implement new server code (Don't enable till directory code is deployed)
  99. o Implement new client code (Don't enable till directory code is deployed)
  100. o Look for v1 descriptor if available, else look for v0 descriptor.
  101. o Use new INTRODUCE protocol if allowed.
  102. . Verify that new code works.
  103. X It looks like tor_assert writes to stderr. This isn't a problem, because
  104. start_daemon doesn't close fd 2; it uses dup2 to replace it with
  105. a file open to /dev/null.
  106. - christian grothoff's attack of infinite-length circuit.
  107. the solution is to have a separate 'extend-data' cell type
  108. which is used for the first N data cells, and only
  109. extend-data cells can be extend requests.
  110. - Specify, including thought about
  111. - Implement
  112. - Destroy and truncated cells should have reasons.
  113. - Add private:* alias in exit policies to make it easier to ban all the
  114. fiddly little 192.168.foo addresses.
  115. (AGL had a patch; consider applying it.)
  116. - recommended-versions for client / server ?
  117. - warn if listening for SOCKS on public IP.
  118. o Forward-compatibility: add "needclientversion" option or "opt critical"
  119. prefix? No, just make unknown keywords less critical.
  120. - cpu fixes:
  121. - see if we should make use of truncate to retry
  122. o hardware accelerator support (configure engines.)
  123. - hardware accelerator support (use instead of aes.c when reasonable)
  124. r - kill dns workers more slowly
  125. - continue decentralizing the directory
  126. - Specify and design all of the below before implementing any.
  127. - Figure out what to do about hidden service descriptors.
  128. M have two router descriptor formats
  129. - dirservers verify reachability claims
  130. - find 10 dirservers. (what are criteria to be a dirserver?)
  131. - some back-out mechanism?
  132. - dirservers have blacklist of IPs they hate
  133. - a way of rolling back approvals to before a timestamp
  134. - have new people be in limbo and need to demonstrate usefulness
  135. before we approve them
  136. - other?
  137. - dirservers publish router-status with all these flags.
  138. - Servers publish new descriptors when options change, when 12-24 hours
  139. have passed, when uptime is reset, or when bandwidth changes a lot.
  140. - alices fetch many router-statuses and update descriptors as needed.
  141. - add if-newer-than fetch options
  142. - dirservers allow people to lookup by N descriptors, or to fetch all.
  143. - alices avoid duplicate class C nodes.
  144. - everybody with a dirport will give you his descriptor.
  145. - config option, on by default, to cache all descriptors.
  146. - Compress router desc sets before transmitting them
  147. M Analyze how bad the partitioning is or isn't.
  148. - Naming:
  149. - Specify and design all of the below before implementing any.
  150. - some dirservers announce that they manage bindings (a flag in
  151. router-status).
  152. - other dirservers mention a binding if there is no conflict for
  153. that binding among the dirservers that manage it.
  154. no conflict == any of them bind it and no disagreement.
  155. - alice can specify a nickname and it will record that name in her
  156. datadir along with the key *if* it is bound. otherwise her specifying
  157. will fail (loudly we hope).
  158. - thus when a binding vanishes (e.g. conflict) alice will keep using
  159. the one she meant.
  160. - if the binding changes keys, the entry in her datadir will silently
  161. get corrected.
  162. - packaging and ui stuff:
  163. - multiple sample torrc files (tyranix?)
  164. - uninstallers
  165. . for os x
  166. - something, anything, for sys tray on Windows.
  167. - figure out how to make nt service stuff work?
  168. . Document it.
  169. - Simple logic to estimate number of active/total users
  170. - Add version number to directory.
  171. N - Vet all pending installer patches
  172. - Win32 installer plus privoxy, sockscap/freecap, etc.
  173. - Vet win32 systray helper code
  174. N . Make logs go into platform default locations.
  175. o OSX
  176. - Windows. (?)
  177. Reach (deferrable) items for 0.1.1.x:
  178. - Start using create-fast cells as clients
  179. - Let more config options (e.g. ORPort) change dynamically.
  180. - start handling server descriptors without a socksport?
  181. For 0.1.1.x, if we can figure out how:
  182. - rewrite how libevent does select() on win32 so it's not so very slow.
  183. - helper nodes (at least preliminary)
  184. - enclaves (at least preliminary)
  185. - Write limiting; separate token bucket for write
  186. - Audit everything to make sure rend and intro points are just as likely to
  187. be us as not.
  188. - Do something to prevent spurious EXTEND cells from making middleman
  189. nodes connect all over. Rate-limit failed connections, perhaps?
  190. Future version:
  191. - Limit to 2 dir, 2 OR, N SOCKS connections per IP.
  192. - Handle full buffers without totally borking
  193. - Rate-limit OR and directory connections overall and per-IP and
  194. maybe per subnet.
  195. - Hold-open-until-flushed now works by accident; it should work by
  196. design.
  197. - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
  198. - Specify?
  199. - tor-resolve script should use socks5 to get better error messages.
  200. - make min uptime a function of the available choices (say, choose 60th
  201. percentile, not 1 day.)
  202. - config option to publish what ports you listen on, beyond ORPort/DirPort
  203. - hidserv offerers shouldn't need to define a SocksPort
  204. * figure out what breaks for this, and do it.
  205. - auth mechanisms to let hidden service midpoint and responder filter
  206. connection requests.
  207. - Relax clique assumptions.
  208. - tor should be able to have a pool of outgoing IP addresses
  209. that it is able to rotate through. (maybe)
  210. Blue-sky:
  211. - Patch privoxy and socks protocol to pass strings to the browser.
  212. - Standby/hotswap/redundant hidden services.
  213. - Robust decentralized storage for hidden service descriptors.
  214. - The "China problem"
  215. - Allow small cells and large cells on the same network?
  216. - Cell buffering and resending. This will allow us to handle broken
  217. circuits as long as the endpoints don't break, plus will allow
  218. connection (tls session key) rotation.
  219. - Implement Morphmix, so we can compare its behavior, complexity, etc.
  220. - Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  221. link crypto, unless we can bully openssl into it.
  222. - Conn key rotation.
  223. - Need a relay teardown cell, separate from one-way ends.
  224. (Pending a user who needs this)
  225. - Handle half-open connections: right now we don't support all TCP
  226. streams, at least according to the protocol. But we handle all that
  227. we've seen in the wild.
  228. (Pending a user who needs this)