Repository navigation
test(mtlspool): aether#957 path-A validation — URI-only SVID + SNI "18008" handshakes once envoy#47740 is in the pin - #973
Merged
Conversation
Parameterise the QUIC harness (quicOptions on startDestinationH3With, quicTwinWith, startEnvoyQUICWith; the existing entry points delegate with defaultQUICOptions, so the two selection tests run byte-identical config) and add the path-A tests for envoyproxy/envoy#47740 (carried by #972): - TestQUICPathAHandshakesWithoutDNSSANs: URI-only SVID, SNI "18008", correct pin -> 200 over HTTP/3 with each caller's identity, no hostname / QUIC_TLS_CERTIFICATE_UNKNOWN in the log. RED on the current pin (503, "Leaf certificate doesn't match hostname: 18008"); green once the chart pins an image with #47740. - TestQUICPathAWrongSANStillFails: wrong pin -> fails on "verify cert failed: SAN matcher", never on the hostname. Green on both binaries (the validator runs before the hostname check). - TestQUICPathAGuardOffRestoresHostnameCheck: runtime guard false -> hostname failure returns (anti-vacuity control; green on both). - TestQUICTwinsLeaveAutoSNIOff: no twin sets auto_host_sni / auto_sni_san_validation / auto_sni / auto_san_validation, and the SAN pin is present as match_typed_subject_alt_names. Envoy runs with --component-log-level quic:info,pool:debug for these: the handshake failure detail is [info][quic], the pool failure code is [debug][pool]. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
force-pushed
the
test/mtlspool-quic-path-a
branch
from
September 27, 2026 09:47
48bead2 to
e6175fd
Compare
bpalermo
marked this pull request as ready for review
September 27, 2026 09:47
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 real-world verification for envoyproxy/envoy#47740, run against the actual aether-proxy binary the harness lifts from the chart's pinned image. Draft until the chart pin carries #972's image — on today's binary the positive test is red by design (that IS its red state).
Tests (
test/mtlspool/quic_path_a_test.go; the harness gained aquicOptionsstruct, the existing two QUIC tests run byte-identical config)TestQUICPathAHandshakesWithoutDNSSANs"18008",match_typed_subject_alt_names== destination SPIFFE ID, guard defaultlocal connection failure; logCert chain verification failed: Leaf certificate doesn't match hostname: 18008+ poolQUIC_TLS_CERTIFICATE_UNKNOWN … CERTIFICATE_VERIFY_FAILEDQUIC_TLS_CERTIFICATE_UNKNOWNTestQUICPathAWrongSANStillFailsverify cert failed: SAN matcher, certificate SANs are [127.0.0.1, spiffe://…/sa/echo], 503s, no hostname message (the validator runs before the hostname check)TestQUICPathAGuardOffRestoresHostnameCheckLayeredRuntimestatic layerenvoy.reloadable_features.quic_hostname_check_deferred_to_explicit_san_match: falseTestQUICTwinsLeaveAutoSNIOffauto_host_sni/auto_sni_san_validationon the TLS context, noauto_sni/auto_san_validationon the protocol options; the pin is present inmatch_typed_subject_alt_namesLog level needed:
--component-log-level quic:info,pool:debug(both verify messages come from quiche'stls_handshaker.cc;QUIC_TLS_CERTIFICATE_UNKNOWNonly atpool:debug). The SAN-mismatch string is"verify cert failed: SAN matcher"fromsource/common/tls/cert_validator/default_validator.ccat the pin.Production is unaffected: aether keeps the
<port>.<fqdn>SNI and the DNS SANs.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr