Technical Specifications

Canonical view of rstream’s networking and security features, with explicit status for each item as part of our open roadmap initiative.
Core Concepts
4 itemsThe developer-first zero-trust model behind rstream: outbound-only connectivity, identity-based access, and centralized edge enforcement.
Terminology
4 itemsShared language used across tunnels, endpoints, and the downstream and upstream path.
Tunnels and Protocols
9 itemsPublished endpoints and private tunnels, with supported downstream protocols and upstream modes.
TLS and Cryptography
6 itemsTLS handling for endpoints and cryptography roadmap items.
Authentication, Identity, and Credentials
7 itemsIdentity-aware access for humans and machines, with least-privilege credentials and edge authentication modes.
Policies and Limits
4 itemsLeast-privilege edge controls applied before traffic reaches upstream services.
Control Plane APIs
4 itemsManagement and observability surfaces exposed through APIs.
Dashboard
3 itemsControl plane UI for identities, credentials, tunnels, remote access, and observability.
rstream WebTTY
4 itemsIdentity-aware browser terminal access built for fleet operations and remote administration.
SSH and Legacy Integration
2 itemsBridge existing SSH workflows, remote access paths, homelab services, and legacy protocols through rstream.
CLI and Declarative Workflows
5 itemsDeveloper and operator workflows for single tunnels and declarative connectivity.
Self-hosted Engine
3 itemsRun the community edition engine to keep zero-trust connectivity inside infrastructure you operate.
SDKs
4 itemsEmbed connectivity and identity-aware access directly in applications and services.
rstream sandbox
4 itemsMicroVM-based runtime for LLM-generated code execution.
Performance
3 itemsLow-latency design and edge placement characteristics.

Core Concepts

4 items

The developer-first zero-trust model behind rstream: outbound-only connectivity, identity-based access, and centralized edge enforcement.

Tunnel definition
Concept
A tunnel is an outbound-only connection from an environment to the rstream edge network. It exposes services without requiring inbound ports, public IPs, or NAT changes. Traffic is carried over an encrypted tunnel transport and can be published as Internet-facing endpoints or kept private for client-only access.
Inside-out connectivity
Concept
Connectivity starts from inside environments and goes out to the edge network. This avoids inbound exposure and keeps network changes minimal across local development, servers, and device fleets.
Unified policy plane
Concept
Identity and access policies are evaluated at the edge entrypoint so enforcement does not depend on each application stack or upstream environment.
Client stack and distribution
Available
Official clients and SDKs are shipped as multi-platform deliverables with a controlled build and packaging pipeline. This includes the CLI and the Go, C++, and JavaScript SDKs.

Terminology

4 items

Shared language used across tunnels, endpoints, and the downstream and upstream path.

Published and private tunnels
Concept
Published tunnels register an Internet-facing endpoint on the edge using HTTP, TLS, DTLS, or QUIC. Private tunnels do not expose a public endpoint and are dialed by ID or name using an rstream client.
Bytestream and datagram
Concept
Bytestream tunnels provide a TCP-like stream abstraction. Datagram tunnels provide a UDP-like message abstraction. The choice is independent from the transport used between client and edge.
Downstream and upstream
Concept
Downstream refers to traffic between Internet clients and the edge on published endpoints. Upstream refers to traffic between the edge and the attached service. Downstream and upstream protocols can differ depending on tunnel configuration.
Tunnel transport
Concept
The client-to-edge connection is secured by rstream and is separate from any application TLS, DTLS, or QUIC used by the upstream service.

Tunnels and Protocols

9 items

Published endpoints and private tunnels, with supported downstream protocols and upstream modes.

HTTP published endpoints
Available
HTTP endpoints accept HTTP/1.1, HTTP/2, and HTTP/3 downstream. Upstream can be HTTP/1.1, clear-text HTTP/2 (h2c), HTTP/2 over TLS with ALPN, or HTTP/3 over QUIC depending on configuration.
WebSocket and HTTP upgrade
Available
HTTP endpoints support upgrade-based protocols such as WebSocket when upstream is configured accordingly.
WebTransport
Available
WebTransport is supported on QUIC-published tunnels. It is not exposed through HTTP published endpoints.
TLS published endpoints
Available
TLS endpoints accept generic TLS clients. TLS can be terminated at the edge or forwarded end-to-end using TLS passthrough.
DTLS published endpoints
Available
DTLS endpoints terminate DTLS at the edge. Upstream traffic is forwarded to the attached service as datagrams.
QUIC published endpoints
Available
QUIC endpoints terminate QUIC at the edge and establish corresponding QUIC sessions upstream when configured.
Private tunnels
Available
Private tunnels have no public forwarding address. Clients dial them by ID or name to carry internal protocols such as SSH or custom services.
Tunnel labels
Available
Attach key and value labels to tunnels for discovery, filtering, and automation.
Custom protocol workloads
Available
Carry legacy or custom protocols over bytestream or datagram tunnels without requiring upstream systems to change their network exposure.

TLS and Cryptography

6 items

TLS handling for endpoints and cryptography roadmap items.

TLS 1.3 tunnel transport
Available
Client-to-edge tunnel transport uses a modern TLS baseline.
TLS 1.2 and 1.3 for endpoints
Available
Published TLS and HTTPS endpoints can be configured to accept TLS 1.2 and TLS 1.3 for client compatibility.
TLS termination
Available
Terminate TLS at the edge to apply authentication and policy before routing upstream.
TLS passthrough
Available
Forward TLS end-to-end when upstream must own certificates and ALPN negotiation.
Encrypted Client Hello
Roadmap
Roadmap item to reduce passive observability of SNI and ClientHello metadata where supported.
Post-quantum cryptography
Roadmap
Roadmap item for hybrid key exchange in tunnel transport.

