From e42182cde675ae78aebafbe528d8a101fef72b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=B0=8F=E5=B0=8F=E7=8C=AB=E4=BB=94?= Date: Wed, 7 Jan 2026 22:12:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=8F=AF=E8=83=BD=E4=BC=9A=E9=80=89=E5=88=B0=E2=80=9C?= =?UTF-8?q?=E5=89=A9=E4=BD=99=E6=B5=81=E9=87=8F=EF=BC=9Axxx=E2=80=9D?= =?UTF-8?q?=E3=80=81=E2=80=9C=E8=B7=9D=E7=A6=BB=E4=B8=8B=E6=AC=A1=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=EF=BC=9Axxx=E2=80=9D=E8=BF=99=E7=A7=8D=E5=9E=83?= =?UTF-8?q?=E5=9C=BE=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复自动选择可能会选到“剩余流量:xxx”、“距离下次重置:xxx”这种垃圾节点 --- .../ShellCrash_RS_Full_BanAds.json | 57 ++++++++++--------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/rules/singbox_providers/ShellCrash_RS_Full_BanAds.json b/rules/singbox_providers/ShellCrash_RS_Full_BanAds.json index 567a6094..f303be96 100644 --- a/rules/singbox_providers/ShellCrash_RS_Full_BanAds.json +++ b/rules/singbox_providers/ShellCrash_RS_Full_BanAds.json @@ -1,10 +1,10 @@ -//ShellCrash-ruleset 全分组规则+去广告 For Sing-box By Maozai 251231 +//ShellCrash-ruleset 全分组规则+去广告 For Sing-box By Maozai 260107 { "outbounds": [ { "tag": "🚀 节点选择", "type": "selector", "outbounds": ["♻️ 自动选择", "✨ 自动选择(去高倍率)", "🛠️ 手动切换", "🎯 本地直连", "🇭🇰 香港节点", "🇹🇼 台湾节点", "🇺🇸 美国节点", "🇯🇵 日本节点", "🇪🇺 欧洲节点", "🇰🇷 韩国节点", "🇸🇬 狮城节点", "👑 高级节点", "📉 省流节点", {providers_tags}] }, { "tag": "🛠️ 手动切换", "type": "selector", "use_all_providers": true, "outbounds": ["🎯 本地直连", "🇭🇰 香港节点", "🇹🇼 台湾节点", "🇺🇸 美国节点", "🇯🇵 日本节点", "🇪🇺 欧洲节点", "🇰🇷 韩国节点", "🇸🇬 狮城节点", "👑 高级节点", "📉 省流节点", {providers_tags}] }, - { "tag": "♻️ 自动选择", "type": "urltest", "use_all_providers": true }, - { "tag": "✨ 自动选择(去高倍率)", "type": "urltest", "use_all_providers": true, "exclude": "(?i)(专线|专用|高级|直连|急速|高速|高倍率|游戏|铂金|钻石|企业|VIP|Ultra|Game|IEPL|IPLC|AIA|BGP|GIA|CN2|CMI|HGC|HKT|CTM|CC|AC|x([2-9]|[0-9][0-9]+))" }, + { "tag": "♻️ 自动选择", "type": "urltest", "use_all_providers": true, "exclude": "(?i)(剩余|重置|到期|防失联|官网|导航|客服|http|www)" }, + { "tag": "✨ 自动选择(去高倍率)", "type": "urltest", "use_all_providers": true, "exclude": "(?i)(剩余|重置|到期|防失联|官网|导航|客服|http|www|专线|专用|高级|直连|急速|高速|高倍率|游戏|铂金|钻石|企业|VIP|Ultra|Game|IEPL|IPLC|AIA|BGP|GIA|CN2|CMI|HGC|HKT|CTM|CC|AC|x([2-9]|[0-9][0-9]+))" }, { "tag": "🤖 AI 平台", "type": "selector", "outbounds": ["🚀 节点选择", "🤖 AI节点(过滤港澳)", "🎯 本地直连", "♻️ 自动选择", "🛠️ 手动切换", "🇭🇰 香港节点", "🇹🇼 台湾节点", "🇺🇸 美国节点", "🇯🇵 日本节点", "🇪🇺 欧洲节点", "🇰🇷 韩国节点", "🇸🇬 狮城节点", "👑 高级节点", "📉 省流节点", {providers_tags}] }, { "tag": "🤖 AI节点(过滤港澳)", "type": "urltest", "use_all_providers": true, "exclude": "(?i)(🇭🇰|港|🇲🇴|澳门|hk|hongkong|hong kong)" }, @@ -49,6 +49,9 @@ ], "route": { "rules": [ + { "domain_suffix": ["captive.apple.com"], "outbound": "DIRECT" }, + { "domain_suffix": ["kamo.teracloud.jp"], "outbound": "DIRECT" }, + { "rule_set": ["private"], "outbound": "🎯 本地直连" }, { "rule_set": ["ads"], "outbound": "🛑 广告拦截" }, @@ -74,7 +77,7 @@ { "rule_set": ["privateip"], "outbound": "🎯 本地直连" }, { "rule_set": ["telegramip"], "outbound": "📲 电报消息" }, - { "action": "resolve", "server": "dns_proxy", "strategy": "prefer_ipv4", "match_only": true}, + { "action": "resolve", "server": "dns_proxy", "strategy": "prefer_ipv4" }, { "rule_set": ["gamesip"], "outbound": "🎮 外服游戏" }, { "rule_set": ["mediaip"], "outbound": "🌍 国际媒体" }, { "rule_set": ["cnip"], "outbound": "🀄️ 国内流量" } @@ -85,7 +88,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/private.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/private.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/private.srs", "download_detour": "DIRECT" }, { @@ -93,7 +96,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/ads.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/ads.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/ads.srs", "download_detour": "DIRECT" }, { @@ -101,7 +104,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/networktest.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/networktest.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/networktest.srs", "download_detour": "DIRECT" }, { @@ -109,7 +112,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/applications.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/applications.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/applications.srs", "download_detour": "DIRECT" }, { @@ -117,7 +120,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/trackerslist.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/trackerslist.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/trackerslist.srs", "download_detour": "DIRECT" }, { @@ -125,7 +128,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/apple-cn.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/apple-cn.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/apple-cn.srs", "download_detour": "DIRECT" }, { @@ -133,7 +136,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/microsoft-cn.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/microsoft-cn.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/microsoft-cn.srs", "download_detour": "DIRECT" }, { @@ -141,7 +144,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/google-cn.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/google-cn.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/google-cn.srs", "download_detour": "DIRECT" }, { @@ -149,7 +152,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/steamcn.srs", - "url": "https://fastly.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@refs/heads/sing/geo/geosite/steam%40cn.srs", + "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@refs/heads/sing/geo/geosite/steam%40cn.srs", "download_detour": "DIRECT" }, { @@ -157,7 +160,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/games-cn.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/games-cn.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/games-cn.srs", "download_detour": "DIRECT" }, { @@ -165,7 +168,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/googlefcm.srs", - "url": "https://fastly.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@refs/heads/sing/geo/geosite/googlefcm.srs", + "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@refs/heads/sing/geo/geosite/googlefcm.srs", "download_detour": "DIRECT" }, { @@ -173,7 +176,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/netflix.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/netflix.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/netflix.srs", "download_detour": "DIRECT" }, { @@ -181,7 +184,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/youtube.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/youtube.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/youtube.srs", "download_detour": "DIRECT" }, { @@ -189,7 +192,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/ai.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/ai.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/ai.srs", "download_detour": "DIRECT" }, { @@ -197,7 +200,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/media.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/media.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/media.srs", "download_detour": "DIRECT" }, { @@ -205,7 +208,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/games.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/games.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/games.srs", "download_detour": "DIRECT" }, { @@ -213,7 +216,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/proxy.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/proxy.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/proxy.srs", "download_detour": "DIRECT" }, { @@ -221,7 +224,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/cn.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/cn.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/cn.srs", "download_detour": "DIRECT" }, { @@ -229,7 +232,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/privateip.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/privateip.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/privateip.srs", "download_detour": "DIRECT" }, { @@ -237,7 +240,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/telegramip.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/telegramip.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/telegramip.srs", "download_detour": "DIRECT" }, { @@ -245,7 +248,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/gamesip.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/gamesip.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/gamesip.srs", "download_detour": "DIRECT" }, { @@ -253,7 +256,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/mediaip.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/mediaip.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/mediaip.srs", "download_detour": "DIRECT" }, { @@ -261,7 +264,7 @@ "type": "remote", "format": "binary", "path": "./ruleset/cnip.srs", - "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@sing-box-ruleset/cnip.srs", + "url": "https://testingcf.jsdelivr.net/gh/DustinWin/ruleset_geodata@refs/heads/sing-box-ruleset/cnip.srs", "download_detour": "DIRECT" } ],