From 729d8549e2b536a10c402a88e0d4cfde9e4baf3f Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Mon, 4 Dec 2023 19:17:38 +0100 Subject: new frontend and mobile view #1286 --- web/html/xui/form/tls_settings.html | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'web/html/xui/form/tls_settings.html') diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index ce3e0fe4..493aef75 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -1,6 +1,7 @@ {{define "form/tlsSettings"}} + @@ -54,27 +55,27 @@ - + auto - [[ key ]] + [[ value ]] - - - [[ key ]] - - - - - [[ key ]] - + + + + [[ key ]] + + + [[ key ]] + + + style="width: 170px" :dropdown-class-name="themeSwitcher.currentTheme"> None [[ key ]] @@ -83,7 +84,7 @@ [[ alpn ]] @@ -185,7 +186,7 @@ + style="width: 135px" :dropdown-class-name="themeSwitcher.currentTheme"> [[ key ]] -- cgit v1.2.3 From 549f230221d7139270efefd76ac81f37e1a747f9 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Fri, 8 Dec 2023 16:46:44 +0100 Subject: optimize security in front codes #1300 --- web/html/xui/form/tls_settings.html | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) (limited to 'web/html/xui/form/tls_settings.html') diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index 493aef75..eb201862 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -1,34 +1,24 @@ {{define "form/tlsSettings"}} - + - - - - - - - Reality + + + {{ i18n "none" }} + TLS - + XTLS - - - - - - XTLS - + Reality - - + -- cgit v1.2.3 From 5fbf8f0d535b131ad6de22a0d1dda0f2167d5ee0 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Fri, 8 Dec 2023 18:45:21 +0100 Subject: Expand multiDomain to externalProxy #1300 --- web/html/xui/form/tls_settings.html | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) (limited to 'web/html/xui/form/tls_settings.html') diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index eb201862..a77bec40 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -24,26 +24,6 @@ - - - - - - Domains: - + - - - - - - - - - - - auto @@ -61,7 +41,7 @@ - + - - - - + @@ -179,9 +156,6 @@ style="width: 135px" :dropdown-class-name="themeSwitcher.currentTheme"> [[ key ]] - - - -- cgit v1.2.3 From 784b93cfd02be8bacad63795e7814d51427cc22f Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Fri, 8 Dec 2023 18:52:11 +0100 Subject: Add TLS for SHADOWSOCKS #1300 --- web/html/xui/form/tls_settings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/xui/form/tls_settings.html') diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index a77bec40..db92eea5 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -5,7 +5,6 @@ {{ i18n "none" }} - TLS Reality + TLS -- cgit v1.2.3 From 07019d659464f698755f7a83d920871f6a8a7c08 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 9 Dec 2023 01:06:22 +0330 Subject: better view --- web/html/xui/form/tls_settings.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'web/html/xui/form/tls_settings.html') diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index db92eea5..9c881844 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -106,9 +106,13 @@ - - [[ key ]] - + + [[ alpn ]] + -- cgit v1.2.3 From 0f1f3d843907ee35b19bd5f0aadc37958cee09e1 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 9 Dec 2023 18:48:06 +0330 Subject: instead of convert the form structure to use and instead of , --- web/html/xui/form/tls_settings.html | 560 +++++++++++++++++++++++++----------- 1 file changed, 390 insertions(+), 170 deletions(-) (limited to 'web/html/xui/form/tls_settings.html') diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index 9c881844..11a65818 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -2,187 +2,407 @@ - - - {{ i18n "none" }} - - - XTLS - - - - Reality - - TLS - - + + + + + +
+ {{ i18n "security" }} + + + {{ i18n "none" }} + + + XTLS + + + + Reality + + TLS + +
- - - auto - [[ value ]] - - - - - - [[ key ]] - - - [[ key ]] - - - - - - - - - None - [[ key ]] - - - - - [[ alpn ]] - - -
- - - -
- - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ CipherSuites + + + + auto + [[ value + ]] + + +
+ Min/Max Version + + + + + [[ key ]] + + + [[ key ]] + + + +
+ SNI + + + + +
+ uTLS + + + + None + [[ key ]] + + +
+ Alpn + + + + [[ alpn ]] + + +
+ Allow insecure + + + + +
+ Reject Unknown SNI + + + + +
+ {{ i18n "certificate" }} + + + + {{ i18n "pages.inbounds.certificatePath" }} + {{ i18n "pages.inbounds.certificateContent" }} + + + + - + +
+ {{ i18n "pages.inbounds.publicKeyPath" }} + + + + +
+ {{ i18n "pages.inbounds.keyPath" }} + + + + +
+ {{ i18n + "pages.inbounds.setDefaultCert" }} +
+ {{ i18n "pages.inbounds.publicKeyContent" }} + + + + +
+ {{ i18n "pages.inbounds.keyContent" }} + + + + +
+ ocspStapling + + + + +
- - - - - - [[ alpn ]] - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ SNI + + + + +
+ Alpn + + + + [[ alpn ]] + + +
+ Allow insecure + + + + +
+ {{ i18n "certificate" }} + + + + {{ i18n "pages.inbounds.certificatePath" }} + {{ i18n "pages.inbounds.certificateContent" }} + + + + - + +
+ {{ i18n "pages.inbounds.publicKeyPath" }} + + + + +
+ {{ i18n "pages.inbounds.keyPath" }} + + + + +
+ {{ i18n + "pages.inbounds.setDefaultCert" }} +
+ {{ i18n "pages.inbounds.publicKeyContent" }} + + + + +
+ {{ i18n "pages.inbounds.keyContent" }} + + + + +
- - - - - - - - - - [[ key ]] - - - - - - - - - - - - -
- - - - - - - - - - - Get New Key - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Show + + + + +
+ xVer + + + + +
+ uTLS + + + + [[ key ]] + + +
+ Dest + + + + +
+ Server Names + + + + +
+ ShortIds + + + + + +
+ SpiderX + + + + +
+ Private Key + + + + +
+ Public Key + + + + +
+ Get New Key +
{{end}} \ No newline at end of file -- cgit v1.2.3 From 83769f963efbd5075ffd5b8f04e57232b3e10229 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 9 Dec 2023 20:43:36 +0330 Subject: bug fix - multi cert --- web/html/xui/form/tls_settings.html | 730 ++++++++++++++++++------------------ 1 file changed, 359 insertions(+), 371 deletions(-) (limited to 'web/html/xui/form/tls_settings.html') diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index 11a65818..9c55b410 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -1,6 +1,7 @@ {{define "form/tlsSettings"}} - + + @@ -26,383 +27,370 @@ -
-
- - - - - - - - - -
- CipherSuites - - - - auto - [[ value - ]] - - -
- Min/Max Version - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- SNI - - - - -
- Alpn - - - - [[ alpn ]] - - -
- Allow insecure - - - - -
- {{ i18n "certificate" }} - - - - {{ i18n "pages.inbounds.certificatePath" }} - {{ i18n "pages.inbounds.certificateContent" }} - - + - - - -
- {{ i18n "pages.inbounds.publicKeyPath" }} - - - - -
- {{ i18n "pages.inbounds.keyPath" }} - - - - -
- {{ i18n - "pages.inbounds.setDefaultCert" }} -
- {{ i18n "pages.inbounds.publicKeyContent" }} - - - - -
- {{ i18n "pages.inbounds.keyContent" }} - - - - -
-
+ + - - - - - - - - - - - - - - - - -
- Show - - - - -
- xVer - - - - -
- uTLS - - - - [[ key ]] - - -