diff options
Diffstat (limited to 'protocol.md')
-rw-r--r-- | protocol.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/protocol.md b/protocol.md index 8bbba49..ff6651b 100644 --- a/protocol.md +++ b/protocol.md @@ -1,8 +1,12 @@ # tomsg protocol (version 2) -The underlying transport of the protocol is a plain TCP socket. The individual -messages are all line-based; this means that a single message, both -client->server and server->client, always ends with a newline (ASCII 10) +The underlying transport of the protocol is a plain TCP socket. However, +because private information is communicated, the recommended transport is an +encrypted and authenticated wrapper around a TCP socket; examples are an SSH +connection, or something built on a TLS connection. + +The individual messages are all line-based; this means that a single message, +both client->server and server->client, always ends with a newline (ASCII 10) character. Preliminary definitions: |