TODO 14 KB

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