🗽 Sync 2026-04-06 20:29:39

This commit is contained in:
github-actions[bot] committed 2026-04-06 20:29:39 +08:00
1 parent 6a2649ff3d
commit ebf783522c
4 files changed
+18 -6

No files matched your search

@@ -121,7 +121,6 @@ o = s:option(ListValue, _n("flow"), translate("flow"))
o.default = "" o.default = ""
o:value("", translate("Disable")) o:value("", translate("Disable"))
o:value("xtls-rprx-vision") o:value("xtls-rprx-vision")
o:value("xtls-rprx-vision-udp443")
o:depends({ [_n("protocol")] = "vless" }) o:depends({ [_n("protocol")] = "vless" })
---- [[ hysteria2 ]] ---- [[ hysteria2 ]]
@@ -1813,7 +1813,9 @@ function gen_config(var)
table.insert(dns.rules, { table.insert(dns.rules, {
query_type = { "A", "AAAA" }, query_type = { "A", "AAAA" },
server = fakedns_tag, server = fakedns_tag,
disable_cache = true disable_cache = true,
rewrite_ttl = 30,
strategy = remote_strategy
}) })
end end
end end
@@ -1047,14 +1047,25 @@ function gen_config(var)
else else
local preproxy_node = get_node_by_id(node.preproxy_node) local preproxy_node = get_node_by_id(node.preproxy_node)
if preproxy_node then if preproxy_node then
local preproxy_outbound = gen_outbound(node[".name"], preproxy_node) local preproxy_outbound, exist
if preproxy_node.protocol == "_balancing" then
local balancer_tag, loopback_outbound = gen_balancer(preproxy_node)
if loopback_outbound then
preproxy_outbound = loopback_outbound
exist = true
end
else
preproxy_outbound = gen_outbound(node[".name"], preproxy_node)
end
if preproxy_outbound then if preproxy_outbound then
outbound.tag = preproxy_outbound.tag .. " -> " .. outbound.tag outbound.tag = preproxy_outbound.tag .. " -> " .. outbound.tag
outbound.proxySettings = { outbound.proxySettings = {
tag = preproxy_outbound.tag, tag = preproxy_outbound.tag,
transportLayer = true transportLayer = true
} }
last_insert_outbound = preproxy_outbound if not exist then
last_insert_outbound = preproxy_outbound
end
default_outTag = outbound.tag default_outTag = outbound.tag
end end
end end
+2 -2
View File
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=netdata PKG_NAME:=netdata
PKG_VERSION:=2.9.0 PKG_VERSION:=2.9.0
PKG_RELEASE:=3 PKG_RELEASE:=4
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>, Daniel Engberg <daniel.engberg.lists@pyret.net> PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>, Daniel Engberg <daniel.engberg.lists@pyret.net>
PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE:=GPL-3.0-or-later
@@ -35,7 +35,7 @@ include $(INCLUDE_DIR)/nls.mk
define Package/netdata define Package/netdata
SECTION:=admin SECTION:=admin
CATEGORY:=Administration CATEGORY:=Administration
DEPENDS:=+zlib +libuuid +libuv +libmnl +liblz4 +libjson-c +libyaml +libopenssl +libcurl +protobuf +libzstd +libpcre2 DEPENDS:=+zlib +libuuid +libuv +libmnl +liblz4 +libjson-c +libyaml +libopenssl +libcurl +protobuf +libzstd
TITLE:=Real-time performance monitoring tool TITLE:=Real-time performance monitoring tool
URL:=https://www.netdata.cloud/ URL:=https://www.netdata.cloud/
PROVIDES:=netdata-ssl PROVIDES:=netdata-ssl