TODO 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. $Id$
  2. Legend:
  3. SPEC!! - Not specified
  4. SPEC - Spec not finalized
  5. N - nick claims
  6. R - arma claims
  7. P - phobos claims
  8. - Not done
  9. * Top priority
  10. . Partially done
  11. o Done
  12. D Deferred
  13. X Abandoned
  14. . <nickm> "Let's try to find a way to make it run and make the version
  15. match, but if not, let's just make it run."
  16. - <arma> "should we detect if we have a --with-ssl-dir and try the -R
  17. by default, if it works?"
  18. Items for 0.1.2.x, real soon now:
  19. R o avoid thrashing the bandwidth exercise when we change IPs a lot
  20. (we avoid simply by not doing any new tests when we change IPs.)
  21. - When we've been idle a long time, we stop fetching server
  22. descriptors. When we then get a socks request, we build circuits
  23. immediately using whatever descriptors we have, rather than waiting
  24. until we've fetched correct ones.
  25. - If the client's clock is too far in the past, it will drop (or
  26. just not try to get) descriptors, so it'll never build circuits.
  27. - when we start, remove any entryguards that are listed in excludenodes.
  28. - Remember the last time we saw one of our entry guards labelled with
  29. the GUARD flag. If it's been too long, it is not suitable for use.
  30. If it's been really too long, remove it from the list.
  31. . Figure out avoiding duplicate /24 lines
  32. o automatically add /16 servers to family
  33. - do it in an efficient way. keep a list of something somewhere?
  34. - make the "16" part configurable, so people who run their own
  35. tor network can set it to 32.
  36. N - Clients stop dumping old descriptors if the network-statuses
  37. claim they're still valid.
  38. . If we fail to connect via an exit enclave, (warn and) try again
  39. without demanding that exit node.
  40. - And recognize when extending to the enclave node is failing,
  41. so we can abandon then too.
  42. - We need a separate list of "hidserv authorities" if we want to
  43. retire moria1 from the main list.
  44. Items for 0.1.2.x:
  45. o re-enable blossom functionality: let tor servers decide if they
  46. will use local search when resolving, or not.
  47. - Document it.
  48. - enumerate events of important things that occur in tor, so vidalia can
  49. react.
  50. - We should ship with a list of stable dir mirrors -- they're not
  51. trusted like the authorities, but they'll provide more robustness
  52. and diversity for bootstrapping clients.
  53. - Servers are easy to setup and run: being a relay is about as easy as
  54. being a client.
  55. - Reduce resource load
  56. - Come up with good 'nicknames' automatically, or make no-nickname
  57. routers workable.
  58. - tolerate clock skew on bridge relays.
  59. - a way to export server descriptors to controllers, and/or to
  60. non-standard dir authorities.
  61. - a way to pick entries based wholly on extend_info equivalent;
  62. a way to export extend_info equivalent.
  63. - option to dl directory info via tor
  64. - is the __AllDirActionsPrivate config option sufficient?
  65. D Count TLS bandwidth more accurately
  66. - Improvements to bandwidth counting
  67. - look into "uncounting" bytes spent on local connections, so
  68. we can bandwidthrate but still have fast downloads.
  69. - "bandwidth classes", for incoming vs initiated-here conns.
  70. - Write limiting; separate token bucket for write
  71. - Write-limit directory responses (need to research)
  72. . Asynchronous DNS
  73. - Document SearchDomains, ResolvConf options
  74. - Make API closer to getaddrinfo()
  75. - Teach it to be able to listen for A and PTR requests to be processed.
  76. Interface should be set_request_listener(sock, cb); [ cb(request) ]
  77. send_reply(request, answer);.
  78. - Directory guards
  79. - Make reverse DNS work.
  80. - Specify
  81. X Implement with dnsworkers
  82. (There's no point doing this, since we will throw away dnsworkers once
  83. eventdns is confirmed to work everywhere.)
  84. o Implement in eventdns
  85. - Connect to resolve cells, server-side.
  86. - Add client-side interface
  87. - Performance improvements
  88. - Better estimates in the directory of whether servers have good uptime
  89. (high expected time to failure) or good guard qualities (high
  90. fractional uptime).
  91. - AKA Track uptime as %-of-time-up, as well as time-since-last-down.
  92. - Clients should prefer to avoid exit nodes for non-exit path positions.
  93. (bug 200)
  94. - Have a "Faster" status flag that means it. Fast2, Fast4, Fast8?
  95. - A more efficient dir protocol.
  96. - Later, servers will stop generating new descriptors simply
  97. because 18 hours have passed: we must start tolerating this now.
  98. - Critical but minor bugs, backport candidates.
  99. - Failed rend desc fetches sometimes don't get retried. True/false?
  100. - non-v1 authorities should not accept rend descs.
  101. - support dir 503s better
  102. o clients don't log as loudly when they receive them
  103. - they don't count toward the 3-strikes rule
  104. - should there be some threshold of 503's after which we give up?
  105. - think about how to split "router is down" from "dirport shouldn't
  106. be tried for a while"?
  107. - authorities should *never* 503 a cache, but *should* 503 clients
  108. when they feel like it.
  109. - update dir-spec with what we decided for each of these
  110. - provide no-cache no-index headers from the dirport?
  111. - Windows server usability
  112. - Solve the ENOBUFS problem.
  113. - make tor's use of openssl operate on buffers rather than sockets,
  114. so we can make use of libevent's buffer paradigm once it has one.
  115. - make tor's use of libevent tolerate either the socket or the
  116. buffer paradigm; includes unifying the functions in connect.c.
  117. - We need a getrlimit equivalent on Windows so we can reserve some
  118. file descriptors for saving files, etc. Otherwise we'll trigger
  119. asserts when we're out of file descriptors and crash.
  120. M - rewrite how libevent does select() on win32 so it's not so very slow.
  121. - Add overlapped IO
  122. N - Exitlist should avoid outputting the same IP address twice.
  123. N - Write path-spec.txt
  124. - Packaging
  125. - Tell people about OSX Uninstaller
  126. - Quietly document NT Service options
  127. - Switch canonical win32 compiler to mingw.
  128. - Docs
  129. - More prominently, we should have a recommended apps list.
  130. - recommend gaim.
  131. - unrecommend IE because of ftp:// bug.
  132. - torrc.complete.in needs attention?
  133. - we should add a preamble to tor-design saying it's out of date.
  134. Topics to think about during 0.1.2.x development:
  135. * Figure out incentives.
  136. - (How can we make this tolerant of a bad v0?)
  137. * Figure out non-clique.
  138. * Figure out China.
  139. - Figure out partial network knowledge.
  140. - Figure out hidden services.
  141. - Design next-version protocol for directories
  142. - Design next-version protocol for connections
  143. For blocking-resistance scheme:
  144. - allow ordinary-looking ssl for dir connections. need a new dirport
  145. for this, or can we handle both ssl and non-ssl, or should we
  146. entirely switch to ssl in certain cases?
  147. - need to figure out how to fetch status of a few servers from the BDA
  148. without fetching all statuses. A new URL to fetch I presume?
  149. Deferred from 0.1.2.x:
  150. - Memory use improvements:
  151. - Look into pulling serverdescs off buffers as they arrive.
  152. - Save and mmap v1 directories, and networkstatus docs; store them
  153. zipped, not uncompressed.
  154. - Switch cached_router_t to use mmap.
  155. - What to do about reference counts on windows? (On Unix, this is
  156. easy: unlink works fine. (Right?) On Windows, I have doubts. Do we
  157. need to keep multiple files?)
  158. - What do we do about the fact that people can't read zlib-
  159. compressed files manually?
  160. - Add IPv6 support to eventdns.c
  161. - Refactor DNS resolve implementation
  162. - Refactor exit side of resolve: do we need a connection_t?
  163. - Refactor entry side of resolve: do we need a connection_t?
  164. - A more efficient dir protocol.
  165. - Authorities should fetch the network-statuses amongst each
  166. other, consensus them, and advertise a communal network-status.
  167. This is not so much for safety/complexity as it is to reduce
  168. bandwidth requirements for Alice.
  169. - How does this interact with our goal of being able to choose
  170. your own dir authorities? I guess we're now assuming that all
  171. dir authorities know all the other authorities in their "group"?
  172. - Should we also look into a "delta since last network-status
  173. checkpoint" scheme, to reduce overhead further?
  174. - Extend the "r" line in network-status to give a set of buckets (say,
  175. comma-separated) for that router.
  176. - Buckets are deterministic based on IP address.
  177. - Then clients can choose a bucket (or set of buckets) to
  178. download and use.
  179. - Improvements to versioning.
  180. - When we connect to a Tor server, it sends back a cell listing
  181. the IP it believes it is using. Use this to block dvorak's attack.
  182. Also, this is a fine time to say what time you think it is.
  183. o Verify that a new cell type is okay with deployed codebase
  184. . Specify HELLO cells
  185. . Figure out v0 compatibility.
  186. - Implement
  187. Minor items for 0.1.2.x as time permits:
  188. - If we try to publish as a nickname that's already claimed, should
  189. we append a number (or increment the number) and try again? This
  190. way people who read their logs can fix it as before, but people
  191. who don't read their logs will still offer Tor servers.
  192. - Tor should bind its ports before dropping privs, so users don't
  193. have to do the ipchains dance.
  194. - Rate limit exit connections to a given destination -- this helps
  195. us play nice with websites when Tor users want to crawl them; it
  196. also introduces DoS opportunities.
  197. - The bw_accounting file should get merged into the state file.
  198. - Streamline how we define a guard node as 'up'.
  199. - Better installers and build processes.
  200. - Commit edmanm's win32 makefile to tor contrib, or write a new one.
  201. - Christian Grothoff's attack of infinite-length circuit.
  202. the solution is to have a separate 'extend-data' cell type
  203. which is used for the first N data cells, and only
  204. extend-data cells can be extend requests.
  205. - Specify, including thought about anonymity implications.
  206. - Display the reasons in 'destroy' and 'truncated' cells under some
  207. circumstances?
  208. - We need a way for the authorities to declare that nodes are
  209. in a family. Also, it kinda sucks that family declarations use O(N^2)
  210. space in the descriptors.
  211. - If the server is spewing complaints about raising your ulimit -n,
  212. we should add a note about this to the server descriptor so other
  213. people can notice too.
  214. - cpu fixes:
  215. - see if we should make use of truncate to retry
  216. X kill dns workers more slowly
  217. . Directory changes
  218. . Some back-out mechanism for auto-approval
  219. - a way of rolling back approvals to before a timestamp
  220. - Consider minion-like fingerprint file/log combination.
  221. - packaging and ui stuff:
  222. . multiple sample torrc files
  223. . figure out how to make nt service stuff work?
  224. . Document it.
  225. - Vet all pending installer patches
  226. - Win32 installer plus privoxy, sockscap/freecap, etc.
  227. - Vet win32 systray helper code
  228. - Improve controller
  229. - a NEWSTATUS event similar to NEWDESC.
  230. - change circuit status events to give more details, like purpose,
  231. whether they're internal, when they become dirty, when they become
  232. too dirty for further circuits, etc.
  233. - What do we want here, exactly?
  234. - Specify and implement it.
  235. - Change stream status events analogously.
  236. - What do we want here, exactly?
  237. - Specify and implement it.
  238. - Make other events "better".
  239. - Change stream status events analogously.
  240. - What do we want here, exactly?
  241. - Specify and implement it.
  242. - Make other events "better" analogously
  243. - What do we want here, exactly?
  244. - Specify and implement it.
  245. . Expose more information via getinfo:
  246. - import and export rendezvous descriptors
  247. - Review all static fields for additional candidates
  248. - Allow EXTENDCIRCUIT to unknown server.
  249. - We need some way to adjust server status, and to tell tor not to
  250. download directories/network-status, and a way to force a download.
  251. - It would be nice to request address lookups from the controller
  252. without using SOCKS.
  253. - Make everything work with hidden services
  254. - Directory system improvements
  255. - config option to publish what ports you listen on, beyond
  256. ORPort/DirPort. It should support ranges and bit prefixes (?) too.
  257. - Parse this.
  258. - Relay this in networkstatus.
  259. - Have a mode that doesn't write to disk much, so we can run Tor on
  260. flash memory (e.g. Linksys routers or USB keys).
  261. o Add AvoidDiskWrites config option.
  262. - only write state file when it's "changed"
  263. - stop writing identity key / fingerprint / etc every restart
  264. - stop caching directory stuff -- and disable mmap?
  265. - more?
  266. o smartlist_uniq(): We have at least 3 places that check a smartlist for
  267. duplicates and then removes them: networkstatus_parse_from_string(),
  268. sort_version_list(), and router_rebuild_descriptor(). This should probably
  269. get its own function that takes a comparator and a delete function.
  270. Future version:
  271. - Tor should have a "DNS port" so we don't need to ship with (and
  272. write) a clean portable dns proxy.
  273. . Update the hidden service stuff for the new dir approach.
  274. - switch to an ascii format, maybe sexpr?
  275. - authdirservers publish blobs of them.
  276. - other authdirservers fetch these blobs.
  277. - hidserv people have the option of not uploading their blobs.
  278. - you can insert a blob via the controller.
  279. - and there's some amount of backwards compatibility.
  280. - teach clients, intro points, and hidservs about auth mechanisms.
  281. - come up with a few more auth mechanisms.
  282. - auth mechanisms to let hidden service midpoint and responder filter
  283. connection requests.
  284. - Bind to random port when making outgoing connections to Tor servers,
  285. to reduce remote sniping attacks.
  286. - Have new people be in limbo and need to demonstrate usefulness
  287. before we approve them.
  288. - Clients should estimate their skew as median of skew from servers
  289. over last N seconds.
  290. - Make router_is_general_exit() a bit smarter once we're sure what it's for.
  291. - Audit everything to make sure rend and intro points are just as likely to
  292. be us as not.
  293. - Do something to prevent spurious EXTEND cells from making middleman
  294. nodes connect all over. Rate-limit failed connections, perhaps?
  295. - Automatically determine what ports are reachable and start using
  296. those, if circuits aren't working and it's a pattern we recognize
  297. ("port 443 worked once and port 9001 keeps not working").
  298. - Limit to 2 dir, 2 OR, N SOCKS connections per IP.
  299. - Handle full buffers without totally borking
  300. - Rate-limit OR and directory connections overall and per-IP and
  301. maybe per subnet.
  302. - Hold-open-until-flushed now works by accident; it should work by
  303. design.
  304. - DoS protection: TLS puzzles, public key ops, bandwidth exhaustion.
  305. - Specify?
  306. - tor-resolve script should use socks5 to get better error messages.
  307. - hidserv offerers shouldn't need to define a SocksPort
  308. * figure out what breaks for this, and do it.
  309. - tor should be able to have a pool of outgoing IP addresses
  310. that it is able to rotate through. (maybe)
  311. - let each hidden service (or other thing) specify its own
  312. OutboundBindAddress?
  313. Blue-sky:
  314. - Patch privoxy and socks protocol to pass strings to the browser.
  315. - Standby/hotswap/redundant hidden services.
  316. - Robust decentralized storage for hidden service descriptors.
  317. - The "China problem"
  318. - Allow small cells and large cells on the same network?
  319. - Cell buffering and resending. This will allow us to handle broken
  320. circuits as long as the endpoints don't break, plus will allow
  321. connection (tls session key) rotation.
  322. - Implement Morphmix, so we can compare its behavior, complexity, etc.
  323. - Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  324. link crypto, unless we can bully openssl into it.
  325. - Need a relay teardown cell, separate from one-way ends.
  326. (Pending a user who needs this)
  327. - Handle half-open connections: right now we don't support all TCP
  328. streams, at least according to the protocol. But we handle all that
  329. we've seen in the wild.
  330. (Pending a user who needs this)
  331. Non-Coding:
  332. - Mark up spec; note unclear points about servers
  333. - Mention controller libs someplace.
  334. . more pictures from ren. he wants to describe the tor handshake
  335. NR- write a spec appendix for 'being nice with tor'
  336. - tor-in-the-media page
  337. - Remove need for HACKING file.
  338. - Figure out licenses for website material.
  339. Website:
  340. - and remove home and make the "Tor" picture be the link to home.
  341. - put the logo on the website, in source form, so people can put it on
  342. stickers directly, etc.
  343. R - make a page with the hidden service diagrams.
  344. - ask Jan to be the translation coordinator? add to volunteer page.