Repository navigation
TLS ECH DoH h2c: Support verifyPeerCertByName's "fromMitm" (after dialerProxy, in RAW outbound's tlsSettings) - #6246
Merged
Merged
Conversation
Member
|
没想到这样有什么用 SNI直接写在出站不就是了 这个又不会变 |
j2rong4cn
commented
Jun 2, 2026
| utils.TryDefaultHeadersWith(req.Header, "fetch") | ||
| req.Header.Set("X-Padding", utils.H2Base62Pad(crypto.RandBetween(100, 1000))) | ||
|
|
||
| req.URL.Scheme = "https" |
Collaborator
|
patterniha
added a commit
to patterniha/Xray-core
that referenced
this pull request
Sep 26, 2026
Early merge of XTLS#6246 (PR head 705fa16), squashed, ahead of it landing upstream: XTLS#6246 Co-authored-by: patterniha <[email protected]>
Collaborator
|
|
Collaborator
|
|
Member
|
|
Collaborator
Yes, but it would be better if the exported JSON worked in all clients. Anyway, there's no rush |
Collaborator
|
. |
Member
|
@patterniha 其它类似的代码段贴出来,我对比下 |
Collaborator
Xray-core/app/dns/nameserver_doh.go Lines 63 to 68 in 836a6fe |
verifyPeerCertByName's "fromMitm" (after dialerProxy, in RAW outbound's tlsSettings)
RPRX
pushed a commit
that referenced
this pull request
Oct 10, 2026
…dialerProxy`, in RAW outbound's `tlsSettings`) (#6246) #6246 (comment) Like 613c63b --------- Co-authored-by: patterniha <[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.

ECH使用 DOH(h2c) 进行查询支持"fromMitm"