TODO 13 KB

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