From 04b4fb438487ada373fb3e6437b4cdb28b5174de Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Mon, 20 Apr 2026 16:38:33 +0200 Subject: finalmask Co-Authored-By: Alireza Ahmadi --- web/html/form/stream/stream_finalmask.html | 217 ++++++++++++++++++--------- web/html/form/stream/stream_grpc.html | 2 +- web/html/form/stream/stream_httpupgrade.html | 11 +- web/html/form/stream/stream_hysteria.html | 39 ++--- web/html/form/stream/stream_kcp.html | 23 +-- web/html/form/stream/stream_settings.html | 53 +++---- web/html/form/stream/stream_sockopt.html | 15 +- web/html/form/stream/stream_tcp.html | 29 ++-- web/html/form/stream/stream_ws.html | 8 +- web/html/form/stream/stream_xhttp.html | 67 +++------ 10 files changed, 260 insertions(+), 204 deletions(-) (limited to 'web/html/form/stream') diff --git a/web/html/form/stream/stream_finalmask.html b/web/html/form/stream/stream_finalmask.html index 0b6418b7..be3761b7 100644 --- a/web/html/form/stream/stream_finalmask.html +++ b/web/html/form/stream/stream_finalmask.html @@ -1,84 +1,167 @@ {{define "form/streamFinalMask"}} - - + + + @click="inbound.stream.addUdpMask(inbound.protocol === Protocols.HYSTERIA ? 'salamander' : 'mkcp-aes128gcm')"> - -{{end}} +{{end}} \ No newline at end of file diff --git a/web/html/form/stream/stream_grpc.html b/web/html/form/stream/stream_grpc.html index e74a3c3f..1e3d5bd3 100644 --- a/web/html/form/stream/stream_grpc.html +++ b/web/html/form/stream/stream_grpc.html @@ -10,4 +10,4 @@ -{{end}} +{{end}} \ No newline at end of file diff --git a/web/html/form/stream/stream_httpupgrade.html b/web/html/form/stream/stream_httpupgrade.html index aa433389..3b2398b6 100644 --- a/web/html/form/stream/stream_httpupgrade.html +++ b/web/html/form/stream/stream_httpupgrade.html @@ -14,13 +14,16 @@ - + - - + + -{{end}} +{{end}} \ No newline at end of file diff --git a/web/html/form/stream/stream_hysteria.html b/web/html/form/stream/stream_hysteria.html index 5e43d462..b2979356 100644 --- a/web/html/form/stream/stream_hysteria.html +++ b/web/html/form/stream/stream_hysteria.html @@ -1,12 +1,10 @@ {{define "form/streamHysteria"}} - + - + @@ -21,42 +19,32 @@ String - - + + diff --git a/web/html/form/stream/stream_kcp.html b/web/html/form/stream/stream_kcp.html index 11f89ebd..e74dd3ea 100644 --- a/web/html/form/stream/stream_kcp.html +++ b/web/html/form/stream/stream_kcp.html @@ -1,32 +1,25 @@ {{define "form/streamKCP"}} - + - + - + - + - + - + - + -{{end}} +{{end}} \ No newline at end of file diff --git a/web/html/form/stream/stream_settings.html b/web/html/form/stream/stream_settings.html index 700fe793..c0397d96 100644 --- a/web/html/form/stream/stream_settings.html +++ b/web/html/form/stream/stream_settings.html @@ -1,65 +1,62 @@ {{define "form/streamSettings"}} - - - - TCP (RAW) - mKCP - WebSocket - gRPC - HTTPUpgrade - XHTTP - - + + + + TCP (RAW) + mKCP + WebSocket + gRPC + HTTPUpgrade + XHTTP + + - - -{{end}} +{{end}} \ No newline at end of file diff --git a/web/html/form/stream/stream_tcp.html b/web/html/form/stream/stream_tcp.html index 3024ef77..2fb69cb0 100644 --- a/web/html/form/stream/stream_tcp.html +++ b/web/html/form/stream/stream_tcp.html @@ -5,11 +5,13 @@ - + - + {{ i18n "pages.inbounds.stream.general.request" }} @@ -24,7 +26,8 @@ @@ -33,11 +36,14 @@ - + - - + + @@ -54,14 +60,17 @@ - + - + - + @@ -69,4 +78,4 @@ -{{end}} +{{end}} \ No newline at end of file diff --git a/web/html/form/stream/stream_ws.html b/web/html/form/stream/stream_ws.html index 4c71a516..d3885ad6 100644 --- a/web/html/form/stream/stream_ws.html +++ b/web/html/form/stream/stream_ws.html @@ -17,13 +17,15 @@ - + - + -{{end}} +{{end}} \ No newline at end of file diff --git a/web/html/form/stream/stream_xhttp.html b/web/html/form/stream/stream_xhttp.html index 8fe836d0..15c6161a 100644 --- a/web/html/form/stream/stream_xhttp.html +++ b/web/html/form/stream/stream_xhttp.html @@ -1,6 +1,5 @@ {{define "form/streamXHTTP"}} - + @@ -8,12 +7,10 @@ - + - +