[Feature] Reverse agent connection #195

Open
opened 2025-10-31 15:04:41 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @AndreKR on GitHub (Jan 29, 2025).

Currently the periphery agent needs to be reachable and have valid TLS certificates so that the server can connect to the agent.

If the agent could connect to the server instead, Komodo would be able to manage devices that do not provide a web server (or any server at all).

It would also simplify certificate management because only the server would need to have valid TLS certificates, not every agent.

This is related to #123 and #147.

Originally created by @AndreKR on GitHub (Jan 29, 2025). Currently the periphery agent needs to be reachable and have valid TLS certificates so that the server can connect to the agent. If the agent could connect to the server instead, Komodo would be able to manage devices that do not provide a web server (or any server at all). It would also simplify certificate management because only the server would need to have valid TLS certificates, not every agent. This is related to #123 and #147.
GiteaMirror added the seen 👀 label 2025-10-31 15:04:41 -05:00
Author
Owner

@mbecker20 commented on GitHub (Jan 29, 2025):

Yes I have considered this and agree, I was planning this for Komodo v2 (it would definitely be breaking change for existing users). The idea is the Periphery agent is given a Core endpoint and an identity token generated by Core unique to each server. Then they will persist outbound websocket connection to Core to achieve duplex communication.

@mbecker20 commented on GitHub (Jan 29, 2025): Yes I have considered this and agree, I was planning this for Komodo v2 (it would definitely be breaking change for existing users). The idea is the Periphery agent is given a Core endpoint and an identity token generated by Core unique to each server. Then they will persist outbound websocket connection to Core to achieve duplex communication.
Author
Owner

@freedbygrace commented on GitHub (Feb 26, 2025):

There is also a protocol called NATS that could help with this.

https://youtu.be/hjXIUPZ7ArM

@freedbygrace commented on GitHub (Feb 26, 2025): There is also a protocol called NATS that could help with this. https://youtu.be/hjXIUPZ7ArM
Author
Owner

@mbecker20 commented on GitHub (Oct 6, 2025):

It is coming https://github.com/moghtech/komodo/pull/889

But the change is not breaking for existing users.

@mbecker20 commented on GitHub (Oct 6, 2025): It is coming https://github.com/moghtech/komodo/pull/889 But the change is not breaking for existing users.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#195