Repository navigation
Description
Goal
Provide IPv6 connectivity from tenant sites and clients to their VPC workloads using CONNECT-IP, served from Galactic edge nodes.
Support HTTP/3 over QUIC on UDP/443 and an HTTP/2 over TLS fallback on TCP/443. The fallback carries packets in capsules and establishes a new CONNECT-IP tunnel. Address retention and session continuity across reconnects are defined during design. Both transports use the same authentication, VPC selection, policy and ownership rules.
Implement MASQUE as a provider on the Galactic Edge foundation (#992), using its authorized packet attachments and prefix-reachability contract. Reuse its tenant isolation, lifecycle, policy, exclusive ownership and failure enforcement throughout startup, failure and shutdown.
Allocate a /96 to each connector, following the gVPC tenant addressing plan. Clients may subdivide that prefix and manage addresses behind the tunnel; gVPC routes the aggregate /96 to the connector's active attachment.
Done when
- Independent clients can connect, send, receive, disconnect and reconnect over both transports, carrying 1280-byte IPv6 packets in both directions. HTTP/2 passes with UDP/443 blocked. Path-MTU changes and oversized packets produce correct ICMPv6 Packet Too Big or explicit tunnel failure behavior.
- Both transports enforce VPC authorization and traffic policy in both directions, including rejection of unauthorized requests. Credential expiry or access revocation stops existing forwarding within a defined bound.
- Two tenants with identical addresses on the same node remain isolated.
- Each connector has one active forwarding owner. A failed instance or one cut off from the API stops forwarding and its routes are withdrawn within defined limits; ownership transfer never permits old and new owners to forward concurrently for the same connector.
- Each connector receives a /96. Addresses in client-managed subdivisions are reachable through its aggregate gVPC route, and traffic using source addresses outside the delegated prefix is rejected.
- Supported connector counts and throughput are measured for both transports, resource limits are enforced under overload, and operators can observe connection failures, policy drops and route status.
- A connector served from an edge node reaches a VPC that has no workload on that node, and the VPC state created for it is removed once nothing on the node uses it.
Criteria 1–5, 7 and the overload limits in 6 are established on the containerlab gvpc lab (acceptance matrix). Connector capacity and throughput in 6 are measured on real edge nodes under #985. Hardware and target-platform qualification are not claimed: #1002 closed as not planned, so results describe only the environments they were measured in.
Foundation dependency and responsibility split
The provider contract from #993 is authoritative. MASQUE requests PacketAccess/v1 and PrefixReachability/v1 through an approved EdgeProvider, authority-managed EdgeService, pod-bound EdgeInstance and Lease, EdgeAttachment, and per-prefix EdgeRoute. The provider only sets fields the contract assigns to it. It receives packet access in its own network namespace, with no shared host networking, hostPath, NET_ADMIN or BPF access.
#992 owns provider admission (#994), attachment lifecycle (#995), maintenance integration (#996), instance leases and independent prefix gates (#997), exclusive route acceptance/publication (#998), gVPC policy (#999), independent-provider conformance (#1000), foundation diagnostics (#1001), and target-platform qualification (#1002, closed as not planned). MASQUE supplies client authentication and authorization, durable connector-to-/96 assignments, session-level exclusivity and packet checks, transport adapters and integration evidence. A connector credential is not a foundation grant, an instance lease is not a connector session lease, and a successful claim write is not forwarding permission.
Use the contract's timing parameters and clock assumptions: 15 s instance lease, 5 s renewal, 15.5 s local cutoff on the holder's clock (15.52 s real-time test threshold), 15.53 s takeover wait unless prior closure is confirmed, and local route withdrawal within 1 s of gate expiry while the router runs. The ≤9 s reflector hold-time bound requires deployment configuration; 2 s connected revocation and 5 s remote convergence are measured targets. #972 must additionally specify client credential/revocation deadlines and prove how they remain effective for a single connector while other connectors keep the provider instance alive.
Protocol exploration may proceed before foundation qualification. Integrated completion requires executed #998/#1000/#1001 evidence for the pinned foundation artifacts and MASQUE-specific evidence in #985. Reuse that evidence without treating a merged implementation, an issue checkbox, or readiness as proof of acceptance. Foundation defects remain foundation work; an integration that needs a contract change must track and qualify it explicitly. The independent provider remains independent of MASQUE.
Out of scope
- Public API development and plugin/portal integration.
- Client development, including changes to
datum-cloud/connectordatum-cloud/appfor transport, automatic fallback, enrollment, local networking or UI. Service authentication contracts and independent-client testing remain in scope. - Hardware and target-platform qualification (Qualify the foundation on the target platform #1002, not planned) and production rollout.
Phases
1. Design and prove
- Define connector admission, addressing and ownership contracts #972: Map connector/session identity to the Edge provider, service, instance, attachment and route claim model; define address retention, session continuity and ownership transfer across reconnects; define client authentication, VPC authorization, credential expiry and revocation bounds; adopt foundation bounds; set connector-count, throughput and resource targets; select libraries and independent test clients
- Prove CONNECT-IP interoperability over HTTP/3 and HTTP/2 #973: Prove CONNECT-IP interoperability, minimum packet size and HTTP/2 fallback with independent clients
- Prove MASQUE packet attachments on the Galactic Edge foundation #974: Prove tenant isolation with overlapping addresses on foundation packet attachments
Done when decisions are documented and reviewed, and the prototypes pass. A failed prototype requires a design revision and a passing retest.
2. Galactic Edge provider integration
- Integrate MASQUE with Galactic Edge provider attachments #975: Register and run MASQUE as an unprivileged PacketAccess/PrefixReachability provider; consume foundation attachment status and readiness
- Integrate connector ownership with Edge claims and independent expiry #976: Integrate instance renewal and accepted per-/96 route claims, enforce connector-specific deadlines, and test foundation gates and withdrawal during API outages, stalls, restart and replacement
Done when crash, API-partition and replacement tests meet the defined expiry bounds and prevent concurrent forwarding by old and new owners for the same connector.
3. CONNECT-IP service
- Implement admission, credential expiry and access revocation #977: Client admission, VPC selection, and credential expiry/revocation for active sessions within the defined bounds
- Implement /96 connector addressing and aggregate return routing #978: /96 per connector consistent with gVPC addressing; aggregate route to the active attachment and return traffic to client-managed subdivisions
- Enforce delegated-prefix ownership and bidirectional traffic policy #979: Source-address ownership within each delegated /96 and traffic policy in both directions
- Implement the HTTP/3 CONNECT-IP edge service #980: HTTP/3 CONNECT-IP service with shared policy and ownership enforcement
- Implement HTTP/2 CONNECT-IP fallback over TLS #981: HTTP/2 fallback over TLS with certificate validation, bounded capsule parsing, and UDP/443 blocked
- Implement and verify CONNECT-IP MTU and ICMPv6 behavior #982: ICMPv6 Packet Too Big and path-MTU changes on paths that still carry 1280-byte packets
- CONNECT-IP: an HTTP/3 path that shrinks below 1280 bytes black-holes the tunnel #1247: End an HTTP/3 tunnel whose path can no longer carry 1280-byte packets
- Let Edge providers attach to a VPC with no workload on their node #1288: Attach a provider to a VPC with no workload on its node, with defined ownership and cleanup of the node's VPC state
- Expose connector lifecycle, policy and route diagnostics #983: Connection failures, policy drops, active connector counts, resource usage and route status
- Enforce resource limits and qualify connector capacity #984: Resource limits under overload on both transports, with backpressure and independent request cancellation
Done when the connectivity, prefix-allocation, routing, authorization, isolation, MTU and observability criteria pass on the containerlab gvpc lab, and resource limits hold under overload.
4. Integrated acceptance
- Add reproducible end-to-end feature acceptance tests #985: Run every row of the acceptance matrix on the containerlab gvpc lab against independently pinned foundation and MASQUE artifacts
- Edge pod attachments: unchecked caller inputs and weak isolation tests #989: Record a linked fix or evidence-backed disposition for each A01–A16 finding (delivered with Add reproducible end-to-end feature acceptance tests #985's evidence)
- Add reproducible end-to-end feature acceptance tests #985: Measure connector capacity and throughput for both transports on real edge nodes
Done when:
- every MASQUE Connector for gVPC #970 criterion has executed evidence in the environment named above, with foundation and MASQUE evidence recorded separately, including negative packet observations, actual privileges, compatibility rejection, independent forwarding cutoff and local/remote route timing;
- MASQUE runs against pinned core artifacts with executed Implement authorized prefix routing #998/Deliver independent-provider conformance #1000/Deliver foundation diagnostics #1001 evidence through the published provider contract, without MASQUE-specific core dispatch or direct shared-host programming;
- every Edge pod attachments: unchecked caller inputs and weak isolation tests #989/CONNECT-IP server lacks overload limits and tenant isolation checks #991 finding and each applicable Private service routes can fail silently after a roll or on IPv4 #986 finding has a linked fix or evidence-backed disposition in the acceptance matrix.
Already demonstrated: credential expiry/revocation and same-instance HTTP/3-to-HTTP/2 replacement stop only the affected connector; unrelated sessions continue, and old buffered traffic cannot enter a replacement session.
5. Galactic-owned public listener
Providers are reachable today only through a Kubernetes Service overlay. This phase serves MASQUE on a public anycast address through the gateway, as proposed in the Edge public listener design.
- Agree the Edge public listener design #1506: Agree the Edge public listener design
- Prove edge attachments as gateway backends #1507: Prove edge attachments as gateway backends
- Add the Edge public listener API #1508: Add the Edge public listener API
- Build Edge public listener core controllers #1509: Build Edge public listener core controllers
- Register listener veths for gateway replies #1510: Register listener veths for gateway replies
- Serve gateway VIPs from listener attachments #1511: Serve gateway VIPs from listener attachments
- Serve MASQUE through a public listener #1512: Serve MASQUE through a public listener
- Let Edge public listeners send ICMPv6 errors for VIP flows #1519: Let Edge public listeners send ICMPv6 errors for VIP flows
Done when an independent client reaches MASQUE through the listener VIP over HTTP/3 and HTTP/2, IPv6 and IPv4, on the containerlab gvpc lab, with no Kubernetes Service exposure.
Each child closes when the PR that delivers its evidence merges with Fixes #n.
Milestone coverage
| MASQUE issue | Foundation integration / remaining responsibility |
|---|---|
| #972 | #993 contract mapping, connector identity, client authority, allocation and session design |
| #973 | Independent HTTP/3 and HTTP/2 protocol proof; controlled backend is not foundation acceptance |
| #974 | #1000 fixture reuse and MASQUE packet-access/isolation proof |
| #975 | #994/#995/#996 provider registration, attachments, readiness and cleanup integration |
| #976 | #997 instance/route authority plus connector-session exclusivity and bounded expiry |
| #977 | #994 trusted provider grants plus MASQUE client authentication/revocation |
| #978 | #998 exclusive aggregate reachability plus connector /96 assignment and retention |
| #979 | #999 gVPC policy plus per-session anti-spoofing and tenant-safe demultiplexing |
| #980, #981 | Both transports through the same foundation-backed provider adapter |
| #982, #1247 | PacketAccess MTU, complete gVPC path and transport-specific ICMPv6 behavior; #1247 covers paths below 1280 bytes on HTTP/3 |
| #1288 | Foundation-owned node VPC state for attachments on nodes without a local workload; owner decided in the issue |
| #983 | #1001 foundation diagnostics correlated with connector/session/transport state |
| #984 | Shared foundation budgets and renewal health under MASQUE overload |
| #985 | #998/#1000/#1001 qualification evidence plus full MASQUE acceptance on the lab |
| #985 | Connector capacity and throughput on real edge nodes |
| #989 | Legacy attachment findings A01–A16: explicit current-path disposition and regression evidence |
| #991 | CONNECT-IP pre-admission limits, packet authority and backend isolation blockers |
| #986 | Private-service-route findings: prove applicability or independence; no alternate Edge publication path |
Defects found during delivery and already fixed: #1197, #1211, #1212, #1213, #1214, #1226, #1232, #1234, #1236, #1237, #1239, #1251, #1252, #1253, #1254, #1255, #1286.
Protocol references
- CONNECT-IP: RFC 9484: Proxying IP in HTTP.
- Datagrams and capsules: RFC 9297: HTTP Datagrams and the Capsule Protocol, and RFC 9221: QUIC DATAGRAM extension.
- QUIC and encryption: RFC 9000: QUIC transport, RFC 9001: Using TLS to Secure QUIC, and RFC 8446: TLS 1.3.
- HTTP/3: RFC 9114, with the Extended CONNECT mechanism defined in RFC 9220.
- HTTP/2 fallback: RFC 9113, with the Extended CONNECT mechanism defined in RFC 8441. CONNECT-IP uses this mechanism as specified in RFC 9484.
Activity
30 remaining items