TODO 17 KB

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