Skip to content

anytls 忘记计算hashkey了 #2033

Description

@yinzhefuyun

/usr/share/shadowsocksr/subscribe.lua的anytls_to_mihomo_node方法忘记计算hashkey了改成
`local function anytls_to_mihomo_node(entry)
if not entry then
return nil
end

local result = {
	type = "anytls",
	alias = entry.name,
	raw_alias = entry.name,
	server = entry.server,
	server_port = entry.port,
	password = entry.password,
	tls_host = entry.sni,
	insecure = entry.allow_insecure and "1" or "0",
	fingerprint = entry.client_fingerprint
}

local saved_alias = result.alias
result.alias = nil
result.hashkey = md5(jsonStringify(result) .. "_" .. (saved_alias or ""))
result.alias = saved_alias
return result

end`
就好了
还有没有勾选【启用 Mihomo 核心】时候订阅出来独立的anytls好像不能应用节点

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions