TODO 17 KB

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