TODO 13 KB

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