Commit Graph

5 Commits

Author SHA1 Message Date
Sage Weil 84c2aa4710 doc/dev/msgr2: TAG_COSE
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-10 17:14:46 -04:00
Sage Weil c846f06548 doc/dev/msgr2: fix english; drop TAG_START
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-10 17:11:04 -04:00
Sage Weil bd47272b93 doc/dev/msgr2: include stream ids
- Add stream ids to the protocol.  This will allow us to
  multiplex multiple entities over the same TCP
  connection.

- Add a frame length.  This lets us pull entire frames
  off the wire without any introspection.  This is
  helpful on the implementation side because each stream
  may have a different cipher and for performance reasons
  because we want to pull large chunks from the network
  at a time.

- Simplify to a single frame format description, with
  only one optional variation (signature or no
  signature).

Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-10 06:57:29 -04:00
Sage Weil 45766fed18 doc/dev/msgr2: drop confounder on *every* message
I don't think this is necessary.  Our signature and cipher state
includes prior messages, so as long as we have a confounded
start (a confounder in MSG_AUTH_DONE, in this case) then we are
in good shape.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-03 09:03:48 -04:00
Sage Weil e4d5d2d1b3 doc/dev/msgr2: document msgr2 protocol
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-02 14:02:05 -04:00