TODO 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. $Id$
  2. Legend:
  3. SPEC!! - Not specified
  4. SPEC - Spec not finalized
  5. N - nick claims
  6. R - arma claims
  7. P - phobos claims
  8. - Not done
  9. * Top priority
  10. . Partially done
  11. o Done
  12. D Deferred
  13. X Abandoned
  14. Non-Coding:
  15. - Mark up spec; note unclear points about servers
  16. - Mention controller libs someplace.
  17. P - flesh out the rest of the section 6 of the faq
  18. . more pictures from ren. he wants to describe the tor handshake
  19. R - make a page with the hidden service diagrams.
  20. NR- write a spec appendix for 'being nice with tor'
  21. - tor-in-the-media page
  22. - Remove need for HACKING file.
  23. - Figure out licenses for website material.
  24. Website:
  25. - and remove home and make the "Tor" picture be the link to home.
  26. - put the logo on the website, in source form, so people can put it on
  27. stickers directly, etc.
  28. for 0.1.1.x-final:
  29. - building on freebsd 6.0: (with multiple openssl installations)
  30. . <nickm> "Let's try to find a way to make it run and make the version
  31. match, but if not, let's just make it run."
  32. - <arma> should we detect if we have a --with-ssl-dir and try the -R
  33. by default, if it works?
  34. - support dir 503s better
  35. o clients don't log as loudly when they receive them
  36. - they don't count toward the 3-strikes rule
  37. - should there be some threshold of 503's after which we give up?
  38. - think about how to split "router is down" from "dirport shouldn't
  39. be tried for a while"?
  40. - authorities should *never* 503 a cache, but *should* 503 clients
  41. when they feel like it.
  42. - update dir-spec with what we decided for each of these
  43. - are there other options that we haven't documented so far?
  44. . look at the proposed os x uninstaller:
  45. http://archives.seul.org/or/talk/Jan-2006/msg00038.html
  46. - Interim things:
  47. - provide no-cache no-index headers from the dirport?
  48. o remove down/useless descriptors from v1 directory?
  49. - exitlist should avoid outputting the same IP address twice.
  50. - if we have no predicted ports, don't fetch router descriptors.
  51. this way we are more dormant.
  52. Must-have items for 0.1.2.x:
  53. - Directory guards
  54. R - Server usability
  55. N - Better hidden service performance, with possible redesign.
  56. - Asynchronous DNS
  57. - What to use? C-ares? Libdns? AGL's patch?
  58. - Better estimates in the directory of whether servers have good uptime
  59. (high expected time to failure) or good guard qualities (high
  60. fractional uptime).
  61. N . memory usage on dir servers. copy less!
  62. o Remember offset and location of each descriptor in the cache/journal
  63. - When sending a big pile of descs to a client, don't shove them all on
  64. the buffer at once.
  65. X This may require routerinfo_t or signed_descriptor_t to get slightly
  66. refcounted. (Only slightly; we'd only need to know whether it's on
  67. the routerlist->routers or routerlist->old_routers, and how many
  68. directory conns are returning it.)
  69. - Possibly, we could just to keep a list of the descriptor digests for
  70. the descriptors we still want to send. We might end up truncating
  71. some replies by returning fewer descriptors than were requested (if
  72. somebody requests a desc that we throw away before we deliver it),
  73. but this happens only when somebody wants an obsolete desc, and
  74. clients can already handle truncated replies.
  75. - But what do we do about compression? That's the part that makes
  76. stuff hard.
  77. - Make sure offset is correct in the presence of windows FS insanity.
  78. - Consider whether it's smart to mmap cache files where possible.
  79. - Consider whether it's smart to lazy-load routerdescs on non-directories.
  80. N - oprofile including kernel time on multiple platforms
  81. Items for 0.1.2:
  82. - Improve controller
  83. - change circuit status events to give more details, like purpose,
  84. whether they're internal, when they become dirty, when they become
  85. too dirty for further circuits, etc.
  86. - What do we want here, exactly?
  87. - Specify and implement it.
  88. - Change stream status events analogously.
  89. - What do we want here, exactly?
  90. - Specify and implement it.
  91. - Make other events "better".
  92. - Change stream status events analogously.
  93. - What do we want here, exactly?
  94. - Specify and implement it.
  95. - Make other events "better" analogously
  96. - What do we want here, exactly?
  97. - Specify and implement it.
  98. . Expose more information via getinfo:
  99. - import and export rendezvous descriptors
  100. - Review all static fields for additional candidates
  101. - Allow EXTENDCIRCUIT to unknown server.
  102. - We need some way to adjust server status, and to tell tor not to
  103. download directories/network-status, and a way to force a download.
  104. - It would be nice to request address lookups from the controller
  105. without using SOCKS.
  106. - Make everything work with hidden services
  107. - Clients should refer to avoid exit nodes for non-exit path positions.
  108. (bug 200)
  109. - Make "setconf" and "hup" behavior cleaner for LINELIST config
  110. options (e.g. Log). Bug 238.
  111. - We need a way for the authorities to declare that nodes are
  112. in a family. Also, it kinda sucks that family declarations use O(N^2)
  113. space in the descriptors.
  114. - Design
  115. - Implement
  116. - Have a "ReallyFast" status flag that means it.
  117. R - look into "uncounting" bytes spent on local connections. so
  118. we can bandwidthrate but still have fast downloads.
  119. - When we connect to a Tor server, it sends back a cell listing
  120. the IP it believes it is using. Use this to block dvorak's attack.
  121. Also, this is a fine time to say what time you think it is.
  122. o Verify that a new cell type is okay with deployed codebase
  123. - Specify
  124. - Implement
  125. R - Failed rend desc fetches sometimes don't get retried.
  126. - Directory system improvements
  127. - config option to publish what ports you listen on, beyond
  128. ORPort/DirPort. It should support ranges and bit prefixes (?) too.
  129. - Parse this.
  130. - Relay this in networkstatus.
  131. - Non-directories don't need to keep descriptors in memory.
  132. - Remember file and offset.
  133. - Keep a journal FD for appending router descriptors
  134. - Make reverse DNS work.
  135. Topics to think about during 0.1.2.x development:
  136. - Figure out non-clique.
  137. - Figure out partial network knowledge.
  138. - Figure out incentives.
  139. - Figure out hidden services.
  140. Minor items for 0.1.2.x as time permits.
  141. - Streamline how we define a guard node as 'up'. document it
  142. somewhere.
  143. - Better installers and build processes.
  144. - Commit edmanm's win32 makefil eto tor cvs contrib, or write a new one.
  145. - Can we cross-compile?
  146. R - Christian Grothoff's attack of infinite-length circuit.
  147. the solution is to have a separate 'extend-data' cell type
  148. which is used for the first N data cells, and only
  149. extend-data cells can be extend requests.
  150. - Specify, including thought about anonymity implications.
  151. - Implement
  152. N - Display the reasons in 'destroy' and 'truncated' cells under some
  153. circumstances?
  154. - If the server is spewing complaints about raising your ulimit -n,
  155. we should add a note about this to the server descriptor so other
  156. people can notice too.
  157. - We need a getrlimit equivalent on Windows so we can reserve some
  158. file descriptors for saving files, etc. Otherwise we'll trigger
  159. asserts when we're out of file descriptors and crash.
  160. - the tor client can do the "automatic proxy config url" thing?
  161. - Automatically determine what ports are reachable and start using
  162. those, if circuits aren't working and it's a pattern we recognize
  163. ("port 443 worked once and port 9001 keeps not working").
  164. N - Should router info have a pointer to routerstatus?
  165. - We should at least do something about the duplicated fields.
  166. X switch accountingmax to count total in+out, not either in or
  167. out. it's easy to move in this direction (not risky), but hard to
  168. back out if we decide we prefer it the way it already is. hm.
  169. - cpu fixes:
  170. - see if we should make use of truncate to retry
  171. R - kill dns workers more slowly
  172. . Directory changes
  173. . Some back-out mechanism for auto-approval
  174. - a way of rolling back approvals to before a timestamp
  175. - Consider minion-like fingerprint file/log combination.
  176. - packaging and ui stuff:
  177. . multiple sample torrc files
  178. - uninstallers
  179. . for os x
  180. . figure out how to make nt service stuff work?
  181. . Document it.
  182. o Add version number to directory.
  183. N - Vet all pending installer patches
  184. - Win32 installer plus privoxy, sockscap/freecap, etc.
  185. - Vet win32 systray helper code
  186. - document:
  187. o torcp needs more attention in the tor-doc-win32.
  188. - recommend gaim.
  189. - unrecommend IE because of ftp:// bug.
  190. - torrc.complete.in needs attention?
  191. - Bind to random port when making outgoing connections to Tor servers,
  192. to reduce remote sniping attacks.
  193. - Have new people be in limbo and need to demonstrate usefulness
  194. before we approve them.
  195. - Clients should estimate their skew as median of skew from servers
  196. over last N seconds.
  197. - Security
  198. - Alices avoid duplicate class C nodes.
  199. - Analyze how bad the partitioning is or isn't.
  200. . Update the hidden service stuff for the new dir approach.
  201. - switch to an ascii format, maybe sexpr?
  202. - authdirservers publish blobs of them.
  203. - other authdirservers fetch these blobs.
  204. - hidserv people have the option of not uploading their blobs.
  205. - you can insert a blob via the controller.
  206. - and there's some amount of backwards compatibility.
  207. - teach clients, intro points, and hidservs about auth mechanisms.
  208. - come up with a few more auth mechanisms.
  209. - auth mechanisms to let hidden service midpoint and responder filter
  210. connection requests.
  211. . Come up with a coherent strategy for bandwidth buckets and TLS. (The
  212. logic for reading from TLS sockets is likely to overrun the bandwidth
  213. buckets under heavy load. (Really, the logic was never right in the
  214. first place.) Also, we should audit all users of get_pending_bytes().)
  215. - Make it harder to circumvent bandwidth caps: look at number of bytes
  216. sent across sockets, not number sent inside TLS stream.
  217. - Make router_is_general_exit() a bit smarter once we're sure what it's for.
  218. - rewrite how libevent does select() on win32 so it's not so very slow.
  219. - Write limiting; separate token bucket for write
  220. - Audit everything to make sure rend and intro points are just as likely to
  221. be us as not.
  222. - Do something to prevent spurious EXTEND cells from making middleman
  223. nodes connect all over. Rate-limit failed connections, perhaps?
  224. Future version:
  225. - Limit to 2 dir, 2 OR, N SOCKS connections per IP.
  226. - Handle full buffers without totally borking
  227. - Rate-limit OR and directory connections overall and per-IP and
  228. maybe per subnet.
  229. - Hold-open-until-flushed now works by accident; it should work by
  230. design.
  231. - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
  232. - Specify?
  233. - tor-resolve script should use socks5 to get better error messages.
  234. - Track uptime as %-of-time-up, as well as time-since-last-down.
  235. - hidserv offerers shouldn't need to define a SocksPort
  236. * figure out what breaks for this, and do it.
  237. - Relax clique assumptions.
  238. X start handling server descriptors without a socksport?
  239. - tor should be able to have a pool of outgoing IP addresses
  240. that it is able to rotate through. (maybe)
  241. - let each hidden service (or other thing) specify its own
  242. OutboundBindAddress?
  243. Blue-sky:
  244. - Patch privoxy and socks protocol to pass strings to the browser.
  245. - Standby/hotswap/redundant hidden services.
  246. - Robust decentralized storage for hidden service descriptors.
  247. - The "China problem"
  248. - Allow small cells and large cells on the same network?
  249. - Cell buffering and resending. This will allow us to handle broken
  250. circuits as long as the endpoints don't break, plus will allow
  251. connection (tls session key) rotation.
  252. - Implement Morphmix, so we can compare its behavior, complexity, etc.
  253. - Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  254. link crypto, unless we can bully openssl into it.
  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)