Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5902

Simplify the deviceconnect port-forward protocol

    XMLWordPrintable

    Details

      Description

      This ticket is about bumping the port-forwarding deviceconnect protocol and the client (peer) libraries consuming port-forward messages (mender-connect and mender-cli). The new version of the protocol is simplified to take advantage of the buffering/flow-control from MEN-4595.

      The following changes needs to be addressed

      • Remove flow control from the peer-to-peer protocol
      • Set or be able to negotiate a maximum message size (this will allow the NATS transport to work more efficiently).
      • Bump the protocol version.

      Acceptance criteria:

      • Create a new protocol entry in go-lib-micro
      • Update mender-connect and mender-cli to be able to communicate using the new protocol.
      • Update deviceconnect to announce that it supports the new protocol
        • The clients must be able to fall back on the old version if it detects that deviceconnect does not support it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              alfrunes Alf-Rune Siqveland
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: