Giter VIP home page Giter VIP logo

Comments (2)

lws-team avatar lws-team commented on June 1, 2024

This stuff is incomplete, but the general scenario is a situation where you have multiple devices that are working on the same thing. For example if you were working on an embedded device, maybe two or three measures power in different rails, one proxies to a TTL serial port over ssh, one switches IO in and out for automated testing.

All of those devices would be in one self-assembling "group". Other similar setups to different boards would be in a different "group". Devices within a group find each other by mdns.

The destination point of all this ultimately the group members will have a "leader", which along with its other duties can proxy payload data to the other group members. You only have to accept the one tls certificate of the leader and operate through him, to see and control data from all the group members. This is different from the usual IoT concept where the group members push their stuff to an external cloud server and you get it from there. The data remains on your local network.

I have an implementation where each group member shows an iframe with the content of the other group members if you connect to it. But this does not work because you have to had accepted the tls certs of every member, it's too cumbersome. Hence the idea of a proxying single "group leader".

However to do this the leader has to be able to accept many incoming tls client connections, none of which carry much data in the usual case. So work on this is blocked while I created the patches for mbedTLS that allow dynamic buffer sizing; this reduces the typical cost of a tls connection carrying small payloads to around 4KiB from 32KiB.

https://github.com/lws-team/mbedtls/commits/dynamic-ssl-buffers

But I did not reckon on mbedTLS' owners, Arm, simply not accepting any external contribution, from anyone.

Mbed-TLS/mbedtls#1208

from lws-esp32-factory.

FredrikFornstad avatar FredrikFornstad commented on June 1, 2024

Thanks for a good explanation. Now I know.

from lws-esp32-factory.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.