TODO 12 KB

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