TODO 17 KB

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