TODO 12 KB

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