Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-05-22 19:35:46 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-05-22 21:06:49 +0300
commit275370e32cddff5905cdf09ab9a60aa6799486e3 (patch)
treea068648e6c496fbfc6e465857dc0a744da746617 /web/html
parente7c59adc5928d9d9ef96480297f7618e3d57837c (diff)
new - (Sockopt) tcpMptcp , tcpNoDelay
https://xtls.github.io/en/config/transport.html#sockoptobject
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/form/outbound.html3
-rw-r--r--web/html/xui/form/stream/stream_httpupgrade.html2
-rw-r--r--web/html/xui/form/stream/stream_sockopt.html14
-rw-r--r--web/html/xui/form/stream/stream_tcp.html2
-rw-r--r--web/html/xui/form/stream/stream_ws.html2
-rw-r--r--web/html/xui/settings.html1
6 files changed, 17 insertions, 7 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html
index af432fdf..0718d4ed 100644
--- a/web/html/xui/form/outbound.html
+++ b/web/html/xui/form/outbound.html
@@ -403,6 +403,9 @@
<a-form-item label="Keep Alive Interval">
<a-input-number v-model="outbound.stream.sockopt.tcpKeepAliveInterval" :min="0"></a-input-number>
</a-form-item>
+ <a-form-item label="Multipath TCP">
+ <a-switch v-model.trim="outbound.stream.sockopt.tcpMptcp"></a-switch>
+ </a-form-item>
<a-form-item label="TCP No-Delay">
<a-switch v-model="outbound.stream.sockopt.tcpNoDelay"></a-switch>
</a-form-item>
diff --git a/web/html/xui/form/stream/stream_httpupgrade.html b/web/html/xui/form/stream/stream_httpupgrade.html
index d1cd2e02..a98291cb 100644
--- a/web/html/xui/form/stream/stream_httpupgrade.html
+++ b/web/html/xui/form/stream/stream_httpupgrade.html
@@ -1,6 +1,6 @@
{{define "form/streamHTTPUpgrade"}}
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
- <a-form-item label="PROXY Protocol">
+ <a-form-item label="Proxy Protocol">
<a-switch v-model="inbound.stream.httpupgrade.acceptProxyProtocol"></a-switch>
</a-form-item>
<a-form-item label='{{ i18n "host" }}'>
diff --git a/web/html/xui/form/stream/stream_sockopt.html b/web/html/xui/form/stream/stream_sockopt.html
index dd60a7e1..0a50a89e 100644
--- a/web/html/xui/form/stream/stream_sockopt.html
+++ b/web/html/xui/form/stream/stream_sockopt.html
@@ -1,11 +1,11 @@
{{define "form/streamSockopt"}}
<a-divider style="margin:5px 0 0;"></a-divider>
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
- <a-form-item label="TPROXY">
+ <a-form-item label="Sockopt">
<a-switch v-model="inbound.stream.sockoptSwitch"></a-switch>
</a-form-item>
<template v-if="inbound.stream.sockoptSwitch">
- <a-form-item label="PROXY Protocol">
+ <a-form-item label="Proxy Protocol">
<a-switch v-model="inbound.stream.sockopt.acceptProxyProtocol"></a-switch>
</a-form-item>
<a-form-item label="TCP Fast Open">
@@ -14,13 +14,19 @@
<a-form-item label="Route Mark">
<a-input-number v-model="inbound.stream.sockopt.mark" :min="0"></a-input-number>
</a-form-item>
- <a-form-item label="TPROXY">
+ <a-form-item label="TProxy">
<a-select v-model="inbound.stream.sockopt.tproxy" :dropdown-class-name="themeSwitcher.currentTheme">
<a-select-option value="off">Off</a-select-option>
<a-select-option value="redirect">Redirect</a-select-option>
- <a-select-option value="tproxy">TPROXY</a-select-option>
+ <a-select-option value="tproxy">TProxy</a-select-option>
</a-select>
</a-form-item>
+ <a-form-item label="Multipath TCP">
+ <a-switch v-model.trim="inbound.stream.sockopt.tcpMptcp"></a-switch>
+ </a-form-item>
+ <a-form-item label="TCP No-Delay">
+ <a-switch v-model.trim="inbound.stream.sockopt.tcpNoDelay"></a-switch>
+ </a-form-item>
</template>
</a-form>
{{end}}
diff --git a/web/html/xui/form/stream/stream_tcp.html b/web/html/xui/form/stream/stream_tcp.html
index cf1a03ca..31d2f9e8 100644
--- a/web/html/xui/form/stream/stream_tcp.html
+++ b/web/html/xui/form/stream/stream_tcp.html
@@ -1,7 +1,7 @@
{{define "form/streamTCP"}}
<!-- tcp type -->
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
- <a-form-item label="PROXY Protocol" v-if="inbound.canEnableTls()">
+ <a-form-item label="Proxy Protocol" v-if="inbound.canEnableTls()">
<a-switch v-model="inbound.stream.tcp.acceptProxyProtocol"></a-switch>
</a-form-item>
<a-form-item label='HTTP {{ i18n "camouflage" }}'>
diff --git a/web/html/xui/form/stream/stream_ws.html b/web/html/xui/form/stream/stream_ws.html
index 9b71070c..80f44c50 100644
--- a/web/html/xui/form/stream/stream_ws.html
+++ b/web/html/xui/form/stream/stream_ws.html
@@ -1,6 +1,6 @@
{{define "form/streamWS"}}
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
- <a-form-item label="PROXY Protocol">
+ <a-form-item label="Proxy Protocol">
<a-switch v-model="inbound.stream.ws.acceptProxyProtocol"></a-switch>
</a-form-item>
<a-form-item label='{{ i18n "host" }}'>
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index 8bcb0258..96293daf 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -407,6 +407,7 @@
streamSettings: {
sockopt: {
tcpKeepAliveIdle: 100,
+ tcpMptcp: true,
tcpNoDelay: true
}
}