Xray-core/transport/internet/tcp
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.go Remove legacy code (#3838) 2024-09-23 11:28:19 -04:00
config.pb.go Chore: Generate *.pb.go files with protoc v5.28.2 2024-10-16 04:06:21 +00:00
config.proto v1.1.0 2020-12-04 09:36:16 +08:00
dialer.go MITM: Allow using local received SNI in the outgoing serverName & verifyPeerCertInNames 2025-02-05 16:12:14 +00:00
hub.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
sockopt_darwin.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
sockopt_freebsd.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
sockopt_linux_test.go Style: format code 2021-09-20 21:00:55 +08:00
sockopt_linux.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
sockopt_other.go Enhancement of "redirect" function, adding support for MacOS 2022-08-22 10:33:58 -04:00
tcp.go Remove legacy code (#3838) 2024-09-23 11:28:19 -04:00