TODO 14 KB

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