TODO 14 KB

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