Xray-core/transport
RPRX 117c72b860
MITM: Allow using local received SNI in the outgoing serverName & verifyPeerCertInNames
https://github.com/XTLS/Xray-core/issues/4348#issuecomment-2637370175

Local received SNI was sent by browser/app.

In freedom RAW's `tlsSettings`, set `"serverName": "fromMitm"` to forward it to the real website.

In freedom RAW's `tlsSettings`, set `"verifyPeerCertInNames": ["fromMitm"]` to use all possible names to verify the certificate.
2025-02-05 16:12:14 +00:00
..
internet MITM: Allow using local received SNI in the outgoing serverName & verifyPeerCertInNames 2025-02-05 16:12:14 +00:00
pipe Chore: Run gofmt (#3990) 2024-11-09 11:16:11 +00:00
link.go v1.1.0 2020-12-04 09:36:16 +08:00