TODO 17 KB

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