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

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

@@ -5,7 +5,7 @@ proxy-groups:
- {name: 🤖 人工智能, type: select, proxies: [🚀 节点选择, 🇭🇰 香港节点, 🇹🇼 台湾节点, 🇯🇵 日本节点, 🇸🇬 新加坡节点, 🇺🇸 美国节点]}
- {name: 🇨🇳 直连 IP, type: select, proxies: [🎯 全球直连, 🚀 节点选择]}
- {name: 🧱 代理域名, type: select, proxies: [🚀 节点选择, 🎯 全球直连]}
- {name: 📲 电报息, type: select, proxies: [🚀 节点选择, 🇭🇰 香港节点, 🇹🇼 台湾节点, 🇯🇵 日本节点, 🇸🇬 新加坡节点, 🇺🇸 美国节点, {providers_tags}]}
- {name: 📲 电报息, type: select, proxies: [🚀 节点选择, 🇭🇰 香港节点, 🇹🇼 台湾节点, 🇯🇵 日本节点, 🇸🇬 新加坡节点, 🇺🇸 美国节点, {providers_tags}]}
- {name: 🔒 私有网络, type: select, proxies: [🎯 全球直连]}
- {name: 🎯 全球直连, type: select, proxies: [DIRECT]}
- {name: 👍 高级节点, type: url-test, tolerance: 100, lazy: true, include-all-providers: true, filter: "(?i)(专线|专用|高级|直连|急速|高倍率|游戏|game|IEPL|IPLC|AIA|CTM|CC|AC)"}
@@ -33,6 +33,14 @@ rule-providers:
url: "https://github.com/DustinWin/ruleset_geodata/releases/download/mihomo-ruleset/ai.mrs"
interval: 86400
tld-proxy:
type: http
behavior: domain
format: mrs
path: ./rules/tld-proxy.mrs
url: "https://github.com/DustinWin/ruleset_geodata/releases/download/mihomo-ruleset/tld-proxy.mrs"
interval: 86400
proxy:
type: http
behavior: domain
@@ -68,8 +76,9 @@ rule-providers:
rules:
- RULE-SET,private,🔒 私有网络
- RULE-SET,ai,🤖 人工智能
- RULE-SET,tld-proxy,🧱 代理域名
- RULE-SET,proxy,🧱 代理域名
- RULE-SET,telegramip,📲 电报息,no-resolve
- RULE-SET,telegramip,📲 电报息,no-resolve
- RULE-SET,privateip,🔒 私有网络,no-resolve
- RULE-SET,cnip,🇨🇳 直连 IP
- MATCH,🐟 漏网之鱼