Skip to content

v0.1.0

Choose a tag to compare

@tannevaled tannevaled released this 26 Oct 15:47
· 13 commits to main since this release
12e637d

First release of wctr-relay, the classroom relay and firewall for WASI containers: milestones M-relay-1 and M-relay-2 of the design.

go install github.com/go-wasmcontainers/relay/cmd/wctr-relay@v0.1.0
  • One secure WebSocket per browser or engine, frame protocol v1; the session token is checked before the upgrade.
  • Classes, sessions (one subnet each, the teacher on subnet 0), container addresses and <container>.<student>.class names assigned by the relay.
  • Security groups after OpenStack Neutron: default deny, allow-only rules, both ends, remote prefix and group, stateful (connection tracking) and stateless groups; rule changes reset the flows they revoke; a flow log.
  • Quotas and rate limits per session and per class.
  • Control API (connect-go: gRPC, gRPC-Web, Connect) and the wctr-relay cobra CLI; admin on a 0600 Unix socket.
  • TLS: an internal name-constrained CA, or go-authn/servercert (files, ACME); OpenID Connect through go-authn/oidc.
  • driver: the client package an engine uses (also js/wasm); the contract is docs/NETWORKDRIVER.md.

Not yet: the engine's use of it, the browser path, the live flow map, ICMP, IPv6, high availability; benchmark numbers (deferred: the measuring machine was loaded).

🤖 Generated with Claude Code