TODO 12 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. Non-Coding, Soon:
  15. N - Mark up spec; note unclear points about servers
  16. N - Mention controller libs someplace.
  17. D FAQ entry: why gnutls is bad/not good for tor
  18. P - flesh out the rest of the section 6 of the faq
  19. P - gather pointers to livecd distros that include tor
  20. R . more pictures from ren. he wants to describe the tor handshake, i want to
  21. talk about hidden services.
  22. NR- write a spec appendix for 'being nice with tor'
  23. - tor-in-the-media page
  24. - Remove need for HACKING file.
  25. Website:
  26. - we need to merge documentation and support
  27. - and pare it down
  28. - and merge developers into documentation too
  29. - or at least, remove developers from the title bar
  30. - and remove home and make the "Tor" picture be the link to home.
  31. - put the logo on the website, in source form, so people can put it on
  32. stickers directly, etc.
  33. for 0.1.1.x:
  34. N - look at the proposed os x uninstaller:
  35. http://archives.seul.org/or/talk/Jan-2006/msg00038.html
  36. - support dir 503s better
  37. - clients don't log as loudly when they receive them
  38. - they don't count toward the 3-strikes rule
  39. - should there be some threshold of 503's after which we give up?
  40. - think about how to split "router is down" from "dirport shouldn't
  41. be tried for a while"?
  42. - authorities should *never* 503 a cache, but *should* 503 clients
  43. when they feel like it.
  44. - update dir-spec with what we decided for each of these
  45. N - commit edmanm's win32 makefile to tor cvs contrib
  46. N - use only the three dirservers for hidden service descriptors
  47. - and publish hidden service descriptors less frequently
  48. N - when we're running an unrecommended version, we should be told
  49. what versions *are* recommended. whose list do we use?
  50. N o add a GUARD flag to the network-status entries.
  51. R - Clients use it.
  52. - add TestSocks config option to man page
  53. R - MaxConn is still in man page. needs to be ConnLimit and needs change.
  54. - when logging unknown http headers, this could include bad escape codes?
  55. - more generally, attacker-controller log entries with newlines in them
  56. are dangerous for our users.
  57. - add os x uninstaller from or-talk.
  58. - make log entries include function names in win32 again.
  59. - Mysterious crash for fast servers: Bug 234.
  60. - Make "setconf" and "hup" behavior cleaner for LINELIST config
  61. options (e.g. Log). Bug 238.
  62. - "options_init_logs(): Can't log to stdout with RunAsDaemon set."
  63. - Were we going to load unrecognized 'state' variables into some
  64. list somewhere, and write them out whenever we update the state?
  65. To be forwards and backwards compatible.
  66. R - our round-robin reading is not very fair when we have few tokens
  67. left in our bucket. be more fair?
  68. R - streamline how we define a guard node as 'up'. document it
  69. somewhere.
  70. R - reduce log severity for guard nodes.
  71. R - make guard node timeout higher.
  72. R - We should do address rewriting after the controller sends us an
  73. "attachstream 0": Bug 225.
  74. R - failed rend desc fetches sometimes don't get retried.
  75. R - Add config options to not publish and not fetch rend descs.
  76. - Add controller interfaces to hear rend desc events and learn
  77. about rend descs. In base16 I guess for now.
  78. R - let controlport be configurable on other interfaces
  79. N - In circuit_get_open_circ_or_launch(),
  80. /* XXXX011 NM This should be a generic "retry all directory fetches". */
  81. N - if they're trying to be a tor server and they're running
  82. win 98 or win me, tell them that they'll likely crash.
  83. N - Display the reasons in 'destroy' and 'truncated' cells under some
  84. circumstances?
  85. R - Christian Grothoff's attack of infinite-length circuit.
  86. the solution is to have a separate 'extend-data' cell type
  87. which is used for the first N data cells, and only
  88. extend-data cells can be extend requests.
  89. - Specify, including thought about
  90. - Implement
  91. R - When we connect to a Tor server, it sends back a signed cell listing
  92. the IP it believes it is using. Use this to block dvorak's attack.
  93. Also, this is a fine time to say what time you think it is.
  94. - Verify that a new cell type is okay with deployed codebase
  95. - Specify
  96. - Implement
  97. - find 10 dirservers.
  98. - Make it no longer default for v2 dirservers to support v1.
  99. - non-versioning dirservers don't need to set recommended*versions.
  100. - non-naming dirservers don't need to have an approved-routers file.
  101. - What are criteria to be a dirserver? Write a policy.
  102. Deferred from 0.1.1.x:
  103. - We need a getrlimit equivalent on Windows so we can reserve some
  104. file descriptors for saving files, etc. Otherwise we'll trigger
  105. asserts when we're out of file descriptors and crash.
  106. - <weasel> it would be nice to support a unix socket for the control thing.
  107. - the tor client can do the "automatic proxy config url" thing?
  108. R - clients prefer to avoid exit nodes for non-exit path positions.
  109. - Automatically determine what ports are reachable and start using
  110. those, if circuits aren't working and it's a pattern we recognize
  111. ("port 443 worked once and port 9001 keeps not working").
  112. N - Should router info have a pointer to routerstatus?
  113. - We should at least do something about the duplicated fields.
  114. N . Additional controller features
  115. - change circuit status events to give more details, like purpose,
  116. whether they're internal, when they become dirty, when they become
  117. too dirty for further circuits, etc.
  118. R - What do we want here, exactly?
  119. N - Specify and implement it.
  120. - Change stream status events analogously.
  121. R - What do we want here, exactly?
  122. N - Specify and implement it.
  123. - Make other events "better".
  124. - Change stream status events analogously.
  125. R - What do we want here, exactly?
  126. N - Specify and implement it.
  127. - Make other events "better" analogously
  128. R - What do we want here, exactly?
  129. N - Specify and implement it.
  130. . Expose more information via getinfo:
  131. - import and export rendezvous descriptors
  132. - Review all static fields for additional candidates
  133. - Allow EXTENDCIRCUIT to unknown server.
  134. - We need some way to adjust server status, and to tell tor not to
  135. download directories/network-status, and a way to force a download.
  136. - It would be nice to request address lookups from the controller
  137. without using SOCKS.
  138. - Make everything work with hidden services
  139. X switch accountingmax to count total in+out, not either in or
  140. out. it's easy to move in this direction (not risky), but hard to
  141. back out if we decide we prefer it the way it already is. hm.
  142. - cpu fixes:
  143. - see if we should make use of truncate to retry
  144. R - kill dns workers more slowly
  145. . Directory changes
  146. . Some back-out mechanism for auto-approval
  147. - a way of rolling back approvals to before a timestamp
  148. - Consider minion-like fingerprint file/log combination.
  149. - config option to publish what ports you listen on, beyond
  150. ORPort/DirPort. It should support ranges and bit prefixes (?) too.
  151. - Parse this.
  152. - Relay this in networkstatus.
  153. - Non-directories don't need to keep descriptors in memory.
  154. o Make descriptor-fetching happen via an indirection function.
  155. - Remember file and offset.
  156. - Keep a journal FD for appending router descriptors.
  157. - packaging and ui stuff:
  158. . multiple sample torrc files
  159. - uninstallers
  160. . for os x
  161. . figure out how to make nt service stuff work?
  162. . Document it.
  163. . Add version number to directory.
  164. N - Vet all pending installer patches
  165. - Win32 installer plus privoxy, sockscap/freecap, etc.
  166. - Vet win32 systray helper code
  167. - document:
  168. - torcp needs more attention in the tor-doc-win32.
  169. - recommend gaim.
  170. - unrecommend IE because of ftp:// bug.
  171. - torrc.complete.in needs attention?
  172. - Bind to random port when making outgoing connections to Tor servers,
  173. to reduce remote sniping attacks.
  174. - Have new people be in limbo and need to demonstrate usefulness
  175. before we approve them.
  176. - Clients should estimate their skew as median of skew from servers
  177. over last N seconds.
  178. - Security
  179. - Alices avoid duplicate class C nodes.
  180. - Analyze how bad the partitioning is or isn't.
  181. . Update the hidden service stuff for the new dir approach.
  182. - switch to an ascii format, maybe sexpr?
  183. - authdirservers publish blobs of them.
  184. - other authdirservers fetch these blobs.
  185. - hidserv people have the option of not uploading their blobs.
  186. - you can insert a blob via the controller.
  187. - and there's some amount of backwards compatibility.
  188. - teach clients, intro points, and hidservs about auth mechanisms.
  189. - come up with a few more auth mechanisms.
  190. . Come up with a coherent strategy for bandwidth buckets and TLS. (The
  191. logic for reading from TLS sockets is likely to overrun the bandwidth
  192. buckets under heavy load. (Really, the logic was never right in the
  193. first place.) Also, we should audit all users of get_pending_bytes().)
  194. - Make it harder to circumvent bandwidth caps: look at number of bytes
  195. sent across sockets, not number sent inside TLS stream.
  196. - Make router_is_general_exit() a bit smarter once we're sure what it's for.
  197. - rewrite how libevent does select() on win32 so it's not so very slow.
  198. - Write limiting; separate token bucket for write
  199. - Audit everything to make sure rend and intro points are just as likely to
  200. be us as not.
  201. - Do something to prevent spurious EXTEND cells from making middleman
  202. nodes connect all over. Rate-limit failed connections, perhaps?
  203. Major items for 0.1.2.x:
  204. - Directory guards
  205. R - Server usability
  206. N - Better hidden service performance
  207. - Improve controller
  208. - Asynchronous DNS
  209. - Better estimates in the directory of whether servers have good uptime
  210. (high expected time to failure) or good guard qualities (high
  211. fractional uptime).
  212. - memory usage on dir servers.
  213. copy less!
  214. N - oprofile including kernel time.
  215. Topics to think about during 0.1.2.x development:
  216. - Figure out non-clique.
  217. - Figure out partial network knowledge.
  218. - Figure out incentives.
  219. Future version:
  220. - Limit to 2 dir, 2 OR, N SOCKS connections per IP.
  221. - Handle full buffers without totally borking
  222. - Rate-limit OR and directory connections overall and per-IP and
  223. maybe per subnet.
  224. - Hold-open-until-flushed now works by accident; it should work by
  225. design.
  226. - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
  227. - Specify?
  228. - tor-resolve script should use socks5 to get better error messages.
  229. - make min uptime a function of the available choices (say, choose 60th
  230. percentile, not 1 day.)
  231. - Track uptime as %-of-time-up, as well as time-since-last-down.
  232. - hidserv offerers shouldn't need to define a SocksPort
  233. * figure out what breaks for this, and do it.
  234. - auth mechanisms to let hidden service midpoint and responder filter
  235. connection requests.
  236. - Relax clique assumptions.
  237. X start handling server descriptors without a socksport?
  238. - tor should be able to have a pool of outgoing IP addresses
  239. that it is able to rotate through. (maybe)
  240. Blue-sky:
  241. - Patch privoxy and socks protocol to pass strings to the browser.
  242. - Standby/hotswap/redundant hidden services.
  243. - Robust decentralized storage for hidden service descriptors.
  244. - The "China problem"
  245. - Allow small cells and large cells on the same network?
  246. - Cell buffering and resending. This will allow us to handle broken
  247. circuits as long as the endpoints don't break, plus will allow
  248. connection (tls session key) rotation.
  249. - Implement Morphmix, so we can compare its behavior, complexity, etc.
  250. - Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  251. link crypto, unless we can bully openssl into it.
  252. - Need a relay teardown cell, separate from one-way ends.
  253. (Pending a user who needs this)
  254. - Handle half-open connections: right now we don't support all TCP
  255. streams, at least according to the protocol. But we handle all that
  256. we've seen in the wild.
  257. (Pending a user who needs this)