TODO 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. o Use a stronger cipher
  13. o aes now, by including the code ourselves
  14. . streams / circuits
  15. o Implement streams
  16. o Rotate circuits after N minutes?
  17. X Circuits should expire when circuit->expire triggers
  18. NICK . Handle half-open connections
  19. o Figure out what causes connections to close, standardize
  20. when we mark a connection vs when we tear it down
  21. o Look at what ssl does to keep from mutating data streams
  22. - Reduce streamid footprint from 7 bytes to 3 bytes
  23. - Check for collisions in streamid (now possible with
  24. just 3 bytes), and back up & replace with padding if so
  25. - Use the 3 saved bytes to put pseudorandomness in each cell
  26. - Use the 4 reserved bytes in each cell header to keep 1/5
  27. of a sha1 of the payload
  28. - (Move these 4 bytes into the stream header)
  29. - Consider moving length into the stream header too
  30. - Spec the stream_id stuff. Clarify that nobody on the backward
  31. stream should look at stream_id.
  32. X On the fly compression of each stream
  33. o Clean up the event loop (optimize and sanitize)
  34. ARMA o Remove that awful concept of 'roles'
  35. ARMA . Exit policies
  36. o Spec how to write the exit policies
  37. - Path selection algorithms
  38. - Let user request certain nodes
  39. - And disallow certain nodes
  40. D Choose path by jurisdiction, etc?
  41. - Make relay end cells have failure status and payload attached
  42. - Streams that fail due to exit policy must reextend to new node
  43. - Add extend_wait state to edge connections, thumb through them
  44. when the AP get an extended cell.
  45. SPEC!! D Non-clique topologies
  46. D Implement our own memory management, at least for common structs
  47. . Appropriate logging
  48. - Come up with convention for what log level means what
  49. - Make code follow convention
  50. o Terminology
  51. o Circuits, topics, cells stay named that
  52. o 'Connection' gets divided, or renamed, or something?
  53. o DNS farm
  54. o Distribute queries onto the farm, get answers
  55. o Preemptively grow a new worker before he's needed
  56. o Prune workers when too many are idle
  57. o DNS cache
  58. o Clear DNS cache over time
  59. D Honor DNS TTL info (how??)
  60. o Have strategy when all workers are busy
  61. o Keep track of which connections are in dns_wait
  62. o Need to cache positives/negatives on the tor side
  63. o Keep track of which queries have been asked
  64. o Better error handling when
  65. o An address doesn't resolve
  66. o We have max workers running
  67. o Consider taking the master out of the loop?
  68. . Put CPU workers in separate processes
  69. o Handle multiple cpu workers (one for each cpu, plus one)
  70. o Queue for pending tasks if all workers full
  71. o Support the 'process this onion' task
  72. - Support the 'decrypt this RSA blob' handshake1 task
  73. - Handle cpuworkers dying
  74. D Support later handshake parts
  75. . Directory servers
  76. D Automated reputation management
  77. o Include key in source; sign directories
  78. o Signed directory backend
  79. o Document
  80. o Integrate
  81. - Add versions to code
  82. . Have directories list recommended-versions
  83. o Include (unused) line in directories
  84. o Check for presence of line.
  85. - Quit if running the wrong version
  86. - Command-line option to override quit
  87. . Add more information to directory server entries
  88. o Exit policies
  89. D jurisdiction? others?
  90. SPEC!! D Figure out how to do threshold directory servers
  91. . Scrubbing proxies
  92. - Find an smtp proxy?
  93. - Check the old smtp proxy code
  94. o Find an ftp proxy? wget --passive
  95. D Wait until there are packet redirectors for Linux
  96. . Get socks4a support into Mozilla
  97. . Get tor to act like a socks server
  98. o socks4, socks4a
  99. D socks5
  100. SPEC!! - Handle socks commands other than connect, eg, bind?
  101. . Develop rendezvous points
  102. . Spec (still needs step-by-step instructions)
  103. - Implement
  104. D Implement reply onions
  105. D Deploy and manage open source development site.
  106. . Documentation
  107. o Discussion of socks, tsocks, etc
  108. o On-the-network protocol
  109. o Onions
  110. o Cells
  111. . Better comments for functions!
  112. - Tests
  113. o Testing harness/infrastructure
  114. NICK . Unit tests
  115. D System tests (how?)
  116. - Performance tests, so we know when we've improved
  117. . webload infrastructure (Bruce)
  118. . httperf infrastructure (easy to set up)
  119. . oprofile (installed in RH >8.0)
  120. D Deploy a widespread network
  121. . Router twins
  122. o Choose twin if primary is down, when laying circuit
  123. D Load balancing between twins
  124. - Keep track of load over links/nodes, to
  125. know who's hosed
  126. NICK . Daemonize and package
  127. o Teach it to fork and background
  128. - Red Hat spec file
  129. - Debian spec file equivalent
  130. . Autoconf
  131. . Which .h files are we actually using?
  132. . Port to:
  133. o Linux
  134. o BSD
  135. . Solaris
  136. o Cygwin
  137. . Win32
  138. o OS X
  139. o openssl randomness
  140. o inet_ntoa
  141. . stdint.h
  142. - Make a script to set up a local network on your machine
  143. D Move away from openssl
  144. o Abstract out crypto calls
  145. D Look at nss, others? Just include code?
  146. o Clean up the number of places that get to look at prkey
  147. . Clearer bandwidth management
  148. - Do we want to remove bandwidth from OR handshakes?
  149. - What about OP handshakes?
  150. o Total rate limiting
  151. o Look at OR handshake in more detail
  152. o Spec it
  153. o Merge OR and OP handshakes
  154. o rearrange connection_or so it doesn't suck so much to read
  155. D Periodic link key rotation. Spec?
  156. - More flexibility in node addressing
  157. D Support IPv6 rather than just 4
  158. - Handle multihomed servers (config variable to set IP)
  159. . Move from onions to ephemeral DH
  160. o incremental path building
  161. o transition circuit-level sendmes to hop-level sendmes
  162. o implement truncate, truncated
  163. o move from 192byte DH to 128byte DH, so it isn't so damn slow
  164. - exiting from not-last hop
  165. - OP logic to decide to extend/truncate a path
  166. - make sure exiting from the not-last hop works
  167. - logic to find last *open* hop, not last hop, in cpath
  168. - choose exit nodes by exit policies
  169. o wrap malloc with something that explodes when it fails