diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-01-26 21:33:50 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-01-26 21:33:50 +0300 |
| commit | 46ef506aa66e0feda7ade495b48f8c06b020b8ac (patch) | |
| tree | 6fceb60a9f1f9a2765346742490171f2f6cbbe24 /web/assets | |
| parent | 51220917c4ef60c5ff886925792c8323f46cf5f2 (diff) | |
TLS - serverNameToVerify
Diffstat (limited to 'web/assets')
| -rw-r--r-- | web/assets/js/model/inbound.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js index 21809091..f4ab4f53 100644 --- a/web/assets/js/model/inbound.js +++ b/web/assets/js/model/inbound.js @@ -554,6 +554,7 @@ class TlsStreamSettings extends XrayCommonClass { maxVersion = TLS_VERSION_OPTION.TLS13, cipherSuites = '', rejectUnknownSni = false, + serverNameToVerify = 'dns.google', disableSystemRoot = false, enableSessionResumption = false, certificates = [new TlsStreamSettings.Cert()], @@ -566,6 +567,7 @@ class TlsStreamSettings extends XrayCommonClass { this.maxVersion = maxVersion; this.cipherSuites = cipherSuites; this.rejectUnknownSni = rejectUnknownSni; + this.serverNameToVerify = serverNameToVerify; this.disableSystemRoot = disableSystemRoot; this.enableSessionResumption = enableSessionResumption; this.certs = certificates; @@ -597,6 +599,7 @@ class TlsStreamSettings extends XrayCommonClass { json.maxVersion, json.cipherSuites, json.rejectUnknownSni, + json.serverNameToVerify, json.disableSystemRoot, json.enableSessionResumption, certs, @@ -612,6 +615,7 @@ class TlsStreamSettings extends XrayCommonClass { maxVersion: this.maxVersion, cipherSuites: this.cipherSuites, rejectUnknownSni: this.rejectUnknownSni, + serverNameToVerify: this.serverNameToVerify, disableSystemRoot: this.disableSystemRoot, enableSessionResumption: this.enableSessionResumption, certificates: TlsStreamSettings.toJsonArray(this.certs), |
