Commit Graph

11 Commits

Author SHA1 Message Date
Sage Weil
b2240bce41 doc/dev/msgr2: better formatting
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-07 11:01:33 -05:00
Sage Weil
b24e187b5a doc/dev/msgr2: clarify padding alignment
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-07 11:01:24 -05:00
Sage Weil
5eb0620f12 doc/dev/msgr2: tweak message flow handshake
- specify entity_name_t in TAG_IDENT instead of every msg
header
- add more notes
- include optional padding before the data segment for a msg

Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-06 17:30:25 -05:00
Sage Weil
4b50277666 doc/dev/msgr2: remove stream concept, streamline auth
- Remove stream concept.  it was incompletely/poorly
specified, and we dno't actually want to implement it now. We
can do it later now that we have a banner that advertises
features more clearly.

- Simplify the auth messages a bit: make a MORE message that
isn't a request (or reply), and a final DONE.  DONE comes from
the server, not the client.  Drop the SET_METHOD which can be
rolled into the REQUEST message.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-06 14:29:42 -05:00
Ricardo Dias
39e025b544
doc/dev/msgr2.rst: update of the banner and authentication phases
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-01-24 10:33:48 +00:00
Sage Weil
73934df3b0 doc/dev/msgr2.rst: a few notes on protocol goals
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-23 17:40:43 -06:00
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