Xray-core/infra
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
..
conf MITM: Allow using local received SNI in the outgoing serverName & verifyPeerCertInNames 2025-02-05 16:12:14 +00:00
vformat chore: use errors.New to replace fmt.Errorf with no parameters (#4204) 2024-12-24 00:17:00 -05:00
vprotogen chore: use errors.New to replace fmt.Errorf with no parameters (#4204) 2024-12-24 00:17:00 -05:00