Repository navigation
proxy: bump the Envoy snapshot to 1.40.0-dev.20260926.726d7ac (SDS for QUIC mTLS) - #952
Merged
Merged
Conversation
The envoy bazel-registry published its first new snapshot since 2026-09-04 this morning (registry #197/#198, commit 263a259e), and it carries the one upstream change proposal 038 Phase 4 was blocked on: envoyproxy/envoy#47623 "quic: make it support SDS for mTLS" (77d1a4a48e, 2026-09-25). At 13144fb a QUIC downstream that requires a client certificate is rejected at load unless its trust anchor is a static trusted_ca; the mesh's inbound validates callers against the SDS-served trust bundle, so the per-pod HTTP/3 inbound could not exist on the old pin ("QUIC downstream TLS context requires a client certificate but no validation_context.trusted_ca is configured", from `envoy --mode validate` on the generated bootstrap). After #47623 the load-time check only needs a validation context to be configured and the trust anchor is checked once SDS delivers it. Also in the 369 commits: #47219 (QUIC resumption default off), #47341 (optional client certificates), and #47217 "bazel: Remove WORKSPACE", which is what most of this diff is: - MODULE.bazel: envoy/envoy_api -> 20260926.726d7ac; the .envoy closure to what that snapshot requests (quiche 260922-7f07dc4, rules_rust 0.74.0, toolchains_llvm 1.9.1, envoy_toolshed via MVS) and abseil-cpp 20260817.0, rules_cc 0.2.25, googletest 1.18.0.bcr.1 likewise. googleurl and quiche leave the flag-only dep list: upstream no longer wires them from .bazelrc. - .bazelrc: registry -> 263a259e (comment rewritten with the why); the WORKSPACE-era `--@quiche//:*_impl_lib`, `--@grpc//third_party:*`, `--@googleurl//...`, `--@protobuf//:zlib`, `--@envoy//bazel:enable_bzlmod` and `--incompatible_enable_proto_toolchain_resolution` lines are gone (the registry modules carry those wirings now); upstream's new `--@envoy//bazel:deprecated_repo_arg_allowed=false`, `--@rules_rust//rust/settings:skip_fission_for_rust=true`, the rustfmt setting, and the renamed `--@protobuf//bazel/toolchains:prefer_prebuilt_protoc` with its THIS_CC_TOOLCHAIN_IS_BROKEN guard are in. - BUILD.bazel + aether_stats/BUILD: the deprecated `repository = "@envoy"` argument dropped from every envoy_cc_* macro call -- the strict flag above refuses it, as upstream does. - build_config: 345 upstream extensions - 32 dropped = 313 compiled in. - MODULE.bazel.lock regenerated (bazel mod deps). Proven locally: `bazel mod deps` resolves the whole closure at 263a259e, `bazel mod explain` selects exactly the pinned versions, and `bazel build --nobuild --config=release //:envoy` analyzes clean (46,159 targets). The compile itself is the `proxy` workflow's job (both arches, RBE). scripts/check-envoy-api-parity.sh: OK (bindings v1.39, proxy 1.40-dev). Docs: proxy README/image_metadata example strings, runbook pin string, and 038's Q4 answered. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
…icates envoyproxy/envoy#47255 (in the 726d7ac snapshot) generates Envoy's integration test certificates at build time, stamped from STABLE_CERT_EPOCH_YEAR in bazel-out/stable-status.txt. Upstream's get_workspace_status emits it; ours did not, so both proxy CI legs failed in @envoy//test/config/integration/certs: certs_gen for the one target that links Envoy's test utilities (aether_stats_integration_test). The //:envoy binary itself analyzed and built. Mirrors upstream: `date -u +%Y`. Proven locally: `bazel build @envoy//test/config/integration/certs:certs`. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Sep 26, 2026
…chains, one bare TLS context
Phase 4a of proposal 038, R2/R3/R4. Every managed pod now gets a second inbound
listener, inbound_<pod>_h3: UDP on the TCP inbound's port (18008 — R3, pinned
by the new port-role gate TestInboundPortIsSharedAcrossTransports), bound into
the pod's netns, reuse_port + quic_options, terminating mTLS over QUIC with the
pod's own SVID and the SAME client-certificate requirement and workload SAN pin
as the TCP inbound, routing to the same app_<pod>_<port> clusters.
Unconditional, not behind a flag: it is one UDP socket per pod, inert until a
per-source `quic:` cluster (Phase 4b) dials it, and unconditional means it
soaks under ordinary churn from the first deploy that carries it. The opt-in
stays on the OUTBOUND side, where the per-SA cluster fan-out is.
No CNI change: a QUIC datagram from another node's proxy arrives on the pod's
eth0 and is delivered to the socket by ordinary routing. The plan's "udp dport
18008 divert" was wrong — it would have sent a pod's own UDP to VIP:18008 into
its own inbound listener — and is dropped.
proxy/transportsocket.go downstreamTLSContext() extracted as the ONE bare
context; DownstreamTransportSocket wraps it in TLS,
InboundQUICTransportSocket in QuicDownstreamTransport
with ALPN ["h3"] and EXPLICIT enable_resumption:false
+ enable_early_data:false (R4: a resumed or 0-RTT
session carries a peer identity the destination never
verified; explicit because defaults move).
proxy/ingress.go buildInboundHCM() shared by the TCP and QUIC chains;
NewInboundQUICListener: default chain = primary port,
server_names chain per non-primary HTTP port, NONE for
a raw-TCP port (QUIC carries HTTP/3 only). SNI matching
on a QUIC listener verified in the pinned source:
envoy_quic_proof_source.cc passes the CHLO hostname
into findFilterChain.
cache listenerEntry.inboundQUIC on all three build paths
(AddPod, LoadListenersFromStorage, rebuildPodListenersLocked),
published beside the TCP inbound; untyped nil when
SPIRE is off.
test/envoy_validate node fixture carries the QUIC inbound; downstreamTLSPinned
UNWRAPS QuicDownstreamTransport (before: an mTLS QUIC
chain passed the #843 pin check vacuously);
QUICChainsWithoutR4 + the R4 assertion in the fixture
loop; anti-vacuity tests for both.
Gates, each seen red: TestNewInboundQUICListener with EnableResumption dropped
("R4 enable_resumption must be EXPLICIT"); TestUnpinnedInboundChainsSeesThroughQUIC
with the unwrap removed ("the QUIC unwrap is vacuous");
TestInboundPortIsSharedAcrossTransports on `const inboundQUICPort = 18010`.
Per-pod resource count tests: 2 → 3 listeners per pod.
STACKED ON #952. On the current proxy pin (13144fb) `envoy --mode validate`
rejects the node bootstrap: "QUIC downstream TLS context requires a client
certificate but no validation_context.trusted_ca is configured" — the QUIC
server side wanted a static trust anchor and the mesh validates against the
SDS-served bundle. envoyproxy/envoy#47623 (2026-09-25) lifts that; #952 moves
the pin to a snapshot that carries it, and this PR's TestEnvoyValidate is
expected RED until the chart pin follows.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Sep 26, 2026
…chains, one bare TLS context (#953) Phase 4a of proposal 038, R2/R3/R4. Every managed pod now gets a second inbound listener, inbound_<pod>_h3: UDP on the TCP inbound's port (18008 — R3, pinned by the new port-role gate TestInboundPortIsSharedAcrossTransports), bound into the pod's netns, reuse_port + quic_options, terminating mTLS over QUIC with the pod's own SVID and the SAME client-certificate requirement and workload SAN pin as the TCP inbound, routing to the same app_<pod>_<port> clusters. Unconditional, not behind a flag: it is one UDP socket per pod, inert until a per-source `quic:` cluster (Phase 4b) dials it, and unconditional means it soaks under ordinary churn from the first deploy that carries it. The opt-in stays on the OUTBOUND side, where the per-SA cluster fan-out is. No CNI change: a QUIC datagram from another node's proxy arrives on the pod's eth0 and is delivered to the socket by ordinary routing. The plan's "udp dport 18008 divert" was wrong — it would have sent a pod's own UDP to VIP:18008 into its own inbound listener — and is dropped. proxy/transportsocket.go downstreamTLSContext() extracted as the ONE bare context; DownstreamTransportSocket wraps it in TLS, InboundQUICTransportSocket in QuicDownstreamTransport with ALPN ["h3"] and EXPLICIT enable_resumption:false + enable_early_data:false (R4: a resumed or 0-RTT session carries a peer identity the destination never verified; explicit because defaults move). proxy/ingress.go buildInboundHCM() shared by the TCP and QUIC chains; NewInboundQUICListener: default chain = primary port, server_names chain per non-primary HTTP port, NONE for a raw-TCP port (QUIC carries HTTP/3 only). SNI matching on a QUIC listener verified in the pinned source: envoy_quic_proof_source.cc passes the CHLO hostname into findFilterChain. cache listenerEntry.inboundQUIC on all three build paths (AddPod, LoadListenersFromStorage, rebuildPodListenersLocked), published beside the TCP inbound; untyped nil when SPIRE is off. test/envoy_validate node fixture carries the QUIC inbound; downstreamTLSPinned UNWRAPS QuicDownstreamTransport (before: an mTLS QUIC chain passed the #843 pin check vacuously); QUICChainsWithoutR4 + the R4 assertion in the fixture loop; anti-vacuity tests for both. Gates, each seen red: TestNewInboundQUICListener with EnableResumption dropped ("R4 enable_resumption must be EXPLICIT"); TestUnpinnedInboundChainsSeesThroughQUIC with the unwrap removed ("the QUIC unwrap is vacuous"); TestInboundPortIsSharedAcrossTransports on `const inboundQUICPort = 18010`. Per-pod resource count tests: 2 → 3 listeners per pod. STACKED ON #952. On the current proxy pin (13144fb) `envoy --mode validate` rejects the node bootstrap: "QUIC downstream TLS context requires a client certificate but no validation_context.trusted_ca is configured" — the QUIC server side wanted a static trust anchor and the mesh validates against the SDS-served bundle. envoyproxy/envoy#47623 (2026-09-25) lifts that; #952 moves the pin to a snapshot that carries it, and this PR's TestEnvoyValidate is expected RED until the chart pin follows. Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr Co-authored-by: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The envoy bazel-registry published its first new snapshot since 09-04 this morning. It carries envoyproxy/envoy#47623 "quic: make it support SDS for mTLS" (2026-09-25), which is the change proposal 038 Phase 4 is blocked on: at the current pin a QUIC downstream that requires a client certificate is rejected unless its trust anchor is a static
trusted_ca— the mesh's inbound validates against the SDS-served bundle. (envoy --mode validateon the generated node bootstrap with the HTTP/3 inbound: "QUIC downstream TLS context requires a client certificate but no validation_context.trusted_ca is configured".) After #47623 the load-time check only needs a validation context configured; the anchor is checked once SDS delivers it.What moved
envoy/envoy_api→1.40.0-dev.20260926.726d7ac.envoy, registry →263a259e(one pin, moved together). Closure to what the snapshot requests: quiche260922-7f07dc4, rules_rust0.74.0, toolchains_llvm1.9.1; abseil20260817.0, rules_cc0.2.25, googletest1.18.0.bcr.1.--@quiche//:*_impl_lib,--@grpc//third_party:*,--@googleurl//…,--@protobuf//:zlib,enable_bzlmod,incompatible_enable_proto_toolchain_resolution) and upstream's new ones are in (deprecated_repo_arg_allowed=false,skip_fission_for_rust, rustfmt, the renamedprefer_prebuilt_protoc+ its THIS_CC_TOOLCHAIN_IS_BROKEN guard). googleurl/quiche leave the flag-only dep list.repository = "@envoy"argument dropped from everyenvoy_cc_*call (the strict flag refuses it).Proven locally
bazel mod depsresolves the closure at263a259e;bazel mod explainselects exactly the pinned versions;bazel build --nobuild --config=release //:envoyanalyzes clean (46,159 targets);scripts/check-envoy-api-parity.shOK. The compile is this PR'sproxycheck (both arches on RBE).After merge
proxy-releasebuilds/pushes the image and opens the chart pin PR. That pin is what//test/envoy_validate:envoy_binruns, so the HTTP/3 inbound PR (038 Phase 4a) is stacked behind it.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr