Update On Fri Oct 24 20:39:48 CEST 2025

This commit is contained in:
github-action[bot]
2025-10-24 20:39:49 +02:00
parent e8b76761e1
commit bf9e802a78
558 changed files with 7599 additions and 27751 deletions

View File

@@ -83,6 +83,10 @@ o = s:option(Value, _n("decryption"), translate("Encrypt Method") .. " (decrypti
o.default = "none"
o.placeholder = "none"
o:depends({ [_n("protocol")] = "vless" })
o.validate = function(self, value)
value = api.trim(value)
return (value == "" and "none" or value)
end
o = s:option(ListValue, _n("x_ss_method"), translate("Encrypt Method"))
o.rewrite_option = "method"

View File

@@ -241,7 +241,7 @@ function gen_outbound(flag, node, tag, proxy_table)
id = node.uuid,
level = 0,
security = (node.protocol == "vmess") and node.security or nil,
encryption = (node.encryption and node.encryption ~= "") and node.encryption or "none",
encryption = (node.protocol == "vless") and ((node.encryption and node.encryption ~= "") and node.encryption or "none") or nil,
flow = (node.protocol == "vless"
and (node.tls == "1" or (node.encryption and node.encryption ~= "" and node.encryption ~= "none"))
and (node.transport == "raw" or node.transport == "tcp" or node.transport == "xhttp")
@@ -321,7 +321,7 @@ function gen_config_server(node)
end
settings = {
clients = clients,
decryption = node.decryption or "none"
decryption = (node.protocol == "vless") and ((node.decryption and node.decryption ~= "") and node.decryption or "none") or nil
}
end
elseif node.protocol == "socks" then