Skip to content

fix(reality): imitate target TLS 1.3 post-handshake records - #7

Open
Nemu-x wants to merge 1 commit into
MetaCubeX:v1.7.0-mod-metafrom
Nemu-x:fix/reality-post-handshake-records
Open

Nemu-x wants to merge 1 commit into
MetaCubeX:v1.7.0-mod-metafrom
Nemu-x:fix/reality-post-handshake-records

Conversation

@Nemu-x

@Nemu-x Nemu-x commented Oct 3, 2026

Copy link
Copy Markdown

After ClientFinished, the REALITY server may remain silent where the configured target emits TLS 1.3 post-handshake records.

Learn target post-handshake record lengths asynchronously per destination, SNI, ALPN mode and cipher suite, then emit matching encrypted application-data records before marking the handshake complete.

Probe failures preserve existing behavior, probes are coalesced and rate-limited, and RealityConfig clones share the cache. Client-side REALITY behavior is unchanged.

After ClientFinished, the REALITY server may remain silent where the configured target emits TLS 1.3 post-handshake records.

Learn target post-handshake record lengths asynchronously per destination, SNI, ALPN mode and cipher suite, then emit matching encrypted application-data records before marking the handshake complete.

Probe failures preserve existing behavior, probes are coalesced and rate-limited, and RealityConfig clones share the cache. Client-side REALITY behavior is unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant