TODO 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. Obvious things I'd like to do that won't break anything:
  2. * Abstract out crypto calls, with the eventual goal of moving
  3. from openssl to something with a more flexible license.
  4. * Test suite. We need one.
  5. * Since my OR can handle multiple circuits through a given OP,
  6. I think it's clear that the OP should pass new create cells through the
  7. same channel. Thus we can take advantage of the padding we're already
  8. getting. Does that mean the choose_onion functions should be changed
  9. to always pick a favorite OR first, so the OP can minimize the number
  10. of outgoing connections it must sustain?
  11. * Figure out what .h files we're actually using, and how portable
  12. those are.
  13. * Exit policies. Since we don't really know what protocol is being spoken,
  14. it really comes down to an IP range and port range that we
  15. allow/disallow. The 'application' connection can evaluate it and make
  16. a decision.
  17. * We currently block on gethostbyname at the exit. This is poor. We need
  18. to set it up so we have a separate process that we talk to. There are
  19. some free software versions we can use, but they'll still be tricky.
  20. * I'd like a cleaner interface for the configuration files, keys, etc.
  21. Perhaps the next step is a central repository where we download router
  22. lists? We can aim to make use of the directory servers that Mixminion
  23. deploys.
  24. * ORs should rotate their link keys periodically. Later.
  25. * The parts of the code that say 'FIXME'
  26. * Clean up the number of places that get to look at prkey. Later.
  27. * Circuits should expire sometime, say, when circuit->expire triggers?
  28. Later.
  29. Non-obvious things I'd like to do:
  30. (Many of these topics are inter-related. It's clear that we need more
  31. analysis before we can guess which approaches are good.)
  32. * Currently when a connection goes down, it generates a destroy cell
  33. (either in both directions or just the appropriate one). When a
  34. destroy cell arrives to an OR (and it gets read after all previous
  35. cells have arrived), it delivers a destroy cell for the "other side"
  36. of the circuit: if the other side is an OP or App, it closes the entire
  37. connection as well.
  38. But by "a connection going down", I mean "I read eof from it". Yet
  39. reading an eof simply means that it promises not to send any more
  40. data. It may still be perfectly fine receiving data (read "man 2
  41. shutdown"). In fact, some webservers work that way -- the client sends
  42. his entire request, and when the webserver reads an eof it begins
  43. its response. We currently don't support that sort of protocol; we
  44. may want to switch to some sort of a two-way-destroy-ripple technique
  45. (where a destroy makes its way all the way to the end of the circuit
  46. before being echoed back, and data stops flowing only when a destroy
  47. has been received from both sides of the circuit); this extends the
  48. one-hop-ack approach that Matej used.
  49. * Reply onions. Hrm.