TODO 12 KB

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