TODO 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  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 sometime soon:
  13. - Server instructions for OSX and Windows operators.
  14. - Audit all changes to bandwidth buckets for integer over/underflow.
  15. - whine if your socks port is an open proxy.
  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. Security:
  25. . Make sure logged info is "safe"ish.
  26. Functionality
  27. - Tests for new controller features
  28. N . NT Service code
  29. o Clean up NT service code even more.
  30. o Enable it by default.
  31. o Make sure it works.
  32. . Document it.
  33. Documentation
  34. r - Correct and clarify the wiki entry on port forwarding.
  35. o Document where OSX logs and torrc go.
  36. o Document where windows logs and torrc go.
  37. - (Make sure they actually go there.)
  38. Installers
  39. N - Vet all pending installer patches
  40. - Win32 installer plus privoxy, sockscap/freecap, etc.
  41. - Vet win32 systray helper code
  42. N . Make logs go into platform default locations.
  43. o OSX
  44. - Windows. (?)
  45. Correctness
  46. - how do ulimits work on win32, anyway? (We should handle WSAENOBUFS as
  47. needed, look at the MaxConnections registry entry, look at the
  48. MaxUserPort entry, and look at the TcpTimedWaitDelay entry. We may also
  49. want to provide a way to set them as needed. See bug 98.)
  50. Arguable
  51. - Bug: Why do idle cpuworkers sometimes get thought of as busy?
  52. - IP-based blacklisting of which servers get recommended by dirservers.
  53. N - tor-resolve script should use socks5 to get better error messages.
  54. o Script to try pulling bytes through slow-seeming servers so they can
  55. notice that they might be fast.
  56. N . Reverse DNS
  57. o specify
  58. - implement
  59. r - make min uptime a function of the available choices (say, choose 60th
  60. percentile, not 1 day.)
  61. r - kill dns workers more slowly
  62. r - build testing circuits? going through non-verified nodes?
  63. - config option to publish what ports you listen on, beyond ORPort/DirPort
  64. N - It would be nice to have a FirewalledIPs thing that works like
  65. FirewallPorts.
  66. - If we have a trusted directory on port 80, stop falling back to
  67. forbidden ports when fascistfirewall blocks all good dirservers.
  68. N - Code cleanup
  69. - Make configure.in handle cross-compilation
  70. - Have NULL_REP_IS_ZERO_BYTES default to 1.
  71. - Make with-ssl-dir disable search for ssl.
  72. - Efficiency/speed improvements.
  73. - Write limiting; configurable token buckets.
  74. - Make it harder to circumvent bandwidth caps: look at number of bytes
  75. sent across sockets, not number sent inside TLS stream.
  76. o Hidden service improvements
  77. o Investigate hidden service performance/reliability
  78. - Add private:* alias in exit policies to make it easier to ban all the
  79. fiddly little 192.168.foo addresses.
  80. - controller should have an event to learn about new addressmappings?
  81. No
  82. Todo: when you connect and get a guy you didn't expect, tell him hey i wasn't
  83. expecting you i'm going to go now bye, instead of just hanging up. This lets
  84. him know that he's doing something funny.
  85. - choose entry node to be one you're already connected to?
  86. - Convert man pages to pod, or whatever's right.
  87. - support hostnames as well as IPs for authdirservers.
  88. - GPSLocation optional config string.
  89. - Windows
  90. - Make millisecond accuracy work on win32
  91. - IPv6 support
  92. - teach connection_ap_handshake_socks_reply() about ipv6 and friends
  93. so connection_ap_handshake_socks_resolved() doesn't also need
  94. to know about them.
  95. - Let more config options (e.g. ORPort) change dynamically.
  96. - hidserv offerers shouldn't need to define a SocksPort
  97. * figure out what breaks for this, and do it.
  98. - Destroy and truncated cells should have reasons.
  99. - Packaging
  100. - Figure out how to make the rpm not strip the binaries it makes.
  101. - Integrate an http proxy into Tor (maybe as a third class of worker
  102. process), so we can stop shipping with the beast that is Privoxy.
  103. - Implement If-Modified-Since for directories.
  104. - Big, incompatible re-architecting and decentralization of directory
  105. system.
  106. - Only the top of a directory needs to be signed.
  107. - Windows
  108. - Get a controller to launch tor and keep it on the system tray.
  109. For 0.1.1.x:
  110. Decentralizing:
  111. - self-measurement
  112. - remote measurement
  113. - you've been running for an hour
  114. - it's sufficiently satisfied with its bandwidth
  115. - remove approval crap, add blacklisting by IP
  116. - gather more permanent dirservers and put their keys into the code
  117. - ship with a master key, and implement a way to query dirservers for
  118. a blob which is a timestamped signed newest pile of dirservers. put
  119. that on disk and use it on startup rather than the built-in default.
  120. - threshold belief from clients about up-ness
  121. - a way for clients to get fresh enough server descriptors
  122. - a way for clients to partition the set of servers in a safe way:
  123. so they don't have to learn all of them but so they're not easily
  124. partitionable.
  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. o 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.