TODO 12 KB

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