mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-10-18 14:04:40 +00:00
Compare commits
No commits in common. "73e90e0eaa179e1f9e2ed1b0d697350f5a542880" and "39ef172b874bef97f3aa723dd44323e563a8ff2b" have entirely different histories.
73e90e0eaa
...
39ef172b87
2 changed files with 6 additions and 7 deletions
|
@ -34,6 +34,10 @@ const TLS_VERSION_OPTION = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const TLS_CIPHER_OPTION = {
|
const TLS_CIPHER_OPTION = {
|
||||||
|
RSA_AES_128_CBC: "TLS_RSA_WITH_AES_128_CBC_SHA",
|
||||||
|
RSA_AES_256_CBC: "TLS_RSA_WITH_AES_256_CBC_SHA",
|
||||||
|
RSA_AES_128_GCM: "TLS_RSA_WITH_AES_128_GCM_SHA256",
|
||||||
|
RSA_AES_256_GCM: "TLS_RSA_WITH_AES_256_GCM_SHA384",
|
||||||
AES_128_GCM: "TLS_AES_128_GCM_SHA256",
|
AES_128_GCM: "TLS_AES_128_GCM_SHA256",
|
||||||
AES_256_GCM: "TLS_AES_256_GCM_SHA384",
|
AES_256_GCM: "TLS_AES_256_GCM_SHA384",
|
||||||
CHACHA20_POLY1305: "TLS_CHACHA20_POLY1305_SHA256",
|
CHACHA20_POLY1305: "TLS_CHACHA20_POLY1305_SHA256",
|
||||||
|
@ -60,7 +64,6 @@ const UTLS_FINGERPRINT = {
|
||||||
UTLS_QQ: "qq",
|
UTLS_QQ: "qq",
|
||||||
UTLS_RANDOM: "random",
|
UTLS_RANDOM: "random",
|
||||||
UTLS_RANDOMIZED: "randomized",
|
UTLS_RANDOMIZED: "randomized",
|
||||||
UTLS_UNSAFE: "unsafe",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const ALPN_OPTION = {
|
const ALPN_OPTION = {
|
||||||
|
@ -689,10 +692,7 @@ TlsStreamSettings.Cert = class extends XrayCommonClass {
|
||||||
};
|
};
|
||||||
|
|
||||||
TlsStreamSettings.Settings = class extends XrayCommonClass {
|
TlsStreamSettings.Settings = class extends XrayCommonClass {
|
||||||
constructor(
|
constructor(allowInsecure = false, fingerprint = '') {
|
||||||
allowInsecure = false,
|
|
||||||
fingerprint = UTLS_FINGERPRINT.UTLS_CHROME,
|
|
||||||
) {
|
|
||||||
super();
|
super();
|
||||||
this.allowInsecure = allowInsecure;
|
this.allowInsecure = allowInsecure;
|
||||||
this.fingerprint = fingerprint;
|
this.fingerprint = fingerprint;
|
||||||
|
@ -781,7 +781,7 @@ class RealityStreamSettings extends XrayCommonClass {
|
||||||
RealityStreamSettings.Settings = class extends XrayCommonClass {
|
RealityStreamSettings.Settings = class extends XrayCommonClass {
|
||||||
constructor(
|
constructor(
|
||||||
publicKey = '',
|
publicKey = '',
|
||||||
fingerprint = UTLS_FINGERPRINT.UTLS_CHROME,
|
fingerprint = UTLS_FINGERPRINT.UTLS_RANDOM,
|
||||||
serverName = '',
|
serverName = '',
|
||||||
spiderX = '/'
|
spiderX = '/'
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -39,7 +39,6 @@ const UTLS_FINGERPRINT = {
|
||||||
UTLS_QQ: "qq",
|
UTLS_QQ: "qq",
|
||||||
UTLS_RANDOM: "random",
|
UTLS_RANDOM: "random",
|
||||||
UTLS_RANDOMIZED: "randomized",
|
UTLS_RANDOMIZED: "randomized",
|
||||||
UTLS_UNSAFE: "unsafe",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const ALPN_OPTION = {
|
const ALPN_OPTION = {
|
||||||
|
|
Loading…
Reference in a new issue