TODO 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  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 - Clean up dir spec.
  17. N - Mention controller libs someplace.
  18. D FAQ entry: why gnutls is bad/not good for tor
  19. P - flesh out the rest of the section 6 of the faq
  20. P - gather pointers to livecd distros that include tor
  21. - put the logo on the website, in source form, so people can put it on
  22. stickers directly, etc.
  23. R . more pictures from ren. he wants to describe the tor handshake, i want to
  24. talk about hidden services.
  25. * clean up the places where our docs are redundant (or worse, obsolete in
  26. one file and correct elsewhere). agl has a start on a global
  27. list-of-tor-docs.
  28. P - update windows docs to clarify which versions of windows, and why a
  29. DOS window, how it's used, for the less technical users
  30. NR- write a spec appendix for 'being nice with tor'
  31. - tor-in-the-media page
  32. - Ask schanzle@cas.homelinux.org about a patch for rpm spec fixes against
  33. tor-0.1.0.7.rc
  34. - Remove need for HACKING file.
  35. for 0.1.1.10-alpha:
  36. N - if they're trying to be a tor server and they're running
  37. win 98 or win me, don't let them be a server.
  38. o ReachableAddresses doesn't do what we want wrt dir fetches.
  39. for 0.1.1.x:
  40. N . Additional controller features
  41. o Find a way to make event info more extensible
  42. - change circuit status events to give more details, like purpose,
  43. whether they're internal, when they become dirty, when they become
  44. too dirty for further circuits, etc.
  45. R - What do we want here, exactly?
  46. N - Specify and implement it.
  47. - Change stream status events analogously.
  48. R - What do we want here, exactly?
  49. N - Specify and implement it.
  50. - Make other events "better".
  51. - Change stream status events analogously.
  52. R - What do we want here, exactly?
  53. N - Specify and implement it.
  54. - Make other events "better" analogously
  55. R - What do we want here, exactly?
  56. N - Specify and implement it.
  57. . Expose more information via getinfo:
  58. - import and export rendezvous descriptors
  59. - Review all static fields for additional candidates
  60. - Allow EXTENDCIRCUIT to unknown server.
  61. - We need some way to adjust server status, and to tell tor not to
  62. download directories/network-status, and a way to force a download.
  63. - It would be nice to request address lookups from the controller
  64. without using SOCKS.
  65. - Make everything work with hidden services
  66. . Helper nodes
  67. . More testing and debugging
  68. o On sighup, if usehelpernodes changed to 1, use new circuits?
  69. - If your helper nodes are unavailable, don't abandon them unless
  70. other nodes *are* reachable.
  71. o If you think an OR conn is open but you can never establish a circuit
  72. to it, reconsider whether it's actually open.
  73. X switch accountingmax to count total in+out, not either in or
  74. out. it's easy to move in this direction (not risky), but hard to
  75. back out if we decide we prefer it the way it already is. hm.
  76. - Christian Grothoff's attack of infinite-length circuit.
  77. the solution is to have a separate 'extend-data' cell type
  78. which is used for the first N data cells, and only
  79. extend-data cells can be extend requests.
  80. - Specify, including thought about
  81. - Implement
  82. - When we connect to a Tor server, it sends back a signed cell listing
  83. the IP it believes it is using. Use this to block dvorak's attack.
  84. Also, this is a fine time to say what time you think it is.
  85. - Verify that a new cell type is okay with deployed codebase
  86. - Specify
  87. - Implement
  88. N - Destroy and truncated cells should have reasons.
  89. N*- Add private:* alias in exit policies to make it easier to ban all the
  90. fiddly little 192.168.foo addresses.
  91. (AGL had a patch; consider applying it.)
  92. N - warn if listening for SOCKS on public IP.
  93. - cpu fixes:
  94. - see if we should make use of truncate to retry
  95. o hardware accelerator support (configure engines.)
  96. o hardware accelerator support (use instead of aes.c when reasonable)
  97. - Benchmark this somehow to see whether using EVP_foo is slower in the
  98. non-engine case than AES_foo. If so, check for AES engine and fall
  99. back to AES_foo when it's not found.
  100. R - kill dns workers more slowly
  101. . Directory changes
  102. o recommended-versions for client / server ?
  103. . Some back-out mechanism for auto-approval
  104. o dirservers have blacklist of IPs and keys they hate
  105. - a way of rolling back approvals to before a timestamp
  106. - Consider minion-like fingerprint file/log combination.
  107. - Add a panic-button config option to buy us time if we get sybiled.
  108. R . Dirservers verify reachability claims
  109. o basic reachability testing, influencing network-status list.
  110. X rate-limiting the reporting of trouble servers
  111. R - check reachability as soon as you hear about a new server
  112. - Decentralization
  113. - find 10 dirservers.
  114. - What are criteria to be a dirserver? Write a policy.
  115. o Dirservers publish compressed network-status objects.
  116. o Support retrieving several-at-once
  117. o Everyone downloads network-status objects
  118. o Clients: from all directories, round-robin
  119. o Basic implementation: disable until 0.1.1.x is out.
  120. o On failure, mark trusted_dir_server as having failed
  121. o Retry, up to a point.
  122. N - Launch retry immediately on failure.
  123. o Parse them
  124. o Cache them, reload on restart
  125. o Serve cached directories
  126. o Directories expose individual descriptors
  127. X By 'if-newer-than' (Does the spec require this??)
  128. o Support compression.
  129. o Alice acts on network-status objects
  130. o Alice downloads descriptors as needed.
  131. o Figure out what's needed
  132. o Store it
  133. o Implement store
  134. o Implement reload-from-store
  135. o Store downloaded descriptors
  136. o Download it
  137. o As-needed if we have 2 network-status objs.
  138. o Download "all" if we have less than 2 network-status objs.
  139. (This has vulnerabilities if we're not careful)
  140. o Call directory_has_arrived as needed; rename it.
  141. o Set has_fetched_directory properly.
  142. o Retry descriptors on failure
  143. o Give up after a while.
  144. - But try again after a long while (???)
  145. o Check software versions according to some sane plan.
  146. - Warn again after 24 hours.
  147. o Alice sets descriptor status from network-status
  148. o Implement
  149. o Use
  150. N . Routerdesc download changes
  151. o Refactor combined-status to be its own type.
  152. o Change rule from "do not launch new connections when one exists" to
  153. "do not request any fingerprint that we're currently requesting."
  154. o Launch connections every minute, or whenever a download fails
  155. o Retry failed routerdescs after 0, 1, 5, 10 minutes.
  156. o Mirrors retry harder and more often. (0, 0, 1, 1, 2, 5, and 15)
  157. o Reset failure count every 60 minutes
  158. o Drop fallback to download-all. Also, always split download.
  159. - Only use a routerdesc if you recognize its hash.
  160. - (Must defer till dirservers are upgraded to latest code, which
  161. actually generates these hashes.)
  162. - Of course, authdirservers must not do this.
  163. - Should directory mirrors do something else entirely?
  164. - Use has_fetched_directory sanely, whatever that means.
  165. - What *does* that mean?
  166. o If we have a routerdesc for Bob, and he says, "I'm 0.1.0.x", don't
  167. fetch a new one if it was published in the last 2 hours.
  168. - How does this interact with the 'recognized hash' rule?
  169. o Downgrade new directory events from notice to info
  170. o Call dirport_is_reachable from somewhere else.
  171. o Networkstatus should list who's an authority.
  172. o Add nickname element to dirserver line. Log this along with IP:Port.
  173. o Warn when using non-default directory servers.
  174. o When giving up on a non-finished dir request, log how many bytes
  175. dropped, to see whether it's worthwhile to use partial info.
  176. - Flags
  177. N - Clients use Stable and Fast instead of uptime and bandwidth to
  178. pick which servers are stable/fast.
  179. - config option to publish what ports you listen on, beyond
  180. ORPort/DirPort. It should support ranges and bit prefixes (?) too.
  181. - Parse this.
  182. - Relay this in networkstatus.
  183. - Make authorities rate-limit logging their complaints about given
  184. servers?
  185. - Is this still necessary?
  186. - All versions of Tor should get cosmetic changes rate-limited.
  187. - Pick directories from networkstatus objects, not from routerlist.
  188. - packaging and ui stuff:
  189. . multiple sample torrc files
  190. - uninstallers
  191. . for os x
  192. . figure out how to make nt service stuff work?
  193. . Document it.
  194. . Add version number to directory.
  195. N - Vet all pending installer patches
  196. - Win32 installer plus privoxy, sockscap/freecap, etc.
  197. - Vet win32 systray helper code
  198. - document:
  199. - torcp needs more attention in the tor-doc-win32.
  200. - recommend gaim.
  201. - unrecommend IE because of ftp:// bug.
  202. - torrc.complete.in needs attention?
  203. - Start using create-fast cells as clients
  204. - Make this easy to disable via configuration options.
  205. - At the very least, implement this, and maybe leave it off.
  206. - Can/should we really dump "ports" from routerparse?
  207. Deferred from 0.1.1.x:
  208. o Let more config options (e.g. ORPort) change dynamically.
  209. o Add TTLs to DNS-related replies, and use them (when present) to adjust
  210. addressmap values.
  211. - Bind to random port when making outgoing connections to Tor servers,
  212. to reduce remote sniping attacks.
  213. - Have new people be in limbo and need to demonstrate usefulness
  214. before we approve them.
  215. - Clients should estimate their skew as median of skew from servers
  216. over last N seconds.
  217. - Security
  218. - Alices avoid duplicate class C nodes.
  219. - Analyze how bad the partitioning is or isn't.
  220. . Update the hidden service stuff for the new dir approach.
  221. - switch to an ascii format, maybe sexpr?
  222. - authdirservers publish blobs of them.
  223. - other authdirservers fetch these blobs.
  224. - hidserv people have the option of not uploading their blobs.
  225. - you can insert a blob via the controller.
  226. - and there's some amount of backwards compatibility.
  227. - teach clients, intro points, and hidservs about auth mechanisms.
  228. - come up with a few more auth mechanisms.
  229. . Come up with a coherent strategy for bandwidth buckets and TLS. (The
  230. logic for reading from TLS sockets is likely to overrun the bandwidth
  231. buckets under heavy load. (Really, the logic was never right in the
  232. first place.) Also, we should audit all users of get_pending_bytes().)
  233. - Make it harder to circumvent bandwidth caps: look at number of bytes
  234. sent across sockets, not number sent inside TLS stream.
  235. o Research memory use on Linux: what's happening?
  236. X Is it threading? (Maybe, maybe not)
  237. X Is it the buf_shrink bug? (Quite possibly)
  238. o Instrument the 0.1.1 code to figure out where our memory is going;
  239. apply the results. (all platforms?)
  240. - Make router_is_general_exit() a bit smarter once we're sure what it's for.
  241. - Directory "helper".
  242. - rewrite how libevent does select() on win32 so it's not so very slow.
  243. o enclaves (at least preliminary)
  244. - Write limiting; separate token bucket for write
  245. - Audit everything to make sure rend and intro points are just as likely to
  246. be us as not.
  247. - Do something to prevent spurious EXTEND cells from making middleman
  248. nodes connect all over. Rate-limit failed connections, perhaps?
  249. Future version:
  250. - Limit to 2 dir, 2 OR, N SOCKS connections per IP.
  251. - Handle full buffers without totally borking
  252. - Rate-limit OR and directory connections overall and per-IP and
  253. maybe per subnet.
  254. - Hold-open-until-flushed now works by accident; it should work by
  255. design.
  256. - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
  257. - Specify?
  258. - tor-resolve script should use socks5 to get better error messages.
  259. - make min uptime a function of the available choices (say, choose 60th
  260. percentile, not 1 day.)
  261. - Track uptime as %-of-time-up, as well as time-since-last-down.
  262. - hidserv offerers shouldn't need to define a SocksPort
  263. * figure out what breaks for this, and do it.
  264. - auth mechanisms to let hidden service midpoint and responder filter
  265. connection requests.
  266. - Relax clique assumptions.
  267. - start handling server descriptors without a socksport?
  268. - tor should be able to have a pool of outgoing IP addresses
  269. that it is able to rotate through. (maybe)
  270. Blue-sky:
  271. - Patch privoxy and socks protocol to pass strings to the browser.
  272. - Standby/hotswap/redundant hidden services.
  273. - Robust decentralized storage for hidden service descriptors.
  274. - The "China problem"
  275. - Allow small cells and large cells on the same network?
  276. - Cell buffering and resending. This will allow us to handle broken
  277. circuits as long as the endpoints don't break, plus will allow
  278. connection (tls session key) rotation.
  279. - Implement Morphmix, so we can compare its behavior, complexity, etc.
  280. - Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  281. link crypto, unless we can bully openssl into it.
  282. . Conn key rotation (we switch to a new one after a week, but
  283. old circuits don't get any benefit from this).
  284. - Need a relay teardown cell, separate from one-way ends.
  285. (Pending a user who needs this)
  286. - Handle half-open connections: right now we don't support all TCP
  287. streams, at least according to the protocol. But we handle all that
  288. we've seen in the wild.
  289. (Pending a user who needs this)