TODO 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  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:
  13. o Solve the MSVC nuisance where __FILE__ contains the full path.
  14. People are getting confused about why their errors are coming from
  15. C:\Documents and Settings\Nick Mathewson\My Documents\src\tor .
  16. N&R. bring tor-spec up to date
  17. N&R. make loglevels info,debug less noisy
  18. o OS X package (and bundle?)
  19. o Working RPMs
  20. o Get win32 servers working, or find out why it isn't happening now.
  21. o Why can't win32 find a cpuworker?
  22. For 0.0.9.3:
  23. - All tasks marked for 0093 in flyspray.
  24. - Backport performance improvement (stop calling getttimeofday for
  25. each cell)
  26. o Tor startup script should be installed by default on OSX.
  27. - Setup instructions for OSX.
  28. - Server instructions for OSX and Windows operators.
  29. ************************ For Post 0.0.9 *****************************
  30. config option to publish what ports you listen on, beyond ORPort/DirPort
  31. https proxy for OR CONNECT stuff
  32. choose entry node to be one you're already connected to?
  33. Tier one:
  34. o Move to our new version system.
  35. - Changes for forward compatibility
  36. - 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. - Bugfixes
  39. - fix dfc/weasel's intro point bug
  40. - when we haven't explicitly sent a socks reject, sending one in
  41. connection_about_to_close_connection() fails because we never give it
  42. a chance to flush. right answer is to do the socks reply manually in
  43. each appropriate case, and then about-to-close-connection can simply
  44. warn us if we forgot one.
  45. - Documentation
  46. - Convert man pages to pod, or whatever's right. Alternatively, find
  47. a man2html that actually works.
  48. - Macintosh HOWTO page.
  49. - Evangelism
  50. - Get more nodes running on 80 and 443.
  51. - Get epic, aclu, etc running nodes.
  52. - Dirservers and server descs: small, backward-compatible changes
  53. - support hostnames as well as IPs for authdirservers.
  54. - If we have a trusted directory on port 80, stop falling back to
  55. forbidden ports when fascistfirewall blocks all good dirservers.
  56. - GPSLocation optional config string.
  57. - SOCKS enhancements
  58. - niels's "did it fail because conn refused or timeout or what"
  59. relay end feature.
  60. - Windows
  61. N - Make millisecond accuracy work on win32
  62. X Switch to WSA*Event code as a better poll replacement. Or maybe just
  63. do libevent?
  64. - Code cleanup
  65. - Make more configuration variables into CSVs.
  66. - Make configure.in handle cross-compilation
  67. - Have NULL_REP_IS_ZERO_BYTES default to 1.
  68. - Make with-ssl-dir disable search for ssl.
  69. - Support
  70. - Bug tracker.
  71. - Exit hostname support
  72. - cache .foo.exit names better, or differently, or not.
  73. - IPv6 support
  74. - teach connection_ap_handshake_socks_reply() about ipv6 and friends
  75. so connection_ap_handshake_socks_resolved() doesn't also need
  76. to know about them.
  77. - Packaging
  78. - Figure out how to make the rpm not strip the binaries it makes.
  79. Tier two:
  80. - Efficiency/speed improvements.
  81. - Handle pools of waiting circuits better.
  82. - Limit number of circuits that we preemptively generate based on past
  83. behavior; use same limits in circuit_expire_old_circuits().
  84. - Write limiting; configurable token buckets.
  85. - Make it harder to circumvent bandwidth caps: look at number of bytes
  86. sent across sockets, not number sent inside TLS stream.
  87. . Switch to libevent
  88. o Evaluate libevent
  89. o Convert socket handling
  90. o Convert signal handling
  91. o Convert timers
  92. o Update configure.in
  93. o Remove fakepoll
  94. - Hold-open-until-flushed now works by accident; it should work by
  95. design.
  96. - The logic for reading from TLS sockets is likely to overrun the
  97. bandwidth buckets under heavy load. (Really, the logic was
  98. never right in the first place.) Also, we should audit all users
  99. of get_pending_bytes().
  100. - Make sure it works on more platforms.
  101. - Find a way to make sure we have libevent 1.0 or later.
  102. - Check return from event_set, event_add, event_del.
  103. - Integrate an http proxy into Tor (maybe as a third class of worker
  104. process), so we can stop shipping with the beast that is Privoxy.
  105. - QOI
  106. - Let more config options (e.g. ORPort) change dynamically.
  107. - Dirservers and server descs: small, backward-compatible changes
  108. - make advertised_server_mode() ORs fetch dirs more often.
  109. - Implement If-Modified-Since for directories.
  110. - Big, incompatible re-architecting and decentralization of directory
  111. system.
  112. - Only the top of a directory needs to be signed.
  113. - Windows
  114. N - Clean up NT service code; make it work
  115. - Get a controller to launch tor and keep it on the system tray.
  116. - Win32 installer plus privoxy, sockscap/freecap, etc.
  117. - Controller enhancements.
  118. o Implement SIGNAL feature so windows can hup, shutdown, etc.
  119. - controller should have 'getinfo' command to query about rephist,
  120. about rendezvous status, etc.
  121. N - Handle rendezvousing with unverified nodes.
  122. - Specify: Stick rendezvous point's key in INTRODUCE cell.
  123. Bob should _always_ use key from INTRODUCE cell.
  124. - Implement.
  125. N - IPv6 support (For exit addresses)
  126. - Spec issue: if a resolve returns an IP4 and an IP6 address,
  127. which to use?
  128. - Add to exit policy code
  129. - Make tor_gethostbyname into tor_getaddrinfo
  130. - Make everything that uses uint32_t as an IP address change to use
  131. a generalize address struct.
  132. - Change relay cell types to accept new addresses.
  133. - Add flag to serverdescs to tell whether IPv6 is supported.
  134. - When should servers
  135. - Security fixes
  136. - christian grothoff's attack of infinite-length circuit.
  137. the solution is to have a separate 'extend-data' cell type
  138. which is used for the first N data cells, and only
  139. extend-data cells can be extend requests.
  140. - Make sure logged information is 'safe'.
  141. - Code cleanup
  142. . rename/rearrange functions for what file they're in
  143. - fix router_get_by_* functions so they can get ourselves too,
  144. and audit everything to make sure rend and intro points are
  145. just as likely to be us as not.
  146. - Bugfixes
  147. - hidserv offerers shouldn't need to define a SocksPort
  148. * figure out what breaks for this, and do it.
  149. - should retry exitpolicy end streams even if the end cell didn't
  150. resolve the address for you
  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. - round detected bandwidth up to nearest 10KB?
  167. - client software not upload descriptor until:
  168. - you've been running for an hour
  169. - it's sufficiently satisfied with its bandwidth
  170. - it decides it is reachable
  171. - start counting again if your IP ever changes.
  172. - never regenerate identity keys, for now.
  173. - you can set a bit for not-being-an-OR.
  174. * no need to do this yet. few people define their ORPort.
  175. - authdirserver lists you as running iff:
  176. - he can connect to you
  177. - he has successfully extended to you
  178. - you have sufficient mean-time-between-failures
  179. * keep doing nothing for now.
  180. - Include HTTP status messages in logging (see parse_http_response).
  181. Blue sky or deferred indefinitely:
  182. - Support egd or other non-OS-integrated strong entropy sources
  183. - password protection for on-disk identity key
  184. - Possible to get autoconf to easily install things into ~/.tor?
  185. - server descriptor declares min log level, clients avoid servers
  186. that are too loggy.
  187. - put expiry date on onion-key, so people don't keep trying
  188. old ones that they could know are expired?
  189. - Add a notion of nickname->Pubkey binding that's not 'verification'
  190. - Conn key rotation.
  191. - Need a relay teardown cell, separate from one-way ends.
  192. Big tasks that would demonstrate progress:
  193. - Facility to automatically choose long-term helper nodes; perhaps
  194. on by default for hidden services.
  195. - patch privoxy and socks protocol to pass strings to the browser.
  196. - patch tsocks with our current patches + gethostbyname, getpeername, etc.
  197. - make freecap (or whichever) do what we want.
  198. - scrubbing proxies for protocols other than http.
  199. - Find an smtp proxy?
  200. . Get socks4a support into Mozilla
  201. N - Reverse DNS: specify and implement.
  202. - figure out enclaves, e.g. so we know what to recommend that people
  203. do, and so running a tor server on your website is helpful.
  204. - Do enclaves for same IP only.
  205. - Resolve first, then if IP is an OR, extend to him first.
  206. - implement a trivial fun gui to demonstrate our control interface.
  207. ************************ Roadmap for 2004-2005 **********************
  208. Hard problems that need to be solved:
  209. - Separating node discovery from routing.
  210. - Arranging membership management for independence.
  211. Sybil defenses without having a human bottleneck.
  212. How to gather random sample of nodes.
  213. How to handle nodelist recommendations.
  214. Consider incremental switches: a p2p tor with only 50 users has
  215. different anonymity properties than one with 10k users, and should
  216. be treated differently.
  217. - Measuring performance of other nodes. Measuring whether they're up.
  218. - Choosing exit node by meta-data, e.g. country.
  219. - Incentives to relay; incentives to exit.
  220. - Allowing dissidents to relay through Tor clients.
  221. - How to intercept, or not need to intercept, dns queries locally.
  222. - Improved anonymity:
  223. - Experiment with mid-latency systems. How do they impact usability,
  224. how do they impact safety?
  225. - Understand how powerful fingerprinting attacks are, and experiment
  226. with ways to foil them (long-range padding?).
  227. - Come up with practical approximations to picking entry and exit in
  228. different routing zones.
  229. - Find ideal churn rate for helper nodes; how safe is it?
  230. - What info squeaks by Privoxy? Are other scrubbers better?
  231. - Attacking freenet-gnunet/timing-delay-randomness-arguments.
  232. - Is abandoning the circuit the only option when an extend fails, or
  233. can we do something without impacting anonymity too much?
  234. - Is exiting from the middle of the circuit always a bad idea?
  235. Sample Publicity Landmarks:
  236. - we have N servers / N users
  237. - we have servers at epic and aclu and foo
  238. - hidden services are robust and fast
  239. - a more decentralized design
  240. - tor win32 installer works
  241. - win32 tray icon for end-users
  242. - tor server works on win32
  243. - win32 service for servers
  244. - mac installer works
  245. ***************************Future tasks:****************************
  246. Rendezvous and hidden services:
  247. make it fast:
  248. - preemptively build and start rendezvous circs.
  249. - preemptively build n-1 hops of intro circs?
  250. - cannibalize general circs?
  251. make it reliable:
  252. - standby/hotswap/redundant services.
  253. - store stuff to disk? dirservers forget service descriptors when
  254. they restart; nodes offering hidden services forget their chosen
  255. intro points when they restart.
  256. make it robust:
  257. - auth mechanisms to let midpoint and bob selectively choose
  258. connection requests.
  259. make it scalable:
  260. - robust decentralized storage for hidden service descriptors.
  261. make it accessible:
  262. - web proxy gateways to let normal people browse hidden services.
  263. Tor scalability:
  264. Relax clique assumptions.
  265. Redesign how directories are handled.
  266. - Resolve directory agreement somehow.
  267. Find and remove bottlenecks
  268. - Address linear searches on e.g. circuit and connection lists.
  269. Reputation/memory system, so dirservers can measure people,
  270. and so other people can verify their measurements.
  271. - Need to measure via relay, so it's not distinguishable.
  272. Let dissidents get to Tor servers via Tor users. ("Backbone model")
  273. Make it more correct:
  274. Handle half-open connections: right now we don't support all TCP
  275. streams, at least according to the protocol. But we handle all that
  276. we've seen in the wild.
  277. Support IPv6.
  278. Efficiency/speed/robustness:
  279. Congestion control. Is our current design sufficient once we have heavy
  280. use? Need to measure and tweak, or maybe overhaul.
  281. Allow small cells and large cells on the same network?
  282. Cell buffering and resending. This will allow us to handle broken
  283. circuits as long as the endpoints don't break, plus will allow
  284. connection (tls session key) rotation.
  285. Implement Morphmix, so we can compare its behavior, complexity, etc.
  286. Use cpuworker for more heavy lifting.
  287. - Signing (and verifying) hidserv descriptors
  288. - Signing (and verifying) intro/rend requests
  289. - Signing (and verifying) router descriptors
  290. - Signing (and verifying) directories
  291. - Doing TLS handshake (this is very hard to separate out, though)
  292. Buffer size pool: allocate a maximum size for all buffers, not
  293. a maximum size for each buffer. So we don't have to give up as
  294. quickly (and kill the thickpipe!) when there's congestion.
  295. Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  296. link crypto, unless we can bully openssl into it.