|
@@ -619,6 +619,7 @@ o:depends({type = "v2ray", v2ray_protocol = "socks"})
|
|
|
-- 传输协议
|
|
|
o = s:option(ListValue, "transport", translate("Transport"))
|
|
|
o:value("tcp", "TCP")
|
|
|
+o:value("raw", "RAW")
|
|
|
o:value("kcp", "mKCP")
|
|
|
o:value("ws", "WebSocket")
|
|
|
o:value("httpupgrade", "HTTPUpgrade")
|
|
@@ -642,14 +643,24 @@ 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:value("none", translate("None"))
|
|
|
+o:value("http", "HTTP")
|
|
|
+o.rmempty = true
|
|
|
+
|
|
|
-- HTTP域名
|
|
|
o = s:option(Value, "http_host", translate("HTTP Host"))
|
|
|
o:depends("tcp_guise", "http")
|
|
|
+o:depends("raw_guise", "http")
|
|
|
o.rmempty = true
|
|
|
|
|
|
-- HTTP路径
|
|
|
o = s:option(Value, "http_path", translate("HTTP Path"))
|
|
|
o:depends("tcp_guise", "http")
|
|
|
+o:depends("raw_guise", "http")
|
|
|
o.rmempty = true
|
|
|
|
|
|
-- [[ WS部分 ]]--
|
|
@@ -928,7 +939,9 @@ if is_finded("xray") then
|
|
|
end
|
|
|
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 = "tcp", reality = true})
|
|
|
+ o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "raw", reality = true})
|
|
|
|
|
|
-- [[ uTLS ]]--
|
|
|
o = s:option(Value, "fingerprint", translate("Finger Print"))
|