TODO 13 KB

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