TODO 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  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 - Mention controller libs someplace.
  17. D FAQ entry: why gnutls is bad/not good for tor
  18. P - flesh out the rest of the section 6 of the faq
  19. P - gather pointers to livecd distros that include tor
  20. - put the logo on the website, in source form, so people can put it on
  21. stickers directly, etc.
  22. - more pictures from ren. he wants to describe the tor handshake, i want to
  23. talk about hidden services.
  24. * clean up the places where our docs are redundant (or worse, obsolete in
  25. one file and correct elsewhere). agl has a start on a global
  26. list-of-tor-docs.
  27. P - update windows docs to clarify which versions of windows, and why a
  28. DOS window, how it's used, for the less technical users
  29. NR- write a spec appendix for 'being nice with tor'
  30. - tor-in-the-media page
  31. - Ask schanzle@cas.homelinux.org about a patch for rpm spec fixes against
  32. tor-0.1.0.7.rc
  33. - Remove need for HACKING file.
  34. for 0.1.1.x:
  35. R - are dirservers auto-verifying duplicate nicknames?
  36. o tor should auto-sort the recommended-versions strings
  37. (with the new smartlist sort stuff maybe)
  38. o setconf SocksBindAddress kills tor if it fails to bind
  39. o controller libs should support resetconf command.
  40. N . Additional controller features
  41. - Find a way to make event info more extensible
  42. - change circuit status events to give more details, like purpose,
  43. whether they're internal, etc.
  44. . Expose more information via getinfo:
  45. - import and export rendezvous descriptors
  46. - Review all static fields for additional candidates
  47. - Allow EXTENDCIRCUIT to unknown server.
  48. - We need some way to adjust server status, and to tell tor not to
  49. download directories/network-status, and a way to force a download.
  50. - It would be nice to request address lookups from the controller
  51. without using SOCKS.
  52. . Helper nodes
  53. . More testing and debugging
  54. - On sighup, if usehelpernodes changed to 1, use new circuits?
  55. - If your helper nodes are unavailable, don't abandon them unless
  56. other nodes *are* reachable.
  57. R - If you think an OR conn is open but you can never establish a circuit
  58. to it, reconsider whether it's actually open.
  59. - Miscellaneous cleanups
  60. - switch accountingmax to count total in+out, not either in or
  61. out. it's easy to move in this direction (not risky), but hard to
  62. back, out if we decide we prefer it the way it already is. hm.
  63. . Come up with a coherent strategy for bandwidth buckets and TLS. (The
  64. logic for reading from TLS sockets is likely to overrun the bandwidth
  65. buckets under heavy load. (Really, the logic was never right in the
  66. first place.) Also, we should audit all users of get_pending_bytes().)
  67. - Make it harder to circumvent bandwidth caps: look at number of bytes
  68. sent across sockets, not number sent inside TLS stream.
  69. R o remove the warnings from rendezvous stuff that shouldn't be warnings.
  70. N . Handle rendezvousing with unverified nodes.
  71. o Implement everything
  72. . Enable the new code
  73. . Verify that new code works.
  74. - Christian Grothoff's attack of infinite-length circuit.
  75. the solution is to have a separate 'extend-data' cell type
  76. which is used for the first N data cells, and only
  77. extend-data cells can be extend requests.
  78. - Specify, including thought about
  79. - Implement
  80. N - Destroy and truncated cells should have reasons.
  81. N - Add private:* alias in exit policies to make it easier to ban all the
  82. fiddly little 192.168.foo addresses.
  83. (AGL had a patch; consider applying it.)
  84. N - warn if listening for SOCKS on public IP.
  85. - cpu fixes:
  86. - see if we should make use of truncate to retry
  87. o hardware accelerator support (configure engines.)
  88. o hardware accelerator support (use instead of aes.c when reasonable)
  89. - Benchmark this somehow to see whether using EVP_foo is slower in the
  90. non-engine case than AES_foo. If so, check for AES engine and fall
  91. back to AES_foo when it's not found.
  92. R - kill dns workers more slowly
  93. . Directory changes
  94. o recommended-versions for client / server ?
  95. . Some back-out mechanism for auto-approval
  96. o dirservers have blacklist of IPs and keys they hate
  97. - a way of rolling back approvals to before a timestamp
  98. - have new people be in limbo and need to demonstrate usefulness
  99. before we approve them
  100. - other?
  101. R . Dirservers verify reachability claims
  102. o basic reachability testing, influencing network-status list.
  103. X rate-limiting the reporting of trouble servers
  104. R - check reachability as soon as you hear about a new server
  105. - Decentralization
  106. - Figure out what to do about hidden service descriptors.
  107. - find 10 dirservers.
  108. - (what are criteria to be a dirserver?)
  109. o Dirservers publish compressed network-status objects.
  110. o Support retrieving several-at-once
  111. o Everyone downloads network-status objects
  112. o Clients: from all directories, round-robin
  113. o Basic implementation: disable until 0.1.1.x is out.
  114. o On failure, mark trusted_dir_server as having failed
  115. o Retry, up to a point.
  116. - Launch retry immediately on failure.
  117. o Parse them
  118. o Cache them, reload on restart
  119. o Serve cached directories
  120. o Directories expose individual descriptors
  121. X By 'if-newer-than' (Does the spec require this??)
  122. o Support compression.
  123. o Alice acts on network-status objects
  124. o Alice downloads descriptors as needed.
  125. o Figure out what's needed
  126. o Store it
  127. o Implement store
  128. o Implement reload-from-store
  129. o Store downloaded descriptors
  130. o Download it
  131. o As-needed if we have 2 network-status objs.
  132. o Download "all" if we have less than 2 network-status objs.
  133. (This has vulnerabilities if we're not careful)
  134. o Call directory_has_arrived as needed; rename it.
  135. o Set has_fetched_directory properly.
  136. o Retry descriptors on failure
  137. o Give up after a while.
  138. - But try again after a long while (???)
  139. o Check software versions according to some sane plan.
  140. - Warn again after 24 hours.
  141. o Alice sets descriptor status from network-status
  142. o Implement
  143. o Use
  144. N . Routerdesc download changes
  145. o Refactor combined-status to be its own type.
  146. o Change rule from "do not launch new connections when one exists" to
  147. "do not request any fingerprint that we're currently requesting."
  148. o Launch connections every minute, or whenever a download fails
  149. o Retry failed routerdescs after 0, 1, 5, 10 minutes.
  150. o Mirrors retry harder and more often. (0, 0, 1, 1, 2, 5, and 15)
  151. o Reset failure count every 60 minutes
  152. o Drop fallback to download-all. Also, always split download.
  153. - Only use a routerdesc if you recognize its hash.
  154. - (Must defer till dirservers are upgraded to latest code, which
  155. actually generates these hashes.)
  156. - Of course, authdirservers must not do this.
  157. - Should directory mirrors do something else entirely?
  158. - Use has_fetched_directory sanely, whatever that means.
  159. - What *does* that mean?
  160. o If we have a routerdesc for Bob, and he says, "I'm 0.1.0.x", don't
  161. fetch a new one if it was published in the last 2 hours.
  162. - How does this interact with the 'recognized hash' rule?
  163. . Downgrade new directory events from notice to info
  164. - Clients should estimate their skew as median of skew from directory
  165. connections over last N seconds.
  166. - Call dirport_is_reachable from somewhere else.
  167. o Networkstatus should list who's an authority.
  168. - Add nickname element to dirserver line. Log this along with IP:Port.
  169. o Warn when using non-default directory servers.
  170. - When giving up on a non-finished dir request, log how many bytes
  171. dropped, to see whether it's worthwhile to use partial info.
  172. - Security
  173. - Alices avoid duplicate class C nodes.
  174. - Analyze how bad the partitioning is or isn't.
  175. - Make authorities rate-limit logging their complaints about given
  176. servers?
  177. N . Naming and validation:
  178. o Separate naming from validation in authdirs.
  179. o Authdirs need to be able to decline to validate based on
  180. IP range and key
  181. o Authdirs need to be able to decline to include baased on
  182. IP range and key.
  183. o Not all authdirs name.
  184. o Change naming rule: N->K iff any naming authdir says N->K,
  185. and none says N->K' or N'->K.
  186. - Clients choose names based on network-status options.
  187. - Names are remembered in client state (?)
  188. - Okay to have two valid servers with same nickname, but not
  189. two named servers with same nickname. Update logic.
  190. - packaging and ui stuff:
  191. . multiple sample torrc files
  192. - uninstallers
  193. . for os x
  194. . something, anything, for sys tray on Windows.
  195. . figure out how to make nt service stuff work?
  196. . Document it.
  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. Reach (deferrable) items for 0.1.1.x:
  202. - Start using create-fast cells as clients
  203. o Let more config options (e.g. ORPort) change dynamically.
  204. - start handling server descriptors without a socksport?
  205. o Add TTLs to DNS-related replies, and use them (when present) to adjust
  206. addressmap values.
  207. . Research memory use on Linux: what's happening?
  208. - Is it threading? (Maybe, maybe not)
  209. - Is it the buf_shrink bug? (Quite possibly)
  210. - Instrument the 0.1.1 code to figure out where our memory is going;
  211. apply the results. (all platforms?)
  212. - Make router_is_general_exit() a bit smarter once we're sure what it's for.
  213. For 0.1.1.x, if we can figure out how:
  214. - rewrite how libevent does select() on win32 so it's not so very slow.
  215. o enclaves (at least preliminary)
  216. - Write limiting; separate token bucket for write
  217. - Audit everything to make sure rend and intro points are just as likely to
  218. be us as not.
  219. - Do something to prevent spurious EXTEND cells from making middleman
  220. nodes connect all over. Rate-limit failed connections, perhaps?
  221. Future version:
  222. - Limit to 2 dir, 2 OR, N SOCKS connections per IP.
  223. - Handle full buffers without totally borking
  224. - Rate-limit OR and directory connections overall and per-IP and
  225. maybe per subnet.
  226. - Hold-open-until-flushed now works by accident; it should work by
  227. design.
  228. - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
  229. - Specify?
  230. - tor-resolve script should use socks5 to get better error messages.
  231. - make min uptime a function of the available choices (say, choose 60th
  232. percentile, not 1 day.)
  233. - config option to publish what ports you listen on, beyond ORPort/DirPort
  234. - hidserv offerers shouldn't need to define a SocksPort
  235. * figure out what breaks for this, and do it.
  236. - auth mechanisms to let hidden service midpoint and responder filter
  237. connection requests.
  238. - Relax clique assumptions.
  239. - tor should be able to have a pool of outgoing IP addresses
  240. that it is able to rotate through. (maybe)
  241. Blue-sky:
  242. - Patch privoxy and socks protocol to pass strings to the browser.
  243. - Standby/hotswap/redundant hidden services.
  244. - Robust decentralized storage for hidden service descriptors.
  245. - The "China problem"
  246. - Allow small cells and large cells on the same network?
  247. - Cell buffering and resending. This will allow us to handle broken
  248. circuits as long as the endpoints don't break, plus will allow
  249. connection (tls session key) rotation.
  250. - Implement Morphmix, so we can compare its behavior, complexity, etc.
  251. - Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  252. link crypto, unless we can bully openssl into it.
  253. - Conn key rotation.
  254. - Need a relay teardown cell, separate from one-way ends.
  255. (Pending a user who needs this)
  256. - Handle half-open connections: right now we don't support all TCP
  257. streams, at least according to the protocol. But we handle all that
  258. we've seen in the wild.
  259. (Pending a user who needs this)