098-todo.txt 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Filename: 098-todo.txt
  2. Title: Proposals that should be written
  3. Author: Nick Mathewson, Roger Dingledine
  4. Created: 26-Jan-2007
  5. Status: Meta
  6. Overview:
  7. This document lists ideas that various people have had for improving the
  8. Tor protocol. These should be implemented and specified if they're
  9. trivial, or written up as proposals if they're not.
  10. This is an active document, to be edited as proposals are written and as
  11. we come up with new ideas for proposals. We should take stuff out as it
  12. seems irrelevant.
  13. For some later protocol version.
  14. - It would be great to get smarter about identity and linkability.
  15. It's not crazy to say, "Never use the same circuit for my SSH
  16. connections and my web browsing." How far can/should we take this?
  17. See ideas/xxx-separate-streams-by-port.txt for a start.
  18. - Fix onionskin handshake scheme to be more mainstream, less nutty.
  19. Can we just do
  20. E(HMAC(g^x), g^x) rather than just E(g^x) ?
  21. No, that has the same flaws as before. We should send
  22. E(g^x, C) with random C and expect g^y, HMAC_C(K=g^xy).
  23. Better ask Ian; probably Stephen too.
  24. - Length on CREATE and friends
  25. - Versioning on circuits and create cells, so we have a clear path
  26. to improve the circuit protocol.
  27. - SHA1 is showing its age. We should get a design for upgrading our
  28. hash once the AHS competition is done, or even sooner.
  29. - Not being able to upgrade ciphersuites or increase key lengths is
  30. lame.
  31. - Paul has some ideas about circuit creation; read his PET paper once it's
  32. out.
  33. Any time:
  34. - Some ideas for revising the directory protocol:
  35. - Extend the "r" line in network-status to give a set of buckets (say,
  36. comma-separated) for that router.
  37. - Buckets are deterministic based on IP address.
  38. - Then clients can choose a bucket (or set of buckets) to
  39. download and use.
  40. - We need a way for the authorities to declare that nodes are in a
  41. family. Also, it kinda sucks that family declarations use O(N^2) space
  42. in the descriptors.
  43. - REASON_CONNECTFAILED should include an IP.
  44. - Spec should incorporate some prose from tor-design to be more readable.
  45. - Spec when we should rotate which keys
  46. - Spec how to publish descriptors less often
  47. - Describe pros and cons of non-deterministic path lengths
  48. - We should use a variable-length path length by default -- 3 +/- some
  49. distribution. Need to think harder about allowing values less than 3,
  50. and there's a tradeoff between having a wide variance and performance.
  51. - Clients currently use certs during TLS. Is this wise? It does make it
  52. easier for servers to tell which NATted client is which. We could use a
  53. seprate set of certs for each guard, I suppose, but generating so many
  54. certs could get expensive. Omitting them entirely would make OP->OR
  55. easier to tell from OR->OR.
  56. Things that should change...
  57. B.1. ... but which will require backward-incompatible change
  58. - Circuit IDs should be longer.
  59. . IPv6 everywhere.
  60. - Maybe, keys should be longer.
  61. - Maybe, key-length should be adjustable. How to do this without
  62. making anonymity suck?
  63. - Drop backward compatibility.
  64. - We should use a 128-bit subgroup of our DH prime.
  65. - Handshake should use HMAC.
  66. - Multiple cell lengths.
  67. - Ability to split circuits across paths (If this is useful.)
  68. - SENDME windows should be dynamic.
  69. - Directory
  70. - Stop ever mentioning socks ports
  71. B.1. ... and that will require no changes
  72. - Advertised outbound IP?
  73. - Migrate streams across circuits.
  74. - Fix bug 469 by limiting the number of simultaneous connections per IP.
  75. B.2. ... and that we have no idea how to do.
  76. - UDP (as transport)
  77. - UDP (as content)
  78. - Use a better AES mode that has built-in integrity checking,
  79. doesn't grow with the number of hops, is not patented, and
  80. is implemented and maintained by smart people.
  81. Let onion keys be not just RSA but maybe DH too, for Paul's reply onion
  82. design.