TODO 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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. Non-Coding, Soon:
  15. - FAQ entry: why gnutls is bad/not good for tor
  16. P - flesh out the rest of the section 6 of the faq
  17. P - gather pointers to livecd distros that include tor
  18. - put the logo on the website, in source form, so people can put it on
  19. stickers directly, etc.
  20. - more pictures from ren. he wants to describe the tor handshake, i want to
  21. talk about hidden services.
  22. * clean up the places where our docs are redundant (or worse, obsolete in
  23. one file and correct elsewhere). agl has a start on a global
  24. list-of-tor-docs.
  25. P - update window's docs to clarify which versions of windows, and why a
  26. DOS window, how it's used, for the less technical users
  27. NR- write a spec appendix for 'being nice with tor'
  28. - Hunt for open socks ports on tor servers, send mail
  29. - tor-in-the-media page
  30. - Ask schanzle@cas.homelinux.org about a patch for rpm spec fixes against
  31. tor-0.1.0.7.rc
  32. - Remove need for HACKING file.
  33. For 0.1.0.x:
  34. o Why do solaris cpuworks go dormant?
  35. (Apparently, disabling threads fixes this.)
  36. o Fix the remaining flyspray bugs marked for 0.1.0.9
  37. X Free remaining unfreed memory (arma will run valgrind)
  38. (Not for a stable release)
  39. o Note libevent/method/platform combos that are unlikely to work.
  40. X change torrc to point to abuse-faq (once abuse-faq is posted)
  41. . Memory use on Linux: what's happening?
  42. - Is it threading? (Maybe, maybe not)
  43. - Is it the buf_shrink bug? (Quite possibly)
  44. - Instrument the 0.1.1 code to figure out where our memory is going;
  45. apply the results. (all platforms?)
  46. - Why does kevent barf with EINVAL on some freebsd boxes?
  47. - Submit libevent patch to Niels
  48. - Warn on non-repeated EINVAL in Tor (don't die.)
  49. - Investigate why freebsd kernel actually does this: it doesn't seem
  50. simple to trigger.
  51. for 0.1.1.x:
  52. - switch accountingmax to count total in+out, not either in or
  53. out. it's easy to move in this direction (not risky), but hard to
  54. back, out if we decide we prefer it the way it already is. hm.
  55. . Come up with a coherent strategy for bandwidth buckets and TLS. (The
  56. logic for reading from TLS sockets is likely to overrun the bandwidth
  57. buckets under heavy load. (Really, the logic was never right in the
  58. first place.) Also, we should audit all users of get_pending_bytes().)
  59. - Make it harder to circumvent bandwidth caps: look at number of bytes
  60. sent across sockets, not number sent inside TLS stream.
  61. - Handle rendezvousing with unverified nodes.
  62. - Specify: Stick rendezvous point's key in INTRODUCE cell.
  63. Bob should _always_ use key from INTRODUCE cell.
  64. - Implement.
  65. - make sure err-level log events get flushed to the controller
  66. immediately, since tor will exit right after.
  67. - it looks like tor_assert writes to stderr. what happens if
  68. stderr was closed and is now something else? uh.
  69. - new controller protocol
  70. - Specify
  71. - Implement
  72. - controller should have an event to learn about new addressmappings,
  73. e.g. when we learn a hostname to IP mapping ?
  74. - christian grothoff's attack of infinite-length circuit.
  75. the solution is to have a separate 'extend-data' cell type
  76. which is used for the first N data cells, and only
  77. extend-data cells can be extend requests.
  78. - Specify, including thought about
  79. - Implement
  80. - Destroy and truncated cells should have reasons.
  81. - Add private:* alias in exit policies to make it easier to ban all the
  82. fiddly little 192.168.foo addresses.
  83. (AGL had a patch; consider applying it.)
  84. - recommended-versions for client / server ?
  85. - warn if listening for SOCKS on public IP.
  86. - Forward-compatibility: add "needclientversion" option or "opt critical"
  87. prefix.
  88. - cpu fixes:
  89. - see if we should make use of truncate to retry
  90. - hardware accelerator support
  91. r - kill dns workers more slowly
  92. - continue decentralizing the directory
  93. - Specify and design all of the below before implementing any.
  94. - Figure out what to do about hidden service descriptors.
  95. M have two router descriptor formats
  96. - dirservers verify reachability claims
  97. - find 10 dirservers. (what are criteria to be a dirserver?)
  98. - some back-out mechanism?
  99. - dirservers have blacklist of IPs they hate
  100. - a way of rolling back approvals to before a timestamp
  101. - have new people be in limbo and need to demonstrate usefulness
  102. before we approve them
  103. - other?
  104. - dirservers publish router-status with all these flags.
  105. - Servers publish new descriptors when options change, when 12-24 hours
  106. have passed, when uptime is reset, or when bandwidth changes a lot.
  107. - alices fetch many router-statuses and update descriptors as needed.
  108. - add if-newer-than fetch options
  109. - dirservers allow people to lookup by N descriptors, or to fetch all.
  110. - alices avoid duplicate class C nodes.
  111. - everybody with a dirport will give you his descriptor.
  112. - config option, on by default, to cache all descriptors.
  113. - Compress router desc sets before transmitting them
  114. M Analyze how bad the partitioning is or isn't.
  115. - Naming:
  116. - Specify and design all of the below before implementing any.
  117. - some dirservers announce that they manage bindings (a flag in
  118. router-status).
  119. - other dirservers mention a binding if there is no conflict for
  120. that binding among the dirservers that manage it.
  121. no conflict == any of them bind it and no disagreement.
  122. - alice can specify a nickname and it will record that name in her
  123. datadir along with the key *if* it is bound. otherwise her specifying
  124. will fail (loudly we hope).
  125. - thus when a binding vanishes (e.g. conflict) alice will keep using
  126. the one she meant.
  127. - if the binding changes keys, the entry in her datadir will silently
  128. get corrected.
  129. - packaging and ui stuff:
  130. - multiple sample torrc files (tyranix?)
  131. - uninstallers
  132. . for os x
  133. - something, anything, for sys tray on Windows.
  134. - figure out how to make nt service stuff work?
  135. . Document it.
  136. N - Vet all pending installer patches
  137. - Win32 installer plus privoxy, sockscap/freecap, etc.
  138. - Vet win32 systray helper code
  139. N . Make logs go into platform default locations.
  140. o OSX
  141. - Windows. (?)
  142. Reach (deferrable) items for 0.1.1.x:
  143. - Start using create-fast cells as clients
  144. - Let more config options (e.g. ORPort) change dynamically.
  145. - start handling server descriptors without a socksport?
  146. For 0.1.1.x, if we can figure out how:
  147. - rewrite how libevent does select() on win32 so it's not so very slow.
  148. - helper nodes (at least preliminary)
  149. - enclaves (at least preliminary)
  150. - Write limiting; separate token bucket for write
  151. - Audit everything to make sure rend and intro points are just as likely to
  152. be us as not.
  153. - Do something to prevent spurious EXTEND cells from making middleman
  154. nodes connect all over. Rate-limit failed connections, perhaps?
  155. Future version:
  156. - Limit to 2 dir, 2 OR, N SOCKS connections per IP.
  157. - Handle full buffers without totally borking
  158. - Rate-limit OR and directory connections overall and per-IP and
  159. maybe per subnet.
  160. - Hold-open-until-flushed now works by accident; it should work by
  161. design.
  162. - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
  163. - Specify?
  164. - tor-resolve script should use socks5 to get better error messages.
  165. - make min uptime a function of the available choices (say, choose 60th
  166. percentile, not 1 day.)
  167. - config option to publish what ports you listen on, beyond ORPort/DirPort
  168. - hidserv offerers shouldn't need to define a SocksPort
  169. * figure out what breaks for this, and do it.
  170. - auth mechanisms to let hidden service midpoint and responder filter
  171. connection requests.
  172. - Relax clique assumptions.
  173. - tor should be able to have a pool of outgoing IP addresses
  174. that it is able to rotate through. (maybe)
  175. Blue-sky:
  176. - Patch privoxy and socks protocol to pass strings to the browser.
  177. - Standby/hotswap/redundant hidden services.
  178. - Robust decentralized storage for hidden service descriptors.
  179. - The "China problem"
  180. - Allow small cells and large cells on the same network?
  181. - Cell buffering and resending. This will allow us to handle broken
  182. circuits as long as the endpoints don't break, plus will allow
  183. connection (tls session key) rotation.
  184. - Implement Morphmix, so we can compare its behavior, complexity, etc.
  185. - Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  186. link crypto, unless we can bully openssl into it.
  187. - Conn key rotation.
  188. - Need a relay teardown cell, separate from one-way ends.
  189. (Pending a user who needs this)
  190. - Handle half-open connections: right now we don't support all TCP
  191. streams, at least according to the protocol. But we handle all that
  192. we've seen in the wild.
  193. (Pending a user who needs this)
  194. Volunteer projects: [Phobos moves these to contribute.html]
  195. - use openssl aes when available
  196. - do the kernel buffer style design
  197. - Server instructions for OSX and Windows operators.
  198. - Improve and clarify the wiki entry on port forwarding.
  199. - how do ulimits work on win32, anyway? (We should handle WSAENOBUFS as
  200. needed, look at the MaxConnections registry entry, look at the
  201. MaxUserPort entry, and look at the TcpTimedWaitDelay entry. We may also
  202. want to provide a way to set them as needed. See bug 98.)
  203. - Implement reverse DNS (already specified)
  204. - It would be nice to have a FirewalledIPs thing that works like
  205. FirewallPorts.
  206. - Make configure.in handle cross-compilation
  207. - Have NULL_REP_IS_ZERO_BYTES default to 1.
  208. - Make with-ssl-dir disable search for ssl.
  209. - Packaging, docs, etc:
  210. - Exit node caching: tie into squid or other caching web proxy.
  211. - Have clients and dirservers preserve reputation info over
  212. reboots.
  213. - Support egd or other non-OS-integrated strong entropy sources
  214. - password protection for on-disk identity key
  215. - Possible to get autoconf to easily install things into ~/.tor?
  216. - server descriptor declares min log level, clients avoid servers
  217. that are too loggy.
  218. - Separate node discovery from routing to allow neat extensions. [Goodell?]
  219. - Add SetServerStatus control event to adjust verified/running status of
  220. nodes.
  221. - Add NoDownload config option to prevent regular directory downloads
  222. from happening.
  223. - Choosing exit node by meta-data, e.g. country.
  224. - What info squeaks by Privoxy? Are other scrubbers better?
  225. - web proxy gateways to let normal people browse hidden services.
  226. (This has been done a few times, but nobody has sent us code.)
  227. - Use cpuworker for more heavy lifting.
  228. - Signing (and verifying) hidserv descriptors
  229. - Signing (and verifying) intro/rend requests
  230. - Signing (and verifying) router descriptors
  231. - Signing (and verifying) directories
  232. - Doing TLS handshake (this is very hard to separate out, though)
  233. - Buffer size pool: allocate a maximum size for all buffers, not a maximum
  234. size for each buffer. So we don't have to give up as quickly (and kill
  235. the thickpipe!) when there's congestion.
  236. - Congestion control. Is our current design sufficient once we have heavy
  237. use? Need to measure and tweak, or maybe overhaul.
  238. - Add alternative versions of crypto.c and tortls.c to use libnss or
  239. libgcrypt+gnutls.
  240. - If we have a trusted directory on port 80, optionally stop falling back
  241. to forbidden ports when fascistfirewall blocks all good dirservers.
  242. Research projects: [Phobos moves these to contribute.html]
  243. - Arranging membership management for independence.
  244. Sybil defenses without having a human bottleneck.
  245. How to gather random sample of nodes.
  246. How to handle nodelist recommendations.
  247. Consider incremental switches: a p2p tor with only 50 users has
  248. different anonymity properties than one with 10k users, and should
  249. be treated differently.
  250. - Incentives to relay; incentives to exit.
  251. - Allowing dissidents to relay through Tor clients.
  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. - Attacking freenet-gnunet/timing-delay-randomness-arguments.
  260. - Is exiting from the middle of the circuit always a bad idea?
  261. - IPv6 support (For exit addresses)
  262. - Spec issue: if a resolve returns an IP4 and an IP6 address,
  263. which to use?
  264. - Add to exit policy code
  265. - Make tor_gethostbyname into tor_getaddrinfo
  266. - Make everything that uses uint32_t as an IP address change to use
  267. a generalize address struct.
  268. - Change relay cell types to accept new addresses.
  269. - Add flag to serverdescs to tell whether IPv6 is supported.
  270. - patch tsocks with our current patches + gethostbyname, getpeername, etc.
  271. - make freecap (or whichever) do what we want.
  272. - scrubbing proxies for protocols other than http.
  273. - We need better default privoxy configs to ship.
  274. - We need a good scrubbing HTTP proxy; privoxy is unmaintained and sucky.
  275. - A DNS proxy would let unmodified socks4/socks5 apps to work well.
  276. - Add SOCKS support to more applications
  277. - store hidden service information to disk: dirservers forget service
  278. descriptors when they restart; nodes offering hidden services forget
  279. their chosen intro points when they restart.