TODO 14 KB

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