TODO 15 KB

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