优化广告拦截;提高直连和代理规则的匹配效率

This commit is contained in:
DustinWin
2025-02-12 09:44:42 +08:00
parent e5ce8c09e2
commit 4247384298
10 changed files with 89 additions and 28 deletions

View File

@@ -12,7 +12,7 @@
{ "tag": "🇨🇳 直连域名", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
{ "tag": "🇨🇳 直连 IP", "type": "selector", "outbounds": [ "🎯 全球直连", "🚀 节点选择" ] },
{ "tag": "🧱 代理域名", "type": "selector", "outbounds": [ "🚀 节点选择", "🎯 全球直连" ] },
{ "tag": "📲 电报息", "type": "selector", "outbounds": [ "🚀 节点选择", "🇭🇰 香港节点", "🇹🇼 台湾节点", "🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
{ "tag": "📲 电报息", "type": "selector", "outbounds": [ "🚀 节点选择", "🇭🇰 香港节点", "🇹🇼 台湾节点", "🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点" ] },
{ "tag": "🔒 私有网络", "type": "selector", "outbounds": [ "🎯 全球直连" ] },
{ "tag": "🎯 全球直连", "type": "selector", "outbounds": [ "DIRECT" ] },
{ "tag": "GLOBAL", "type": "selector", "outbounds": [ "DIRECT", "🇭🇰 香港节点", "🇹🇼 台湾节点", "🇯🇵 日本节点", "🇸🇬 新加坡节点", "🇺🇸 美国节点", "👍 高级节点", "📺 省流节点", {providers_tags} ] },
@@ -38,8 +38,9 @@
{ "rule_set": [ "ai" ], "outbound": "🤖 人工智能" },
{ "rule_set": [ "networktest" ], "outbound": "📈 网络测试" },
{ "rule_set": [ "proxy" ], "outbound": "🧱 代理域名" },
{ "rule_set": [ "tld-cn" ], "outbound": "🇨🇳 直连域名" },
{ "rule_set": [ "cn" ], "outbound": "🇨🇳 直连域名" },
{ "rule_set": [ "telegramip" ], "outbound": "📲 电报息", "skip_resolve": true },
{ "rule_set": [ "telegramip" ], "outbound": "📲 电报息", "skip_resolve": true },
{ "rule_set": [ "privateip" ], "outbound": "🔒 私有网络", "skip_resolve": true },
{ "rule_set": [ "cnip" ], "outbound": "🇨🇳 直连 IP" }
],
@@ -100,6 +101,13 @@
"path": "./proxy.srs",
"url": "https://github.com/DustinWin/ruleset_geodata/releases/download/sing-box-ruleset-compatible-compatible/proxy.srs"
},
{
"tag": "tld-cn",
"type": "remote",
"format": "binary",
"path": "./ruleset/tld-cn.srs",
"url": "https://github.com/DustinWin/ruleset_geodata/releases/download/sing-box-ruleset/tld-cn.srs"
},
{
"tag": "cn",
"type": "remote",