- 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>
- 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>
- 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>
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>