TODO 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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. Items for 0.1.2.x:
  19. - Servers are easy to setup and run: being a relay is about as easy as
  20. being a client.
  21. - Reduce resource load
  22. - look into "uncounting" bytes spent on local connections. so
  23. we can bandwidthrate but still have fast downloads.
  24. - Write limiting; separate token bucket for write
  25. o dir answers include a your-ip-address-is header, so we can
  26. break our dependency on dyndns.
  27. - Count TLS bandwidth more accurately
  28. - Write-limit directory responses.
  29. N . Improve memory usage on tight-memory machines.
  30. - Directory-related fixes.
  31. o Remember offset and location of each descriptor in the cache/journal
  32. o When sending a big pile of descs to a client, don't shove them all
  33. on the buffer at once. Keep a list of the descriptor digests for
  34. the descriptors we still want to send. We might end up truncating
  35. some replies by returning fewer descriptors than were requested (if
  36. somebody requests a desc that we throw away before we deliver it),
  37. but this happens only when somebody wants an obsolete desc, and
  38. clients can already handle truncated replies.
  39. o But what do we do about compression? That's the part that makes
  40. stuff hard.
  41. o Implement compress/decompress-on-the-fly support.
  42. o Use it for returning lists of descriptors.
  43. o Use it for returning lists of network status docs. (This will
  44. take a hybrid approach; let's get the other bits working first.)
  45. o Make clients handle missing Content-Length tags. (Oh, they do.)
  46. o Verify that this has happened for a long time.
  47. o Try a similar trick for spooling out v1 directories. These we
  48. _uncompress_ on the fly.
  49. - Look into pulling serverdescs off buffers as they arrive.
  50. . Mmap cache files where possible.
  51. o Mmap cached-routers file; when building it, go oldest-to-newest.
  52. - More unit tests and asserts for cached-routers file: ensure digest
  53. for the right router. Verify dl by digest, fp, etc.
  54. - Make sure cached-routers values and offsets are correct in the
  55. presence of windows FS insanity.
  56. - Save and mmap v1 directories; store them zipped, not uncompressed.
  57. - Store networkstatus docs zipped, not uncompressed. Maaaybe mmap
  58. them too.
  59. - "bandwidth classes", for incoming vs initiated-here conns.
  60. o Asynchronous DNS
  61. - Security improvements
  62. - Directory guards
  63. R - remember the last time we saw one of our entry guards labelled with
  64. the GUARD flag. If it's been too long, it is not suitable for use.
  65. If it's been really too long, remove it from the list.
  66. - Make reverse DNS work.
  67. - Performance improvements
  68. - Better estimates in the directory of whether servers have good uptime
  69. (high expected time to failure) or good guard qualities (high
  70. fractional uptime).
  71. - AKA Track uptime as %-of-time-up, as well as time-since-last-down.
  72. - Clients should prefer to avoid exit nodes for non-exit path positions.
  73. (bug 200)
  74. - Have a "Faster" status flag that means it. Fast2, Fast4, Fast8?
  75. - Critical but minor bugs, backport candiates.
  76. R - Failed rend desc fetches sometimes don't get retried.
  77. - If we fail to connect via an exit enclave, (warn and) try again
  78. without demanding that exit node.
  79. R - non-v1 authorities should not accept rend descs.
  80. - We need a separate list of "hidserv authorities" if we want to
  81. retire moria1 from the main list.
  82. - support dir 503s better
  83. o clients don't log as loudly when they receive them
  84. - they don't count toward the 3-strikes rule
  85. - should there be some threshold of 503's after which we give up?
  86. - think about how to split "router is down" from "dirport shouldn't
  87. be tried for a while"?
  88. - authorities should *never* 503 a cache, but *should* 503 clients
  89. when they feel like it.
  90. - update dir-spec with what we decided for each of these
  91. - provide no-cache no-index headers from the dirport?
  92. - Windows server usability
  93. - Solve the ENOBUFS problem.
  94. - make tor's use of openssl operate on buffers rather than sockets,
  95. so we can make use of libevent's buffer paradigm once it has one.
  96. - make tor's use of libevent tolerate either the socket or the
  97. buffer paradigm; includes unifying the functions in connect.c.
  98. - We need a getrlimit equivalent on Windows so we can reserve some
  99. file descriptors for saving files, etc. Otherwise we'll trigger
  100. asserts when we're out of file descriptors and crash.
  101. M - rewrite how libevent does select() on win32 so it's not so very slow.
  102. - Add overlapped IO
  103. - When we connect to a Tor server, it sends back a cell listing
  104. the IP it believes it is using. Use this to block dvorak's attack.
  105. Also, this is a fine time to say what time you think it is.
  106. o Verify that a new cell type is okay with deployed codebase
  107. - Specify
  108. - Implement
  109. - Directory system improvements
  110. - config option to publish what ports you listen on, beyond
  111. ORPort/DirPort. It should support ranges and bit prefixes (?) too.
  112. - Parse this.
  113. - Relay this in networkstatus.
  114. N - Exitlist should avoid outputting the same IP address twice.
  115. N - Write path-spec.txt
  116. - Packaging
  117. - Tell people about OSX Uninstaller
  118. - Quietly document NT Service options
  119. - Docs
  120. - More prominently, we should have a recommended apps list.
  121. - recommend gaim.
  122. - unrecommend IE because of ftp:// bug.
  123. - torrc.complete.in needs attention?
  124. Topics to think about during 0.1.2.x development:
  125. * Figure out incentives.
  126. - (How can we make this tolerant of a bad v0?)
  127. * Figure out non-clique.
  128. * Figure out China.
  129. - Figure out avoiding duplicate /24 lines
  130. - Figure out partial network knowledge.
  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. - Streamline how we define a guard node as 'up'.
  135. - Better installers and build processes.
  136. - Commit edmanm's win32 makefile to tor cvs contrib, or write a new one.
  137. - Christian Grothoff's attack of infinite-length circuit.
  138. the solution is to have a separate 'extend-data' cell type
  139. which is used for the first N data cells, and only
  140. extend-data cells can be extend requests.
  141. - Specify, including thought about anonymity implications.
  142. - Display the reasons in 'destroy' and 'truncated' cells under some
  143. circumstances?
  144. - We need a way for the authorities to declare that nodes are
  145. in a family. Also, it kinda sucks that family declarations use O(N^2)
  146. space in the descriptors.
  147. - If the server is spewing complaints about raising your ulimit -n,
  148. we should add a note about this to the server descriptor so other
  149. people can notice too.
  150. - cpu fixes:
  151. - see if we should make use of truncate to retry
  152. - kill dns workers more slowly
  153. . Directory changes
  154. . Some back-out mechanism for auto-approval
  155. - a way of rolling back approvals to before a timestamp
  156. - Consider minion-like fingerprint file/log combination.
  157. - packaging and ui stuff:
  158. . multiple sample torrc files
  159. . figure out how to make nt service stuff work?
  160. . Document it.
  161. - Vet all pending installer patches
  162. - Win32 installer plus privoxy, sockscap/freecap, etc.
  163. - Vet win32 systray helper code
  164. . Update the hidden service stuff for the new dir approach.
  165. - switch to an ascii format, maybe sexpr?
  166. - authdirservers publish blobs of them.
  167. - other authdirservers fetch these blobs.
  168. - hidserv people have the option of not uploading their blobs.
  169. - you can insert a blob via the controller.
  170. - and there's some amount of backwards compatibility.
  171. - teach clients, intro points, and hidservs about auth mechanisms.
  172. - come up with a few more auth mechanisms.
  173. - auth mechanisms to let hidden service midpoint and responder filter
  174. connection requests.
  175. - Improve controller
  176. - change circuit status events to give more details, like purpose,
  177. whether they're internal, when they become dirty, when they become
  178. too dirty for further circuits, etc.
  179. - What do we want here, exactly?
  180. - Specify and implement it.
  181. - Change stream status events analogously.
  182. - What do we want here, exactly?
  183. - Specify and implement it.
  184. - Make other events "better".
  185. - Change stream status events analogously.
  186. - What do we want here, exactly?
  187. - Specify and implement it.
  188. - Make other events "better" analogously
  189. - What do we want here, exactly?
  190. - Specify and implement it.
  191. . Expose more information via getinfo:
  192. - import and export rendezvous descriptors
  193. - Review all static fields for additional candidates
  194. - Allow EXTENDCIRCUIT to unknown server.
  195. - We need some way to adjust server status, and to tell tor not to
  196. download directories/network-status, and a way to force a download.
  197. - It would be nice to request address lookups from the controller
  198. without using SOCKS.
  199. - Make everything work with hidden services
  200. Future version:
  201. - Bind to random port when making outgoing connections to Tor servers,
  202. to reduce remote sniping attacks.
  203. - Have new people be in limbo and need to demonstrate usefulness
  204. before we approve them.
  205. - Clients should estimate their skew as median of skew from servers
  206. over last N seconds.
  207. - Make router_is_general_exit() a bit smarter once we're sure what it's for.
  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. - Automatically determine what ports are reachable and start using
  213. those, if circuits aren't working and it's a pattern we recognize
  214. ("port 443 worked once and port 9001 keeps not working").
  215. - Limit to 2 dir, 2 OR, N SOCKS connections per IP.
  216. - Handle full buffers without totally borking
  217. - Rate-limit OR and directory connections overall and per-IP and
  218. maybe per subnet.
  219. - Hold-open-until-flushed now works by accident; it should work by
  220. design.
  221. - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
  222. - Specify?
  223. - tor-resolve script should use socks5 to get better error messages.
  224. - hidserv offerers shouldn't need to define a SocksPort
  225. * figure out what breaks for this, and do it.
  226. - tor should be able to have a pool of outgoing IP addresses
  227. that it is able to rotate through. (maybe)
  228. - let each hidden service (or other thing) specify its own
  229. OutboundBindAddress?
  230. - Better hidden service performance, with possible redesign.
  231. Blue-sky:
  232. - Patch privoxy and socks protocol to pass strings to the browser.
  233. - Standby/hotswap/redundant hidden services.
  234. - Robust decentralized storage for hidden service descriptors.
  235. - The "China problem"
  236. - Allow small cells and large cells on the same network?
  237. - Cell buffering and resending. This will allow us to handle broken
  238. circuits as long as the endpoints don't break, plus will allow
  239. connection (tls session key) rotation.
  240. - Implement Morphmix, so we can compare its behavior, complexity, etc.
  241. - Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  242. link crypto, unless we can bully openssl into it.
  243. - Need a relay teardown cell, separate from one-way ends.
  244. (Pending a user who needs this)
  245. - Handle half-open connections: right now we don't support all TCP
  246. streams, at least according to the protocol. But we handle all that
  247. we've seen in the wild.
  248. (Pending a user who needs this)
  249. Non-Coding:
  250. - Mark up spec; note unclear points about servers
  251. - Mention controller libs someplace.
  252. P - flesh out the rest of the section 6 of the faq
  253. . more pictures from ren. he wants to describe the tor handshake
  254. NR- write a spec appendix for 'being nice with tor'
  255. - tor-in-the-media page
  256. - Remove need for HACKING file.
  257. - Figure out licenses for website material.
  258. Website:
  259. - and remove home and make the "Tor" picture be the link to home.
  260. - put the logo on the website, in source form, so people can put it on
  261. stickers directly, etc.
  262. R - make a page with the hidden service diagrams.
  263. - ask Jan to be the translation coordinator? add to volunteer page.
  264. o track down the patch for cross-compiling.