Xray-core/transport/internet/tls
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
..
config_other.go Chore: Use a more direct and less error-prone return value (#4008) 2024-11-12 10:44:41 -05:00
config_test.go Adjust config loader of TLS & XTLS 2020-12-16 15:59:04 +00:00
config_windows.go Style: format code 2021-09-20 21:00:55 +08:00
config.go MITM: Allow using local received SNI in the outgoing serverName & verifyPeerCertInNames 2025-02-05 16:12:14 +00:00
config.pb.go MITM: Allow using local received SNI in the outgoing serverName & verifyPeerCertInNames 2025-02-05 16:12:14 +00:00
config.proto MITM: Allow using local received SNI in the outgoing serverName & verifyPeerCertInNames 2025-02-05 16:12:14 +00:00
grpc.go Fixing tcp connestions leak 2024-02-19 09:32:40 -05:00
pin_test.go Support SPKI Fingerprint Pinning 2023-02-24 11:47:00 -05:00
pin.go Support SPKI Fingerprint Pinning 2023-02-24 11:47:00 -05:00
tls.go MITM: Allow using local received SNI in the outgoing serverName & verifyPeerCertInNames 2025-02-05 16:12:14 +00:00
unsafe.go Fix errNoCertificates 2021-05-10 00:11:45 +08:00