TODO 16 KB

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