You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by tw...@apache.org on 2025/04/09 22:31:56 UTC
(mina-sshd) 24/24: Filter documentation
This is an automated email from the ASF dual-hosted git repository.
twolf pushed a commit to branch dev_3.0
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
commit 20df035e8df49525992ace83dc04420f3e950f15
Author: Thomas Wolf <tw...@apache.org>
AuthorDate: Wed Apr 9 22:33:13 2025 +0200
Filter documentation
Add a brief description of the filter chain and of filters.
---
CHANGES.md | 60 +--
docs/changes/version2.md | 22 +
docs/technical/filters.md | 193 ++++++++
docs/technical/filters_2.x.svg | 3 +
docs/technical/filters_3.x.svg | 3 +
docs/technical/filters_context.svg | 3 +
docs/technical/filters_proxy.svg | 3 +
docs/technical/filters_ssh_chain.svg | 3 +
docs/technical/filters_ssh_transport.svg | 3 +
docs/technical/kex.md | 47 +-
docs/technical/kex_flush.svg | 744 -------------------------------
docs/technical/kex_interaction_1.svg | 431 +-----------------
docs/technical/kex_interaction_2.svg | 460 +------------------
docs/technical/kex_states.svg | 256 +----------
docs/technical/src/filters.drawio | 719 +++++++++++++++++++++++++++++
docs/technical/src/kex.drawio | 716 ++++++++++++++++++++++++++++-
16 files changed, 1699 insertions(+), 1967 deletions(-)
diff --git a/CHANGES.md b/CHANGES.md
index 9377f97e4..3f60220f6 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,58 +1,20 @@
# Previous Versions
-* [Version 2.1.0 to 2.2.0](./docs/changes/2.2.0.md)
-* [Version 2.2.0 to 2.3.0](./docs/changes/2.3.0.md)
-* [Version 2.3.0 to 2.4.0](./docs/changes/2.4.0.md)
-* [Version 2.4.0 to 2.5.0](./docs/changes/2.5.0.md)
-* [Version 2.5.0 to 2.5.1](./docs/changes/2.5.1.md)
-* [Version 2.5.1 to 2.6.0](./docs/changes/2.6.0.md)
-* [Version 2.6.0 to 2.7.0](./docs/changes/2.7.0.md)
-* [Version 2.7.0 to 2.8.0](./docs/changes/2.8.0.md)
-* [Version 2.8.0 to 2.9.0](./docs/changes/2.9.0.md)
-* [Version 2.9.0 to 2.9.1](./docs/changes/2.9.1.md)
-* [Version 2.9.1 to 2.9.2](./docs/changes/2.9.2.md)
-* [Version 2.9.2 to 2.10.0](./docs/changes/2.10.0.md)
-* [Version 2.10.0 to 2.11.0](./docs/changes/2.11.0.md)
-* [Version 2.11.0 to 2.12.0](./docs/changes/2.12.0.md)
-* [Version 2.12.0 to 2.12.1](./docs/changes/2.12.1.md)
-* [Version 2.12.1 to 2.13.0](./docs/changes/2.13.0.md)
-* [Version 2.13.0 to 2.13.1](./docs/changes/2.13.1.md)
-* [Version 2.13.1 to 2.13.2](./docs/changes/2.13.2.md)
-* [Version 2.13.2 to 2.14.0](./docs/changes/2.14.0.md)
-
-# Latest Released Version
-
-* **[Version 2.14.0 to 2.15.0](./docs/changes/2.15.0.md)**
-
-# Planned for Next Version
-
-## Bug Fixes
-
-* [GH-650](https://github.com/apache/mina-sshd/issues/650) Use the correct key from a user certificate in server-side pubkey auth
-* [GH-663](https://github.com/apache/mina-sshd/issues/663) Fix racy `IoSession` creation
-* [GH-664](https://github.com/apache/mina-sshd/issues/664) Skip MAC negotiation if an AEAD cipher was negotiated
-* [GH-677](https://github.com/apache/mina-sshd/issues/677) Fix current directory handling in `ScpShell` for WinSCP
-* [GH-678](https://github.com/apache/mina-sshd/issues/678) `ScpShell`: write month names in English for WinSCP
-* [GH-690](https://github.com/apache/mina-sshd/issues/690) Handle append mode for buggy SFTP v3 servers
-* [GH-700](https://github.com/apache/mina-sshd/issues/700) Fix race in `AbstractCloseable.doCloseImmediately()`
-* [GH-709](https://github.com/apache/mina-sshd/issues/709) `AbstractChannel`: Handle keep-alive channel messages sent by an old OpenSSH server
-
-
-* [SSHD-1343](https://issues.apache.org/jira/projects/SSHD/issues/SSHD-1343) Correct documentation in `ChannelDataReceiver`
+* [Change Notes for Version 2](./docs/changes/version2.md)
-## New Features
-
-* [GH-705](https://github.com/apache/mina-sshd/issues/705) New method `TcpipServerChannel.getPort()` returning the `ChannelToPortHandler`
+# Version 3
+** This is work in progress.** Version 3 contains many API breaks from version 2. When we release it, there will be a japicmp report.
-* [SSHD-1161](https://issues.apache.org/jira/projects/SSHD/issues/SSHD-1161) Support pubkey auth with user certificates (server-side)
- * Client-side support was introduced in version 2.8.0 already
-* [SSHD-1167](https://issues.apache.org/jira/projects/SSHD/issues/SSHD-1167) Check host certificates against known_hosts file (implements @<!-- -->cert-authority)
+Version 3 includes all the features and bug fixes of version 2, including the [latest ones](https://github.com/apache/mina-sshd/blob/master/CHANGES.md#planned-for-next-version).
-## Potential Compatibility Issues
+## Major Code Re-factoring
-Client-side KEX: we've changed the default of the setting `CoreModuleProperties.ABORT_ON_INVALID_CERTIFICATE` from `false` to `true`.
-A client will newly abort an SSH connection if the server presents an invalid OpenSSH host certificate as host key.
+* The `AbstractSession` has been completely refactored. Most of its code has been moved out of this class into separate filters in a filter chain. For details, see the [technical documentation](./docs/technical/filters.md).
+* Handling of global requests has been moved from `AbstractSession` to the `ConnectionService`.
+* KEX temporarily closes `RemoteWindow`s, preventing data to be written in that way until KEX is over. Version 2 blocked threads in a different, more convoluted, and fragile way.
-## Major Code Re-factoring
+## New Features
+* Random padding on SSH packets as suggested by [RFC 4253, section 6](https://datatracker.ietf.org/doc/html/rfc4253#section-6).
+* New event callback `SessionListener.sessionStarting()`. See the [filter documentation](./docs/technical/filters.md). `SessionLIstener.sessionEstablished()` was removed; it was called from the constructor of `AbstractSession` at a time when the object was not yet fully initialized.
\ No newline at end of file
diff --git a/docs/changes/version2.md b/docs/changes/version2.md
new file mode 100644
index 000000000..a9d33d53d
--- /dev/null
+++ b/docs/changes/version2.md
@@ -0,0 +1,22 @@
+# Change Notes for Version 2
+
+* [Version 2.1.0 to 2.2.0](./2.2.0.md)
+* [Version 2.2.0 to 2.3.0](./2.3.0.md)
+* [Version 2.3.0 to 2.4.0](./2.4.0.md)
+* [Version 2.4.0 to 2.5.0](./2.5.0.md)
+* [Version 2.5.0 to 2.5.1](./2.5.1.md)
+* [Version 2.5.1 to 2.6.0](./2.6.0.md)
+* [Version 2.6.0 to 2.7.0](./2.7.0.md)
+* [Version 2.7.0 to 2.8.0](./2.8.0.md)
+* [Version 2.8.0 to 2.9.0](./2.9.0.md)
+* [Version 2.9.0 to 2.9.1](./2.9.1.md)
+* [Version 2.9.1 to 2.9.2](./2.9.2.md)
+* [Version 2.9.2 to 2.10.0](./2.10.0.md)
+* [Version 2.10.0 to 2.11.0](./2.11.0.md)
+* [Version 2.11.0 to 2.12.0](./2.12.0.md)
+* [Version 2.12.0 to 2.12.1](./2.12.1.md)
+* [Version 2.12.1 to 2.13.0](./2.13.0.md)
+* [Version 2.13.0 to 2.13.1](./2.13.1.md)
+* [Version 2.13.1 to 2.13.2](./2.13.2.md)
+* [Version 2.13.2 to 2.14.0](./2.14.0.md)
+* [Version 2.14.0 to 2.15.0](./2.15.0.md)
diff --git a/docs/technical/filters.md b/docs/technical/filters.md
new file mode 100644
index 000000000..1c4d2b122
--- /dev/null
+++ b/docs/technical/filters.md
@@ -0,0 +1,193 @@
+# Session Anatomy
+
+Let's take a closer look at the anatomy of an SSH session in Apache MINA sshd.
+
+The main class implementing an SSH session is `AbstractSession`. Specifics of client and server
+sessions are then implemented in subclasses `ClientSessionImpl` or `ServerSessionImpl`, respectively.
+
+Basically an `AbstractSession` receives SSH messages and dispatches them to the currently active
+SSH service. There is always exactly one such service active. During the lifetime of an SSH
+session, there are normally two such services:
+
+- first a user authentication service (`UserAuthService`) handling user log-in, and
+- after successful log-in, a connection service handling SSH channels.
+
+## Legacy: Apache MINA sshd version 2
+
+In the 2.x.y versions of Apache MINA sshd, this looked roughly like this:
+
+
+
+As one can see `AbstractSession` was responsible for a lot of things: all the various aspects of
+SSH connections were handled in this one big messy class. An incoming message would be passed
+from the I/O transport directly to the session; where it would be decrypted, decompressed, and
+then handled. Outgoing messages (from either user authentication, or from the connection service,
+or also messages sent directly by the `AbstractSession` itself) would all go through
+`AbstractSession.write()`, and the session would compress and encrypt them before handing handing
+them off to the I/O transport for sending over the socket.
+
+The session also dealt with all the intricacies of performing key exchanges. All this got more
+and more convoluted and brittle over time and became a nightmare to maintain or reason about.
+It also got very hard to improve or extend. Implementing a control master/client configuration
+like OpenSSH would have been very difficult or even impossible because the SSH transport and
+channel protocols were not cleanly separated, or implementing client-side proxy support would
+have been possible only with additional hacks.
+
+## Version 3: The Filter Chain
+In version 3 of Apache MINA sshd, we've taken this apart. We've given each session a *filter chain*.
+This filter chain results then in the following structure:
+
+
+
+You may know the concept of a filter chain from web servers, or also from I/O libraries like
+Apache MINA or Netty (where it's called a "pipeline").
+
+Each filter has a handler for incoming messages and one for outgoing messages. A filter that shall
+apply to messages in only one direction may also have only one handler, for instance, only a handler
+for incoming messages but none for outgoing ones. If a filter doesn't have a handler for a direction,
+it is simply skipped for those messages.
+
+Each SSH `Session` in Apache MINA sshd has such a filter chain.
+
+You may notice that individual filters do not "know" the other filters: there are no links from one
+filter directly to the next or previous one in the chain. Instead, the filter chain manages the
+order of the filters itself via a doubly-linked list of `FilterContext`s. When a filter wants to pass
+on an incoming message to the next filter, or an outgoing message to the previous filter, it always
+goes through its `FilterContext`:
+
+
+
+The link between a `Filter` and its `FilterContext` is bi-directional: the filter knows its context as
+the `owner()`, while a context knows its `filter`. This cleanly separates managing the order of filters
+from the filters itself, and incidentally it also simplifies the APIs.
+
+Note that the whole implementation of this filter chain or the number of method calls needed to pass
+messages along the filter chain is not relevant for performance in SSH at all. The main factors
+influencing performance are encryption for the transport, and the cryptographic operations in key
+exchange for connection initialization.
+
+## SSH Transport as a Filter Chain
+
+With a filter chain in place, we use it to split up the SSH transport defined in
+[RFC 4253](https://datatracker.ietf.org/doc/html/rfc4253) into separate filters. We thus have a filter
+chain implementing SSH transport: nearly all of the convoluted code from the version 2 `AbstractSession`
+can be removed and be placed in individual filters.
+
+
+
+We get a clear separation of concerns, and we can even handle certain aspects completely transparently
+for upper layers. For instance, the `IdentFilter` at the bottom of the filter chain can automatically
+handle sending and receiving the SSH protocol version string. Other filters later ("higher") in the
+chain don't have to care about this at all. Likewise the KexFilter can manage the whole key exchange
+sub-protocol transparently such that the `AbstractSession` doesn't have to deal with it at all.
+
+This separation also has a huge maintenance benefit: because each filter deals with only one isolated
+aspect of the SSH transport, it can also be tested easily in isolation without having to mock umpteen
+unrelated functions.
+
+Note that the `InjectIgnoreFilter` has no input handler: it will be skipped for incoming messages. For
+outgoing messages, it may insert spurious `SSH_MSG_IGNORE` messages of random length random data into
+the message stream. This is the "additional protection against advanced traffic analysis techniques"
+mentioned in [RFC 4253](https://datatracker.ietf.org/doc/html/rfc4253#section-11.2).
+
+### Concurrency
+
+The SSH protocol is basically non-concurrent. There are various places in the RFCs that require handling
+messages in sequence. SSH packages must be decrypted or encrypted in the order they are received or sent.
+Key exchange is basically a synchronous sub-protocol; while a key exchange is on-going, any higher-level
+messages (from the user authentication or connection service) are blocked and are sent only once the key
+exchange is over.
+
+The input and output filter handler chains are not synchronized between each other. Sending and receiving
+messages can occur concurrently. The exception to this is the `KexFilter`: if a key exchange is initiated
+by the peer (an SSH_MSG_KEXINIT message is received), it must synchronize with the output side to ensure
+that the output side starts blocking and buffering high-level messages until the key exchange is over.
+
+### Encapsulating the SSH Transport
+
+To simplify using the filters for the SSH transport, we've introduced a single `SshTransportFilter`. This
+is a single filter encapsulating the filter chain as shown above.
+
+
+
+This simplifies the session's filter chain to have single filter that itself contains a nested filter chain
+with the individual filters, which simplifies the setup of an `AbstractSession` even more.
+
+## Customizing the Filter Chain
+
+The filter chain also makes it easy to customize the transport to account for special circumstances. For
+instance, user code could insert its own filter below the SSH transport filter to deal with special setups
+needed for the communication. An example would be handling proxies. Setting up a tunnel through a SOCKS or
+HTTP CONNECT proxy could be implemented as its own filter that transparently handles the proxy protocol,
+including proxy authentication, and then this filter can be added to the filter chain:
+
+
+
+This can be done also on the server side, for instance with a proxy filter handling the HAproxy protocol
+header. In fact, there is such a filter available in bundle `sshd-contrib`; it's called `HAProxyProtocolFilter`.
+
+### How to add Custom Filters
+
+User code can customize the filter chain of an `AbstractSession` via a `SessionListener`. There are two event
+callbacks that can be used to modify the filter chain:
+
+* `sessionCreated`: at this point the filter chain is still empty (it contains no filters). User code can
+completely override the default filter chain by adding filters here. If the filter chain contains any filter
+after this event, the framework will assume the filter chain is fully set up and will not add its default
+filters.
+* `sessionStarting`: at this slightly later point, the filter chain is set up, either with the default setup,
+or with a customized setup done in `sessionCreated`. User code can now modify the filter chain, for instance
+by adding additional filters to the default chain.
+
+After that, the `AbstractSession` will always add two internal filters: one at the very bottom to connect
+the filter chain with the I/O transport, and one at the very top to connect the message dispatching in
+`AbstractSession` with the filter chain.
+
+## Starting an SSH Session
+
+Once an SSH session is started (automatically by the framework after the `sessionStarting` event), the filter
+chain should not be modified anymore. Adding filters to or removing filters from the chain while messages
+are coming in or going out would be very tricky to get right without race conditions.
+
+If there are filters that should not be active after some time, they can set their incoming or outgoing
+handlers to `null` (use an `AtomicReference`).- An example would be the aforementioned proxy filter: once the
+proxy tunnel is established (or the HAproxy protocol header has been received), such a proxy filter will
+not do anything anymore but pass on messages. Such a filter can then set its handlers to `null`. The filter
+chain will skip any filter that has a `null` handler for the direction a particular message is going.
+
+If your filter does this (sets a handler to `null`), it must still be prepared to forward messages. Due to
+concurrency, it's possible that a message coming from the next or previous filter in the chain still got a
+reference to the handler just before it was set to `null`, and if that happens, such a message must still
+be forwarded.
+
+### Internals
+
+A session is started by the framework simply by telling the SSH transport filter to start a key exchange.
+The `KexFilter` will send an initial `SSH_MSG_KEXINIT` message. It will also block any further message from
+"above" until this initial key exchange is over.
+
+This initial `SSH_MSG_KEXINIT` message will percolate down the filter chain:
+* As it is a KEX message, no `SSH_MSG_IGNORE` will be injected.
+* Compression will be off initially, so the message is just forwarded.
+* There will be no encryption initially, so the message is just forwarded.
+* The `IdentFilter` will see that this is the very first message and will first send the SSH protocol version
+string, and then the `SSH_MSG_KEXINIT` message afterwards.
+
+This process is identical on the client and on the server side.
+
+On the client side, Apache MINA sshd supports two settings that make the client wait until it has gotten the
+server's messages:
+* `CoreModuleProperties.SEND_IMMEDIATE_IDENTIFICATION`: by default `true`. If `false`, the client sends its SSH
+protocol version only after it has received the server's. This is implemented transparently in `IdentFilter`.
+* `CoreModuleProperties.SEND_IMMEDIATE_KEXINIT`: by default `true`. If `false`, the client sends its `SSH_MSG_KEXINIT`
+only after it has received the server's. This is handled in a special `DelayKexFilter` that sits below the
+`KexFilter` and that is omitted on purpose from the above diagrams since it is a really special special case
+and including it would only have confused the presentation.
+
+These two options were introduced long ago to handle connecting to old SSH servers. In SSH version 1, the
+server sent its protocol version string first, and the client always came second. In SSH version 2, the
+protocol is symmetric, and both sides just send their two initial messages, and then the initial key exchange
+takes off. Compare issue [SSHD-930](https://issues.apache.org/jira/browse/SSHD-930) for Apache MINA sshd,
+and [OpenSSH issue 1999](https://bugzilla.mindrot.org/show_bug.cgi?id=1999) for OpenSSH 6.2 (from 2012!).
+Note that Apache MINA sshd implements only SSH version 2; SSH version 1 is not supported.
+
diff --git a/docs/technical/filters_2.x.svg b/docs/technical/filters_2.x.svg
new file mode 100644
index 000000000..b6f6d5d76
--- /dev/null
+++ b/docs/technical/filters_2.x.svg
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: light-dark(#ffffff, var(--ge-dark-color, #121212)); color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="721px" height="560px" viewBox="-0.5 -0.5 721 560"><defs/><rect fill="#ffffff" style="fill: light-dark(#ffffff, var(--ge-dark-color, #121212));" width="100%" height="100%" x="0" y="0"/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="RpgorseLi4abtQ-OvLa [...]
\ No newline at end of file
diff --git a/docs/technical/filters_3.x.svg b/docs/technical/filters_3.x.svg
new file mode 100644
index 000000000..9c2adb930
--- /dev/null
+++ b/docs/technical/filters_3.x.svg
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: light-dark(#ffffff, var(--ge-dark-color, #121212)); color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="709px" height="1080px" viewBox="-0.5 -0.5 709 1080"><defs/><rect fill="#ffffff" style="fill: light-dark(#ffffff, var(--ge-dark-color, #121212));" width="100%" height="100%" x="0" y="0"/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="SeUWsLFjIapJUgc2h [...]
\ No newline at end of file
diff --git a/docs/technical/filters_context.svg b/docs/technical/filters_context.svg
new file mode 100644
index 000000000..bed57fa42
--- /dev/null
+++ b/docs/technical/filters_context.svg
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: light-dark(#ffffff, var(--ge-dark-color, #121212)); color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="641px" height="421px" viewBox="-0.5 -0.5 641 421"><defs/><rect fill="#ffffff" style="fill: light-dark(#ffffff, var(--ge-dark-color, #121212));" width="100%" height="100%" x="0" y="0"/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="9zoJOaU1kOAghH7AaQm [...]
\ No newline at end of file
diff --git a/docs/technical/filters_proxy.svg b/docs/technical/filters_proxy.svg
new file mode 100644
index 000000000..48a3bf21d
--- /dev/null
+++ b/docs/technical/filters_proxy.svg
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: light-dark(#ffffff, var(--ge-dark-color, #121212)); color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="541px" height="391px" viewBox="-0.5 -0.5 541 391"><defs/><rect fill="#ffffff" style="fill: light-dark(#ffffff, var(--ge-dark-color, #121212));" width="100%" height="100%" x="0" y="0"/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="MzAHhzvjKLWb1_eyRlG [...]
\ No newline at end of file
diff --git a/docs/technical/filters_ssh_chain.svg b/docs/technical/filters_ssh_chain.svg
new file mode 100644
index 000000000..13f367dc6
--- /dev/null
+++ b/docs/technical/filters_ssh_chain.svg
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: light-dark(#ffffff, var(--ge-dark-color, #121212)); color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="671px" height="861px" viewBox="-0.5 -0.5 671 861"><defs/><rect fill="#ffffff" style="fill: light-dark(#ffffff, var(--ge-dark-color, #121212));" width="100%" height="100%" x="0" y="0"/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="jcOvmlgZh9FjUryh4rz [...]
\ No newline at end of file
diff --git a/docs/technical/filters_ssh_transport.svg b/docs/technical/filters_ssh_transport.svg
new file mode 100644
index 000000000..8cb7c6d48
--- /dev/null
+++ b/docs/technical/filters_ssh_transport.svg
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: light-dark(#ffffff, var(--ge-dark-color, #121212)); color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="541px" height="461px" viewBox="-0.5 -0.5 541 461"><defs/><rect fill="#ffffff" style="fill: light-dark(#ffffff, var(--ge-dark-color, #121212));" width="100%" height="100%" x="0" y="0"/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="GInOKrxfIlBCRgrD41I [...]
\ No newline at end of file
diff --git a/docs/technical/kex.md b/docs/technical/kex.md
index a3f5facc1..588102917 100644
--- a/docs/technical/kex.md
+++ b/docs/technical/kex.md
@@ -35,10 +35,9 @@ message does not contain the new encryption key or the shared secret; it is
just a marker message telling the other side that from now on, the new encryption
will be used.
-Apache MINA sshd maintains internally in [`AbstractSession`](../../sshd-core/src/main/java/org/apache/sshd/common/session/helpers/AbstractSession.java)
-a *KEX state* (in Java [`KexState`](../../sshd-common/src/main/java/org/apache/sshd/common/kex/KexState.java)).
-This models the key exchange on one side of the connection as a state machine
-going through the states `DONE`, `INIT`, `RUN`, `KEYS`, `DONE`.
+Key exchange is implemented in the `KexFilter` in the filter chain of an `AbstractSession`.
+It maintains a *KEX state* (in Java [`KexState`](../../sshd-common/src/main/java/org/apache/sshd/common/kex/KexState.java)), which models the key exchange on one side of the connection as
+a state machine going through the states `DONE`, `INIT`, `RUN`, `KEYS`, `DONE`.

@@ -50,13 +49,13 @@ These states mark important points in the key exchange sub-protocol:
* `KEYS` means the key exchange has been done; both sides know the shared secret, and this side has sent its SSH_MS_NEW_KEYS message.
* When the peer's SSH_MSG_NEW_KEYS message is received, the state changes back to `DONE`.
-In Apache MINA sshd, there are methods in `AbstractSession` for each of the KEX
+In Apache MINA sshd, there are methods in `KexFilter` for each of the KEX
messages:
-* `requestNewKeyExchange`: switches from `DONE` to `INIT` and calls `sendKexInit` to send the SSH_MSG_KEX_INIT message.
-* `handleKexInit`: receives the peer's SSH_MSG_KEX_INIT message; switches to `RUN`.
+* `startKex`: switches from `DONE` to `INIT` and calls `sendKexInit` to send the SSH_MSG_KEX_INIT message.
+* `receiveKexInit`: receives the peer's SSH_MSG_KEX_INIT message; switches to `RUN`.
* `sendNewKeys`: switches from `RUN` to `KEYS` and sends this side's SSH_MS_NEW_KEYS message.
-* `handleNewKeys`: receives the peer's SSH_MSG_KEX_INIT message; switches from `KEYS` to `DONE`.
+* `receiveNewKeys`: receives the peer's SSH_MSG_KEX_INIT message; switches from `KEYS` to `DONE`.

@@ -82,13 +81,11 @@ There may be application threads pumping out data, or one may receive, after hav
sent one's own SSH_MSG_KEX_INIT message non-KEX messages that might require sending
back an answer.
-The answer lies in the [`KeyExchangeMessageHandler`](../../sshd-core/src/main/java/org/apache/sshd/common/session/helpers/KeyExchangeMessageHandler.java).
-Each session funnels all SSH packets it sends, before encryption, through this
-per-session object. The `KeyExchangeMessageHandler` then looks at the current KEX
+The KexFilter's outgoing messages handler `KexOutputHandler` looks at the current KEX
state and at the packet that is to be sent and decides what to do with it:
-* If the packet is a low-level packet allowed during KEX, it is encrypted and sent directly.
-* If no KEX is ongoing, the message is encrypted and sent directly.
+* If no KEX is ongoing, or if the packet is a low-level packet allowed during KEX,
+it is allowed through and passed on to the next lower filter in the filter chain.
* Otherwise, the packet is queued.
Once KEX is done, the queue is flushed, i.e., all the queued packets are encrypted
@@ -97,20 +94,17 @@ Once KEX is done, the queue is flushed, i.e., all the queued packets are encrypt
This mechanism has one drawback: if there are data pumping threads sending data
through a channel (and there is a large channel window), arbitrarily many packets
may be queued, and sending them may itself trigger another key exchange. If the
-queue is flushed synchronously from `handleNewKeys` (or from `sendNewKeys`), this
+queue is flushed synchronously from `receiveNewKeys` (or from `sendNewKeys`), this
side will not be able to react to a new key exchange request from the peer. (Or
to a disconnection message.) Therefore the queue is flushed *asynchronously*.
-To avoid that application threads create a huge queue, Apache MINA sshd actually
-does *not* queue packets written in application threads. Instead, when the
-`KeyExchangeMessageHandler` detects a SSH_MSG_CHANNEL_DATA or SSH_MSG_CHANNEL_EXTENDED_DATA
-packet written by an application thread, it *blocks* that thread until KEX is done
-and the queue is flushed. Only then the thread is resumed and the packet is written.
+To avoid that application threads create a huge queue, Apache MINA sshd prevents
+threads from sending SSH_MSG_CHANNEL_DATA or SSH_MSG_CHANNEL_EXTEDED_DATA packets
+during KEX by closing all channel `RemoteWindows` by setting their size to zero.
+Only once the key exchange is over are these remote windows restored, and the
+threads can write data again.
-
-
-The queue thus should never contain many packets (unless internal Apache MINA sshd
-threads should be writing lots of channel data).
+The queue thus should never contain many packets; at most one per open channel.
Flushing the queue and enqueuing new packets is a classic producer-consumer problem,
but there is a twist: because of the current architecture of the framework, the queue
@@ -120,7 +114,7 @@ the flushing thread.
The implementation contains a number of measures that should ensure that the flushing
thread is not overrun by producers and actually can finish.
-1. Application threads trying to enqueue packets may indeed be blocked until the queue is flushed; see above.
+1. Application threads are prevented from continuously sending packets during KEX because the channel windows are closed; see above.
2. The flushing thread (the consumer) gets priority over the producers.
3. The flushing thread flushes a number of packets (a chunk) at a time. It starts off with a chunk size of two. If it detects on the next chunk of packets to write that more packets were enqueued than were written in the last chunk, the chunk size is increased.
4. While a chunk is written, new enqueue attempts wait.
@@ -139,8 +133,3 @@ counter-measures are active if both peers indicate support for it at the start o
key exchange. By default, Apache MINA sshd always supports "strict kex" and advertises it, and
thus it will always be active if the other party also supports it.
-If for whatever reason you want to disable using "strict KEX", this can be achieved by setting
-a custom session factory on the `SshClient` or `SshServer`. This custom session factory would create
-custom sessions subclassed from `ClientSessionImpl`or `ServerSessionImpl` that do not do anything
-in method `doStrictKexProposal()` (just return the proposal unchanged).
-
diff --git a/docs/technical/kex_flush.svg b/docs/technical/kex_flush.svg
deleted file mode 100644
index 370d2241e..000000000
--- a/docs/technical/kex_flush.svg
+++ /dev/null
@@ -1,744 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="841px" height="802px" viewBox="-0.5 -0.5 841 802">
- <defs />
- <g>
- <rect x="440" y="0" width="80" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 20px; margin-left: 441px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">ServerSession</div>
- </div>
- </div>
- </foreignObject>
- <text x="480" y="24" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">ServerSession</text>
- </switch>
- </g>
- <path d="M 480 60 L 480 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="470" y="530" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 480 610 L 480 570" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="470" y="60" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 480 120 L 480 100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="365" y="50" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 65px; margin-left: 366px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">requestNewKeyExchange</div>
- </div>
- </div>
- </foreignObject>
- <text x="395" y="69" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">requestNew...</text>
- </switch>
- </g>
- <path d="M 470 100 L 47.36 296.58" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 41.01 299.53 L 45.88 293.4 L 48.84 299.75 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 225px; margin-left: 212px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX_INIT</div>
- </div>
- </div>
- </foreignObject>
- <text x="212" y="225" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX_INIT</text>
- </switch>
- </g>
- <rect x="470" y="320" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <rect x="390" y="310" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 325px; margin-left: 391px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">handleKexInit</div>
- </div>
- </div>
- </foreignObject>
- <text x="420" y="329" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">handleKexI...</text>
- </switch>
- </g>
- <rect x="390" y="410" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 425px; margin-left: 391px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">sendNewKeys</div>
- </div>
- </div>
- </foreignObject>
- <text x="420" y="429" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">sendNewKeys</text>
- </switch>
- </g>
- <rect x="470" y="415" width="20" height="45" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 480 530 L 480 460" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="385" y="520" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 535px; margin-left: 386px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">handleNewKeys</div>
- </div>
- </div>
- </foreignObject>
- <text x="415" y="539" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">handleNewK...</text>
- </switch>
- </g>
- <rect x="560" y="20" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 30px; margin-left: 561px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">DONE</div>
- </div>
- </div>
- </foreignObject>
- <text x="600" y="34" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">DONE</text>
- </switch>
- </g>
- <path d="M 600 40 L 600 77.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 595.5 69.88 L 600 78.88 L 604.5 69.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <rect x="560" y="80" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 90px; margin-left: 561px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">INIT</div>
- </div>
- </div>
- </foreignObject>
- <text x="600" y="94" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">INIT</text>
- </switch>
- </g>
- <rect x="560" y="440" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 450px; margin-left: 561px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">KEYS</div>
- </div>
- </div>
- </foreignObject>
- <text x="600" y="454" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">KEYS</text>
- </switch>
- </g>
- <rect x="560" y="550" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 560px; margin-left: 561px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">DONE</div>
- </div>
- </div>
- </foreignObject>
- <text x="600" y="564" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">DONE</text>
- </switch>
- </g>
- <path d="M 600 100 L 600 317.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 595.5 309.88 L 600 318.88 L 604.5 309.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 600 340 L 600 437.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 595.5 429.88 L 600 438.88 L 604.5 429.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 600 460 L 600 547.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 595.5 539.88 L 600 548.88 L 604.5 539.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <rect x="720" y="0" width="120" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 20px; margin-left: 721px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <div>Server</div>
- <div>
- Application Thread
- <br />
- </div>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="780" y="24" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">Server...</text>
- </switch>
- </g>
- <path d="M 780 750 L 780 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <path d="M 40 310 L 461.88 319.81" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 468.88 319.97 L 461.8 323.31 L 461.97 316.31 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 312px; margin-left: 255px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX_INIT</div>
- </div>
- </div>
- </foreignObject>
- <text x="255" y="312" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX_INIT</text>
- </switch>
- </g>
- <path d="M 470 448.75 L 48.11 469.6" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 41.12 469.94 L 47.94 466.1 L 48.28 473.1 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 456px; margin-left: 255px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">NEW_KEYS</div>
- </div>
- </div>
- </foreignObject>
- <text x="255" y="456" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">NEW_KEYS</text>
- </switch>
- </g>
- <path d="M 40 500 L 461.9 529.44" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 468.88 529.92 L 461.66 532.93 L 462.15 525.94 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 517px; margin-left: 139px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">NEW_KEYS</div>
- </div>
- </div>
- </foreignObject>
- <text x="139" y="517" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">NEW_KEYS</text>
- </switch>
- </g>
- <rect x="770" y="60" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 480 370 L 48.12 379.82" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 41.12 379.97 L 48.04 376.32 L 48.2 383.31 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 372px; margin-left: 260px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="260" y="372" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX messages</text>
- </switch>
- </g>
- <path d="M 40 390 L 471.88 399.82" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 478.88 399.97 L 471.8 403.31 L 471.96 396.32 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 407px; margin-left: 263px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="263" y="407" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX messages</text>
- </switch>
- </g>
- <path d="M 770 100 L 706.37 100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 701.12 100 L 708.12 96.5 L 706.37 100 L 708.12 103.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 91px; margin-left: 731px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">writePacket</div>
- </div>
- </div>
- </foreignObject>
- <text x="731" y="94" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">writePacket</text>
- </switch>
- </g>
- <rect x="360" y="150" width="20" height="10" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 18px; height: 1px; padding-top: 155px; margin-left: 361px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <font style="font-size: 9px">1</font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="370" y="159" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">1</text>
- </switch>
- </g>
- <path d="M 410 150 Q 400 140 395 140 Q 390 140 384.5 145.5" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 2" pointer-events="stroke" />
- <path d="M 380.79 149.21 L 383.27 141.78 L 384.5 145.5 L 388.22 146.73 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 161px; margin-left: 396px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
- <font style="font-size: 7px">
- enqueue
- <br />
- </font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="396" y="164" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">enqueue</text>
- </switch>
- </g>
- <rect x="360" y="240.5" width="20" height="10" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 18px; height: 1px; padding-top: 246px; margin-left: 361px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <font style="font-size: 9px">2</font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="370" y="249" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">2</text>
- </switch>
- </g>
- <rect x="0" y="0" width="80" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-dasharray="3 3" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 20px; margin-left: 1px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">ClientSession</div>
- </div>
- </div>
- </foreignObject>
- <text x="40" y="24" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">ClientSession</text>
- </switch>
- </g>
- <path d="M 230 717 L 230 510" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <ellipse cx="230" cy="720" rx="3" ry="3" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <rect x="220" y="520" width="20" height="190" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 350 560 Q 320 540 295 535.5 Q 270 531 246.86 530.12" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 2" pointer-events="stroke" />
- <path d="M 241.62 529.92 L 248.74 526.69 L 246.86 530.12 L 248.48 533.69 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 526px; margin-left: 299px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">dequeue</div>
- </div>
- </div>
- </foreignObject>
- <text x="299" y="530" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">dequeue</text>
- </switch>
- </g>
- <path d="M 220.5 531.59 L 48.08 549.18" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 41.11 549.89 L 47.72 545.69 L 48.43 552.66 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 543px; margin-left: 127px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">packet 1</div>
- </div>
- </div>
- </foreignObject>
- <text x="127" y="543" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">packet 1</text>
- </switch>
- </g>
- <path d="M 220 630.67 L 48.1 641.14" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 41.12 641.56 L 47.89 637.64 L 48.32 644.63 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 638px; margin-left: 126px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">packet 2</div>
- </div>
- </div>
- </foreignObject>
- <text x="126" y="638" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">packet 2</text>
- </switch>
- </g>
- <path d="M 780 790 L 780 800" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <path d="M 219.5 660.67 L 48.11 670.29" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 41.12 670.69 L 47.91 666.8 L 48.3 673.79 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 668px; margin-left: 127px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">packet 3</div>
- </div>
- </div>
- </foreignObject>
- <text x="127" y="668" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">packet 3</text>
- </switch>
- </g>
- <rect x="350" y="560" width="20" height="10" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 18px; height: 1px; padding-top: 565px; margin-left: 351px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <font style="font-size: 9px">1</font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="360" y="569" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">1</text>
- </switch>
- </g>
- <rect x="360" y="550" width="20" height="10" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 18px; height: 1px; padding-top: 555px; margin-left: 361px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <font style="font-size: 9px">2</font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="370" y="559" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">2</text>
- </switch>
- </g>
- <path d="M 700 730 L 763.63 730" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 2" pointer-events="stroke" />
- <path d="M 768.88 730 L 761.88 733.5 L 763.63 730 L 761.88 726.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 680 720 L 48.1 759.49" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 41.12 759.93 L 47.88 756 L 48.32 762.99 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 757px; margin-left: 120px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">packet</div>
- </div>
- </div>
- </foreignObject>
- <text x="120" y="757" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">packet</text>
- </switch>
- </g>
- <rect x="770" y="730.67" width="20" height="59.33" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 470 460 L 278.23 469.59" fill="none" stroke="rgb(0, 0, 0)" stroke-width="2" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 272.23 469.89 L 280.02 465.49 L 278.23 469.59 L 280.42 473.48 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-width="2" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 476px; margin-left: 371px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 9px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">create</div>
- </div>
- </div>
- </foreignObject>
- <text x="371" y="479" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="9px" text-anchor="middle">create</text>
- </switch>
- </g>
- <rect x="470" y="610" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 480 800 L 480 650" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <path d="M 40 570 L 461.92 609.25" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 468.89 609.9 L 461.59 612.73 L 462.24 605.76 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 577px; margin-left: 90px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">SSH message</div>
- </div>
- </div>
- </foreignObject>
- <text x="90" y="577" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">SSH message</text>
- </switch>
- </g>
- <path d="M 680 730 L 680 710" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 700 730 L 700 710" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 700 730 L 680 730" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 680 710 L 680 120" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 3" pointer-events="stroke" />
- <path d="M 700 710 L 700 120" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 3" pointer-events="stroke" />
- <path d="M 40 800 L 40 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="560" y="320" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 330px; margin-left: 561px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">RUN</div>
- </div>
- </div>
- </foreignObject>
- <text x="600" y="334" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">RUN</text>
- </switch>
- </g>
- <path d="M 600 200 L 600 320" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 40 70 L 461.94 119.06" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 468.89 119.87 L 461.53 122.54 L 462.34 115.59 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 67px; margin-left: 88px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">SSH message</div>
- </div>
- </div>
- </foreignObject>
- <text x="88" y="67" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">SSH message</text>
- </switch>
- </g>
- <rect x="470" y="120" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 480 200 L 480 160" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <path d="M 40 150 L 461.94 199.06" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 468.89 199.87 L 461.53 202.54 L 462.34 195.59 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 147px; margin-left: 88px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">SSH message</div>
- </div>
- </div>
- </foreignObject>
- <text x="88" y="147" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">SSH message</text>
- </switch>
- </g>
- <rect x="470" y="200" width="20" height="50" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 480 415 L 480 250" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="190" y="470" width="80" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 490px; margin-left: 191px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">FlushThread</div>
- </div>
- </div>
- </foreignObject>
- <text x="230" y="494" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">FlushThread</text>
- </switch>
- </g>
- <rect x="410" y="140" width="20" height="20" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 470 139.5 L 436.37 139.92" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 431.12 139.99 L 438.07 136.4 L 436.37 139.92 L 438.16 143.4 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 140px; margin-left: 466px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
- <font style="font-size: 7px">writePacket</font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="466" y="144" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">writePacket</text>
- </switch>
- </g>
- <path d="M 430 160 L 463.63 159.58" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 2" pointer-events="stroke" />
- <path d="M 468.88 159.51 L 461.93 163.1 L 463.63 159.58 L 461.84 156.1 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <rect x="360" y="250.5" width="20" height="10" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 18px; height: 1px; padding-top: 256px; margin-left: 361px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <font style="font-size: 9px">1</font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="370" y="259" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">1</text>
- </switch>
- </g>
- <path d="M 410 240.5 Q 400 230.5 395 230.5 Q 390 230.5 384.5 236" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 2" pointer-events="stroke" />
- <path d="M 380.79 239.71 L 383.27 232.28 L 384.5 236 L 388.22 237.23 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 251px; margin-left: 396px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
- <font style="font-size: 7px">
- enqueue
- <br />
- </font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="396" y="254" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">enqueue</text>
- </switch>
- </g>
- <rect x="410" y="230.5" width="20" height="20" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 470 230 L 436.37 230.42" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 431.12 230.49 L 438.07 226.9 L 436.37 230.42 L 438.16 233.9 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 231px; margin-left: 466px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
- <font style="font-size: 7px">writePacket</font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="466" y="234" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">writePacket</text>
- </switch>
- </g>
- <path d="M 430 250.5 L 463.63 250.08" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 2" pointer-events="stroke" />
- <path d="M 468.88 250.01 L 461.93 253.6 L 463.63 250.08 L 461.84 246.6 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <rect x="360" y="640.67" width="20" height="10" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 18px; height: 1px; padding-top: 646px; margin-left: 361px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <font style="font-size: 9px">3</font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="370" y="649" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">3</text>
- </switch>
- </g>
- <rect x="350" y="650.67" width="20" height="10" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 18px; height: 1px; padding-top: 656px; margin-left: 351px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <font style="font-size: 9px">2</font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="360" y="659" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">2</text>
- </switch>
- </g>
- <path d="M 410 640.67 Q 400 630.67 395 630.67 Q 390 630.67 384.5 636.17" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 2" pointer-events="stroke" />
- <path d="M 380.79 639.88 L 383.27 632.45 L 384.5 636.17 L 388.22 637.4 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 651px; margin-left: 396px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
- <font style="font-size: 7px">
- enqueue
- <br />
- </font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="396" y="654" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">enqueue</text>
- </switch>
- </g>
- <rect x="410" y="630.67" width="20" height="20" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 470 630.17 L 436.37 630.59" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 431.12 630.66 L 438.07 627.07 L 436.37 630.59 L 438.16 634.07 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 631px; margin-left: 466px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
- <font style="font-size: 7px">writePacket</font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="466" y="634" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">writePacket</text>
- </switch>
- </g>
- <path d="M 430 650.67 L 463.63 650.25" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 2" pointer-events="stroke" />
- <path d="M 468.88 650.18 L 461.93 653.77 L 463.63 650.25 L 461.84 646.77 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <rect x="350" y="684.66" width="20" height="10" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 18px; height: 1px; padding-top: 690px; margin-left: 351px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <font style="font-size: 9px">3</font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="360" y="693" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">3</text>
- </switch>
- </g>
- <path d="M 680 120 L 680 100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 699.83 120 L 699.83 100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 680 100 L 690 100 L 700 100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 350 650.67 Q 320 630.67 295 626.17 Q 270 621.67 246.87 621.61" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 2" pointer-events="stroke" />
- <path d="M 241.62 621.59 L 248.63 618.11 L 246.87 621.61 L 248.61 625.11 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 617px; margin-left: 299px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">dequeue</div>
- </div>
- </div>
- </foreignObject>
- <text x="299" y="620" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">dequeue</text>
- </switch>
- </g>
- <path d="M 350 684.66 Q 320 664.66 295 660.16 Q 270 655.66 246.87 655.6" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 2" pointer-events="stroke" />
- <path d="M 241.62 655.58 L 248.63 652.1 L 246.87 655.6 L 248.61 659.1 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 651px; margin-left: 299px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">dequeue</div>
- </div>
- </div>
- </foreignObject>
- <text x="299" y="654" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">dequeue</text>
- </switch>
- </g>
- <path d="M 240 710 L 673.63 710" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <path d="M 678.88 710 L 671.88 713.5 L 673.63 710 L 671.88 706.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 711px; margin-left: 461px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 9px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
- <font style="font-size: 12px">signal "Flush done"</font>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="461" y="713" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="9px" text-anchor="middle">signal "Flush done"</text>
- </switch>
- </g>
- <rect x="580" y="410" width="225" height="30" fill="none" stroke="none" transform="rotate(-90,692.5,425)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)rotate(-90 692.5 425)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 223px; height: 1px; padding-top: 425px; margin-left: 581px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 9px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Blocked until KEX state DONE and "Flush done"</div>
- </div>
- </div>
- </foreignObject>
- <text x="693" y="428" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="9px" text-anchor="middle">Blocked until KEX state DONE and "Flush done"</text>
- </switch>
- </g>
- </g>
- <switch>
- <g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" />
- <a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
- <text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text>
- </a>
- </switch>
-</svg>
\ No newline at end of file
diff --git a/docs/technical/kex_interaction_1.svg b/docs/technical/kex_interaction_1.svg
index bf0528d41..86d561af3 100644
--- a/docs/technical/kex_interaction_1.svg
+++ b/docs/technical/kex_interaction_1.svg
@@ -1,432 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="711px" height="562px" viewBox="-0.5 -0.5 711 562">
- <defs />
- <g>
- <rect x="120" y="0" width="80" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 20px; margin-left: 121px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">ClientSession</div>
- </div>
- </div>
- </foreignObject>
- <text x="160" y="24" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">ClientSession</text>
- </switch>
- </g>
- <rect x="480" y="0" width="80" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 20px; margin-left: 481px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">ServerSession</div>
- </div>
- </div>
- </foreignObject>
- <text x="520" y="24" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">ServerSession</text>
- </switch>
- </g>
- <path d="M 160 60 L 160 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <path d="M 520 160 L 520 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="510" y="160" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 520 410 L 520 200" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <path d="M 264 139.68 L 503.65 159.48" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 508.89 159.91 L 501.62 162.82 L 503.65 159.48 L 502.2 155.84 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 152px; margin-left: 386px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX_INIT</div>
- </div>
- </div>
- </foreignObject>
- <text x="386" y="155" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX_INIT</text>
- </switch>
- </g>
- <rect x="545" y="150" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 165px; margin-left: 546px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">handleKexInit</div>
- </div>
- </div>
- </foreignObject>
- <text x="575" y="169" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">handleKexI...</text>
- </switch>
- </g>
- <path d="M 606.66 240.32 L 176.36 259.71" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 171.12 259.95 L 177.95 256.14 L 176.36 259.71 L 178.27 263.13 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 251px; margin-left: 391px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX_INIT</div>
- </div>
- </div>
- </foreignObject>
- <text x="391" y="254" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX_INIT</text>
- </switch>
- </g>
- <rect x="605" y="200" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 530 200 L 596.88 200" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 603.88 200 L 596.88 203.5 L 596.88 196.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 197px; margin-left: 568px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">sendKexInit</div>
- </div>
- </div>
- </foreignObject>
- <text x="568" y="197" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">sendKexInit</text>
- </switch>
- </g>
- <path d="M 160 310 L 513.63 319.82" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 518.88 319.97 L 511.79 323.27 L 513.63 319.82 L 511.98 316.28 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 318px; margin-left: 326px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="326" y="322" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX messages</text>
- </switch>
- </g>
- <path d="M 520 330 L 166.37 339.82" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 161.12 339.97 L 168.02 336.28 L 166.37 339.82 L 168.21 343.27 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 340px; margin-left: 369px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="369" y="344" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX messages</text>
- </switch>
- </g>
- <path d="M 160 350 L 513.63 359.82" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 518.88 359.97 L 511.79 363.27 L 513.63 359.82 L 511.98 356.28 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 358px; margin-left: 326px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="326" y="362" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX messages</text>
- </switch>
- </g>
- <path d="M 520 370 L 166.37 379.82" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 161.12 379.97 L 168.02 376.28 L 166.37 379.82 L 168.21 383.27 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 380px; margin-left: 369px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="369" y="384" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX messages</text>
- </switch>
- </g>
- <rect x="150" y="480" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 160 560 L 160 520" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="150" y="60" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 160 410 L 160 100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="40" y="50" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 65px; margin-left: 41px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">requestNewKeyExchange</div>
- </div>
- </div>
- </foreignObject>
- <text x="70" y="69" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">requestNew...</text>
- </switch>
- </g>
- <rect x="245" y="100" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 170 100 L 236.88 100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 243.88 100 L 236.88 103.5 L 236.88 96.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 97px; margin-left: 208px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">sendKexInit</div>
- </div>
- </div>
- </foreignObject>
- <text x="208" y="97" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">sendKexInit</text>
- </switch>
- </g>
- <rect x="150" y="260" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <rect x="70" y="250" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 265px; margin-left: 71px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">handleKexInit</div>
- </div>
- </div>
- </foreignObject>
- <text x="100" y="269" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">handleKexI...</text>
- </switch>
- </g>
- <rect x="70" y="400" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 415px; margin-left: 71px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">sendNewKeys</div>
- </div>
- </div>
- </foreignObject>
- <text x="100" y="419" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">sendNewKeys</text>
- </switch>
- </g>
- <path d="M 160 390 L 513.63 399.82" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 518.88 399.97 L 511.79 403.27 L 513.63 399.82 L 511.98 396.28 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 398px; margin-left: 326px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="326" y="402" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX messages</text>
- </switch>
- </g>
- <rect x="510" y="410" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 520 480 L 520 450" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="150" y="410" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 160 480 L 160 450" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <path d="M 170 450 L 503.66 479.44" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 508.89 479.9 L 501.61 482.77 L 503.66 479.44 L 502.22 475.8 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 450px; margin-left: 217px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">NEW_KEYS</div>
- </div>
- </div>
- </foreignObject>
- <text x="217" y="453" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">NEW_KEYS</text>
- </switch>
- </g>
- <path d="M 510 450 L 176.34 479.44" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 171.11 479.9 L 177.78 475.8 L 176.34 479.44 L 178.39 482.77 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 450px; margin-left: 460px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">NEW_KEYS</div>
- </div>
- </div>
- </foreignObject>
- <text x="460" y="453" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">NEW_KEYS</text>
- </switch>
- </g>
- <rect x="550" y="400" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 415px; margin-left: 551px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">sendNewKeys</div>
- </div>
- </div>
- </foreignObject>
- <text x="580" y="419" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">sendNewKeys</text>
- </switch>
- </g>
- <rect x="70" y="470" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 485px; margin-left: 71px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">handleNewKeys</div>
- </div>
- </div>
- </foreignObject>
- <text x="100" y="489" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">handleNewK...</text>
- </switch>
- </g>
- <rect x="510" y="480" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 520 560 L 520 520" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="550" y="470" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 485px; margin-left: 551px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">handleNewKeys</div>
- </div>
- </div>
- </foreignObject>
- <text x="580" y="489" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">handleNewK...</text>
- </switch>
- </g>
- <rect x="0" y="20" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 30px; margin-left: 1px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">DONE</div>
- </div>
- </div>
- </foreignObject>
- <text x="40" y="34" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">DONE</text>
- </switch>
- </g>
- <path d="M 40 40 L 40 107.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 35.5 99.88 L 40 108.88 L 44.5 99.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <rect x="0" y="110" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 120px; margin-left: 1px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">INIT</div>
- </div>
- </div>
- </foreignObject>
- <text x="40" y="124" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">INIT</text>
- </switch>
- </g>
- <rect x="0" y="270" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 280px; margin-left: 1px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">RUN</div>
- </div>
- </div>
- </foreignObject>
- <text x="40" y="284" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">RUN</text>
- </switch>
- </g>
- <rect x="0" y="430" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 440px; margin-left: 1px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">KEYS</div>
- </div>
- </div>
- </foreignObject>
- <text x="40" y="444" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">KEYS</text>
- </switch>
- </g>
- <rect x="0" y="510" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 520px; margin-left: 1px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">DONE</div>
- </div>
- </div>
- </foreignObject>
- <text x="40" y="524" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">DONE</text>
- </switch>
- </g>
- <path d="M 40 130 L 40 267.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 35.5 259.88 L 40 268.88 L 44.5 259.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 40 290 L 40 427.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 35.5 419.88 L 40 428.88 L 44.5 419.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 40 450 L 40 507.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 35.5 499.88 L 40 508.88 L 44.5 499.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <rect x="630" y="20" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 30px; margin-left: 631px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">DONE</div>
- </div>
- </div>
- </foreignObject>
- <text x="670" y="34" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">DONE</text>
- </switch>
- </g>
- <path d="M 670 40 L 670 177.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 665.5 169.88 L 670 178.88 L 674.5 169.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <rect x="630" y="180" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 190px; margin-left: 631px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">RUN</div>
- </div>
- </div>
- </foreignObject>
- <text x="670" y="194" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">RUN</text>
- </switch>
- </g>
- <rect x="630" y="430" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 440px; margin-left: 631px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">KEYS</div>
- </div>
- </div>
- </foreignObject>
- <text x="670" y="444" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">KEYS</text>
- </switch>
- </g>
- <rect x="630" y="510" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 520px; margin-left: 631px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">DONE</div>
- </div>
- </div>
- </foreignObject>
- <text x="670" y="524" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">DONE</text>
- </switch>
- </g>
- <path d="M 670 200 L 670 427.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 665.5 419.88 L 670 428.88 L 674.5 419.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 670 450 L 670 507.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 665.5 499.88 L 670 508.88 L 674.5 499.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- </g>
- <switch>
- <g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" />
- <a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
- <text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text>
- </a>
- </switch>
-</svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: #ffffff; color-scheme: light;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="711px" height="562px" viewBox="-0.5 -0.5 711 562"><defs/><rect fill="#ffffff" style="fill: rgb(255, 255, 255);" width="100%" height="100%" x="0" y="0"/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="Z2IcUivewJbPsal0SKzA-1"/><g data-cell-id="Z2IcUivewJbPsal0SKzA-2"/><g data-cell-id="Z2IcUivewJbPsal [...]
\ No newline at end of file
diff --git a/docs/technical/kex_interaction_2.svg b/docs/technical/kex_interaction_2.svg
index b7c48a0d1..7feff7930 100644
--- a/docs/technical/kex_interaction_2.svg
+++ b/docs/technical/kex_interaction_2.svg
@@ -1,461 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="711px" height="472px" viewBox="-0.5 -0.5 711 472">
- <defs />
- <g>
- <rect x="120" y="0" width="80" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 20px; margin-left: 121px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">ClientSession</div>
- </div>
- </div>
- </foreignObject>
- <text x="160" y="24" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">ClientSession</text>
- </switch>
- </g>
- <rect x="480" y="0" width="80" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 20px; margin-left: 481px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">ServerSession</div>
- </div>
- </div>
- </foreignObject>
- <text x="520" y="24" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">ServerSession</text>
- </switch>
- </g>
- <path d="M 160 60 L 160 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <path d="M 520 60 L 520 40" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="510" y="160" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 520 320 L 520 200" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <path d="M 264 139.68 L 503.65 159.48" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 508.89 159.91 L 501.62 162.82 L 503.65 159.48 L 502.2 155.84 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 140px; margin-left: 320px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX_INIT</div>
- </div>
- </div>
- </foreignObject>
- <text x="320" y="143" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX_INIT</text>
- </switch>
- </g>
- <rect x="545" y="150" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 165px; margin-left: 546px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">handleKexInit</div>
- </div>
- </div>
- </foreignObject>
- <text x="575" y="169" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">handleKexI...</text>
- </switch>
- </g>
- <path d="M 604.66 139 L 176.36 159.69" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 171.12 159.95 L 177.94 156.11 L 176.36 159.69 L 178.28 163.1 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 139px; margin-left: 478px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX_INIT</div>
- </div>
- </div>
- </foreignObject>
- <text x="478" y="142" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX_INIT</text>
- </switch>
- </g>
- <path d="M 160 220 L 513.63 229.82" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 518.88 229.97 L 511.79 233.27 L 513.63 229.82 L 511.98 226.28 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 228px; margin-left: 326px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="326" y="232" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX messages</text>
- </switch>
- </g>
- <path d="M 520 240 L 166.37 249.82" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 161.12 249.97 L 168.02 246.28 L 166.37 249.82 L 168.21 253.27 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 250px; margin-left: 369px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="369" y="254" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX messages</text>
- </switch>
- </g>
- <path d="M 160 260 L 513.63 269.82" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 518.88 269.97 L 511.79 273.27 L 513.63 269.82 L 511.98 266.28 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 268px; margin-left: 326px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="326" y="272" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX messages</text>
- </switch>
- </g>
- <path d="M 520 280 L 166.37 289.82" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 161.12 289.97 L 168.02 286.28 L 166.37 289.82 L 168.21 293.27 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 290px; margin-left: 369px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="369" y="294" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX messages</text>
- </switch>
- </g>
- <rect x="150" y="390" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 160 470 L 160 430" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="150" y="60" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 160 320 L 160 100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="40" y="50" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 65px; margin-left: 41px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">requestNewKeyExchange</div>
- </div>
- </div>
- </foreignObject>
- <text x="70" y="69" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">requestNew...</text>
- </switch>
- </g>
- <rect x="245" y="100" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 170 100 L 236.88 100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 243.88 100 L 236.88 103.5 L 236.88 96.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 97px; margin-left: 208px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">sendKexInit</div>
- </div>
- </div>
- </foreignObject>
- <text x="208" y="97" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">sendKexInit</text>
- </switch>
- </g>
- <rect x="150" y="160" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <rect x="70" y="150" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 165px; margin-left: 71px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">handleKexInit</div>
- </div>
- </div>
- </foreignObject>
- <text x="100" y="169" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">handleKexI...</text>
- </switch>
- </g>
- <rect x="70" y="310" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 325px; margin-left: 71px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">sendNewKeys</div>
- </div>
- </div>
- </foreignObject>
- <text x="100" y="329" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">sendNewKeys</text>
- </switch>
- </g>
- <path d="M 160 300 L 513.63 309.82" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 518.88 309.97 L 511.79 313.27 L 513.63 309.82 L 511.98 306.28 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 308px; margin-left: 326px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="326" y="312" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">KEX messages</text>
- </switch>
- </g>
- <rect x="510" y="320" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 520 390 L 520 360" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="150" y="320" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 160 390 L 160 360" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <path d="M 170 360 L 503.66 389.44" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 508.89 389.9 L 501.61 392.77 L 503.66 389.44 L 502.22 385.8 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 360px; margin-left: 217px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">NEW_KEYS</div>
- </div>
- </div>
- </foreignObject>
- <text x="217" y="363" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">NEW_KEYS</text>
- </switch>
- </g>
- <path d="M 510 360 L 176.34 389.44" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 171.11 389.9 L 177.78 385.8 L 176.34 389.44 L 178.39 392.77 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 360px; margin-left: 460px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">NEW_KEYS</div>
- </div>
- </div>
- </foreignObject>
- <text x="460" y="363" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">NEW_KEYS</text>
- </switch>
- </g>
- <rect x="550" y="310" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 325px; margin-left: 551px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">sendNewKeys</div>
- </div>
- </div>
- </foreignObject>
- <text x="580" y="329" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">sendNewKeys</text>
- </switch>
- </g>
- <rect x="70" y="380" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 395px; margin-left: 71px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">handleNewKeys</div>
- </div>
- </div>
- </foreignObject>
- <text x="100" y="399" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">handleNewK...</text>
- </switch>
- </g>
- <rect x="510" y="390" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 520 470 L 520 430" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="550" y="380" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 395px; margin-left: 551px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">handleNewKeys</div>
- </div>
- </div>
- </foreignObject>
- <text x="580" y="399" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">handleNewK...</text>
- </switch>
- </g>
- <rect x="0" y="20" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 30px; margin-left: 1px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">DONE</div>
- </div>
- </div>
- </foreignObject>
- <text x="40" y="34" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">DONE</text>
- </switch>
- </g>
- <path d="M 40 40 L 40 107.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 35.5 99.88 L 40 108.88 L 44.5 99.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <rect x="0" y="110" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 120px; margin-left: 1px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">INIT</div>
- </div>
- </div>
- </foreignObject>
- <text x="40" y="124" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">INIT</text>
- </switch>
- </g>
- <rect x="0" y="180" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 190px; margin-left: 1px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">RUN</div>
- </div>
- </div>
- </foreignObject>
- <text x="40" y="194" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">RUN</text>
- </switch>
- </g>
- <rect x="0" y="340" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 350px; margin-left: 1px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">KEYS</div>
- </div>
- </div>
- </foreignObject>
- <text x="40" y="354" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">KEYS</text>
- </switch>
- </g>
- <rect x="0" y="420" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 430px; margin-left: 1px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">DONE</div>
- </div>
- </div>
- </foreignObject>
- <text x="40" y="434" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">DONE</text>
- </switch>
- </g>
- <path d="M 40 130 L 40 177.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 35.5 169.88 L 40 178.88 L 44.5 169.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 40 200 L 40 337.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 35.5 329.88 L 40 338.88 L 44.5 329.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 40 360 L 40 417.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 35.5 409.88 L 40 418.88 L 44.5 409.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <rect x="630" y="20" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 30px; margin-left: 631px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">DONE</div>
- </div>
- </div>
- </foreignObject>
- <text x="670" y="34" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">DONE</text>
- </switch>
- </g>
- <path d="M 670 130 L 670 177.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 665.5 169.88 L 670 178.88 L 674.5 169.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <rect x="630" y="180" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 190px; margin-left: 631px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">RUN</div>
- </div>
- </div>
- </foreignObject>
- <text x="670" y="194" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">RUN</text>
- </switch>
- </g>
- <rect x="630" y="340" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 350px; margin-left: 631px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">KEYS</div>
- </div>
- </div>
- </foreignObject>
- <text x="670" y="354" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">KEYS</text>
- </switch>
- </g>
- <rect x="630" y="420" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 430px; margin-left: 631px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">DONE</div>
- </div>
- </div>
- </foreignObject>
- <text x="670" y="434" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">DONE</text>
- </switch>
- </g>
- <path d="M 670 200 L 670 337.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 665.5 329.88 L 670 338.88 L 674.5 329.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 670 360 L 670 417.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- <path d="M 665.5 409.88 L 670 418.88 L 674.5 409.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <rect x="510" y="60" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 520 160 L 520 100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" />
- <rect x="575" y="50" width="60" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 65px; margin-left: 576px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">requestNewKeyExchange</div>
- </div>
- </div>
- </foreignObject>
- <text x="605" y="69" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">requestNew...</text>
- </switch>
- </g>
- <rect x="605" y="100" width="20" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all" />
- <path d="M 530 99.33 L 596.88 99.33" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 603.88 99.33 L 596.88 102.83 L 596.88 95.83 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 96px; margin-left: 568px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">sendKexInit</div>
- </div>
- </div>
- </foreignObject>
- <text x="568" y="96" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">sendKexInit</text>
- </switch>
- </g>
- <rect x="630" y="110" width="80" height="20" rx="8" ry="8" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 120px; margin-left: 631px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">INIT</div>
- </div>
- </div>
- </foreignObject>
- <text x="670" y="124" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">INIT</text>
- </switch>
- </g>
- <path d="M 670 40 L 670 110" fill="none" stroke="#ff0000" stroke-miterlimit="10" stroke-dasharray="1 1" pointer-events="stroke" />
- </g>
- <switch>
- <g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" />
- <a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
- <text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text>
- </a>
- </switch>
-</svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: #ffffff; color-scheme: light;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="711px" height="472px" viewBox="-0.5 -0.5 711 472"><defs/><rect fill="#ffffff" style="fill: rgb(255, 255, 255);" width="100%" height="100%" x="0" y="0"/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="Z2IcUivewJbPsal0SKzA-1"/><g data-cell-id="Z2IcUivewJbPsal0SKzA-2"/><g data-cell-id="Z2IcUivewJbPsal [...]
\ No newline at end of file
diff --git a/docs/technical/kex_states.svg b/docs/technical/kex_states.svg
index 05f397892..6653a1846 100644
--- a/docs/technical/kex_states.svg
+++ b/docs/technical/kex_states.svg
@@ -1,257 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="586px" height="601px" viewBox="-0.5 -0.5 586 601">
- <defs />
- <g>
- <rect x="140" y="10" width="120" height="40" rx="16" ry="16" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 30px; margin-left: 141px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <b>DONE</b>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="200" y="34" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">DONE</text>
- </switch>
- </g>
- <path d="M 260 30 L 410 30 L 410 127.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 405.5 119.88 L 410 128.88 L 414.5 119.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 97px; margin-left: 410px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">requestNewKeyExchange</div>
- </div>
- </div>
- </foreignObject>
- <text x="410" y="97" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">requestNewKeyExchange</text>
- </switch>
- </g>
- <rect x="140" y="310" width="120" height="40" rx="16" ry="16" fill="#ffffc0" stroke="#ff0000" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 330px; margin-left: 141px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <b>RUN</b>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="200" y="334" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">RUN</text>
- </switch>
- </g>
- <path d="M 200 350 L 200 417.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 195.5 409.88 L 200 418.88 L 204.5 409.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 386px; margin-left: 202px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">exchange KEX messages</div>
- </div>
- </div>
- </foreignObject>
- <text x="202" y="389" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">exchange KEX messages</text>
- </switch>
- </g>
- <path d="M 490 160 L 490 157 Q 490 130 463 130 L 357 130 Q 330 130 330 157 L 330 160" fill="#ffffc0" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 330 160 L 330 193 Q 330 220 357 220 L 463 220 Q 490 220 490 193 L 490 160" fill="#ffffc0" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 330 160 L 490 160" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <g fill="#000000" font-family="Helvetica" font-weight="bold" text-anchor="middle" font-size="12px">
- <text x="409.5" y="149.5">INIT</text>
- </g>
- <rect x="330" y="160" width="160" height="60" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 150px; height: 1px; padding-top: 190px; margin-left: 335px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center; max-height: 56px; overflow: hidden;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <div>
- prepare KEX data
- <br />
- </div>
- <div>send KEX_INIT</div>
- <div>
- stop flushing
- <br />
- </div>
- <div>
- start queuing
- <br />
- </div>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="410" y="194" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">prepare KEX data...</text>
- </switch>
- </g>
- <path d="M 410 220 L 410 330 L 262.24 330" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 270.12 325.5 L 261.12 330 L 270.12 334.5" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 262px; margin-left: 411px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">handleKexInit</div>
- </div>
- </div>
- </foreignObject>
- <text x="411" y="265" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">handleKexInit</text>
- </switch>
- </g>
- <path d="M 200 50 L 200 127.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 195.5 119.88 L 200 128.88 L 204.5 119.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 91px; margin-left: 201px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">handleKexInit</div>
- </div>
- </div>
- </foreignObject>
- <text x="201" y="94" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">handleKexInit</text>
- </switch>
- </g>
- <path d="M 280 160 L 280 157 Q 280 130 253 130 L 147 130 Q 120 130 120 157 L 120 160" fill="#ffffc0" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 120 160 L 120 193 Q 120 220 147 220 L 253 220 Q 280 220 280 193 L 280 160" fill="#ffffc0" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 120 160 L 280 160" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <g fill="#000000" font-family="Helvetica" font-weight="bold" text-anchor="middle" font-size="12px">
- <text x="199.5" y="149.5">RUN</text>
- </g>
- <rect x="120" y="160" width="160" height="60" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 150px; height: 1px; padding-top: 190px; margin-left: 125px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center; max-height: 56px; overflow: hidden;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
- <div>prepare KEX data</div>
- <div>send KEX_INIT</div>
- <div>
- stop flushing
- <br />
- </div>
- <div>
- start queuing
- <br />
- </div>
- </div>
- </div>
- </div>
- </foreignObject>
- <text x="200" y="194" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">prepare KEX data...</text>
- </switch>
- </g>
- <path d="M 200 220 L 200 307.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 195.5 299.88 L 200 308.88 L 204.5 299.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 280 540 L 280 537 Q 280 510 253 510 L 147 510 Q 120 510 120 537 L 120 540" fill="#ffffc0" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 120 540 L 120 543 Q 120 570 147 570 L 253 570 Q 280 570 280 543 L 280 540" fill="#ffffc0" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <path d="M 120 540 L 280 540" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <g fill="#000000" font-family="Helvetica" font-weight="bold" text-anchor="middle" font-size="12px">
- <text x="199.5" y="529.5">KEYS</text>
- </g>
- <rect x="120" y="540" width="160" height="30" fill="none" stroke="none" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 150px; height: 1px; padding-top: 555px; margin-left: 125px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center; max-height: 26px; overflow: hidden;" data-drawio-colors="color: #000000; ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">send NEW_KEYS</div>
- </div>
- </div>
- </foreignObject>
- <text x="200" y="559" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">send NEW_KEYS</text>
- </switch>
- </g>
- <path d="M 200 570 L 200 590 L 40 590 L 40 30 L 137.76 30" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 129.88 34.5 L 138.88 30 L 129.88 25.5" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 301px; margin-left: 40px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">handleNewKeys</div>
- </div>
- </div>
- </foreignObject>
- <text x="40" y="304" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">handleNewKeys</text>
- </switch>
- </g>
- <path d="M 200 420 L 250 445 L 200 470 L 150 445 Z" fill="#ffffc0" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 445px; margin-left: 151px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); ">
- <div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">KEX finished?</div>
- </div>
- </div>
- </foreignObject>
- <text x="200" y="449" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">KEX finished?</text>
- </switch>
- </g>
- <path d="M 150 445 L 110 445 L 110 330 L 137.76 330" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 129.88 334.5 L 138.88 330 L 129.88 325.5" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 442px; margin-left: 139px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: left;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">no</div>
- </div>
- </div>
- </foreignObject>
- <text x="139" y="442" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px">no</text>
- </switch>
- </g>
- <path d="M 200 470 L 200 507.76" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 195.5 499.88 L 200 508.88 L 204.5 499.88" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 477px; margin-left: 202px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: left;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">yes</div>
- </div>
- </div>
- </foreignObject>
- <text x="202" y="488" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px">yes</text>
- </switch>
- </g>
- <ellipse cx="545" cy="35" rx="11" ry="11" fill="#000000" stroke="#ff0000" pointer-events="all" />
- <path d="M 545 50 L 545 160 L 492.24 160" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="stroke" />
- <path d="M 500.12 155.5 L 491.12 160 L 500.12 164.5" fill="none" stroke="#ff0000" stroke-miterlimit="10" pointer-events="all" />
- <g transform="translate(-0.5 -0.5)">
- <switch>
- <foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
- <div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 91px; margin-left: 546px;">
- <div style="box-sizing: border-box; font-size: 0px; text-align: center;" data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); ">
- <div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">sendKexInit</div>
- </div>
- </div>
- </foreignObject>
- <text x="546" y="94" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">sendKexInit</text>
- </switch>
- </g>
- <rect x="505" y="0" width="80" height="26" fill="none" stroke="none" pointer-events="all" />
- <g fill="rgb(0, 0, 0)" font-family="Helvetica" font-weight="bold" text-anchor="middle" font-size="12px">
- <text x="544.5" y="17.5">UNKNOWN</text>
- </g>
- </g>
- <switch>
- <g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" />
- <a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
- <text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text>
- </a>
- </switch>
-</svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: #ffffff; color-scheme: light;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="492px" height="661px" viewBox="-0.5 -0.5 492 661"><defs/><rect fill="#ffffff" style="fill: rgb(255, 255, 255);" width="100%" height="100%" x="0" y="0"/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="Z2IcUivewJbPsal0SKzA-1"><g><rect x="141" y="70" width="120" height="40" rx="16" ry="16" fill="#ffff [...]
\ No newline at end of file
diff --git a/docs/technical/src/filters.drawio b/docs/technical/src/filters.drawio
new file mode 100644
index 000000000..24b103e23
--- /dev/null
+++ b/docs/technical/src/filters.drawio
@@ -0,0 +1,719 @@
+<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:137.0) Gecko/20100101 Firefox/137.0" version="26.2.9" pages="6">
+ <diagram name="3.x" id="93W3reYYHBEfTuUd44ui">
+ <mxGraphModel dx="1121" dy="701" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
+ <root>
+ <mxCell id="0" />
+ <mxCell id="1" parent="0" />
+ <mxCell id="SeUWsLFjIapJUgc2huG1-1" value="<div>I/O Transport</div><div>(NIO2, MINA, Netty)</div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="60" y="900" width="480" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-11" value="Filter 1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="80" y="780" width="440" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-13" value="Filter 2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="80" y="660" width="440" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-14" value="Filter n" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="80" y="420" width="440" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-15" value="InputHandler" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="120" y="790" width="120" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-16" value="InputHandler" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="120" y="670" width="120" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-17" value="InputHandler" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="120" y="430" width="120" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-18" value="OutputHandler" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="360" y="430" width="120" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-19" value="OutputHandler" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="360" y="670" width="120" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-20" value="OutputHandler" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="360" y="790" width="120" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-21" value="AbstractSession" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="80" y="260" width="440" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-22" value="<div>User Authentication Service</div><div>(RFC 4252)</div><div>pubkey, password, ...</div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="80" y="20" width="200" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-23" value="<div>Connection Service</div><div>(RFC 4254)</div><div>channels, shells, port forwarding, ...</div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="320" y="20" width="200" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-24" value="CurrentService" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="240" y="180" width="120" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-25" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="600" y="260" width="120" height="610" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-26" value="" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="SeUWsLFjIapJUgc2huG1-21" edge="1">
+ <mxGeometry x="-1" y="3" relative="1" as="geometry">
+ <mxPoint x="520" y="297" as="sourcePoint" />
+ <mxPoint x="600" y="300" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-29" value="" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="SeUWsLFjIapJUgc2huG1-21" target="SeUWsLFjIapJUgc2huG1-24" edge="1">
+ <mxGeometry x="-0.5" y="-10" relative="1" as="geometry">
+ <mxPoint x="530" y="310" as="sourcePoint" />
+ <mxPoint x="610" y="310" as="targetPoint" />
+ <mxPoint as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-30" value="" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="SeUWsLFjIapJUgc2huG1-24" target="SeUWsLFjIapJUgc2huG1-23" edge="1">
+ <mxGeometry x="-1" y="3" relative="1" as="geometry">
+ <mxPoint x="350" y="230" as="sourcePoint" />
+ <mxPoint x="510" y="230" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-31" value="" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="SeUWsLFjIapJUgc2huG1-24" target="SeUWsLFjIapJUgc2huG1-22" edge="1">
+ <mxGeometry x="-1" y="3" relative="1" as="geometry">
+ <mxPoint x="340" y="190" as="sourcePoint" />
+ <mxPoint x="430" y="110" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-32" value="" style="endArrow=none;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="SeUWsLFjIapJUgc2huG1-41" target="SeUWsLFjIapJUgc2huG1-14" edge="1">
+ <mxGeometry x="-1" y="3" relative="1" as="geometry">
+ <mxPoint x="390" y="540" as="sourcePoint" />
+ <mxPoint x="550" y="540" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-33" value="" style="endArrow=none;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="SeUWsLFjIapJUgc2huG1-42" edge="1">
+ <mxGeometry x="-1" y="3" relative="1" as="geometry">
+ <mxPoint x="600" y="699.75" as="sourcePoint" />
+ <mxPoint x="520" y="699.75" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-34" value="" style="endArrow=none;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="SeUWsLFjIapJUgc2huG1-43" edge="1">
+ <mxGeometry x="-1" y="3" relative="1" as="geometry">
+ <mxPoint x="600" y="819.75" as="sourcePoint" />
+ <mxPoint x="520" y="819.75" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-35" value="handleMessage()" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="125" y="310" width="110" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-36" value="write()" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="365" y="260" width="110" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-37" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;" parent="1" vertex="1">
+ <mxGeometry x="295" y="530" width="10" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-38" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;" parent="1" vertex="1">
+ <mxGeometry x="295" y="620" width="10" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-39" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;" parent="1" vertex="1">
+ <mxGeometry x="295" y="575" width="10" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-40" value="<div>Filter Chain</div>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="615" y="270" width="90" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-41" value="FilterContext" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="615" y="420" width="95" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-42" value="FilterContext" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="615" y="660" width="95" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-43" value="FilterContext" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="615" y="780" width="95" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-44" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;entryX=0.75;entryY=1;entryDx=0;entryDy=0;exitX=0.75;exitY=0;exitDx=0;exitDy=0;endFill=1;startFill=1;startArrow=classicThin;" parent="1" source="SeUWsLFjIapJUgc2huG1-42" target="SeUWsLFjIapJUgc2huG1-41" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="670" y="620" as="sourcePoint" />
+ <mxPoint x="720" y="570" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-45" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;endFill=1;startFill=1;startArrow=classicThin;" parent="1" source="SeUWsLFjIapJUgc2huG1-41" target="SeUWsLFjIapJUgc2huG1-42" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="760" y="670" as="sourcePoint" />
+ <mxPoint x="760" y="510" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-46" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;endFill=1;startFill=1;startArrow=classicThin;" parent="1" source="SeUWsLFjIapJUgc2huG1-42" target="SeUWsLFjIapJUgc2huG1-43" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="760" y="620" as="sourcePoint" />
+ <mxPoint x="760" y="780" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-47" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;entryX=0.75;entryY=1;entryDx=0;entryDy=0;endFill=1;startFill=1;startArrow=classicThin;exitX=0.75;exitY=0;exitDx=0;exitDy=0;" parent="1" source="SeUWsLFjIapJUgc2huG1-43" target="SeUWsLFjIapJUgc2huG1-42" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="790" y="770" as="sourcePoint" />
+ <mxPoint x="790" y="610" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-48" value="<div align="center">head/first</div>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeColor=default;" parent="1" vertex="1">
+ <mxGeometry x="650" y="320" width="60" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-49" value="<div align="center">tail/last</div>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;strokeColor=default;" parent="1" vertex="1">
+ <mxGeometry x="650" y="360" width="60" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-50" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;edgeStyle=orthogonalEdgeStyle;" parent="1" source="SeUWsLFjIapJUgc2huG1-49" target="SeUWsLFjIapJUgc2huG1-41" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="670" y="460" as="sourcePoint" />
+ <mxPoint x="720" y="410" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="740" y="370" />
+ <mxPoint x="740" y="460" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-51" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="SeUWsLFjIapJUgc2huG1-48" target="SeUWsLFjIapJUgc2huG1-43" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="720" y="380" as="sourcePoint" />
+ <mxPoint x="760" y="760" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="760" y="330" />
+ <mxPoint x="760" y="820" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-52" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.25;exitY=0;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=2;" parent="1" source="SeUWsLFjIapJUgc2huG1-1" target="SeUWsLFjIapJUgc2huG1-15" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="160" y="880" as="sourcePoint" />
+ <mxPoint x="470" y="670" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-53" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=2;" parent="1" source="SeUWsLFjIapJUgc2huG1-15" target="SeUWsLFjIapJUgc2huG1-16" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="190" y="910" as="sourcePoint" />
+ <mxPoint x="190" y="860" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-54" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=2;dashed=1;" parent="1" source="SeUWsLFjIapJUgc2huG1-16" target="SeUWsLFjIapJUgc2huG1-17" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="190" y="800" as="sourcePoint" />
+ <mxPoint x="190" y="740" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-56" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=2;" parent="1" source="SeUWsLFjIapJUgc2huG1-17" target="SeUWsLFjIapJUgc2huG1-35" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="190" y="800" as="sourcePoint" />
+ <mxPoint x="190" y="740" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-57" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=2;" parent="1" source="SeUWsLFjIapJUgc2huG1-35" target="SeUWsLFjIapJUgc2huG1-24" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="190" y="440" as="sourcePoint" />
+ <mxPoint x="190" y="350" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-58" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#FF0000;strokeWidth=2;" parent="1" source="SeUWsLFjIapJUgc2huG1-36" target="SeUWsLFjIapJUgc2huG1-18" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="190" y="440" as="sourcePoint" />
+ <mxPoint x="190" y="350" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-59" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#FF0000;strokeWidth=2;" parent="1" source="SeUWsLFjIapJUgc2huG1-19" target="SeUWsLFjIapJUgc2huG1-20" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="430" y="350" as="sourcePoint" />
+ <mxPoint x="430" y="440" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-60" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;strokeColor=#FF0000;strokeWidth=2;" parent="1" target="SeUWsLFjIapJUgc2huG1-1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="420" y="850" as="sourcePoint" />
+ <mxPoint x="430" y="800" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-61" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#FF0000;strokeWidth=2;dashed=1;" parent="1" source="SeUWsLFjIapJUgc2huG1-18" target="SeUWsLFjIapJUgc2huG1-19" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="190" y="680" as="sourcePoint" />
+ <mxPoint x="190" y="500" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-63" value="<div>I/O port</div><div>(socket)</div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="240" y="1020" width="120" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-64" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;exitX=0.25;exitY=0;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=2;" parent="1" source="SeUWsLFjIapJUgc2huG1-63" target="SeUWsLFjIapJUgc2huG1-1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="190" y="910" as="sourcePoint" />
+ <mxPoint x="190" y="860" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-65" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;exitX=0.75;exitY=1;exitDx=0;exitDy=0;strokeColor=#FF0000;strokeWidth=2;" parent="1" source="SeUWsLFjIapJUgc2huG1-1" target="SeUWsLFjIapJUgc2huG1-63" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="310" y="1070" as="sourcePoint" />
+ <mxPoint x="190" y="1030" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-67" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=2;" parent="1" source="SeUWsLFjIapJUgc2huG1-24" target="SeUWsLFjIapJUgc2huG1-23" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="190" y="320" as="sourcePoint" />
+ <mxPoint x="280" y="230" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="SeUWsLFjIapJUgc2huG1-68" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.75;exitY=1;exitDx=0;exitDy=0;strokeColor=#FF0000;strokeWidth=2;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="SeUWsLFjIapJUgc2huG1-23" target="SeUWsLFjIapJUgc2huG1-36" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="310" y="190" as="sourcePoint" />
+ <mxPoint x="390" y="110" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="JBNKkuUN4tP-uXAIWEEZ-1" value="" style="endArrow=classic;html=1;rounded=0;strokeColor=#0000FF;strokeWidth=2;entryX=0.25;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" target="SeUWsLFjIapJUgc2huG1-63">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="269.75" y="1090" as="sourcePoint" />
+ <mxPoint x="270" y="1070" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="JBNKkuUN4tP-uXAIWEEZ-2" value="" style="endArrow=classic;html=1;rounded=0;strokeColor=#FF0000;strokeWidth=2;exitX=0.75;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="SeUWsLFjIapJUgc2huG1-63">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="330" y="1070" as="sourcePoint" />
+ <mxPoint x="329.75" y="1090" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="HJg2X-masyxf-9KX4OKN-1" value="next" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
+ <mxGeometry x="624.5" y="660" width="30" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="HJg2X-masyxf-9KX4OKN-2" value="next" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
+ <mxGeometry x="624.5" y="780" width="30" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="HJg2X-masyxf-9KX4OKN-3" value="prev" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
+ <mxGeometry x="670.5" y="480" width="30" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="HJg2X-masyxf-9KX4OKN-4" value="prev" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
+ <mxGeometry x="670.5" y="720" width="30" height="20" as="geometry" />
+ </mxCell>
+ </root>
+ </mxGraphModel>
+ </diagram>
+ <diagram id="En7fXwvqHPu-NXSdEbMA" name="Context">
+ <mxGraphModel dx="1121" dy="701" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
+ <root>
+ <mxCell id="0" />
+ <mxCell id="1" parent="0" />
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-1" value="Filter <i>n</i>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="80" y="780" width="440" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-2" value="Filter <i>n+1</i>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="80" y="660" width="440" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-3" value="InputHandler" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="120" y="790" width="120" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-4" value="InputHandler" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="120" y="670" width="120" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-5" value="OutputHandler" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="360" y="670" width="120" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-6" value="OutputHandler" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="360" y="790" width="120" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-7" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="600" y="540" width="120" height="420" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-8" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;" parent="1" vertex="1">
+ <mxGeometry x="295" y="579.5" width="10" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-9" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;" parent="1" vertex="1">
+ <mxGeometry x="295" y="620" width="10" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-10" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;" parent="1" vertex="1">
+ <mxGeometry x="295" y="600" width="10" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-11" value="<div>Filter Chain</div>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="615" y="549.5" width="90" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-13" value="FilterContext" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="615" y="660" width="95" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-14" value="FilterContext" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="615" y="780" width="95" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-15" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;entryX=0.75;entryY=1;entryDx=0;entryDy=0;exitX=0.75;exitY=0;exitDx=0;exitDy=0;endFill=1;startFill=1;startArrow=classicThin;" parent="1" source="9zoJOaU1kOAghH7AaQmB-13" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="670" y="620" as="sourcePoint" />
+ <mxPoint x="686.25" y="600" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-16" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;endFill=1;startFill=1;startArrow=classicThin;" parent="1" target="9zoJOaU1kOAghH7AaQmB-13" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="638.75" y="600" as="sourcePoint" />
+ <mxPoint x="760" y="510" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-17" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;endFill=1;startFill=1;startArrow=classicThin;" parent="1" source="9zoJOaU1kOAghH7AaQmB-13" target="9zoJOaU1kOAghH7AaQmB-14" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="760" y="620" as="sourcePoint" />
+ <mxPoint x="760" y="780" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-18" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;entryX=0.75;entryY=1;entryDx=0;entryDy=0;endFill=1;startFill=1;startArrow=classicThin;exitX=0.75;exitY=0;exitDx=0;exitDy=0;" parent="1" source="9zoJOaU1kOAghH7AaQmB-14" target="9zoJOaU1kOAghH7AaQmB-13" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="790" y="770" as="sourcePoint" />
+ <mxPoint x="790" y="610" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-23" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=1;dashed=1;dashPattern=1 4;" parent="1" source="9zoJOaU1kOAghH7AaQmB-3" target="9zoJOaU1kOAghH7AaQmB-4" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="190" y="910" as="sourcePoint" />
+ <mxPoint x="190" y="860" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="9zoJOaU1kOAghH7AaQmB-24" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#FF0000;strokeWidth=1;dashed=1;dashPattern=1 4;" parent="1" source="9zoJOaU1kOAghH7AaQmB-5" target="9zoJOaU1kOAghH7AaQmB-6" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="430" y="350" as="sourcePoint" />
+ <mxPoint x="430" y="440" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="4ae1mWehYuNT-o9Glzmu-1" value="" style="endArrow=none;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" edge="1">
+ <mxGeometry x="-1" y="3" relative="1" as="geometry">
+ <mxPoint x="615" y="700" as="sourcePoint" />
+ <mxPoint x="520" y="699.75" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="4ae1mWehYuNT-o9Glzmu-2" value="" style="endArrow=none;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" edge="1">
+ <mxGeometry x="-1" y="3" relative="1" as="geometry">
+ <mxPoint x="615" y="820" as="sourcePoint" />
+ <mxPoint x="520" y="819.75" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="4ae1mWehYuNT-o9Glzmu-4" value="<div align="left">filter</div>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="520" y="810" width="30" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="4ae1mWehYuNT-o9Glzmu-5" value="<div align="left">filter</div>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="520" y="690" width="30" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="4ae1mWehYuNT-o9Glzmu-6" value="<div align="right">owner</div>" style="text;html=1;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="560" y="700" width="40" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="4ae1mWehYuNT-o9Glzmu-7" value="<div align="right">owner</div>" style="text;html=1;align=right;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="560" y="820" width="40" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="4ae1mWehYuNT-o9Glzmu-9" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=-0.005;entryY=0.694;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#FF0000;strokeWidth=2;" parent="1" source="9zoJOaU1kOAghH7AaQmB-5" target="9zoJOaU1kOAghH7AaQmB-13" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="520" y="780" as="sourcePoint" />
+ <mxPoint x="570" y="730" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="4ae1mWehYuNT-o9Glzmu-10" value="" style="endArrow=classic;html=1;rounded=0;exitX=-0.005;exitY=0.688;exitDx=0;exitDy=0;entryX=1;entryY=0.75;entryDx=0;entryDy=0;strokeColor=#FF0000;exitPerimeter=0;strokeWidth=2;" parent="1" source="9zoJOaU1kOAghH7AaQmB-14" target="9zoJOaU1kOAghH7AaQmB-6" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="490" y="725" as="sourcePoint" />
+ <mxPoint x="625" y="726" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="4ae1mWehYuNT-o9Glzmu-11" value="" style="endArrow=classic;html=1;rounded=0;exitX=0;exitY=0.688;exitDx=0;exitDy=0;entryX=0;entryY=0.688;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#FF0000;strokeWidth=2;dashed=1;dashPattern=1 2;exitPerimeter=0;edgeStyle=orthogonalEdgeStyle;" parent="1" source="9zoJOaU1kOAghH7AaQmB-13" target="9zoJOaU1kOAghH7AaQmB-14" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="490" y="725" as="sourcePoint" />
+ <mxPoint x="625" y="726" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="700" y="715" />
+ <mxPoint x="700" y="835" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="vVA_tsm4h4jxl43jQiV4-1" value="" style="endArrow=classic;html=1;rounded=0;entryX=-0.005;entryY=0.306;entryDx=0;entryDy=0;exitX=1;exitY=0.25;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=2;entryPerimeter=0;" parent="1" source="9zoJOaU1kOAghH7AaQmB-3" target="9zoJOaU1kOAghH7AaQmB-14" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="190" y="800" as="sourcePoint" />
+ <mxPoint x="190" y="740" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="vVA_tsm4h4jxl43jQiV4-2" value="" style="endArrow=classic;html=1;rounded=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;exitX=-0.005;exitY=0.313;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=2;exitPerimeter=0;" parent="1" source="9zoJOaU1kOAghH7AaQmB-13" target="9zoJOaU1kOAghH7AaQmB-4" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="250" y="815" as="sourcePoint" />
+ <mxPoint x="625" y="814" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="vVA_tsm4h4jxl43jQiV4-3" value="" style="endArrow=none;html=1;rounded=0;exitX=-0.005;exitY=0.306;exitDx=0;exitDy=0;entryX=0;entryY=0.313;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#0000FF;strokeWidth=2;dashed=1;dashPattern=1 2;exitPerimeter=0;edgeStyle=orthogonalEdgeStyle;startArrow=classic;startFill=1;" parent="1" source="9zoJOaU1kOAghH7AaQmB-13" target="9zoJOaU1kOAghH7AaQmB-14" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="625" y="725" as="sourcePoint" />
+ <mxPoint x="625" y="845" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="650" y="685" />
+ <mxPoint x="650" y="805" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="vVA_tsm4h4jxl43jQiV4-6" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;" parent="1" vertex="1">
+ <mxGeometry x="295" y="890" width="10" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="vVA_tsm4h4jxl43jQiV4-7" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;" parent="1" vertex="1">
+ <mxGeometry x="295" y="930.5" width="10" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="vVA_tsm4h4jxl43jQiV4-8" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;" parent="1" vertex="1">
+ <mxGeometry x="295" y="910.5" width="10" height="10" as="geometry" />
+ </mxCell>
+ <mxCell id="vVA_tsm4h4jxl43jQiV4-9" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;entryX=0.75;entryY=1;entryDx=0;entryDy=0;exitX=0.75;exitY=0;exitDx=0;exitDy=0;endFill=1;startFill=1;startArrow=classicThin;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="685.88" y="920" as="sourcePoint" />
+ <mxPoint x="686.13" y="860" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="vVA_tsm4h4jxl43jQiV4-10" value="" style="endArrow=none;dashed=1;html=1;dashPattern=1 3;strokeWidth=2;rounded=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=0.25;exitY=1;exitDx=0;exitDy=0;endFill=1;startFill=1;startArrow=classicThin;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="638.63" y="860" as="sourcePoint" />
+ <mxPoint x="638.88" y="920" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ </root>
+ </mxGraphModel>
+ </diagram>
+ <diagram id="3E4fNF49bOonhBg35vgt" name="SSH transport chain">
+ <mxGraphModel dx="804" dy="678" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
+ <root>
+ <mxCell id="0" />
+ <mxCell id="1" parent="0" />
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-1" value="IdentFilter" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="760" width="540" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-2" value="<div align="left">If first:</div><div align="left"><span style="white-space: pre;">	</span>read SSH protocol ident</div><div align="left">else:</div><div align="left"><span style="white-space: pre;">	</span><b><span style="color: rgb(0, 0, 255);">pass on</span></b></div [...]
+ <mxGeometry x="50" y="770" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-3" value="<div>If first:</div><div><span style="white-space: pre;">	<span style="color: rgb(255, 0, 0);"><b>send</b></span> </span>SSH protocol ident</div><div><b><span style="color: rgb(255, 0, 0);">send on</span></b></div>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" parent="1" vertex="1">
+ <mxGeometry x="380" y="770" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-4" value="CryptFilter" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="660" width="540" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-5" value="<div align="left">If encryption is on:</div><div align="left"><span style="white-space: pre;">	</span><b>decrypt, then <span style="color: rgb(0, 0, 255);">pass on</span></b></div><div align="left">else:</div><div align="left"><span style="white-space: pre;">	</span><b& [...]
+ <mxGeometry x="50" y="670" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-7" value="<div align="left">If encryption is on:</div><div align="left"><span style="white-space: pre;">	</span><b>encrypt, then <span style="color: rgb(255, 0, 0);">send on</span></b></div><div align="left">else:</div><span style="white-space: pre;">	</span><b><span style="color: rgb [...]
+ <mxGeometry x="380" y="670" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-8" value="CompressionFilter" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="560" width="540" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-9" value="<div align="left">If compression is on:</div><div align="left"><span style="white-space: pre;">	<b>decompress</b></span><b>, then <span style="color: rgb(0, 0, 255);">pass on</span></b></div><div align="left">else:</div><div align="left"><span style="white-space: pre;">& [...]
+ <mxGeometry x="50" y="570" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-10" value="<div align="left">If compression is on:</div><div align="left"><span style="white-space: pre;">	<b>compress</b></span><b>, then <span style="color: rgb(255, 0, 0);">send on</span></b></div><div align="left">else:</div><div align="left"><span style="white-space: pre;">&# [...]
+ <mxGeometry x="380" y="570" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-12" value="PacketLoggingFilter" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="460" width="540" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-13" value="<div>log incoming SSH packet</div><div><b><span style="color: rgb(0, 0, 255);">pass on</span></b></div>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" parent="1" vertex="1">
+ <mxGeometry x="50" y="470" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-14" value="<div>log outgoing SSH packet</div><div><b><span style="color: rgb(255, 0, 0);">send on</span></b></div>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" parent="1" vertex="1">
+ <mxGeometry x="380" y="470" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-15" value="<div>KexFilter</div><div>(KEXINIT, negotiation,</div><div>actual KEX, NEWKEYS)</div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="140" width="540" height="170" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-16" value="<div>If msg is for key exchange:</div><div><span style="white-space: pre;">	<b>handle and <span style="color: rgb(255, 0, 0);">send reply</span></b></span></div><div><span style="white-space: pre;"><b><span style="white-space: pre;">	</span></b>(may start KEX if msg is</span></div>&l [...]
+ <mxGeometry x="50" y="150" width="190" height="150" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-17" value="<div align="left">If in key exchange:</div><div align="left"><span style="white-space: pre;">	</span>buffer messages from above;</div><div align="left"><span style="white-space: pre;">	</span><b>send</b> them once KEX is over</div><div align="left">else:</div><div align="left&quo [...]
+ <mxGeometry x="380" y="150" width="190" height="150" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-18" value="I/O Transport" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="860" width="540" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="jcOvmlgZh9FjUryh4rz4-19" value="AbstractSession" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="60" width="540" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="yoY2K659-_JpB-bgtqwU-1" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;flipH=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;strokeWidth=2;" parent="1" vertex="1">
+ <mxGeometry x="630" y="140" width="30" height="700" as="geometry" />
+ </mxCell>
+ <mxCell id="yoY2K659-_JpB-bgtqwU-2" value="<font style="font-size: 16px;">SSH Transport Filter</font>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;rotation=90;" parent="1" vertex="1">
+ <mxGeometry x="620" y="475" width="150" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="sL3bI87Otc73480tJn9R-1" value="InjectIgnoreFilter" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
+ <mxGeometry x="40" y="330" width="540" height="110" as="geometry" />
+ </mxCell>
+ <mxCell id="sL3bI87Otc73480tJn9R-3" value="<div>if should inject ignore (based on time or #messages since last ignore) &amp;&amp; not a KEX message:</div><div><span style="white-space: pre;">	</span><span style="color: rgb(255, 0, 0);"><b>send SSH_MSG_IGNORE</b></span></div><div><b><span style="color: rgb(255, 0, 0);">send on</span></b></div>" [...]
+ <mxGeometry x="380" y="340" width="190" height="90" as="geometry" />
+ </mxCell>
+ </root>
+ </mxGraphModel>
+ </diagram>
+ <diagram id="YisYAQbi7SsbcS7fZ7XD" name="SSH transport filter">
+ <mxGraphModel dx="1121" dy="701" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
+ <root>
+ <mxCell id="0" />
+ <mxCell id="1" parent="0" />
+ <mxCell id="GInOKrxfIlBCRgrD41IH-1" value="<div>SSH Transport Filter</div><div>(RFC 4253 incl.</div><div>key exchange)</div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="320" width="540" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="GInOKrxfIlBCRgrD41IH-2" value="<div align="left">If high-level msg:</div><div align="left"><span style="white-space: pre;">	</span><b><span style="color: rgb(0, 0, 255);">pass on</span></b></div><div align="left">else:</div><div align="left"><span style="white-space: pre;">	</span><b>handle and &l [...]
+ <mxGeometry x="50" y="330" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="GInOKrxfIlBCRgrD41IH-3" value="<div><b><span style="color: rgb(255, 0, 0);">send on</span> </b>and transparently take care of low-level details</div>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" parent="1" vertex="1">
+ <mxGeometry x="380" y="330" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="GInOKrxfIlBCRgrD41IH-4" value="I/O Transport" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="420" width="540" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="e9VPYIY8Uydfpl_vcXT0-1" value="AbstractSession" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="20" width="540" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="EbLgR7Cw_XR9uop6y1On-1" value="handleMessage()" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="90" y="50" width="110" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="EbLgR7Cw_XR9uop6y1On-2" value="write()" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="420" y="50" width="110" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="EbLgR7Cw_XR9uop6y1On-3" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;strokeWidth=2;strokeColor=#0000FF;" parent="1" source="GInOKrxfIlBCRgrD41IH-2" target="EbLgR7Cw_XR9uop6y1On-1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="390" y="320" as="sourcePoint" />
+ <mxPoint x="440" y="270" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="EbLgR7Cw_XR9uop6y1On-5" value="<div align="left">SSH_MSG_DISCONNECT</div><div align="left">SSH_MSG_IGNORE</div><div align="left">SSH_MSG_UNIMPLEMENTED</div><div align="left">SSH_MSG_DEBUG</div><div align="left">SSH_MSG_SERVICE_REQUEST</div><div align="left">SSH_MSG_SERVICE_ACCEPT</div><div align="left"><div align=" [...]
+ <mxGeometry x="160" y="140" width="200" height="130" as="geometry" />
+ </mxCell>
+ <mxCell id="vZ7YBAahGauW2TGzXRDU-1" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeWidth=2;strokeColor=#FF0000;" parent="1" source="EbLgR7Cw_XR9uop6y1On-2" target="GInOKrxfIlBCRgrD41IH-3" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="155" y="340" as="sourcePoint" />
+ <mxPoint x="155" y="90" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ </root>
+ </mxGraphModel>
+ </diagram>
+ <diagram id="VRUCrS8l-06pI1JwzTeL" name="Proxy">
+ <mxGraphModel dx="1121" dy="1870" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
+ <root>
+ <mxCell id="0" />
+ <mxCell id="1" parent="0" />
+ <mxCell id="MzAHhzvjKLWb1_eyRlG3-1" value="SSH Transport Filter" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="-1040" width="540" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="MzAHhzvjKLWb1_eyRlG3-2" value="<div align="left">If high-level msg:</div><div align="left"><span style="white-space: pre;">	</span><b><span style="color: rgb(0, 0, 255);">pass on</span></b></div><div align="left">else:</div><div align="left"><span style="white-space: pre;">	</span><b>handle and &l [...]
+ <mxGeometry x="50" y="-1030" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="MzAHhzvjKLWb1_eyRlG3-3" value="<div><b><span style="color: rgb(255, 0, 0);">send on</span> </b>and transparently take care of low-level details</div>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" parent="1" vertex="1">
+ <mxGeometry x="380" y="-1030" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="MzAHhzvjKLWb1_eyRlG3-4" value="I/O Transport" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="-790" width="540" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="MzAHhzvjKLWb1_eyRlG3-5" value="" style="group" parent="1" vertex="1" connectable="0">
+ <mxGeometry x="40" y="-1120" width="540" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="MzAHhzvjKLWb1_eyRlG3-6" value="AbstractSession" style="rounded=0;whiteSpace=wrap;html=1;" parent="MzAHhzvjKLWb1_eyRlG3-5" vertex="1">
+ <mxGeometry width="540" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="MzAHhzvjKLWb1_eyRlG3-7" value="handleMessage()" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="MzAHhzvjKLWb1_eyRlG3-5" vertex="1">
+ <mxGeometry x="50" y="30" width="110" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="MzAHhzvjKLWb1_eyRlG3-8" value="write()" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="MzAHhzvjKLWb1_eyRlG3-5" vertex="1">
+ <mxGeometry x="380" y="30" width="110" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="MzAHhzvjKLWb1_eyRlG3-9" value="Proxy Filter" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="-940" width="540" height="130" as="geometry" />
+ </mxCell>
+ <mxCell id="MzAHhzvjKLWb1_eyRlG3-10" value="<div align="left">If proxy protocol msg:</div><div align="left"><span style="white-space: pre;">	<b>handle and <span style="color: rgb(255, 0, 0);">send reply</span></b></span></div><div align="left">else:</div><div align="left"><span style="white-space: pre;">	</span>< [...]
+ <mxGeometry x="50" y="-905" width="190" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="MzAHhzvjKLWb1_eyRlG3-11" value="<div align="left">If first and using proxy:</div><div align="left"><span style="white-space: pre;">	</span><b>buffer message</b></div><div align="left"><b><span style="white-space: pre;">	</span><span style="color: rgb(255, 0, 0);">send</span> proxy protocol start</b></div>&l [...]
+ <mxGeometry x="380" y="-930" width="190" height="110" as="geometry" />
+ </mxCell>
+ </root>
+ </mxGraphModel>
+ </diagram>
+ <diagram id="q6-8oHBQRqZUW48CghBg" name="2.x">
+ <mxGraphModel dx="1121" dy="701" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
+ <root>
+ <mxCell id="0" />
+ <mxCell id="1" parent="0" />
+ <mxCell id="RpgorseLi4abtQ-OvLaq-1" value="<div>I/O Transport</div><div>(NIO2, MINA, Netty)</div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="20" y="480" width="480" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="9IJndupuuO0yzY9wfIE2-1" value="<div>I/O port</div><div>(socket)</div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="200" y="600" width="120" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="9IJndupuuO0yzY9wfIE2-2" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;exitX=0.25;exitY=0;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=2;" parent="1" source="9IJndupuuO0yzY9wfIE2-1" edge="1" target="RpgorseLi4abtQ-OvLaq-1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="150" y="450" as="sourcePoint" />
+ <mxPoint x="140" y="560" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="9IJndupuuO0yzY9wfIE2-3" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;exitX=0.75;exitY=1;exitDx=0;exitDy=0;strokeColor=#FF0000;strokeWidth=2;exitPerimeter=0;" parent="1" target="9IJndupuuO0yzY9wfIE2-1" edge="1" source="RpgorseLi4abtQ-OvLaq-1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="380" y="560" as="sourcePoint" />
+ <mxPoint x="150" y="570" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="V1fThXO612egQc6p6Pqm-2" value="AbstractSession" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="40" y="360" width="440" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="rbI45LS5nE-T0nOvG1LZ-3" value="handleMessage()" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="85" y="410" width="110" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="rbI45LS5nE-T0nOvG1LZ-4" value="write()" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="325" y="360" width="110" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="V1fThXO612egQc6p6Pqm-3" value="" style="endArrow=classic;html=1;rounded=0;strokeColor=#0000FF;strokeWidth=2;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" target="rbI45LS5nE-T0nOvG1LZ-3" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="140" y="480" as="sourcePoint" />
+ <mxPoint x="130" y="460" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="V1fThXO612egQc6p6Pqm-4" value="" style="endArrow=classic;html=1;rounded=0;strokeColor=#FF0000;strokeWidth=2;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" parent="1" source="rbI45LS5nE-T0nOvG1LZ-4" target="RpgorseLi4abtQ-OvLaq-1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="400" y="460" as="sourcePoint" />
+ <mxPoint x="360" y="460" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="V1fThXO612egQc6p6Pqm-5" value="<div align="left">Handled</div><div align="left"><ul><li>SSH protocol ident</li><li>encryption</li><li>compression</li><li>key exchange,</li><li>current service,</li><li>low-level messages</li><li>SSH_MSG_GLOBAL_REQUEST (from RFC 4254)</li></ul></div>" style="text;html=1;align=left;verticalAlign=midd [...]
+ <mxGeometry x="520" y="325" width="220" height="160" as="geometry" />
+ </mxCell>
+ <mxCell id="V1fThXO612egQc6p6Pqm-8" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;labelPosition=left;verticalLabelPosition=middle;align=right;verticalAlign=middle;" parent="1" vertex="1">
+ <mxGeometry x="500" y="325" width="20" height="150" as="geometry" />
+ </mxCell>
+ <mxCell id="PZfINOEox0LK10aS5dxq-1" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;strokeColor=#0000FF;strokeWidth=2;" edge="1" parent="1" target="9IJndupuuO0yzY9wfIE2-1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="230" y="670" as="sourcePoint" />
+ <mxPoint x="210" y="690" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="PZfINOEox0LK10aS5dxq-2" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.75;exitY=1;exitDx=0;exitDy=0;strokeColor=#FF0000;strokeWidth=2;" edge="1" parent="1" source="9IJndupuuO0yzY9wfIE2-1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="390" y="570" as="sourcePoint" />
+ <mxPoint x="290" y="670" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="QYCdDCDy3RhrupvWHk5Y-1" value="<div>User Authentication Service</div><div>(RFC 4252)</div><div>pubkey, password, ...</div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
+ <mxGeometry x="40" y="120" width="200" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="QYCdDCDy3RhrupvWHk5Y-2" value="<div>Connection Service</div><div>(RFC 4254)</div><div>channels, shells, port forwarding, ...</div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
+ <mxGeometry x="280" y="120" width="200" height="80" as="geometry" />
+ </mxCell>
+ <mxCell id="QYCdDCDy3RhrupvWHk5Y-3" value="CurrentService" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
+ <mxGeometry x="200" y="280" width="120" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="QYCdDCDy3RhrupvWHk5Y-4" value="" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" target="QYCdDCDy3RhrupvWHk5Y-3">
+ <mxGeometry x="-0.5" y="-10" relative="1" as="geometry">
+ <mxPoint x="260" y="360" as="sourcePoint" />
+ <mxPoint x="570" y="410" as="targetPoint" />
+ <mxPoint as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="QYCdDCDy3RhrupvWHk5Y-5" value="" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="QYCdDCDy3RhrupvWHk5Y-3" target="QYCdDCDy3RhrupvWHk5Y-2">
+ <mxGeometry x="-1" y="3" relative="1" as="geometry">
+ <mxPoint x="310" y="330" as="sourcePoint" />
+ <mxPoint x="470" y="330" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="QYCdDCDy3RhrupvWHk5Y-6" value="" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=0;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="QYCdDCDy3RhrupvWHk5Y-3" target="QYCdDCDy3RhrupvWHk5Y-1">
+ <mxGeometry x="-1" y="3" relative="1" as="geometry">
+ <mxPoint x="300" y="290" as="sourcePoint" />
+ <mxPoint x="390" y="210" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="QYCdDCDy3RhrupvWHk5Y-7" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=2;" edge="1" parent="1" target="QYCdDCDy3RhrupvWHk5Y-3" source="rbI45LS5nE-T0nOvG1LZ-3">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="140" y="410" as="sourcePoint" />
+ <mxPoint x="150" y="450" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="QYCdDCDy3RhrupvWHk5Y-8" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;strokeColor=#0000FF;strokeWidth=2;" edge="1" parent="1" source="QYCdDCDy3RhrupvWHk5Y-3" target="QYCdDCDy3RhrupvWHk5Y-2">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="150" y="420" as="sourcePoint" />
+ <mxPoint x="240" y="330" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="QYCdDCDy3RhrupvWHk5Y-9" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.75;exitY=1;exitDx=0;exitDy=0;strokeColor=#FF0000;strokeWidth=2;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="QYCdDCDy3RhrupvWHk5Y-2" target="rbI45LS5nE-T0nOvG1LZ-4">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="270" y="290" as="sourcePoint" />
+ <mxPoint x="420" y="340" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ </root>
+ </mxGraphModel>
+ </diagram>
+</mxfile>
diff --git a/docs/technical/src/kex.drawio b/docs/technical/src/kex.drawio
index 539a5f055..c9fb76487 100644
--- a/docs/technical/src/kex.drawio
+++ b/docs/technical/src/kex.drawio
@@ -1 +1,715 @@
-<mxfile host="app.diagrams.net" modified="2022-04-22T19:41:47.068Z" agent="5.0 (Macintosh)" etag="Fp6bN1xc8P1QhhqHzg0l" version="17.4.5"><diagram id="MgQ8iZ1HcKcTAxv5I0mx" name="Page-1">7V1dd9s20v41vrQPAfBLl2nivNtN1s1p2tP2velRLMbWVhFdiU7i/voFJYISMSA5pPBBkcpNLEqCJM7MMzMPBjNX7PWX7/+3mT89/iddJKsr6i2+X7E3V5QSxgL+X37lZX9lFrH9hYfNclG86HDh4/KfpLjoFVefl4tkW3lhlqarbPlUvXifrtfJfVa5Nt9s0m/Vl31OV9VPfZo/JODCx/v5Cl79bbnIHvdX48A7XP9Xsnx4FJ9MvOKZL3Px4uLC9nG+SL8dXWK3V+z1Jk2z/V9fvr9OVvnNE/dl/763Nc+WX2yTrD [...]
\ No newline at end of file
+<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:109.0) Gecko/20100101 Firefox/115.0" version="26.2.9">
+ <diagram id="MgQ8iZ1HcKcTAxv5I0mx" name="Page-1">
+ <mxGraphModel dx="1067" dy="892" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
+ <root>
+ <mxCell id="0" />
+ <mxCell id="1" parent="0" />
+ <mxCell id="Z2IcUivewJbPsal0SKzA-1" value="<b>DONE</b>" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="250" y="80" width="120" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-2" value="startKex" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-1" target="Z2IcUivewJbPsal0SKzA-11" edge="1">
+ <mxGeometry x="0.76" relative="1" as="geometry">
+ <mxPoint x="310" y="200" as="targetPoint" />
+ <mxPoint as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-5" value="<b>RUN</b>" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="250" y="380" width="120" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-6" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-5" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="310" y="490" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-27" value="exchange KEX messages" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-6" vertex="1" connectable="0">
+ <mxGeometry y="1" relative="1" as="geometry">
+ <mxPoint as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-11" value="INIT" style="swimlane;fontStyle=1;align=center;verticalAlign=middle;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=0;resizeLast=1;container=0;fontColor=#000000;collapsible=0;rounded=1;arcSize=30;strokeColor=#ff0000;fillColor=#ffffc0;swimlaneFillColor=#ffffc0;dropTarget=0;" parent="1" vertex="1">
+ <mxGeometry x="440" y="200" width="160" height="90" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-12" value="<div>prepare KEX data<br></div><div>send KEX_INIT</div><div>stop flushing<br></div><div>start queuing<br></div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;fontColor=#000000;" parent="Z2IcUivewJbPsal0SKzA-11" vertex="1">
+ <mxGeometry y="30" width="160" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-13" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-11" target="Z2IcUivewJbPsal0SKzA-5" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="410" y="400" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="520" y="400" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-14" value="receiveKexInit" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-13" vertex="1" connectable="0">
+ <mxGeometry x="-0.4" y="2" relative="1" as="geometry">
+ <mxPoint x="-2" y="-37" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-15" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-1" target="Z2IcUivewJbPsal0SKzA-18" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="310" y="180" as="targetPoint" />
+ <mxPoint x="470" y="280" as="sourcePoint" />
+ <Array as="points" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-21" value="receiveKexInit" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-15" vertex="1" connectable="0">
+ <mxGeometry x="0.4425" y="2" relative="1" as="geometry">
+ <mxPoint x="-2" y="-18" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-18" value="RUN" style="swimlane;fontStyle=1;align=center;verticalAlign=middle;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=0;resizeLast=1;container=0;fontColor=#000000;collapsible=0;rounded=1;arcSize=30;strokeColor=#ff0000;fillColor=#ffffc0;swimlaneFillColor=#ffffc0;dropTarget=0;" parent="1" vertex="1">
+ <mxGeometry x="230" y="200" width="160" height="90" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-19" value="<div>prepare KEX data</div><div>send KEX_INIT</div><div>stop flushing<br></div><div>start queuing<br></div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;fontColor=#000000;" parent="Z2IcUivewJbPsal0SKzA-18" vertex="1">
+ <mxGeometry y="30" width="160" height="60" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-20" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-18" target="Z2IcUivewJbPsal0SKzA-5" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="310" y="360" as="targetPoint" />
+ <Array as="points" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-22" value="KEYS" style="swimlane;fontStyle=1;align=center;verticalAlign=middle;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=0;resizeLast=1;container=0;fontColor=#000000;collapsible=0;rounded=1;arcSize=30;strokeColor=#ff0000;fillColor=#ffffc0;swimlaneFillColor=#ffffc0;dropTarget=0;" parent="1" vertex="1">
+ <mxGeometry x="230" y="580" width="160" height="70" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-23" value="<div>send NEW_KEYS</div><div>start flushing<br></div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;fontColor=#000000;" parent="Z2IcUivewJbPsal0SKzA-22" vertex="1">
+ <mxGeometry y="30" width="160" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-24" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-22" target="Z2IcUivewJbPsal0SKzA-1" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="310" y="620" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="310" y="660" />
+ <mxPoint x="150" y="660" />
+ <mxPoint x="150" y="100" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-26" value="receiveNewKeys" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-24" vertex="1" connectable="0">
+ <mxGeometry x="0.1714" y="1" relative="1" as="geometry">
+ <mxPoint y="22" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-28" value="KEX finished?" style="rhombus;whiteSpace=wrap;html=1;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="260" y="490" width="100" height="50" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-29" value="no" style="edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-28" target="Z2IcUivewJbPsal0SKzA-5" edge="1">
+ <mxGeometry x="-0.8621" relative="1" as="geometry">
+ <mxPoint x="450" y="510" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="220" y="515" />
+ <mxPoint x="220" y="400" />
+ </Array>
+ <mxPoint as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-30" value="yes" style="edgeStyle=orthogonalEdgeStyle;html=1;align=left;verticalAlign=top;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-28" target="Z2IcUivewJbPsal0SKzA-22" edge="1">
+ <mxGeometry x="-1" relative="1" as="geometry">
+ <mxPoint x="310" y="570" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-31" value="" style="ellipse;html=1;shape=startState;fillColor=#000000;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="295" y="10" width="30" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-32" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-31" target="Z2IcUivewJbPsal0SKzA-1" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="720" y="180" as="targetPoint" />
+ <mxPoint x="655" y="130" as="sourcePoint" />
+ <Array as="points">
+ <mxPoint x="310" y="70" />
+ <mxPoint x="310" y="70" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-43" value="ClientSession" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="160" y="680" width="80" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-44" value="ServerSession" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="520" y="680" width="80" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-45" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-70" target="Z2IcUivewJbPsal0SKzA-43" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1160" as="sourcePoint" />
+ <mxPoint x="230" y="800" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-46" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-49" target="Z2IcUivewJbPsal0SKzA-44" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1160" as="sourcePoint" />
+ <mxPoint x="370" y="770" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-49" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="550" y="840" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-50" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-81" target="Z2IcUivewJbPsal0SKzA-49" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1160" as="sourcePoint" />
+ <mxPoint x="560" y="760" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-47" value="" style="endArrow=classic;html=1;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=0;exitX=0.95;exitY=0.992;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-74" target="Z2IcUivewJbPsal0SKzA-49" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="310" y="820" as="sourcePoint" />
+ <mxPoint x="390" y="820" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-48" value="KEX_INIT" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-47" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="26" y="5" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-51" value="receiveKexInit" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="585" y="830" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-52" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.083;exitY=1.008;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-55" target="Z2IcUivewJbPsal0SKzA-76" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="460" y="930" as="sourcePoint" />
+ <mxPoint x="250" y="930" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-53" value="KEX_INIT" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-52" vertex="1" connectable="0">
+ <mxGeometry x="-0.0108" relative="1" as="geometry">
+ <mxPoint as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-54" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-49" target="Z2IcUivewJbPsal0SKzA-49" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-55" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;" parent="1" vertex="1">
+ <mxGeometry x="645" y="880" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-56" value="sendKexInit" style="html=1;verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-49" target="Z2IcUivewJbPsal0SKzA-55" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="575" y="890" as="sourcePoint" />
+ <Array as="points" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-58" value="" style="endArrow=classic;html=1;rounded=0;dashed=1;dashPattern=1 1;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="990" as="sourcePoint" />
+ <mxPoint x="560" y="1000" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-59" value="KEX messages" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-58" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="26" y="5" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-60" value="" style="endArrow=classic;html=1;rounded=0;dashed=1;dashPattern=1 1;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1010" as="sourcePoint" />
+ <mxPoint x="200" y="1020" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-61" value="KEX messages" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-60" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="-12" y="5" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-62" value="" style="endArrow=classic;html=1;rounded=0;dashed=1;dashPattern=1 1;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1030" as="sourcePoint" />
+ <mxPoint x="560" y="1040" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-63" value="KEX messages" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-62" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="26" y="5" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-64" value="" style="endArrow=classic;html=1;rounded=0;dashed=1;dashPattern=1 1;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1050" as="sourcePoint" />
+ <mxPoint x="200" y="1060" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-65" value="KEX messages" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-64" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="-12" y="5" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-68" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="190" y="1160" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-69" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" target="Z2IcUivewJbPsal0SKzA-68" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1240" as="sourcePoint" />
+ <mxPoint x="200" y="810" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-70" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="190" y="740" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-71" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-83" target="Z2IcUivewJbPsal0SKzA-70" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1060" as="sourcePoint" />
+ <mxPoint x="200" y="720" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-72" value="startKex" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="130" y="730" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-74" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;" parent="1" vertex="1">
+ <mxGeometry x="285" y="780" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-75" value="sendKexInit" style="html=1;verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=0;" parent="1" target="Z2IcUivewJbPsal0SKzA-74" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="210" y="780" as="sourcePoint" />
+ <Array as="points" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-76" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="190" y="940" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-77" value="receiveKexInit" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="110" y="930" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-78" value="sendNewKeys" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="110" y="1080" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-79" value="" style="endArrow=classic;html=1;rounded=0;dashed=1;dashPattern=1 1;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1070" as="sourcePoint" />
+ <mxPoint x="560" y="1080" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-80" value="KEX messages" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-79" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="26" y="5" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-81" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="550" y="1090" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-82" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-91" target="Z2IcUivewJbPsal0SKzA-81" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1240" as="sourcePoint" />
+ <mxPoint x="560" y="880" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-83" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="190" y="1090" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-84" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-68" target="Z2IcUivewJbPsal0SKzA-83" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1170" as="sourcePoint" />
+ <mxPoint x="200" y="780" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-85" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-83" target="Z2IcUivewJbPsal0SKzA-91" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1140" as="sourcePoint" />
+ <mxPoint x="560" y="1160" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-86" value="NEW_KEYS" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-85" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="-86" y="-11" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-87" value="" style="endArrow=classic;html=1;rounded=0;exitX=0;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-81" target="Z2IcUivewJbPsal0SKzA-68" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="220" y="1140" as="sourcePoint" />
+ <mxPoint x="570" y="1170" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-88" value="NEW_KEYS" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-87" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="82" y="-13" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-89" value="sendNewKeys" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="590" y="1080" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-90" value="receiveNewKeys" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="110" y="1150" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-91" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="550" y="1160" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-92" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" target="Z2IcUivewJbPsal0SKzA-91" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1240" as="sourcePoint" />
+ <mxPoint x="560" y="1130" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-93" value="receiveNewKeys" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="590" y="1150" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-94" value="DONE" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="40" y="700" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-95" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-94" target="Z2IcUivewJbPsal0SKzA-96" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="70" y="790" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-96" value="INIT" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="40" y="790" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-97" value="RUN" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="40" y="950" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-98" value="KEYS" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="40" y="1110" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-99" value="DONE" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="40" y="1190" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-100" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-96" target="Z2IcUivewJbPsal0SKzA-97" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="90" y="800" as="targetPoint" />
+ <mxPoint x="90" y="730" as="sourcePoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-101" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" target="Z2IcUivewJbPsal0SKzA-98" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="90" y="960" as="targetPoint" />
+ <mxPoint x="80" y="970" as="sourcePoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-102" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-98" target="Z2IcUivewJbPsal0SKzA-99" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="90" y="1120" as="targetPoint" />
+ <mxPoint x="100" y="1140" as="sourcePoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-104" value="DONE" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="670" y="700" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-105" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-104" target="Z2IcUivewJbPsal0SKzA-107" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="710" y="790" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-107" value="RUN" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="670" y="860" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-108" value="KEYS" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="670" y="1110" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-109" value="DONE" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="670" y="1190" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-111" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-107" target="Z2IcUivewJbPsal0SKzA-108" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="720" y="960" as="targetPoint" />
+ <mxPoint x="710" y="970" as="sourcePoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-112" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-108" target="Z2IcUivewJbPsal0SKzA-109" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="720" y="1120" as="targetPoint" />
+ <mxPoint x="730" y="1140" as="sourcePoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-113" value="ClientSession" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="160" y="1280" width="80" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-114" value="ServerSession" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="520" y="1280" width="80" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-115" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-137" target="Z2IcUivewJbPsal0SKzA-113" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1760" as="sourcePoint" />
+ <mxPoint x="230" y="1400" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-116" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-176" target="Z2IcUivewJbPsal0SKzA-114" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1760" as="sourcePoint" />
+ <mxPoint x="370" y="1370" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-117" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="550" y="1440" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-118" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-147" target="Z2IcUivewJbPsal0SKzA-117" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1760" as="sourcePoint" />
+ <mxPoint x="560" y="1360" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-119" value="" style="endArrow=classic;html=1;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=0;exitX=0.95;exitY=0.992;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-140" target="Z2IcUivewJbPsal0SKzA-117" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="310" y="1420" as="sourcePoint" />
+ <mxPoint x="390" y="1420" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-120" value="KEX_INIT" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-119" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="-40" y="-7" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-121" value="receiveKexInit" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="585" y="1430" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-122" value="" style="endArrow=classic;html=1;rounded=0;entryX=1;entryY=0;entryDx=0;entryDy=0;exitX=-0.017;exitY=0.975;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-179" target="Z2IcUivewJbPsal0SKzA-142" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="630" y="1420" as="sourcePoint" />
+ <mxPoint x="250" y="1530" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-123" value="KEX_INIT" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-122" vertex="1" connectable="0">
+ <mxGeometry x="-0.0108" relative="1" as="geometry">
+ <mxPoint x="88" y="-11" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-124" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-117" target="Z2IcUivewJbPsal0SKzA-117" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-127" value="" style="endArrow=classic;html=1;rounded=0;dashed=1;dashPattern=1 1;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1500" as="sourcePoint" />
+ <mxPoint x="560" y="1510" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-128" value="KEX messages" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-127" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="26" y="5" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-129" value="" style="endArrow=classic;html=1;rounded=0;dashed=1;dashPattern=1 1;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1520" as="sourcePoint" />
+ <mxPoint x="200" y="1530" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-130" value="KEX messages" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-129" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="-12" y="5" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-131" value="" style="endArrow=classic;html=1;rounded=0;dashed=1;dashPattern=1 1;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1540" as="sourcePoint" />
+ <mxPoint x="560" y="1550" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-132" value="KEX messages" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-131" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="26" y="5" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-133" value="" style="endArrow=classic;html=1;rounded=0;dashed=1;dashPattern=1 1;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1560" as="sourcePoint" />
+ <mxPoint x="200" y="1570" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-134" value="KEX messages" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-133" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="-12" y="5" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-135" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="190" y="1670" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-136" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" target="Z2IcUivewJbPsal0SKzA-135" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1750" as="sourcePoint" />
+ <mxPoint x="200" y="1320" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-137" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="190" y="1340" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-138" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-149" target="Z2IcUivewJbPsal0SKzA-137" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1660" as="sourcePoint" />
+ <mxPoint x="200" y="1320" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-139" value="startKex" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="130" y="1330" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-140" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;" parent="1" vertex="1">
+ <mxGeometry x="285" y="1380" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-141" value="sendKexInit" style="html=1;verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=0;" parent="1" target="Z2IcUivewJbPsal0SKzA-140" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="210" y="1380" as="sourcePoint" />
+ <Array as="points" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-142" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="190" y="1440" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-143" value="receiveKexInit" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="110" y="1430" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-144" value="sendNewKeys" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="110" y="1590" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-145" value="" style="endArrow=classic;html=1;rounded=0;dashed=1;dashPattern=1 1;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1580" as="sourcePoint" />
+ <mxPoint x="560" y="1590" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-146" value="KEX messages" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-145" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="26" y="5" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-147" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="550" y="1600" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-148" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-157" target="Z2IcUivewJbPsal0SKzA-147" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1750" as="sourcePoint" />
+ <mxPoint x="560" y="1390" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-149" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="190" y="1600" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-150" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-135" target="Z2IcUivewJbPsal0SKzA-149" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="200" y="1680" as="sourcePoint" />
+ <mxPoint x="200" y="1290" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-151" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-149" target="Z2IcUivewJbPsal0SKzA-157" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1650" as="sourcePoint" />
+ <mxPoint x="560" y="1670" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-152" value="NEW_KEYS" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-151" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="-86" y="-11" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-153" value="" style="endArrow=classic;html=1;rounded=0;exitX=0;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-147" target="Z2IcUivewJbPsal0SKzA-135" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="220" y="1650" as="sourcePoint" />
+ <mxPoint x="570" y="1680" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-154" value="NEW_KEYS" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Z2IcUivewJbPsal0SKzA-153" vertex="1" connectable="0">
+ <mxGeometry x="-0.2212" y="1" relative="1" as="geometry">
+ <mxPoint x="82" y="-13" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-155" value="sendNewKeys" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="590" y="1590" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-156" value="receiveNewKeys" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="110" y="1660" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-157" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="550" y="1670" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-158" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" target="Z2IcUivewJbPsal0SKzA-157" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1750" as="sourcePoint" />
+ <mxPoint x="560" y="1640" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-159" value="receiveNewKeys" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="590" y="1660" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-160" value="DONE" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="40" y="1300" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-161" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-160" target="Z2IcUivewJbPsal0SKzA-162" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="70" y="1390" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-162" value="INIT" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="40" y="1390" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-163" value="RUN" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="40" y="1460" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-164" value="KEYS" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="40" y="1620" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-165" value="DONE" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="40" y="1700" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-166" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-162" target="Z2IcUivewJbPsal0SKzA-163" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="90" y="1400" as="targetPoint" />
+ <mxPoint x="90" y="1330" as="sourcePoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-167" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" target="Z2IcUivewJbPsal0SKzA-164" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="90" y="1470" as="targetPoint" />
+ <mxPoint x="80" y="1480" as="sourcePoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-168" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-164" target="Z2IcUivewJbPsal0SKzA-165" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="90" y="1630" as="targetPoint" />
+ <mxPoint x="100" y="1650" as="sourcePoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-169" value="DONE" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="670" y="1300" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-170" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-181" target="Z2IcUivewJbPsal0SKzA-171" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="710" y="1390" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-171" value="RUN" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="670" y="1460" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-172" value="KEYS" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="670" y="1620" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-173" value="DONE" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="670" y="1700" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-174" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-171" target="Z2IcUivewJbPsal0SKzA-172" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="720" y="1560" as="targetPoint" />
+ <mxPoint x="710" y="1570" as="sourcePoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-175" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-172" target="Z2IcUivewJbPsal0SKzA-173" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="720" y="1630" as="targetPoint" />
+ <mxPoint x="730" y="1650" as="sourcePoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-176" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
+ <mxGeometry x="550" y="1340" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-177" value="" style="endArrow=none;dashed=1;html=1;rounded=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;" parent="1" source="Z2IcUivewJbPsal0SKzA-117" target="Z2IcUivewJbPsal0SKzA-176" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="560" y="1440" as="sourcePoint" />
+ <mxPoint x="560" y="1320" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-178" value="startKex" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
+ <mxGeometry x="570" y="1330" width="60" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-179" value="" style="html=1;points=[];perimeter=orthogonalPerimeter;" parent="1" vertex="1">
+ <mxGeometry x="645" y="1380" width="20" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-180" value="sendKexInit" style="html=1;verticalAlign=bottom;endArrow=block;entryX=0;entryY=0;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=0;" parent="1" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="570" y="1379.33" as="sourcePoint" />
+ <Array as="points" />
+ <mxPoint x="645" y="1379.33" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-181" value="INIT" style="rounded=1;whiteSpace=wrap;html=1;arcSize=40;fontColor=#000000;fillColor=#ffffc0;strokeColor=#ff0000;" parent="1" vertex="1">
+ <mxGeometry x="670" y="1390" width="80" height="20" as="geometry" />
+ </mxCell>
+ <mxCell id="Z2IcUivewJbPsal0SKzA-182" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=none;endSize=8;strokeColor=#ff0000;rounded=0;dashed=1;dashPattern=1 1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Z2IcUivewJbPsal0SKzA-169" target="Z2IcUivewJbPsal0SKzA-181" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="710" y="1460" as="targetPoint" />
+ <mxPoint x="710" y="1320" as="sourcePoint" />
+ </mxGeometry>
+ </mxCell>
+ </root>
+ </mxGraphModel>
+ </diagram>
+</mxfile>