TODO 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. Legend:
  2. SPEC!! - Not specified
  3. SPEC - Spec not finalized
  4. NICK - nick claims
  5. ARMA - arma claims
  6. - Not done
  7. * Top priority
  8. . Partially done
  9. o Done
  10. D Deferred
  11. X Abandoned
  12. For 0.0.9.5:
  13. - Server instructions for OSX and Windows operators.
  14. - Audit all changes to bandwidth buckets for integer over/underflow.
  15. For 0.1.0.x:
  16. Refactoring and infrastructure:
  17. N . Switch to libevent
  18. - Hold-open-until-flushed now works by accident; it should work by
  19. design.
  20. - The logic for reading from TLS sockets is likely to overrun the
  21. bandwidth buckets under heavy load. (Really, the logic was
  22. never right in the first place.) Also, we should audit all users
  23. of get_pending_bytes().
  24. - Find a way to make sure we have libevent 1.0 or later.
  25. - Log which poll method we're using.
  26. . Check return from event_set, event_add, event_del.
  27. Security:
  28. - Make sure logged info is "safe"ish.
  29. Stability
  30. R - Reset uptime when IP/ORPort/... changes.
  31. Functionality
  32. N - Implement pending controller features.
  33. R - HTTPS proxy for OR CONNECT stuff. (For outgoing SSL connections to
  34. other ORs.)
  35. - Changes for forward compatibility
  36. N - If a version is later than the last in its series, but a version
  37. in the next series is recommended, that doesn't mean it's bad.
  38. - Do end reasons better
  39. - Start using RESOURCELIMIT more.
  40. - Try to use MISC a lot less.
  41. - bug: if the exit node fails to create a socket (e.g. because it
  42. has too many open), we will get a generic stream end response.
  43. - niels's "did it fail because conn refused or timeout or what"
  44. relay end feature.
  45. N - Realize that unrecognized end reasons are probably features rather than
  46. bugs. (backport to 009x)
  47. N - Start recognizing, but maybe not yet generating, more reasons and
  48. needed -- aim to eliminate misc. (backport to 009x)
  49. N - Feed end reason back into SOCK5 as reasonable.
  50. R - cache .foo.exit names better, or differently, or not.
  51. N - make !advertised_server_mode() ORs fetch dirs less often.
  52. N - Clean up NT service code even more. Document it. Enable it by default.
  53. Make sure it works.
  54. Documentation
  55. N - Document new version system.
  56. R - Correct and clarify the wiki entry on port forwarding.
  57. N - Document where OSX, windows logs go, where stuff is installed.
  58. Installers
  59. N - Vet all pending installer patches
  60. - Win32 installer plus privoxy, sockscap/freecap, etc.
  61. N - Make OSX man pages go into man directory.
  62. Correctness
  63. - Bugfixes
  64. R - when we haven't explicitly sent a socks reject, sending one in
  65. connection_about_to_close_connection() fails because we never give it
  66. a chance to flush. right answer is to do the socks reply manually in
  67. each appropriate case, and then about-to-close-connection can simply
  68. warn us if we forgot one. [Tag this 010 in flyspray.]
  69. R - should retry exitpolicy end streams even if the end cell didn't
  70. resolve the address for you
  71. - Figure out when to reset addressmaps (on hup, on reconfig, etc)
  72. Improvements to self-measurement.
  73. R - round detected bandwidth up to nearest 10KB?
  74. R - client software not upload descriptor until:
  75. - you've been running for an hour
  76. - it's sufficiently satisfied with its bandwidth
  77. - it decides it is reachable
  78. - start counting again if your IP ever changes.
  79. - never regenerate identity keys, for now.
  80. - you can set a bit for not-being-an-OR.
  81. * no need to do this yet. few people define their ORPort.
  82. Arguable
  83. N - Reverse DNS: specify and implement.
  84. R - make min uptime a function of the available choices (say, choose 60th
  85. percentile, not 1 day.)
  86. R - kill dns workers more slowly
  87. R - build testing circuits? going through non-verified nodes?
  88. - config option to publish what ports you listen on, beyond ORPort/DirPort
  89. N - It would be nice to have a FirewalledIPs thing that works like
  90. FirewallPorts.
  91. - If we have a trusted directory on port 80, stop falling back to
  92. forbidden ports when fascistfirewall blocks all good dirservers.
  93. N - Code cleanup
  94. - Make configure.in handle cross-compilation
  95. - Have NULL_REP_IS_ZERO_BYTES default to 1.
  96. - Make with-ssl-dir disable search for ssl.
  97. - Efficiency/speed improvements.
  98. - Write limiting; configurable token buckets.
  99. - Make it harder to circumvent bandwidth caps: look at number of bytes
  100. sent across sockets, not number sent inside TLS stream.
  101. - Let more config options (e.g. ORPort) change dynamically.
  102. - hidserv offerers shouldn't need to define a SocksPort
  103. * figure out what breaks for this, and do it.
  104. No
  105. - choose entry node to be one you're already connected to?
  106. - Convert man pages to pod, or whatever's right.
  107. - support hostnames as well as IPs for authdirservers.
  108. - GPSLocation optional config string.
  109. - Windows
  110. - Make millisecond accuracy work on win32
  111. - IPv6 support
  112. - teach connection_ap_handshake_socks_reply() about ipv6 and friends
  113. so connection_ap_handshake_socks_resolved() doesn't also need
  114. to know about them.
  115. - Packaging
  116. - Figure out how to make the rpm not strip the binaries it makes.
  117. - Integrate an http proxy into Tor (maybe as a third class of worker
  118. process), so we can stop shipping with the beast that is Privoxy.
  119. - Implement If-Modified-Since for directories.
  120. - Big, incompatible re-architecting and decentralization of directory
  121. system.
  122. - Only the top of a directory needs to be signed.
  123. - Windows
  124. - Get a controller to launch tor and keep it on the system tray.
  125. Tier two:
  126. N - Handle rendezvousing with unverified nodes.
  127. - Specify: Stick rendezvous point's key in INTRODUCE cell.
  128. Bob should _always_ use key from INTRODUCE cell.
  129. - Implement.
  130. N - IPv6 support (For exit addresses)
  131. - Spec issue: if a resolve returns an IP4 and an IP6 address,
  132. which to use?
  133. - Add to exit policy code
  134. - Make tor_gethostbyname into tor_getaddrinfo
  135. - Make everything that uses uint32_t as an IP address change to use
  136. a generalize address struct.
  137. - Change relay cell types to accept new addresses.
  138. - Add flag to serverdescs to tell whether IPv6 is supported.
  139. - Security fixes
  140. - christian grothoff's attack of infinite-length circuit.
  141. the solution is to have a separate 'extend-data' cell type
  142. which is used for the first N data cells, and only
  143. extend-data cells can be extend requests.
  144. - Code cleanup
  145. - fix router_get_by_* functions so they can get ourselves too,
  146. and audit everything to make sure rend and intro points are
  147. just as likely to be us as not.
  148. - tor should be able to have a pool of outgoing IP addresses
  149. that it is able to rotate through. (maybe)
  150. Packaging, docs, etc:
  151. - Exit node caching: tie into squid or other caching web proxy.
  152. Deferred until needed:
  153. - Do something to prevent spurious EXTEND cells from making middleman
  154. nodes connect all over. Rate-limit failed connections, perhaps?
  155. - Limit to 2 dir, 2 OR, N SOCKS connections per IP.
  156. - Handle full buffers without totally borking
  157. * do this eventually, no rush.
  158. - Rate-limit OR and directory connections overall and per-IP and
  159. maybe per subnet.
  160. - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
  161. - Have clients and dirservers preserve reputation info over
  162. reboots.
  163. - authdirserver lists you as running iff:
  164. - he can connect to you
  165. - he has successfully extended to you
  166. - you have sufficient mean-time-between-failures
  167. * keep doing nothing for now.
  168. - Include HTTP status messages in logging (see parse_http_response).
  169. Blue sky or deferred indefinitely:
  170. - Support egd or other non-OS-integrated strong entropy sources
  171. - password protection for on-disk identity key
  172. - Possible to get autoconf to easily install things into ~/.tor?
  173. - server descriptor declares min log level, clients avoid servers
  174. that are too loggy.
  175. - put expiry date on onion-key, so people don't keep trying
  176. old ones that they could know are expired?
  177. - Add a notion of nickname->Pubkey binding that's not 'verification'
  178. - Conn key rotation.
  179. - Need a relay teardown cell, separate from one-way ends.
  180. Big tasks that would demonstrate progress:
  181. - Facility to automatically choose long-term helper nodes; perhaps
  182. on by default for hidden services.
  183. - patch privoxy and socks protocol to pass strings to the browser.
  184. - patch tsocks with our current patches + gethostbyname, getpeername, etc.
  185. - make freecap (or whichever) do what we want.
  186. - scrubbing proxies for protocols other than http.
  187. - Find an smtp proxy?
  188. . Get socks4a support into Mozilla
  189. - figure out enclaves, e.g. so we know what to recommend that people
  190. do, and so running a tor server on your website is helpful.
  191. - Do enclaves for same IP only.
  192. - Resolve first, then if IP is an OR, extend to him first.
  193. - implement a trivial fun gui to demonstrate our control interface.
  194. ************************ Roadmap for 2004-2005 **********************
  195. Hard problems that need to be solved:
  196. - Separating node discovery from routing.
  197. - Arranging membership management for independence.
  198. Sybil defenses without having a human bottleneck.
  199. How to gather random sample of nodes.
  200. How to handle nodelist recommendations.
  201. Consider incremental switches: a p2p tor with only 50 users has
  202. different anonymity properties than one with 10k users, and should
  203. be treated differently.
  204. - Measuring performance of other nodes. Measuring whether they're up.
  205. - Choosing exit node by meta-data, e.g. country.
  206. - Incentives to relay; incentives to exit.
  207. - Allowing dissidents to relay through Tor clients.
  208. - How to intercept, or not need to intercept, dns queries locally.
  209. - Improved anonymity:
  210. - Experiment with mid-latency systems. How do they impact usability,
  211. how do they impact safety?
  212. - Understand how powerful fingerprinting attacks are, and experiment
  213. with ways to foil them (long-range padding?).
  214. - Come up with practical approximations to picking entry and exit in
  215. different routing zones.
  216. - Find ideal churn rate for helper nodes; how safe is it?
  217. - What info squeaks by Privoxy? Are other scrubbers better?
  218. - Attacking freenet-gnunet/timing-delay-randomness-arguments.
  219. - Is abandoning the circuit the only option when an extend fails, or
  220. can we do something without impacting anonymity too much?
  221. - Is exiting from the middle of the circuit always a bad idea?
  222. Sample Publicity Landmarks:
  223. - we have N servers / N users
  224. - we have servers at epic and aclu and foo
  225. - hidden services are robust and fast
  226. - a more decentralized design
  227. - tor win32 installer works
  228. - win32 tray icon for end-users
  229. - tor server works on win32
  230. - win32 service for servers
  231. - mac installer works
  232. ***************************Future tasks:****************************
  233. Rendezvous and hidden services:
  234. make it fast:
  235. o preemptively build and start rendezvous circs.
  236. o preemptively build n-1 hops of intro circs?
  237. o cannibalize general circs?
  238. make it reliable:
  239. - standby/hotswap/redundant services.
  240. - store stuff to disk? dirservers forget service descriptors when
  241. they restart; nodes offering hidden services forget their chosen
  242. intro points when they restart.
  243. make it robust:
  244. - auth mechanisms to let midpoint and bob selectively choose
  245. connection requests.
  246. make it scalable:
  247. - robust decentralized storage for hidden service descriptors.
  248. make it accessible:
  249. - web proxy gateways to let normal people browse hidden services.
  250. Tor scalability:
  251. Relax clique assumptions.
  252. Redesign how directories are handled.
  253. - Resolve directory agreement somehow.
  254. Find and remove bottlenecks
  255. - Address linear searches on e.g. circuit and connection lists.
  256. Reputation/memory system, so dirservers can measure people,
  257. and so other people can verify their measurements.
  258. - Need to measure via relay, so it's not distinguishable.
  259. Let dissidents get to Tor servers via Tor users. ("Backbone model")
  260. Make it more correct:
  261. Handle half-open connections: right now we don't support all TCP
  262. streams, at least according to the protocol. But we handle all that
  263. we've seen in the wild.
  264. Support IPv6.
  265. Efficiency/speed/robustness:
  266. Congestion control. Is our current design sufficient once we have heavy
  267. use? Need to measure and tweak, or maybe overhaul.
  268. Allow small cells and large cells on the same network?
  269. Cell buffering and resending. This will allow us to handle broken
  270. circuits as long as the endpoints don't break, plus will allow
  271. connection (tls session key) rotation.
  272. Implement Morphmix, so we can compare its behavior, complexity, etc.
  273. Use cpuworker for more heavy lifting.
  274. - Signing (and verifying) hidserv descriptors
  275. - Signing (and verifying) intro/rend requests
  276. - Signing (and verifying) router descriptors
  277. - Signing (and verifying) directories
  278. - Doing TLS handshake (this is very hard to separate out, though)
  279. Buffer size pool: allocate a maximum size for all buffers, not
  280. a maximum size for each buffer. So we don't have to give up as
  281. quickly (and kill the thickpipe!) when there's congestion.
  282. Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  283. link crypto, unless we can bully openssl into it.