Allow T3 Connect to use attested environment-managed endpoints instead of relay-provisioned Cloudflare tunnels #7030
Replies: 1 comment
|
Adding a user perspective in support of separating T3 Connect discovery/authentication from managed Cloudflare tunnel allocation. I use three environments: a MacBook, a Windows PC, and a Docker container. I encountered provisioning failures, then a maximum-of-3-managed-tunnels error, and even Deregister failed. Details are in #14070. Connect now enables successfully on my PC with 0.0.44, so this is a feature request motivated by that experience, not a claim that the outage is ongoing. The environment-managed HTTPS/WSS option proposed here would already help. As a separate, longer-term extension, would an optional direct connection mode be in scope?
I understand this goes beyond the original HTTPS/WSS proposal: the current HTTP/WebSocket transport would need adaptation, and authentication, revocation, reconnection, and desktop/web/mobile compatibility would need careful design. Direct connectivity is not guaranteed on every network. I also saw the closing comment on #8852, which says P2P remote access is not planned. That implementation used Holepunch/HyperDHT and included unrelated changes. Could maintainers clarify whether P2P transport is out of scope regardless of implementation, and whether the narrower environment-managed HTTPS/WSS option in this discussion is still something you would consider? That would help users decide between waiting for upstream support and maintaining a separate solution. |
Uh oh!
There was an error while loading. Please reload this page.
Problem
T3 Connect's managed remote-connection path currently couples account-wide environment discovery and connection authorization to a relay-provisioned Cloudflare tunnel. The contracts already distinguish endpoint provider kinds, but the current client linking flow selects
cloudflare_tunnel, provisioning returns a Cloudflare connector token/runtime, and relay connection authorization requires a matching managed Cloudflare allocation.Some self-hosted environments already provide a stable browser-trusted HTTPS/WSS endpoint through their own outbound-only connector or mesh. They should be able to participate in T3 Connect discovery, DPoP bootstrap, health, credential minting, revocation, and device handoff without asking the T3 relay to provision or own the data-path tunnel.
This is not a request to weaken endpoint authorization or accept arbitrary caller-supplied URLs.
Proposed narrowly scoped contract
Add a provider-neutral environment-managed endpoint mode alongside the existing relay-managed Cloudflare mode.
Conceptually:
The exact names can follow the repository's preferred vocabulary. A generic contract is preferable to a vendor-specific provider enum.
Link flow
endpointRuntime: null(or an explicit environment-managed runtime variant).Client behavior
cloudflare_tunnelas the only managed-link choice.Security requirements
An environment-managed endpoint must not be authorized from a URL alone. The relay should require all of the following:
httpsandwssonly, with matching canonical host/port;Concrete integration motivating this
Omnidia is building a memory-safe Rust, outbound-only mesh connector. Stock T3 clients would use normal HTTPS/WSS to an Omnidia public edge; the Omnidia-controlled edge-to-instance leg is carried over a mutually authenticated post-quantum-secure mesh. T3 would remain the discovery/authentication/credential control plane, not the tunnel provider or data relay.
The client-facing path remains ordinary TLS/WSS; this proposal does not claim end-to-end PQC and does not require T3 clients to implement Omnidia transport code.
Suggested implementation slices
I am opening the issue before proposing code per
CONTRIBUTING.md. I can prepare a small focused PR after maintainers choose the preferred contract shape.All reactions