diff --git a/daed/Makefile b/daed/Makefile index 663ecbce..62ffcb5c 100644 --- a/daed/Makefile +++ b/daed/Makefile @@ -5,8 +5,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=daed -PKG_VERSION:=2026.05.18 -DAED_VERSION:=daed-1e35217 +PKG_VERSION:=2026.05.22 +DAED_VERSION:=daed-4d6a433 WING_VERSION:=wing-dc50308 CORE_VERSION:=core-44f8f0d WING_HASH_SHORT:=$(shell echo $(WING_VERSION) | cut -d- -f2) @@ -15,7 +15,7 @@ PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_PROTO:=git -PKG_SOURCE_VERSION:=1e35217375eb11f4fe1c4c4dae60cce9d99ee466 +PKG_SOURCE_VERSION:=4d6a43331f2f6e25961935b9e7ac09a7568bb2b4 PKG_SOURCE_URL:=https://github.com/daeuniverse/daed.git PKG_MIRROR_HASH:=skip diff --git a/luci-app-passwall2/root/usr/share/passwall2/subscribe.lua b/luci-app-passwall2/root/usr/share/passwall2/subscribe.lua index a1dd677b..c374fb43 100755 --- a/luci-app-passwall2/root/usr/share/passwall2/subscribe.lua +++ b/luci-app-passwall2/root/usr/share/passwall2/subscribe.lua @@ -664,6 +664,11 @@ local function parseClashNode(node, add_mode, group, sub_cfg) result.tls_allowInsecure = "1" end end + if node.tls and node["reality-opts"] and node["reality-opts"]["public-key"] then + result.reality = "1" + result.reality_publicKey = (node["reality-opts"] and node["reality-opts"]["public-key"]) or nil + result.reality_shortId = (node["reality-opts"] and node["reality-opts"]["short-id"]) or nil + end result.transport = node.network and string.lower(node.network) or "tcp" if result.type == "sing-box" and result.transport == "raw" then result.transport = "tcp"