|
@@ -618,8 +618,7 @@ o:depends({type = "v2ray", v2ray_protocol = "socks"})
|
|
|
|
|
|
|
|
-- 传输协议
|
|
-- 传输协议
|
|
|
o = s:option(ListValue, "transport", translate("Transport"))
|
|
o = s:option(ListValue, "transport", translate("Transport"))
|
|
|
-o:value("tcp", "TCP")
|
|
|
|
|
-o:value("raw", "RAW")
|
|
|
|
|
|
|
+o:value("raw", "RAW (TCP)")
|
|
|
o:value("kcp", "mKCP")
|
|
o:value("kcp", "mKCP")
|
|
|
o:value("ws", "WebSocket")
|
|
o:value("ws", "WebSocket")
|
|
|
o:value("httpupgrade", "HTTPUpgrade")
|
|
o:value("httpupgrade", "HTTPUpgrade")
|
|
@@ -635,17 +634,9 @@ o:depends({type = "v2ray", v2ray_protocol = "shadowsocks"})
|
|
|
o:depends({type = "v2ray", v2ray_protocol = "socks"})
|
|
o:depends({type = "v2ray", v2ray_protocol = "socks"})
|
|
|
o:depends({type = "v2ray", v2ray_protocol = "http"})
|
|
o:depends({type = "v2ray", v2ray_protocol = "http"})
|
|
|
|
|
|
|
|
--- [[ TCP部分 ]]--
|
|
|
|
|
|
|
+-- [[ RAW部分 ]]--
|
|
|
-- TCP伪装
|
|
-- TCP伪装
|
|
|
o = s:option(ListValue, "tcp_guise", translate("Camouflage Type"))
|
|
o = s:option(ListValue, "tcp_guise", translate("Camouflage Type"))
|
|
|
-o:depends("transport", "tcp")
|
|
|
|
|
-o:value("none", translate("None"))
|
|
|
|
|
-o:value("http", "HTTP")
|
|
|
|
|
-o.rmempty = true
|
|
|
|
|
-
|
|
|
|
|
--- [[ RAW部分 ]]--
|
|
|
|
|
--- RAW伪装
|
|
|
|
|
-o = s:option(ListValue, "raw_guise", translate("Camouflage Type"))
|
|
|
|
|
o:depends("transport", "raw")
|
|
o:depends("transport", "raw")
|
|
|
o:value("none", translate("None"))
|
|
o:value("none", translate("None"))
|
|
|
o:value("http", "HTTP")
|
|
o:value("http", "HTTP")
|
|
@@ -654,13 +645,11 @@ o.rmempty = true
|
|
|
-- HTTP域名
|
|
-- HTTP域名
|
|
|
o = s:option(Value, "http_host", translate("HTTP Host"))
|
|
o = s:option(Value, "http_host", translate("HTTP Host"))
|
|
|
o:depends("tcp_guise", "http")
|
|
o:depends("tcp_guise", "http")
|
|
|
-o:depends("raw_guise", "http")
|
|
|
|
|
o.rmempty = true
|
|
o.rmempty = true
|
|
|
|
|
|
|
|
-- HTTP路径
|
|
-- HTTP路径
|
|
|
o = s:option(Value, "http_path", translate("HTTP Path"))
|
|
o = s:option(Value, "http_path", translate("HTTP Path"))
|
|
|
o:depends("tcp_guise", "http")
|
|
o:depends("tcp_guise", "http")
|
|
|
-o:depends("raw_guise", "http")
|
|
|
|
|
o.rmempty = true
|
|
o.rmempty = true
|
|
|
|
|
|
|
|
-- [[ WS部分 ]]--
|
|
-- [[ WS部分 ]]--
|
|
@@ -943,9 +932,7 @@ if is_finded("xray") then
|
|
|
end
|
|
end
|
|
|
end
|
|
end
|
|
|
o.rmempty = true
|
|
o.rmempty = true
|
|
|
- o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "tcp", tls = true})
|
|
|
|
|
o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "raw", tls = true})
|
|
o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "raw", tls = true})
|
|
|
- o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "tcp", reality = true})
|
|
|
|
|
o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "raw", reality = true})
|
|
o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "raw", reality = true})
|
|
|
|
|
|
|
|
-- [[ uTLS ]]--
|
|
-- [[ uTLS ]]--
|