TODO 12 KB

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