Authentication, Identity, and Credentials

7 items

Identity-aware access for humans and machines, with least-privilege credentials and edge authentication modes.

Personal access tokens
Available
Developer and operator credentials created, rotated, and revoked from the dashboard.
Application credentials
Available
Client ID and secret credentials for backends that mint least-privilege tokens for products and automation.
Fine-grained token scoping
Available
Least-privilege tokens that scope discovery, creation, and access down to tunnel properties and access paths.
Token authentication for HTTP endpoints
Available
HTTP endpoints can require a scoped token at the edge before any request is routed upstream.
rstream Auth for HTTP endpoints
Available
HTTP endpoints can require browser-based rstream account authentication at the edge for human access flows.
Mutual TLS identity
Available
Edge entrypoints can require client certificates to establish machine identity before traffic is routed upstream.
Challenge mode for HTTP endpoints
Available
HTTP endpoints can enforce an interactive challenge before access is granted.

Policies and Limits

4 items

Least-privilege edge controls applied before traffic reaches upstream services.

Geo restrictions
Available
Apply GeoIP-based restrictions at the entrypoint.
Trusted IPs
Available
Allow or deny traffic based on IP ranges.
IP rate limits
Roadmap
Roadmap item for rate limiting connection attempts or requests per IP.
Per-connection limits
Roadmap
Roadmap item for bandwidth, volume, time, and HTTP body limits enforced at the edge.

Control Plane APIs

4 items

Management and observability surfaces exposed through APIs.

Engine API
Available
API resources for clients and tunnels with listing, filtering, and lifecycle operations.
Streaming API
Available
Real-time feeds over SSE or WebSocket reflecting changes to clients and tunnels.
Webhooks
Available
Event delivery to user-defined HTTP endpoints.
Activity logging
Available
Connection logs and HTTP activity logs for incident analysis and operational debugging.

Dashboard

3 items

Control plane UI for identities, credentials, tunnels, remote access, and observability.

Credential management
Available
Create, rotate, and revoke operator tokens and application credentials.
Tunnel inventory
Available
View tunnels, endpoint types, visibility, labels, and key identity or policy flags.
rstream WebTTY access
Available
Open browser-based terminals to rstream WebTTY servers registered in the control plane.

rstream WebTTY

4 items

Identity-aware browser terminal access built for fleet operations and remote administration.

rstream WebTTY protocol
Available
Web-native terminal protocol carried over rstream tunnels.
rstream WebTTY servers
Available
Run an rstream WebTTY server on machines to expose terminal access without inbound ports.
rstream WebTTY clients
Available
Access sessions from the browser, CLI, or SDK integrations with identity enforced at the edge.
End-to-end encrypted sessions
Roadmap
Roadmap item for user-controlled encryption keys for terminal content.

SSH and Legacy Integration

2 items

Bridge existing SSH workflows, remote access paths, homelab services, and legacy protocols through rstream.

SSH over rstream
Available
Use a netcat-like helper from the C++ SDK as an SSH ProxyCommand to route SSH over a bytestream tunnel for remote access without inbound exposure.
Legacy protocol reachability
Available
Expose legacy services through outbound-only tunnels without changing upstream network exposure.

CLI and Declarative Workflows

5 items

Developer and operator workflows for single tunnels and declarative connectivity.

Single tunnel workflows
Available
Create a single endpoint from CLI arguments for interactive developer workflows, demos, and ad-hoc remote access.
Declarative YAML
Available
Keep tunnels in sync from a YAML configuration.
Docker label discovery
Available
Discover and manage tunnels from Docker labels.
Kubernetes workflows
Roadmap
Roadmap item for Kubernetes-first tunnel workflows.
Multi-platform distribution
Available
Standalone binaries and packaging across Linux, macOS, Windows, and BSD variants.

Self-hosted Engine

3 items

Run the community edition engine to keep zero-trust connectivity inside infrastructure you operate.

Community edition
Available
A free engine edition that runs independently and does not require an rstream account.
Private deployments
Available
Deploy inside existing environments to keep traffic and operations within infrastructure you operate.
Deployment options
Available
Run on bare metal, Docker, or Kubernetes depending on operational standards.

SDKs

4 items

Embed connectivity and identity-aware access directly in applications and services.

Go SDK
Available
Reference implementation with the broadest protocol and feature coverage. The CLI codebase lives in the Go repository.
C++ SDK
Available
Native integration designed around Boost.Asio with a focus on bytestream tunnels and latency-sensitive workloads.
JavaScript SDK
Available
Control plane API access, tunnel inventory, and event-driven integrations. Tunnel creation is not available yet.
Python SDK
Roadmap
Roadmap item for tunnels-first workflows in Python environments.

rstream sandbox

4 items

MicroVM-based runtime for LLM-generated code execution.

Runtime and isolation
Roadmap
Roadmap item for executing LLM-generated workloads in isolated microVMs.
Filesystem access
Roadmap
Roadmap item for workloads that require direct filesystem access during execution.
Network access
Roadmap
Roadmap item for controlled network connectivity carried through rstream tunnels.
Runner models
Roadmap
Roadmap item for native, Docker-based, and Kubernetes-based runners, with Firecracker-backed execution where applicable.

Performance

3 items

Low-latency design and edge placement characteristics.

Low-latency data path
Available
Event-driven I/O and multiplexed tunnels are designed to minimize added latency on top of network RTT.
Multi-region edge
Available
Multi-region entrypoints keep connectivity close to users and systems.
Edge load distribution
Roadmap
Roadmap item for additional edge-side distribution and availability behavior.
Features: 66 • Available: 47 Roadmap: 12 • Experimental: 0 • Concept: 7