TODO 13 KB

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