Skip to content

MASQUE Connector for gVPC #970

Open
42 of 50 issues completed
Open

Description

@privateip

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

  1. 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.
  2. 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.
  3. Two tenants with identical addresses on the same node remain isolated.
  4. 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.
  5. 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.
  6. 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.
  7. 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/connect or datum-cloud/app for 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

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

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

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

Done when:

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.

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

Sub-issues

Sub-issues

42 of 50 Issues completed
Loading 50 sub-issues

Activity

  1. 30 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

No fields configured for Epic.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions