TODO 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. Legend:
  2. SPEC!! - Not specified
  3. SPEC - Spec not finalized
  4. NICK - nick claims
  5. ARMA - arma claims
  6. - Not done
  7. * Top priority
  8. . Partially done
  9. o Done
  10. D Deferred
  11. X Abandoned
  12. 0.0.9pre4:
  13. - make RecommendedVersions a CONFIG_TYPE_LINELIST option
  14. R . bandwidth buckets for write as well as read.
  15. N - Handle rendezvousing with unverified nodes.
  16. - Specify: Stick rendezvous point's key in INTRODUCE cell.
  17. Bob should _always_ use key from INTRODUCE cell.
  18. - Implement.
  19. N - node 'groups' that are known to be in the same zone of control.
  20. - Nodes can list their coadministrated nodes.
  21. - If A lists B, it only counts if B also lists A
  22. - Users can list other coadministrated nodes if they like.
  23. . Never choose two coadministrated nodes in the same circuit.
  24. R - figure out enclaves, e.g. so we know what to recommend that people
  25. do, and so running a tor server on your website is helpful.
  26. - Do enclaves for same IP only.
  27. - Resolve first, then if IP is an OR, connect to next guy.
  28. N - let tor servers use proxies for port 80 exits
  29. - Use generic port redirector for IP/bits:Port->IP:Port .
  30. - Make use of them when we're doing exit connections.
  31. 0.0.9pre5:
  32. N - per-month byte allowances.
  33. - Based on bandwidth and per-month allowance, choose a
  34. window within month to be up. Stay up until allowance is
  35. used. Adjust next month's window based on outcome. Hibernate
  36. when we're not up.
  37. - Hibernate means "stop accepting connections, and start sleeping"
  38. N - Pure C tor_resolve
  39. N - the user interface interface
  40. - Skeleton only.
  41. - Implement parts along with trivial fun gui.
  42. N - add ipv6 support.
  43. - Spec issue: if a resolve returns an IP4 and an IP6 address,
  44. which to use?
  45. R - learn from ben about his openssl-reinitialization-trick to
  46. rotate tls keys without making new connections.
  47. - (Roger grabs Ben next time he sees him on IRC)
  48. D nt services on win32.
  49. 0.0.9 and beyond:
  50. - fix sprintf's to snprintf's?
  51. . Make intro points and rendezvous points accept $KEYID in addition
  52. to nicknames.
  53. o Specify
  54. o Implement parsing
  55. - Generate new formats (Not till 007 is dead)
  56. - christian grothoff's attack of infinite-length circuit.
  57. the solution is to have a separate 'extend-data' cell type
  58. which is used for the first N data cells, and only
  59. extend-data cells can be extend requests.
  60. - make loglevel info less noisy
  61. - put expiry date on onion-key, so people don't keep trying
  62. old ones that they could know are expired?
  63. * Leave on todo list, see if pre3 onion fixes helped enough.
  64. - should the running-routers list put unverified routers at the
  65. end?
  66. * Cosmetic, don't do it yet.
  67. - make advertised_server_mode() ORs fetch dirs more often.
  68. * not necessary yet.
  69. - Add a notion of nickname->Pubkey binding that's not 'verification'
  70. * eventually, only when needed
  71. - ORs use uniquer default nicknames
  72. * Don't worry about this for now
  73. - Handle full buffers without totally borking
  74. * do this eventually, no rush.
  75. - have a pool of circuits available, cannibalize them
  76. for your purposes (e.g. rendezvous, etc).
  77. - do resolve before trying to attach the stream
  78. * don't do this for now.
  79. - if destination IP is running a tor node, extend a circuit there
  80. before sending begin.
  81. * don't do this for now. figure out how enclaves work. but do enclaves soon.
  82. - Support egd or other non-OS-integrated strong entropy sources
  83. more features, complex:
  84. - Switch dirservers entries to config lines:
  85. - read in and parse each TrustedDir config line.
  86. - stop reading dirservers file.
  87. - add some default TrustedDir lines if none defined, or if
  88. no torrc.
  89. - remove notion of ->is_trusted_dir from the routerlist. that's
  90. no longer where you look.
  91. - clean up router parsing flow, since it's simpler now?
  92. - when checking signature on a directory, look it up in
  93. options.TrustedDirs, and make sure there's a descriptor
  94. with that nickname, whose key hashes to the fingerprint,
  95. and who correctly signed the directory.
  96. * nick will do the above
  97. - when fetching a directory, if you want a trusted one,
  98. choose from the trusteddir list.
  99. - which means keeping track of which ones are "up"
  100. - if you don't need a trusted one, choose from the routerinfo
  101. list if you have one, else from the trusteddir list.
  102. * roger will do the above
  103. - add a listener for a ui
  104. * nick chats with weasel
  105. - and a basic gui
  106. - Have clients and dirservers preserve reputation info over
  107. reboots.
  108. * continue not doing until we have something we need to preserve
  109. - round detected bandwidth up to nearest 10KB?
  110. - client software not upload descriptor until:
  111. - you've been running for an hour
  112. - it's sufficiently satisfied with its bandwidth
  113. - it decides it is reachable
  114. - start counting again if your IP ever changes.
  115. - never regenerate identity keys, for now.
  116. - you can set a bit for not-being-an-OR.
  117. * no need to do this yet. few people define their ORPort.
  118. - authdirserver lists you as running iff:
  119. - he can connect to you
  120. - he has successfully extended to you
  121. - you have sufficient mean-time-between-failures
  122. * keep doing nothing for now.
  123. blue sky:
  124. - Possible to get autoconf to easily install things into ~/.tor?
  125. ongoing:
  126. . rename/rearrange functions for what file they're in
  127. - generalize our transport: add transport.c in preparation for
  128. http, airhook, etc transport.
  129. NICK - investigate sctp for alternate transport.
  130. For September:
  131. NICK . Windows port
  132. o works as client
  133. - deal with pollhup / reached_eof on all platforms
  134. . robust as a client
  135. . works as server
  136. - can be configured
  137. - robust as a server
  138. . Usable as NT service
  139. - docs for building in win
  140. - installer, including all needed libs.
  141. - Docs
  142. . FAQ
  143. o overview of tor. how does it work, what's it do, pros and
  144. cons of using it, why should I use it, etc.
  145. - a howto tutorial with examples
  146. * put a stub on the wiki
  147. o tutorial: how to set up your own tor network
  148. - (need to not hardcode dirservers file in config.c)
  149. * this will be solved when we put dirservers in config lines
  150. - port forwarding howto for ipchains, etc
  151. * roger add to wiki of requests
  152. . correct, update, polish spec
  153. - document the exposed function api?
  154. o document what we mean by socks.
  155. NICK . packages
  156. . rpm
  157. * nick will look at the spec file
  158. - find a long-term rpm maintainer
  159. * roger will start guilting people
  160. - code
  161. - better warn/info messages
  162. o let tor do resolves.
  163. o extend socks4 to do resolves?
  164. o make script to ask tor for resolves
  165. - write howto for setting up tsocks, socat.
  166. - including on osx and win32
  167. - freecap handling
  168. - tsocks
  169. o gather patches, submit to maintainer
  170. * send him a reminder mail and see what's up.
  171. - intercept gethostbyname and others
  172. * add this to tsocks
  173. o do resolve via tor
  174. - redesign and thorough code revamp, with particular eye toward:
  175. - support half-open tcp connections
  176. - conn key rotation
  177. - other transports -- http, airhook
  178. - modular introduction mechanism
  179. - allow non-clique topology
  180. Other details and small and hard things:
  181. - tor should be able to have a pool of outgoing IP addresses
  182. that it is able to rotate through. (maybe)
  183. - tie into squid
  184. - hidserv offerers shouldn't need to define a SocksPort
  185. * figure out what breaks for this, and do it.
  186. - when the client fails to pick an intro point for a hidserv,
  187. it should refetch the hidserv desc.
  188. . should maybe make clients exit(1) when bad things happen?
  189. e.g. clock skew.
  190. - should retry exitpolicy end streams even if the end cell didn't
  191. resolve the address for you
  192. . Make logs handle it better when writing to them fails.
  193. o Dirserver shouldn't put you in running-routers list if you haven't
  194. uploaded a descriptor recently
  195. . Refactor: add own routerinfo to routerlist. Right now, only
  196. router_get_by_nickname knows about 'this router', as a hack to
  197. get circuit_launch_new to do the right thing.
  198. . Scrubbing proxies
  199. - Find an smtp proxy?
  200. . Get socks4a support into Mozilla
  201. - Need a relay teardown cell, separate from one-way ends.
  202. - Make it harder to circumvent bandwidth caps: look at number of bytes
  203. sent across sockets, not number sent inside TLS stream.
  204. - fix router_get_by_* functions so they can get ourselves too,
  205. and audit everything to make sure rend and intro points are
  206. just as likely to be us as not.
  207. ***************************Future tasks:****************************
  208. Rendezvous and hidden services:
  209. make it fast:
  210. - preemptively build and start rendezvous circs.
  211. - preemptively build n-1 hops of intro circs?
  212. - cannibalize general circs?
  213. make it reliable:
  214. - standby/hotswap/redundant services.
  215. - store stuff to disk? dirservers forget service descriptors when
  216. they restart; nodes offering hidden services forget their chosen
  217. intro points when they restart.
  218. make it robust:
  219. - auth mechanisms to let midpoint and bob selectively choose
  220. connection requests.
  221. make it scalable:
  222. - right now the hidserv store/lookup system is run by the dirservers;
  223. this won't scale.
  224. Tor scalability:
  225. Relax clique assumptions.
  226. Redesign how directories are handled.
  227. - Separate running-routers lookup from descriptor list lookup.
  228. - Resolve directory agreement somehow.
  229. - Cache directory on all servers.
  230. Find and remove bottlenecks
  231. - Address linear searches on e.g. circuit and connection lists.
  232. Reputation/memory system, so dirservers can measure people,
  233. and so other people can verify their measurements.
  234. - Need to measure via relay, so it's not distinguishable.
  235. Bandwidth-aware path selection. So people with T3's are picked
  236. more often than people with DSL.
  237. Reliability-aware node selection. So people who are stable are
  238. preferred for long-term circuits such as intro and rend circs,
  239. and general circs for irc, aim, ssh, etc.
  240. Let dissidents get to Tor servers via Tor users. ("Backbone model")
  241. Anonymity improvements:
  242. Is abandoning the circuit the only option when an extend fails, or
  243. can we do something without impacting anonymity too much?
  244. Is exiting from the middle of the circuit always a bad idea?
  245. Helper nodes. Decide how to use them to improve safety.
  246. DNS resolution: need to make tor support resolve requests. Need to write
  247. a script and an interface (including an extension to the socks
  248. protocol) so we can ask it to do resolve requests. Need to patch
  249. tsocks to intercept gethostbyname, else we'll continue leaking it.
  250. Improve path selection algorithms based on routing-zones paper. Be sure
  251. to start and end circuits in different ASs. Ideally, consider AS of
  252. source and destination -- maybe even enter and exit via nearby AS.
  253. Intermediate model, with some delays and mixing.
  254. Add defensive dropping regime?
  255. Make it more correct:
  256. Handle half-open connections: right now we don't support all TCP
  257. streams, at least according to the protocol. But we handle all that
  258. we've seen in the wild.
  259. Support IPv6.
  260. Efficiency/speed/robustness:
  261. Congestion control. Is our current design sufficient once we have heavy
  262. use? Need to measure and tweak, or maybe overhaul.
  263. Allow small cells and large cells on the same network?
  264. Cell buffering and resending. This will allow us to handle broken
  265. circuits as long as the endpoints don't break, plus will allow
  266. connection (tls session key) rotation.
  267. Implement Morphmix, so we can compare its behavior, complexity, etc.
  268. Use cpuworker for more heavy lifting.
  269. - Signing (and verifying) hidserv descriptors
  270. - Signing (and verifying) intro/rend requests
  271. - Signing (and verifying) router descriptors
  272. - Signing (and verifying) directories
  273. - Doing TLS handshake (this is very hard to separate out, though)
  274. Buffer size pool: allocate a maximum size for all buffers, not
  275. a maximum size for each buffer. So we don't have to give up as
  276. quickly (and kill the thickpipe!) when there's congestion.
  277. Exit node caching: tie into squid or other caching web proxy.
  278. Other transport. HTTP, udp, rdp, airhook, etc. May have to do our own
  279. link crypto, unless we can bully openssl into it.
  280. P2P Tor:
  281. Do all the scalability stuff above, first.
  282. Incentives to relay. Not so hard.
  283. Incentives to allow exit. Possibly quite hard.
  284. Sybil defenses without having a human bottleneck.
  285. How to gather random sample of nodes.
  286. How to handle nodelist recommendations.
  287. Consider incremental switches: a p2p tor with only 50 users has
  288. different anonymity properties than one with 10k users, and should
  289. be treated differently.