Add splithttp transport for xray
This commit is contained in:
1 parent
bdcecfca72
commit
518ef1e0ec
16 files changed
+173
-16
No files matched your search
@@ -139,6 +139,7 @@ data class V2rayConfig(
|
|||||||
var kcpSettings: KcpSettingsBean? = null,
|
var kcpSettings: KcpSettingsBean? = null,
|
||||||
var wsSettings: WsSettingsBean? = null,
|
var wsSettings: WsSettingsBean? = null,
|
||||||
var httpupgradeSettings: HttpupgradeSettingsBean? = null,
|
var httpupgradeSettings: HttpupgradeSettingsBean? = null,
|
||||||
|
var splithttpSettings: SplithttpSettingsBean? = null,
|
||||||
var httpSettings: HttpSettingsBean? = null,
|
var httpSettings: HttpSettingsBean? = null,
|
||||||
var tlsSettings: TlsSettingsBean? = null,
|
var tlsSettings: TlsSettingsBean? = null,
|
||||||
var quicSettings: QuicSettingBean? = null,
|
var quicSettings: QuicSettingBean? = null,
|
||||||
@@ -192,6 +193,10 @@ data class V2rayConfig(
|
|||||||
var host: String = "",
|
var host: String = "",
|
||||||
val acceptProxyProtocol: Boolean? = null)
|
val acceptProxyProtocol: Boolean? = null)
|
||||||
|
|
||||||
|
data class SplithttpSettingsBean(var path: String = "",
|
||||||
|
var host: String = "",
|
||||||
|
val maxUploadSize: Int? = null,
|
||||||
|
val maxConcurrentUploads: Int? = null)
|
||||||
data class HttpSettingsBean(var host: List<String> = ArrayList(),
|
data class HttpSettingsBean(var host: List<String> = ArrayList(),
|
||||||
var path: String = "")
|
var path: String = "")
|
||||||
|
|
||||||
@@ -279,6 +284,13 @@ data class V2rayConfig(
|
|||||||
httpupgradeSetting.path = path ?: "/"
|
httpupgradeSetting.path = path ?: "/"
|
||||||
httpupgradeSettings = httpupgradeSetting
|
httpupgradeSettings = httpupgradeSetting
|
||||||
}
|
}
|
||||||
|
"splithttp" -> {
|
||||||
|
val splithttpSetting = SplithttpSettingsBean()
|
||||||
|
splithttpSetting.host = host ?: ""
|
||||||
|
sni = splithttpSetting.host
|
||||||
|
splithttpSetting.path = path ?: "/"
|
||||||
|
splithttpSettings = splithttpSetting
|
||||||
|
}
|
||||||
"h2", "http" -> {
|
"h2", "http" -> {
|
||||||
network = "h2"
|
network = "h2"
|
||||||
val h2Setting = HttpSettingsBean()
|
val h2Setting = HttpSettingsBean()
|
||||||
@@ -418,6 +430,12 @@ data class V2rayConfig(
|
|||||||
httpupgradeSetting.host,
|
httpupgradeSetting.host,
|
||||||
httpupgradeSetting.path)
|
httpupgradeSetting.path)
|
||||||
}
|
}
|
||||||
|
"splithttp" -> {
|
||||||
|
val splithttpSetting = streamSettings?.splithttpSettings ?: return null
|
||||||
|
listOf("",
|
||||||
|
splithttpSetting.host,
|
||||||
|
splithttpSetting.path)
|
||||||
|
}
|
||||||
"h2" -> {
|
"h2" -> {
|
||||||
val h2Setting = streamSettings?.httpSettings ?: return null
|
val h2Setting = streamSettings?.httpSettings ?: return null
|
||||||
listOf("",
|
listOf("",
|
||||||
|
|||||||
@@ -110,7 +110,9 @@ class ServerActivity : BaseActivity() {
|
|||||||
private val sp_network: Spinner? by lazy { findViewById(R.id.sp_network) }
|
private val sp_network: Spinner? by lazy { findViewById(R.id.sp_network) }
|
||||||
private val sp_header_type: Spinner? by lazy { findViewById(R.id.sp_header_type) }
|
private val sp_header_type: Spinner? by lazy { findViewById(R.id.sp_header_type) }
|
||||||
private val sp_header_type_title: TextView? by lazy { findViewById(R.id.sp_header_type_title) }
|
private val sp_header_type_title: TextView? by lazy { findViewById(R.id.sp_header_type_title) }
|
||||||
|
private val tv_request_host: TextView? by lazy { findViewById(R.id.tv_request_host) }
|
||||||
private val et_request_host: EditText? by lazy { findViewById(R.id.et_request_host) }
|
private val et_request_host: EditText? by lazy { findViewById(R.id.et_request_host) }
|
||||||
|
private val tv_path: TextView? by lazy { findViewById(R.id.tv_path) }
|
||||||
private val et_path: EditText? by lazy { findViewById(R.id.et_path) }
|
private val et_path: EditText? by lazy { findViewById(R.id.et_path) }
|
||||||
private val sp_stream_alpn: Spinner? by lazy { findViewById(R.id.sp_stream_alpn) } //uTLS
|
private val sp_stream_alpn: Spinner? by lazy { findViewById(R.id.sp_stream_alpn) } //uTLS
|
||||||
private val container_alpn: LinearLayout? by lazy { findViewById(R.id.l4) }
|
private val container_alpn: LinearLayout? by lazy { findViewById(R.id.l4) }
|
||||||
@@ -162,6 +164,36 @@ class ServerActivity : BaseActivity() {
|
|||||||
et_request_host?.text = Utils.getEditable(transportDetails[1])
|
et_request_host?.text = Utils.getEditable(transportDetails[1])
|
||||||
et_path?.text = Utils.getEditable(transportDetails[2])
|
et_path?.text = Utils.getEditable(transportDetails[2])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tv_request_host?.text = Utils.getEditable(
|
||||||
|
getString(
|
||||||
|
when (networks[position]) {
|
||||||
|
"tcp" -> R.string.server_lab_request_host_http
|
||||||
|
"ws" -> R.string.server_lab_request_host_ws
|
||||||
|
"httpupgrade" -> R.string.server_lab_request_host_httpupgrade
|
||||||
|
"splithttp" -> R.string.server_lab_request_host_splithttp
|
||||||
|
"h2" -> R.string.server_lab_request_host_h2
|
||||||
|
"quic" -> R.string.server_lab_request_host_quic
|
||||||
|
"grpc" -> R.string.server_lab_request_host_grpc
|
||||||
|
else -> R.string.server_lab_request_host
|
||||||
|
}
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
tv_path?.text = Utils.getEditable(
|
||||||
|
getString(
|
||||||
|
when (networks[position]) {
|
||||||
|
"kcp" -> R.string.server_lab_path_kcp
|
||||||
|
"ws" -> R.string.server_lab_path_ws
|
||||||
|
"httpupgrade" -> R.string.server_lab_path_httpupgrade
|
||||||
|
"splithttp" -> R.string.server_lab_path_splithttp
|
||||||
|
"h2" -> R.string.server_lab_path_h2
|
||||||
|
"quic" -> R.string.server_lab_path_quic
|
||||||
|
"grpc" -> R.string.server_lab_path_grpc
|
||||||
|
else -> R.string.server_lab_path
|
||||||
|
}
|
||||||
|
)
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onNothingSelected(parent: AdapterView<*>?) {
|
override fun onNothingSelected(parent: AdapterView<*>?) {
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ object TrojanFmt {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
"ws", "httpupgrade" -> {
|
"ws", "httpupgrade", "splithttp" -> {
|
||||||
if (!TextUtils.isEmpty(transportDetails[1])) {
|
if (!TextUtils.isEmpty(transportDetails[1])) {
|
||||||
dicQuery["host"] = Utils.urlEncode(transportDetails[1])
|
dicQuery["host"] = Utils.urlEncode(transportDetails[1])
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ object VlessFmt {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
"ws", "httpupgrade" -> {
|
"ws", "httpupgrade", "splithttp" -> {
|
||||||
if (!TextUtils.isEmpty(transportDetails[1])) {
|
if (!TextUtils.isEmpty(transportDetails[1])) {
|
||||||
dicQuery["host"] = Utils.urlEncode(transportDetails[1])
|
dicQuery["host"] = Utils.urlEncode(transportDetails[1])
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -173,6 +173,7 @@
|
|||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/tv_request_host"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/server_lab_request_host" />
|
android:text="@string/server_lab_request_host" />
|
||||||
@@ -192,6 +193,7 @@
|
|||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/tv_path"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/server_lab_path" />
|
android:text="@string/server_lab_path" />
|
||||||
|
|||||||
@@ -154,6 +154,7 @@
|
|||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/tv_request_host"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/server_lab_request_host" />
|
android:text="@string/server_lab_request_host" />
|
||||||
@@ -173,6 +174,7 @@
|
|||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/tv_path"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/server_lab_path" />
|
android:text="@string/server_lab_path" />
|
||||||
|
|||||||
@@ -193,6 +193,7 @@
|
|||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/tv_request_host"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/server_lab_request_host" />
|
android:text="@string/server_lab_request_host" />
|
||||||
@@ -212,6 +213,7 @@
|
|||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/tv_path"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/server_lab_path" />
|
android:text="@string/server_lab_path" />
|
||||||
|
|||||||
@@ -192,6 +192,7 @@
|
|||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/tv_request_host"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/server_lab_request_host" />
|
android:text="@string/server_lab_request_host" />
|
||||||
@@ -211,6 +212,7 @@
|
|||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/tv_path"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/server_lab_path" />
|
android:text="@string/server_lab_path" />
|
||||||
|
|||||||
@@ -48,8 +48,22 @@
|
|||||||
<string name="server_lab_more_function">النقل</string>
|
<string name="server_lab_more_function">النقل</string>
|
||||||
<string name="server_lab_head_type">نوع الرأس</string>
|
<string name="server_lab_head_type">نوع الرأس</string>
|
||||||
<string name="server_lab_mode_type">وضع gRPC</string>
|
<string name="server_lab_mode_type">وضع gRPC</string>
|
||||||
<string name="server_lab_request_host">مضيف الطلب (مضيف/مضيف ws/مضيف httpupgrade/مضيف h2)/أمان QUIC/جهة gRPC</string>
|
<string name="server_lab_request_host">host</string>
|
||||||
<string name="server_lab_path">المسار (مسار ws/مسار httpupgrade/مسار h2)/مفتاح QUIC/بذرة kcp/خدمة gRPC</string>
|
<string name="server_lab_request_host_http">http host</string>
|
||||||
|
<string name="server_lab_request_host_ws">ws host</string>
|
||||||
|
<string name="server_lab_request_host_httpupgrade">httpupgrade host</string>
|
||||||
|
<string name="server_lab_request_host_splithttp">splithttp host</string>
|
||||||
|
<string name="server_lab_request_host_h2">h2 host</string>
|
||||||
|
<string name="server_lab_request_host_quic">QUIC security</string>
|
||||||
|
<string name="server_lab_request_host_grpc">gRPC Authority</string>
|
||||||
|
<string name="server_lab_path">path</string>
|
||||||
|
<string name="server_lab_path_ws">ws path</string>
|
||||||
|
<string name="server_lab_path_httpupgrade">httpupgrade path</string>
|
||||||
|
<string name="server_lab_path_splithttp">splithttp path</string>
|
||||||
|
<string name="server_lab_path_h2">h2 path</string>
|
||||||
|
<string name="server_lab_path_quic">QUIC key</string>
|
||||||
|
<string name="server_lab_path_kcp">kcp seed</string>
|
||||||
|
<string name="server_lab_path_grpc">gRPC serviceName</string>
|
||||||
<string name="server_lab_stream_security">TLS</string>
|
<string name="server_lab_stream_security">TLS</string>
|
||||||
<string name="server_lab_stream_fingerprint" translatable="false">البصمة</string>
|
<string name="server_lab_stream_fingerprint" translatable="false">البصمة</string>
|
||||||
<string name="server_lab_stream_alpn" translatable="false">بروتوكول الطبقة الآخرى التالية (ALPN)</string>
|
<string name="server_lab_stream_alpn" translatable="false">بروتوكول الطبقة الآخرى التالية (ALPN)</string>
|
||||||
|
|||||||
@@ -46,8 +46,22 @@
|
|||||||
<string name="server_lab_more_function">انتقال</string>
|
<string name="server_lab_more_function">انتقال</string>
|
||||||
<string name="server_lab_head_type">نوع head</string>
|
<string name="server_lab_head_type">نوع head</string>
|
||||||
<string name="server_lab_mode_type">حالت gRPC</string>
|
<string name="server_lab_mode_type">حالت gRPC</string>
|
||||||
<string name="server_lab_request_host">gRPC Authority/میزبان درخواست (host/host ws/host h2)/امنیت QUIC</string>
|
<string name="server_lab_request_host">host</string>
|
||||||
<string name="server_lab_path">مسیر (مسیر ws/ مسیر h2) کلید QUIC/دانه kcp/نامخدمات gRPC</string>
|
<string name="server_lab_request_host_http">http host</string>
|
||||||
|
<string name="server_lab_request_host_ws">ws host</string>
|
||||||
|
<string name="server_lab_request_host_httpupgrade">httpupgrade host</string>
|
||||||
|
<string name="server_lab_request_host_splithttp">splithttp host</string>
|
||||||
|
<string name="server_lab_request_host_h2">h2 host</string>
|
||||||
|
<string name="server_lab_request_host_quic">QUIC security</string>
|
||||||
|
<string name="server_lab_request_host_grpc">gRPC Authority</string>
|
||||||
|
<string name="server_lab_path">path</string>
|
||||||
|
<string name="server_lab_path_ws">ws path</string>
|
||||||
|
<string name="server_lab_path_httpupgrade">httpupgrade path</string>
|
||||||
|
<string name="server_lab_path_splithttp">splithttp path</string>
|
||||||
|
<string name="server_lab_path_h2">h2 path</string>
|
||||||
|
<string name="server_lab_path_quic">QUIC key</string>
|
||||||
|
<string name="server_lab_path_kcp">kcp seed</string>
|
||||||
|
<string name="server_lab_path_grpc">gRPC serviceName</string>
|
||||||
<string name="server_lab_stream_security">TLS</string>
|
<string name="server_lab_stream_security">TLS</string>
|
||||||
<string name="server_lab_allow_insecure">مجوز ناامن</string>
|
<string name="server_lab_allow_insecure">مجوز ناامن</string>
|
||||||
<string name="server_lab_sni">SNI</string>
|
<string name="server_lab_sni">SNI</string>
|
||||||
|
|||||||
@@ -46,8 +46,22 @@
|
|||||||
<string name="server_lab_more_function">Другие параметры</string>
|
<string name="server_lab_more_function">Другие параметры</string>
|
||||||
<string name="server_lab_head_type">Тип заголовка</string>
|
<string name="server_lab_head_type">Тип заголовка</string>
|
||||||
<string name="server_lab_mode_type">Режим gRPC</string>
|
<string name="server_lab_mode_type">Режим gRPC</string>
|
||||||
<string name="server_lab_request_host">Запрос узла (WS/H2)/HTTPUpgrade/Шифрование QUIC/Полномочия gRPC</string>
|
<string name="server_lab_request_host">host</string>
|
||||||
<string name="server_lab_path">Путь (WS/H2)/HTTPUpgrade/Ключ QUIC/Сид KCP/Сервис gRPC</string>
|
<string name="server_lab_request_host_http">http host</string>
|
||||||
|
<string name="server_lab_request_host_ws">ws host</string>
|
||||||
|
<string name="server_lab_request_host_httpupgrade">httpupgrade host</string>
|
||||||
|
<string name="server_lab_request_host_splithttp">splithttp host</string>
|
||||||
|
<string name="server_lab_request_host_h2">h2 host</string>
|
||||||
|
<string name="server_lab_request_host_quic">QUIC security</string>
|
||||||
|
<string name="server_lab_request_host_grpc">gRPC Authority</string>
|
||||||
|
<string name="server_lab_path">path</string>
|
||||||
|
<string name="server_lab_path_ws">ws path</string>
|
||||||
|
<string name="server_lab_path_httpupgrade">httpupgrade path</string>
|
||||||
|
<string name="server_lab_path_splithttp">splithttp path</string>
|
||||||
|
<string name="server_lab_path_h2">h2 path</string>
|
||||||
|
<string name="server_lab_path_quic">QUIC key</string>
|
||||||
|
<string name="server_lab_path_kcp">kcp seed</string>
|
||||||
|
<string name="server_lab_path_grpc">gRPC serviceName</string>
|
||||||
<string name="server_lab_stream_security">TLS</string>
|
<string name="server_lab_stream_security">TLS</string>
|
||||||
<string name="server_lab_allow_insecure">Разрешать небезопасные</string>
|
<string name="server_lab_allow_insecure">Разрешать небезопасные</string>
|
||||||
<string name="server_lab_sni">SNI</string>
|
<string name="server_lab_sni">SNI</string>
|
||||||
|
|||||||
@@ -46,8 +46,22 @@
|
|||||||
<string name="server_lab_more_function">Nâng cao</string>
|
<string name="server_lab_more_function">Nâng cao</string>
|
||||||
<string name="server_lab_head_type">Kiểu ngụy trang (Type)</string>
|
<string name="server_lab_head_type">Kiểu ngụy trang (Type)</string>
|
||||||
<string name="server_lab_mode_type">Chế độ gRPC</string>
|
<string name="server_lab_mode_type">Chế độ gRPC</string>
|
||||||
<string name="server_lab_request_host">Yêu cầu Host (Host / WS Host / H2 Host) / Bảo mật QUIC / gRPC Authority</string>
|
<string name="server_lab_request_host">host</string>
|
||||||
<string name="server_lab_path">Đường dẫn (WS Path / H2 Path) / Khóa QUIC / KCP Seed / Dịch vụ gRPC</string>
|
<string name="server_lab_request_host_http">http host</string>
|
||||||
|
<string name="server_lab_request_host_ws">ws host</string>
|
||||||
|
<string name="server_lab_request_host_httpupgrade">httpupgrade host</string>
|
||||||
|
<string name="server_lab_request_host_splithttp">splithttp host</string>
|
||||||
|
<string name="server_lab_request_host_h2">h2 host</string>
|
||||||
|
<string name="server_lab_request_host_quic">QUIC security</string>
|
||||||
|
<string name="server_lab_request_host_grpc">gRPC Authority</string>
|
||||||
|
<string name="server_lab_path">path</string>
|
||||||
|
<string name="server_lab_path_ws">ws path</string>
|
||||||
|
<string name="server_lab_path_httpupgrade">httpupgrade path</string>
|
||||||
|
<string name="server_lab_path_splithttp">splithttp path</string>
|
||||||
|
<string name="server_lab_path_h2">h2 path</string>
|
||||||
|
<string name="server_lab_path_quic">QUIC key</string>
|
||||||
|
<string name="server_lab_path_kcp">kcp seed</string>
|
||||||
|
<string name="server_lab_path_grpc">gRPC serviceName</string>
|
||||||
<string name="server_lab_stream_security">TLS</string>
|
<string name="server_lab_stream_security">TLS</string>
|
||||||
<string name="server_lab_allow_insecure">Bỏ qua xác minh chứng chỉ</string>
|
<string name="server_lab_allow_insecure">Bỏ qua xác minh chứng chỉ</string>
|
||||||
<string name="server_lab_sni">SNI</string>
|
<string name="server_lab_sni">SNI</string>
|
||||||
|
|||||||
@@ -46,8 +46,22 @@
|
|||||||
<string name="server_lab_more_function">底层传输方式(transport)</string>
|
<string name="server_lab_more_function">底层传输方式(transport)</string>
|
||||||
<string name="server_lab_head_type">伪装类型(type)</string>
|
<string name="server_lab_head_type">伪装类型(type)</string>
|
||||||
<string name="server_lab_mode_type">gRPC 传输模式(mode)</string>
|
<string name="server_lab_mode_type">gRPC 传输模式(mode)</string>
|
||||||
<string name="server_lab_request_host">伪装域名(host)(host/ws host/httpupgrade host/h2 host)/QUIC 加密方式/gRPC Authority</string>
|
<string name="server_lab_request_host">伪装域名(host)</string>
|
||||||
<string name="server_lab_path">path(ws path/httpupgrade path/h2 path)/QUIC 加密密钥/kcp seed/gRPC serviceName</string>
|
<string name="server_lab_request_host_http">http host</string>
|
||||||
|
<string name="server_lab_request_host_ws">ws host</string>
|
||||||
|
<string name="server_lab_request_host_httpupgrade">httpupgrade host</string>
|
||||||
|
<string name="server_lab_request_host_splithttp">splithttp host</string>
|
||||||
|
<string name="server_lab_request_host_h2">h2 host</string>
|
||||||
|
<string name="server_lab_request_host_quic">QUIC 加密方式</string>
|
||||||
|
<string name="server_lab_request_host_grpc">gRPC Authority</string>
|
||||||
|
<string name="server_lab_path">path</string>
|
||||||
|
<string name="server_lab_path_ws">ws path</string>
|
||||||
|
<string name="server_lab_path_httpupgrade">httpupgrade path</string>
|
||||||
|
<string name="server_lab_path_splithttp">splithttp path</string>
|
||||||
|
<string name="server_lab_path_h2">h2 path</string>
|
||||||
|
<string name="server_lab_path_quic">QUIC 加密密钥</string>
|
||||||
|
<string name="server_lab_path_kcp">kcp seed</string>
|
||||||
|
<string name="server_lab_path_grpc">gRPC serviceName</string>
|
||||||
<string name="server_lab_stream_security">传输层安全(TLS)</string>
|
<string name="server_lab_stream_security">传输层安全(TLS)</string>
|
||||||
<string name="server_lab_allow_insecure">跳过证书验证(allowInsecure)</string>
|
<string name="server_lab_allow_insecure">跳过证书验证(allowInsecure)</string>
|
||||||
<string name="server_lab_sni">SNI</string>
|
<string name="server_lab_sni">SNI</string>
|
||||||
|
|||||||
@@ -46,8 +46,22 @@
|
|||||||
<string name="server_lab_more_function">底層傳輸方式 (transport)</string>
|
<string name="server_lab_more_function">底層傳輸方式 (transport)</string>
|
||||||
<string name="server_lab_head_type">標頭類型</string>
|
<string name="server_lab_head_type">標頭類型</string>
|
||||||
<string name="server_lab_mode_type">gRPC 傳輸模式 (mode)</string>
|
<string name="server_lab_mode_type">gRPC 傳輸模式 (mode)</string>
|
||||||
<string name="server_lab_request_host">要求主機 (host)(host/ws host/httpupgrade host/h2 host)/QUIC 加密方式/gRPC Authority</string>
|
<string name="server_lab_request_host">要求主機 (host)</string>
|
||||||
<string name="server_lab_path">path(ws path/httpupgrade path/h2 path)/QUIC 加密金鑰/kcp seed/gRPC serviceName</string>
|
<string name="server_lab_request_host_http">http host</string>
|
||||||
|
<string name="server_lab_request_host_ws">ws host</string>
|
||||||
|
<string name="server_lab_request_host_httpupgrade">httpupgrade host</string>
|
||||||
|
<string name="server_lab_request_host_splithttp">splithttp host</string>
|
||||||
|
<string name="server_lab_request_host_h2">h2 host</string>
|
||||||
|
<string name="server_lab_request_host_quic">QUIC 加密方式</string>
|
||||||
|
<string name="server_lab_request_host_grpc">gRPC Authority</string>
|
||||||
|
<string name="server_lab_path">path</string>
|
||||||
|
<string name="server_lab_path_ws">ws path</string>
|
||||||
|
<string name="server_lab_path_httpupgrade">httpupgrade path</string>
|
||||||
|
<string name="server_lab_path_splithttp">splithttp path</string>
|
||||||
|
<string name="server_lab_path_h2">h2 path</string>
|
||||||
|
<string name="server_lab_path_quic">QUIC 加密金鑰</string>
|
||||||
|
<string name="server_lab_path_kcp">kcp seed</string>
|
||||||
|
<string name="server_lab_path_grpc">gRPC serviceName</string>
|
||||||
<string name="server_lab_stream_security">傳輸層安全 (TLS)</string>
|
<string name="server_lab_stream_security">傳輸層安全 (TLS)</string>
|
||||||
<string name="server_lab_allow_insecure">跳過憑證驗證 (allowInsecure)</string>
|
<string name="server_lab_allow_insecure">跳過憑證驗證 (allowInsecure)</string>
|
||||||
<string name="server_lab_sni">SNI</string>
|
<string name="server_lab_sni">SNI</string>
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
<item>kcp</item>
|
<item>kcp</item>
|
||||||
<item>ws</item>
|
<item>ws</item>
|
||||||
<item>httpupgrade</item>
|
<item>httpupgrade</item>
|
||||||
|
<item>splithttp</item>
|
||||||
<item>h2</item>
|
<item>h2</item>
|
||||||
<item>quic</item>
|
<item>quic</item>
|
||||||
<item>grpc</item>
|
<item>grpc</item>
|
||||||
|
|||||||
@@ -47,8 +47,22 @@
|
|||||||
<string name="server_lab_more_function">Transport</string>
|
<string name="server_lab_more_function">Transport</string>
|
||||||
<string name="server_lab_head_type">head type</string>
|
<string name="server_lab_head_type">head type</string>
|
||||||
<string name="server_lab_mode_type">gRPC mode</string>
|
<string name="server_lab_mode_type">gRPC mode</string>
|
||||||
<string name="server_lab_request_host">request host(host/ws host/httpupgrade host/h2 host)/QUIC security/gRPC Authority</string>
|
<string name="server_lab_request_host">host</string>
|
||||||
<string name="server_lab_path">path(ws path/httpupgrade path/h2 path)/QUIC key/kcp seed/gRPC serviceName</string>
|
<string name="server_lab_request_host_http">http host</string>
|
||||||
|
<string name="server_lab_request_host_ws">ws host</string>
|
||||||
|
<string name="server_lab_request_host_httpupgrade">httpupgrade host</string>
|
||||||
|
<string name="server_lab_request_host_splithttp">splithttp host</string>
|
||||||
|
<string name="server_lab_request_host_h2">h2 host</string>
|
||||||
|
<string name="server_lab_request_host_quic">QUIC security</string>
|
||||||
|
<string name="server_lab_request_host_grpc">gRPC Authority</string>
|
||||||
|
<string name="server_lab_path">path</string>
|
||||||
|
<string name="server_lab_path_ws">ws path</string>
|
||||||
|
<string name="server_lab_path_httpupgrade">httpupgrade path</string>
|
||||||
|
<string name="server_lab_path_splithttp">splithttp path</string>
|
||||||
|
<string name="server_lab_path_h2">h2 path</string>
|
||||||
|
<string name="server_lab_path_quic">QUIC key</string>
|
||||||
|
<string name="server_lab_path_kcp">kcp seed</string>
|
||||||
|
<string name="server_lab_path_grpc">gRPC serviceName</string>
|
||||||
<string name="server_lab_stream_security">TLS</string>
|
<string name="server_lab_stream_security">TLS</string>
|
||||||
<string name="server_lab_stream_fingerprint" translatable="false">Fingerprint</string>
|
<string name="server_lab_stream_fingerprint" translatable="false">Fingerprint</string>
|
||||||
<string name="server_lab_stream_alpn" translatable="false">Alpn</string>
|
<string name="server_lab_stream_alpn" translatable="false">Alpn</string>
|
||||||
|
|||||||
Reference in new issue
Block a user