TODO 13 KB

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