TODO 14 KB

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