TODO 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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. o Controller improvements
  56. o new controller protocol
  57. o Specify
  58. o Implement
  59. o 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. o make sure err-level log events get flushed to the controller
  65. immediately, since tor will exit right after.
  66. o Implement
  67. o Test, debug
  68. o Switch example controllers to use new protocol
  69. o Python
  70. o Implement main controller interface
  71. o Glue code
  72. o Testing
  73. o Java
  74. o Implement main controller interface
  75. o Glue code
  76. o Testing
  77. N - Additional controller features
  78. - Expose more information via getinfo
  79. o Accounting status
  80. - Helper node status
  81. - Review all static fields for candidates
  82. - List of available getinfo/getconf fields.
  83. - Allow EXTENDCIRCUIT to unknown server.
  84. - We need some way to adjust server status, and to tell tor not to
  85. download directories/network-status, and a way to force a download.
  86. - It would be nice to request address lookups from the controller
  87. without using SOCKS.
  88. o Make configuration parsing code switchable to different sets of
  89. variables so we can use it for persistence.
  90. o Implement
  91. o Add simple type-checking
  92. o Rename functions to distinguish configuration-only functions from
  93. cross-format functions
  94. N . helper nodes (Choose N nodes randomly; if a node dies (goes down for a
  95. long time), replace it. Store nodes on disk.
  96. o Implement (basic case)
  97. o Implement (persistence)
  98. - Document
  99. - Test, debug
  100. - On sighup, if usehelpernodes changed to 1, use new circs.
  101. N - Make a FirewallIPs to correspond to firewallPorts so I can use Tor at
  102. MIT when my directory is out of date.
  103. - switch accountingmax to count total in+out, not either in or
  104. out. it's easy to move in this direction (not risky), but hard to
  105. back, out if we decide we prefer it the way it already is. hm.
  106. . Come up with a coherent strategy for bandwidth buckets and TLS. (The
  107. logic for reading from TLS sockets is likely to overrun the bandwidth
  108. buckets under heavy load. (Really, the logic was never right in the
  109. first place.) Also, we should audit all users of get_pending_bytes().)
  110. - Make it harder to circumvent bandwidth caps: look at number of bytes
  111. sent across sockets, not number sent inside TLS stream.
  112. . Handle rendezvousing with unverified nodes.
  113. o Specify: Stick rendezvous point's address and port in INTRODUCE cell.
  114. o Handle new format.
  115. o Support to extend circuit/target circuit to a chosen combination of
  116. addr/port/ID/onionkey
  117. o Parse new format
  118. o Generate new format (#ifdef out the logic to generate it for now)
  119. o Specify: make service descriptors contain onion key and identity.
  120. o Implement new service desc format
  121. o Think: are we okay with the partitioning? (Yes. It's a simple
  122. migration issue.)
  123. o Implement new directory code
  124. o Implement new server code (Don't enable till directory code is deployed)
  125. o Implement new client code (Don't enable till directory code is deployed)
  126. o Look for v1 descriptor if available, else look for v0 descriptor.
  127. o Use new INTRODUCE protocol if allowed.
  128. N . Verify that new code works.
  129. - Enable the new code
  130. X It looks like tor_assert writes to stderr. This isn't a problem, because
  131. start_daemon doesn't close fd 2; it uses dup2 to replace it with
  132. a file open to /dev/null.
  133. - christian grothoff's attack of infinite-length circuit.
  134. the solution is to have a separate 'extend-data' cell type
  135. which is used for the first N data cells, and only
  136. extend-data cells can be extend requests.
  137. - Specify, including thought about
  138. - Implement
  139. N - Destroy and truncated cells should have reasons.
  140. N - Add private:* alias in exit policies to make it easier to ban all the
  141. fiddly little 192.168.foo addresses.
  142. (AGL had a patch; consider applying it.)
  143. - recommended-versions for client / server ?
  144. N - warn if listening for SOCKS on public IP.
  145. o Forward-compatibility: add "needclientversion" option or "opt critical"
  146. prefix? No, just make unknown keywords less critical.
  147. - cpu fixes:
  148. - see if we should make use of truncate to retry
  149. o hardware accelerator support (configure engines.)
  150. - hardware accelerator support (use instead of aes.c when reasonable)
  151. r - kill dns workers more slowly
  152. - continue decentralizing the directory
  153. o Specify and design all of the below before implementing any.
  154. - Figure out what to do about hidden service descriptors.
  155. M have two router descriptor formats
  156. - dirservers verify reachability claims
  157. - find 10 dirservers. (what are criteria to be a dirserver?)
  158. - some back-out mechanism?
  159. - dirservers have blacklist of IPs they hate
  160. - a way of rolling back approvals to before a timestamp
  161. - have new people be in limbo and need to demonstrate usefulness
  162. before we approve them
  163. - other?
  164. - dirservers publish router-status with all these flags.
  165. - Servers publish new descriptors when options change, when 12-24 hours
  166. have passed, when uptime is reset, or when bandwidth changes a lot.
  167. - alices fetch many router-statuses and update descriptors as needed.
  168. - add if-newer-than fetch options
  169. - dirservers allow people to lookup by N descriptors, or to fetch all.
  170. - alices avoid duplicate class C nodes.
  171. - everybody with a dirport will give you his descriptor.
  172. - config option, on by default, to cache all descriptors.
  173. - Compress router desc sets before transmitting them
  174. M Analyze how bad the partitioning is or isn't.
  175. - Naming:
  176. - Specify and design all of the below before implementing any.
  177. - some dirservers announce that they manage bindings (a flag in
  178. router-status).
  179. - other dirservers mention a binding if there is no conflict for
  180. that binding among the dirservers that manage it.
  181. no conflict == any of them bind it and no disagreement.
  182. - alice can specify a nickname and it will record that name in her
  183. datadir along with the key *if* it is bound. otherwise her specifying
  184. will fail (loudly we hope).
  185. - thus when a binding vanishes (e.g. conflict) alice will keep using
  186. the one she meant.
  187. - if the binding changes keys, the entry in her datadir will silently
  188. get corrected.
  189. - packaging and ui stuff:
  190. - multiple sample torrc files (tyranix?)
  191. - uninstallers
  192. . for os x
  193. - something, anything, for sys tray on Windows.
  194. - figure out how to make nt service stuff work?
  195. . Document it.
  196. - Simple logic to estimate number of active/total users
  197. - Add version number to directory.
  198. N - Vet all pending installer patches
  199. - Win32 installer plus privoxy, sockscap/freecap, etc.
  200. - Vet win32 systray helper code
  201. N . Make logs go into platform default locations.
  202. o OSX
  203. - Windows. (?)
  204. Reach (deferrable) items for 0.1.1.x:
  205. - Start using create-fast cells as clients
  206. - Let more config options (e.g. ORPort) change dynamically.
  207. - start handling server descriptors without a socksport?
  208. For 0.1.1.x, if we can figure out how:
  209. - rewrite how libevent does select() on win32 so it's not so very slow.
  210. - enclaves (at least preliminary)
  211. - Write limiting; separate token bucket for write
  212. - Audit everything to make sure rend and intro points are just as likely to
  213. be us as not.
  214. - Do something to prevent spurious EXTEND cells from making middleman
  215. nodes connect all over. Rate-limit failed connections, perhaps?
  216. Future version:
  217. - Limit to 2 dir, 2 OR, N SOCKS connections per IP.
  218. - Handle full buffers without totally borking
  219. - Rate-limit OR and directory connections overall and per-IP and
  220. maybe per subnet.
  221. - Hold-open-until-flushed now works by accident; it should work by
  222. design.
  223. - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
  224. - Specify?
  225. - tor-resolve script should use socks5 to get better error messages.
  226. - make min uptime a function of the available choices (say, choose 60th
  227. percentile, not 1 day.)
  228. - config option to publish what ports you listen on, beyond ORPort/DirPort
  229. - hidserv offerers shouldn't need to define a SocksPort
  230. * figure out what breaks for this, and do it.
  231. - auth mechanisms to let hidden service midpoint and responder filter
  232. connection requests.
  233. - Relax clique assumptions.
  234. - tor should be able to have a pool of outgoing IP addresses
  235. that it is able to rotate through. (maybe)
  236. Blue-sky:
  237. - Patch privoxy and socks protocol to pass strings to the browser.
  238. - Standby/hotswap/redundant hidden services.
  239. - Robust decentralized storage for hidden service descriptors.
  240. - The "China problem"
  241. - Allow small cells and large cells on the same network?
  242. - Cell buffering and resending. This will allow us to handle broken
  243. circuits as long as the endpoints don't break, plus will allow
  244. connection (tls session key) rotation.
  245. - Implement Morphmix, so we can compare its behavior, complexity, etc.
  246. - Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  247. link crypto, unless we can bully openssl into it.
  248. - Conn key rotation.
  249. - Need a relay teardown cell, separate from one-way ends.
  250. (Pending a user who needs this)
  251. - Handle half-open connections: right now we don't support all TCP
  252. streams, at least according to the protocol. But we handle all that
  253. we've seen in the wild.
  254. (Pending a user who needs this)