fleet: IPv6 — is it in scope, and does it rescue the multi-site mesh behind CGNAT? #332
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#332
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
IPv6 is absent from the codebase. Two incidental mentions repo-wide.
CommunityRecordscarries a singleIPstring with no AAAA (broker/internal/broker/broker.go:52-60); the reachability prober is v4-only; the CGNAT check is100.64.0.0/10alone (internal/reachability/prober.go:42).Why this may matter more than it looks
A native IPv6 address is globally routable with no NAT: no port forwarding, no UPnP, no hole punching. And many CGNAT'd IPv4 connections carry native IPv6.
That does not rescue public web access — visitors on IPv4-only networks cannot reach a v6-only gateway, and a CGNAT'd line cannot serve v4. But it would rescue the mesh, which is the specific thing that makes a CGNAT gateway unworkable for a multi-site fleet: today a node at another site must dial the gateway's 51820/udp, and when it cannot, the fallback relay is coturn on the gateway (
docs/architecture/03-fleet-topology.md:35,46) — equally unreachable. Node-to-gateway WireGuard over IPv6 needs neither.So IPv6 partially reopens a question ADR 0026 treats as closed.
The counter-caution
NZ fixed-wireless and mobile carriers appear to lag on IPv6, and those are exactly the connection types most likely to be CGNAT'd — and most likely at a rural marae. The escape hatch may not exist where it is most needed. This needs real NZ ISP deployment data before it is scoped further; it is a research question before it is a build.
What a yes would touch
The record model (AAAA on
CommunityRecordsand the own-domain record set), the reachability prober, the CGNAT gate and its copy, acme-dns glue, and the mesh's addressing assumptions. Large enough that it should be decided deliberately rather than arrived at incidentally.The ruling wanted
Is IPv6 in scope for v1 at all? If yes, is it dual-stack-only (v6 as a mesh path and a bonus, v4 still required for public access), or does a v6-only gateway become a supported posture with stated limits?
Note it does not remove the need for the address heartbeat — residential IPv6 delegated prefixes rotate too.
Background:
docs/research/2026-08-07-home-gateway-reachability-scope.md§6.Ruled by Ben 2026-08-08 (decision sweep): research first. No build scoping until real NZ ISP IPv6/CGNAT deployment data is in hand — fixed-wireless, mobile and rural carriers especially, since those are the CGNAT-likely lines the escape hatch would need to exist on. Research is session work, not swarm →
no-triage.Backlog walk (Ben, 2026-08-12): research first, per the ticket's own verdict. A pass on NZ ISP IPv6 deployment (APNIC per-AS measurements, ISP documentation, MBNZ) is underway; findings land as
docs/research/2026-08-12-nz-ipv6-deployment.mdand will be posted here. Ben rules scope after the data.Research landed:
docs/research/2026-08-12-nz-ipv6-deployment.md(commit39d66bd) — APNIC per-AS measurements + ISP primary docs, all accessed 2026-08-12.The short of it:
§9 of the file lists what could not be established (notably: no NZ carrier publishes cellular IPv6 roadmaps). Awaiting Ben's scope ruling — the file's §10 is written as the decision brief.
Ruled (Ben, 2026-08-12): dual-stack-opportunistic — recorded as ADR 0169 (
docs/adr/0169-ipv6-is-dual-stack-opportunistic-never-required.md).This issue is now the arc seed carrying ADR 0169 as its contract — sliced when the multi-site/mesh arc opens (alongside #329). What a build touches is enumerated in the ADR's Consequences. Staying
no-triageas an arc seed until that slicing.Closed in the 2026-08-27
other-state sweep (Ben's ruling) — ruling fully recorded in ADR 0169 (dual-stack-opportunistic,7a463a99); the arc it was to be sliced with (#329 → #543) opened and closed with Ben rejecting defer-to-IPv6 for the core case. Re-open as a fresh ticket if a multi-site arc revives it.