feat(脚本): 优化clashmeta dns泄漏问题、优化规则访问速度

pull/717/head
mack-a 2023-06-19 22:00:39 +08:00
parent 70854be489
commit 871f183ddd
1 changed files with 12 additions and 39 deletions

View File

@ -7121,7 +7121,6 @@ proxy-groups:
proxies:
- 节点选择
- 自动选择
- name: Disney
type: select
use:
@ -7227,18 +7226,6 @@ rule-providers:
url: https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/telegramcidr.txt
path: ./ruleset/telegramcidr.yaml
interval: 86400
cncidr:
type: http
behavior: ipcidr
url: https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/cncidr.txt
path: ./ruleset/cncidr.yaml
interval: 86400
lancidr:
type: http
behavior: ipcidr
url: https://ghproxy.com/https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/lancidr.txt
path: ./ruleset/lancidr.yaml
interval: 86400
applications:
type: http
behavior: classical
@ -7299,43 +7286,36 @@ rule-providers:
url: https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Spotify/Spotify.yaml
path: ./ruleset/spotify.yaml
interval: 86400
ChinaMax:
type: http
behavior: classical
interval: 86400
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMax.yaml
path: ./Rules/ChinaMax.yaml
ChinaMaxDomain:
type: http
behavior: domain
interval: 86400
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMaxDomain.yaml
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMax_Domain.yaml
path: ./Rules/ChinaMaxDomain.yaml
ChinaMaxIPNoIPv6:
type: http
behavior: ipcidr
interval: 86400
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMaxIPNoIPv6.yaml
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMax_IP_No_IPv6.yaml
path: ./Rules/ChinaMaxIPNoIPv6.yaml
rules:
- GEOIP,LAN,本地直连
- GEOIP,CN,本地直连
- RULE-SET,applications,本地直连
- RULE-SET,direct,本地直连
- RULE-SET,lancidr,本地直连
- RULE-SET,cncidr,本地直连
- RULE-SET,Google,Google,no-resolve
- RULE-SET,YouTube,YouTube,no-resolve
- RULE-SET,GitHub,GitHub
- RULE-SET,telegramcidr,Telegram
- RULE-SET,YouTube,YouTube
- RULE-SET,Spotify,Spotify
- RULE-SET,telegramcidr,Telegram,no-resolve
- RULE-SET,Spotify,Spotify,no-resolve
- RULE-SET,Netflix,Netflix
- RULE-SET,HBO,HBO
- RULE-SET,Bing,Bing
- RULE-SET,OpenAI,OpenAI
- RULE-SET,Disney,Disney
- RULE-SET,Google,Google
- RULE-SET,proxy,全球代理
- RULE-SET,gfw,全球代理
- RULE-SET,applications,本地直连
- RULE-SET,ChinaMaxDomain,本地直连
- GEOIP,LAN,本地直连,no-resolve
- GEOIP,CN,本地直连,no-resolve
- GEOIP,ChinaMaxIPNoIPv6,本地直连,no-resolve
- MATCH,漏网之鱼
EOF
@ -7782,7 +7762,7 @@ menu() {
cd "$HOME" || exit
echoContent red "\n=============================================================="
echoContent green "作者mack-a"
echoContent green "当前版本v2.9.18"
echoContent green "当前版本v2.9.19"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c"
showInstallStatus
@ -7861,15 +7841,8 @@ menu() {
10)
updateV2RayCDN 1
;;
# 10)
# ipv6Routing 1
# ;;
# 11)
# warpRouting 1
# ;;
11)
routingToolsMenu 1
# streamingToolbox 1
;;
12)
addCorePort 1