TODO 15 KB

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