TODO 13 KB

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