TODO.future 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  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. S - Steven claims
  9. E - Matt claims
  10. M - Mike claims
  11. J - Jeff claims
  12. I - ioerror claims
  13. W - weasel claims
  14. K - Karsten claims
  15. - Not done
  16. * Top priority
  17. . Partially done
  18. o Done
  19. d Deferrable
  20. D Deferred
  21. X Abandoned
  22. =======================================================================
  23. Later, unless people want to implement them now:
  24. - tor as a socks proxy should accept (and ignore) password auth
  25. - Actually use SSL_shutdown to close our TLS connections.
  26. - Include "v" line in networkstatus getinfo values.
  27. [Nick: bridge authorities output a networkstatus that is missing
  28. version numbers. This is inconvenient if we want to make sure
  29. bridgedb gives out bridges with certain characteristics. -RD]
  30. [Okay. Is this a separate item, or is it the same issue as the lack of
  31. a "v" line in response to the controller GETINFO command? -NM]
  32. - Let tor dir mirrors proxy connections to the tor download site, so
  33. if you know a bridge you can fetch the tor software.
  34. - when somebody uses the controlport as an http proxy, give them
  35. a "tor isn't an http proxy" error too like we do for the socks port.
  36. - MAYBE kill stalled circuits rather than stalled connections. This is
  37. possible thanks to cell queues, but we need to consider the anonymity
  38. implications.
  39. - Make resolves no longer use edge_connection_t unless they are actually
  40. _on_ a socks connection: have edge_connection_t and (say)
  41. dns_request_t both extend an edge_stream_t, and have p_streams and
  42. n_streams both be linked lists of edge_stream_t.
  43. - Generate torrc.{complete|sample}.in, tor.1.in, the HTML manual, and the
  44. online config documentation from a single source.
  45. - It would be potentially helpful to respond to https requests on
  46. the OR port by acting like an HTTPS server.
  47. - Make the timestamp granularity on logs configurable, with default
  48. of "1 second". This might make some kinds of after-the-fact attack harder.
  49. - We should get smarter about handling address resolve failures, or
  50. addresses that resolve to local IPs. It would be neat to retry
  51. them, since right now we just close the stream. But we need to
  52. make sure we don't retry them on the same exit as before. But if
  53. we mark the circuit, then any user who types "localhost" will
  54. cycle through circuits till they run out of retries. See bug 872.
  55. Can anybody remember why we wanted to do this and/or what it means?
  56. - config option __ControllerLimit that hangs up if there are a limit
  57. of controller connections already.
  58. [This was mwenge's idea. The idea is that a Tor controller can
  59. "fill" Tor's controller slot quota, so jerks can't do cross-protocol
  60. attacks like the http form attack. -RD]
  61. - Bridge issues
  62. . Ask all directory questions to bridge via BEGIN_DIR.
  63. - use the bridges for dir fetches even when our dirport is open.
  64. - drop 'authority' queries if they're to our own identity key; accept
  65. them otherwise.
  66. - give extend_info_t a router_purpose again
  67. If somebody wants to do this in some version, they should:
  68. - Create packages for Maemo/Nokia 800/810, requested by Chris Soghoian
  69. - debian already makes ARM-arch debs, can maemo use these asks
  70. phobos?
  71. - More work on AvoidDiskWrites
  72. - Make DNSPort support TCP DNS.
  73. * * * * Roger, please sort these: * * * *
  74. - bridge communities with local bridge authorities:
  75. - clients who have a password configured decide to ask their bridge
  76. authority for a networkstatus
  77. - be able to have bridges that aren't in your torrc. save them in
  78. state file, etc.
  79. - Consider if we can solve: the Tor client doesn't know what flags
  80. its bridge has (since it only gets the descriptor), so it can't
  81. make decisions based on Fast or Stable.
  82. - Some mechanism for specifying that we want to stop using a cached
  83. bridge.
  84. =======================================================================
  85. Future versions:
  86. - Protocol
  87. - Our current approach to block attempts to use Tor as a single-hop proxy
  88. is pretty lame; we should get a better one.
  89. - Allow small cells and large cells on the same network?
  90. - Cell buffering and resending. This will allow us to handle broken
  91. circuits as long as the endpoints don't break, plus will allow
  92. connection (tls session key) rotation.
  93. - Implement Morphmix, so we can compare its behavior, complexity,
  94. etc. But see paper breaking morphmix.
  95. - Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  96. link crypto, unless we can bully DTLS into it.
  97. - Need a relay teardown cell, separate from one-way ends.
  98. (Pending a user who needs this)
  99. - Handle half-open connections: right now we don't support all TCP
  100. streams, at least according to the protocol. But we handle all that
  101. we've seen in the wild.
  102. (Pending a user who needs this)
  103. - Directory system
  104. - BEGIN_DIR items
  105. - handle connect-dir streams that don't have a chosen_exit_name set.
  106. - Have a "Faster" status flag that means it. Fast2, Fast4, Fast8?
  107. - Add an option (related to AvoidDiskWrites) to disable directory
  108. caching. (Is this actually a good idea??)
  109. X Add d64 and fp64 along-side d and fp so people can paste status
  110. entries into a url. since + is a valid base64 char, only allow one
  111. at a time. Consider adding to controller as well.
  112. [abandoned for lack of demand]
  113. - Some back-out mechanism for auto-approval on authorities
  114. - a way of rolling back approvals to before a timestamp
  115. - Consider minion-like fingerprint file/log combination.
  116. X Have new people be in limbo and need to demonstrate usefulness
  117. before we approve them.
  118. - Hidden services:
  119. d Standby/hotswap/redundant hidden services: needs a proposal.
  120. - you can insert a hidserv descriptor via the controller.
  121. - auth mechanisms to let hidden service midpoint and responder filter
  122. connection requests: proposal 121.
  123. - Let each hidden service (or other thing) specify its own
  124. OutboundBindAddress?
  125. - Server operation
  126. - If the server is spewing complaints about raising your ulimit -n,
  127. we should add a note about this to the server descriptor so other
  128. people can notice too.
  129. - When we hit a funny error from a dir request (eg 403 forbidden),
  130. but tor is working and happy otherwise, and we haven't seen many
  131. such errors recently, then don't warn about it.
  132. - Controller
  133. - Implement missing status events and accompanying getinfos
  134. - DIR_REACHABLE
  135. - BAD_DIR_RESPONSE (Unexpected directory response; maybe we're behind
  136. a firewall.)
  137. - BAD_PROXY (Bad http or https proxy)
  138. - UNRECOGNIZED_ROUTER (a nickname we asked for is unavailable)
  139. - Status events related to hibernation
  140. - something about failing to parse our address?
  141. from resolve_my_address() in config.c
  142. - sketchy OS, sketchy threading
  143. - too many onions queued: threading problems or slow CPU?
  144. - Implement missing status event fields:
  145. - TIMEOUT on CHECKING_REACHABILITY
  146. - GETINFO status/client, status/server, status/general: There should be
  147. some way to learn which status events are currently "in effect."
  148. We should specify which these are, what format they appear in, and so
  149. on.
  150. - More information in events:
  151. - Include bandwidth breakdown by conn->type in BW events.
  152. - Change circuit status events to give more details, like purpose,
  153. whether they're internal, when they become dirty, when they become
  154. too dirty for further circuits, etc.
  155. - Change stream status events analogously.
  156. - Expose more information via getinfo:
  157. - import and export rendezvous descriptors
  158. - Review all static fields for additional candidates
  159. - Allow EXTENDCIRCUIT to unknown server.
  160. - We need some way to adjust server status, and to tell tor not to
  161. download directories/network-status, and a way to force a download.
  162. - Make everything work with hidden services
  163. - Performance/resources
  164. - per-conn write buckets
  165. - separate config options for read vs write limiting
  166. (It's hard to support read > write, since we need better
  167. congestion control to avoid overfull buffers there. So,
  168. defer the whole thing.)
  169. - Rate limit exit connections to a given destination -- this helps
  170. us play nice with websites when Tor users want to crawl them; it
  171. also introduces DoS opportunities.
  172. - Consider truncating rather than destroying failed circuits,
  173. in order to save the effort of restarting. There are security
  174. issues here that need thinking, though.
  175. - Handle full buffers without totally borking
  176. - Rate-limit OR and directory connections overall and per-IP and
  177. maybe per subnet.
  178. - Misc
  179. - Hold-open-until-flushed now works by accident; it should work by
  180. design.
  181. - Display the reasons in 'destroy' and 'truncated' cells under
  182. some circumstances?
  183. - Make router_is_general_exit() a bit smarter once we're sure what
  184. it's for.
  185. - Automatically determine what ports are reachable and start using
  186. those, if circuits aren't working and it's a pattern we
  187. recognize ("port 443 worked once and port 9001 keeps not
  188. working").
  189. - Security
  190. - some better fix for bug #516?
  191. - Directory guards
  192. - Mini-SoaT:
  193. - Servers might check certs for known-good ssl websites, and if
  194. they come back self-signed, declare themselves to be
  195. non-exits. Similar to how we test for broken/evil dns now.
  196. - Authorities should try using exits for http to connect to some
  197. URLS (specified in a configuration file, so as not to make the
  198. List Of Things Not To Censor completely obvious) and ask them
  199. for results. Exits that don't give good answers should have
  200. the BadExit flag set.
  201. - Alternatively, authorities should be able to import opinions
  202. from Snakes on a Tor.
  203. - Bind to random port when making outgoing connections to Tor servers,
  204. to reduce remote sniping attacks.
  205. - Audit everything to make sure rend and intro points are just as
  206. likely to be us as not.
  207. - Do something to prevent spurious EXTEND cells from making
  208. middleman nodes connect all over. Rate-limit failed
  209. connections, perhaps?
  210. - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
  211. - Needs thinking
  212. - Now that we're avoiding exits when picking non-exit positions,
  213. we need to consider how to pick nodes for internal circuits. If
  214. we avoid exits for all positions, we skew the load balancing. If
  215. we accept exits for all positions, we leak whether it's an
  216. internal circuit at every step. If we accept exits only at the
  217. last hop, we reintroduce Lasse's attacks from the Oakland paper.
  218. - Windows server usability
  219. - Solve the ENOBUFS problem.
  220. - make tor's use of openssl operate on buffers rather than sockets,
  221. so we can make use of libevent's buffer paradigm once it has one.
  222. - make tor's use of libevent tolerate either the socket or the
  223. buffer paradigm; includes unifying the functions in connect.c.
  224. - We need a getrlimit equivalent on Windows so we can reserve some
  225. file descriptors for saving files, etc. Otherwise we'll trigger
  226. asserts when we're out of file descriptors and crash.
  227. - Documentation
  228. - a way to generate the website diagrams from source, so we can
  229. translate them as utf-8 text rather than with gimp. (svg? or
  230. imagemagick?)
  231. . Flesh out options_description array in src/or/config.c
  232. . multiple sample torrc files
  233. - Refactor tor man page to divide generally useful options from
  234. less useful ones?
  235. - Add a doxygen style checker to make check-spaces so nick doesn't drift
  236. too far from arma's undocumented styleguide. Also, document that
  237. styleguide in HACKING. (See r9634 for example.)
  238. - exactly one space at beginning and at end of comments, except i
  239. guess when there's line-length pressure.
  240. - if we refer to a function name, put a () after it.
  241. - only write <b>foo</b> when foo is an argument to this function.
  242. - doxygen comments must always end in some form of punctuation.
  243. - capitalize the first sentence in the doxygen comment, except
  244. when you shouldn't.
  245. - avoid spelling errors and incorrect comments. ;)
  246. - Packaging
  247. - The Debian package now uses --verify-config when (re)starting,
  248. to distinguish configuration errors from other errors. Perhaps
  249. the RPM and other startup scripts should too?
  250. - add a "default.action" file to the tor/vidalia bundle so we can
  251. fix the https thing in the default configuration:
  252. http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#PrivoxyWeirdSSLPort
  253. =======================================================================
  254. Documentation, non-version-specific.
  255. - Specs
  256. - Mark up spec; note unclear points about servers
  257. NR - write a spec appendix for 'being nice with tor'
  258. - Specify the keys and key rotation schedules and stuff
  259. . Finish path-spec.txt
  260. - Mention controller libs someplace.
  261. - Remove need for HACKING file.
  262. - document http://wiki.noreply.org/noreply/TheOnionRouter/TransparentProxy on freebsd and osx
  263. P - figure out rpm spec files for bundles of vidalia-tor-polipo
  264. P - figure out polipo install scripts for bundles of vidalia-tor-polipo on osx, win32
  265. - figure out selinux policy for tor
  266. P - change packaging system to more automated and specific for each
  267. platform, suggested by Paul Wouter
  268. P - Setup repos for redhat and suse rpms & start signing the rpms the
  269. way package management apps prefer
  270. Website:
  271. J . tor-in-the-media page
  272. P - Figure out licenses for website material.
  273. (Phobos reccomends the Open Publication License with Option A at
  274. http://opencontent.org/openpub/)
  275. P - put the logo on the website, in source form, so people can put it on
  276. stickers directly, etc.
  277. P - put the source image for the stickers on the website, so people can
  278. print their own
  279. P - figure out a license for the logos and docs we publish (trademark
  280. figures into this)
  281. (Phobos reccomends the Open Publication License with Option A at
  282. http://opencontent.org/openpub/)
  283. I - add a page for localizing all tor's components.
  284. - It would be neat if we had a single place that described _all_ the
  285. tor-related tools you can use, and what they give you, and how well they
  286. work. Right now, we don't give a lot of guidance wrt
  287. torbutton/foxproxy/privoxy/polipo in any consistent place.
  288. P - create a 'blog badge' for tor fans to link to and feature on their
  289. blogs. A sample is at http://interloper.org/tmp/tor/tor-button.png
  290. - More prominently, we should have a recommended apps list.
  291. - recommend pidgin (gaim is renamed)
  292. - unrecommend IE because of ftp:// bug.
  293. - Addenda to tor-design
  294. - we should add a preamble to tor-design saying it's out of date.
  295. - we should add an appendix or errata on what's changed.
  296. - Tor mirrors
  297. - make a mailing list with the mirror operators
  298. o make an automated tool to check /project/trace/ at mirrors to
  299. learn which ones are lagging behind.
  300. - auto (or manually) cull the mirrors that are broken; and
  301. contact their operator?
  302. - a set of instructions for mirror operators to make their apaches
  303. serve our charsets correctly, and bonus points for language
  304. negotiation.
  305. - figure out how to load-balance the downloads across mirrors?
  306. - ponder how to get users to learn that they should google for
  307. "tor mirrors" if the main site is blocked.
  308. - find a mirror volunteer to coordinate all of this