From 59e39e644aba42c6988ebc687d326856f4076225 Mon Sep 17 00:00:00 2001 From: lhie1 Date: Fri, 18 Sep 2020 14:06:04 +0800 Subject: [PATCH] Update --- Clash/Rule.yaml | 8 +-- Shadowrocket/Complete.conf | 91 ++++++++++++++++----------------- Surfboard/Rule.conf | 91 ++++++++++++++++----------------- Surge/Surge 2/Rule.conf | 102 ++++++++++++++++++------------------- Surge/Surge 3/Rule.conf | 4 +- 5 files changed, 149 insertions(+), 147 deletions(-) diff --git a/Clash/Rule.yaml b/Clash/Rule.yaml index 964b7dd..7f71408 100644 --- a/Clash/Rule.yaml +++ b/Clash/Rule.yaml @@ -49,9 +49,11 @@ - RULE-SET,Microsoft,Microsoft - RULE-SET,PROXY,Proxy + +- RULE-SET,Apple,Apple + - RULE-SET,Domestic,Domestic - RULE-SET,Domestic IPs,Domestic -- RULE-SET,Apple,Apple - GEOIP,CN,Domestic - MATCH,Others @@ -103,9 +105,9 @@ script: "PayPal": "PayPal", "Microsoft": "Microsoft", "PROXY": "Proxy", - "Domestic": "Domestic", - "Domestic IPs": "Domestic", "Apple": "Apple" + "Domestic": "Domestic", + "Domestic IPs": "Domestic" } port = int(metadata["dst_port"]) diff --git a/Shadowrocket/Complete.conf b/Shadowrocket/Complete.conf index 92dc125..75e7503 100644 --- a/Shadowrocket/Complete.conf +++ b/Shadowrocket/Complete.conf @@ -10392,6 +10392,51 @@ IP-CIDR,208.43.0.0/16,PROXY +# > Apple API +DOMAIN-SUFFIX,aaplimg.com,PROXY +DOMAIN-SUFFIX,Proxy.co,PROXY +DOMAIN-SUFFIX,Proxy.com,PROXY +DOMAIN-SUFFIX,Proxy-cloudkit.com,PROXY +DOMAIN-SUFFIX,appsto.re,PROXY +DOMAIN-SUFFIX,cdn-apple.com,PROXY +DOMAIN-SUFFIX,icloud.com,PROXY +DOMAIN-SUFFIX,icloud-content.com,PROXY +DOMAIN-SUFFIX,itunes.com,PROXY +DOMAIN-SUFFIX,me.com,PROXY +IP-CIDR,17.0.0.0/8,PROXY +IP-CIDR,63.92.224.0/19,PROXY +IP-CIDR,65.199.22.0/23,PROXY +IP-CIDR,139.178.128.0/18,PROXY +IP-CIDR,144.178.0.0/19,PROXY +IP-CIDR,144.178.36.0/22,PROXY +IP-CIDR,144.178.48.0/20,PROXY +IP-CIDR,192.35.50.0/24,PROXY +IP-CIDR,198.183.17.0/24,PROXY +IP-CIDR,205.180.175.0/24,PROXY + +# > Apple News +DOMAIN-SUFFIX,Proxy.news,PROXY + +# > Apple CDN +PROCESS-NAME,storedownloadd,DIRECT +USER-AGENT,com.apple.appstored*,DIRECT +DOMAIN,aod.itunes.apple.com,DIRECT +DOMAIN,api.smoot.apple.cn,DIRECT +DOMAIN,appldnld.apple.com,DIRECT +DOMAIN,apptrailers.itunes.apple.com,DIRECT +DOMAIN,gs-loc-cn.apple.com,DIRECT +DOMAIN,iosapps.itunes.apple.com,DIRECT +DOMAIN,music.apple.com,DIRECT +DOMAIN,mvod.itunes.apple.com,DIRECT +DOMAIN,osxapps.itunes.apple.com,DIRECT +DOMAIN,supportdownload.apple.com,DIRECT +DOMAIN,swcdn.apple.com,DIRECT +DOMAIN,updates-http.cdn-apple.com,DIRECT +DOMAIN-SUFFIX,ls.apple.com,DIRECT +DOMAIN-SUFFIX,mzstatic.com,DIRECT + + + # > Beplay DOMAIN-KEYWORD,beplay,DIRECT @@ -17293,52 +17338,6 @@ DOMAIN-SUFFIX,cn,DIRECT -# > Apple API -DOMAIN-SUFFIX,aaplimg.com,PROXY -DOMAIN-SUFFIX,Proxy.co,PROXY -DOMAIN-SUFFIX,Proxy.com,PROXY -DOMAIN-SUFFIX,Proxy-cloudkit.com,PROXY -DOMAIN-SUFFIX,appsto.re,PROXY -DOMAIN-SUFFIX,cdn-apple.com,PROXY -DOMAIN-SUFFIX,icloud.com,PROXY -DOMAIN-SUFFIX,icloud-content.com,PROXY -DOMAIN-SUFFIX,itunes.com,PROXY -DOMAIN-SUFFIX,me.com,PROXY -IP-CIDR,17.0.0.0/8,PROXY -IP-CIDR,63.92.224.0/19,PROXY -IP-CIDR,65.199.22.0/23,PROXY -IP-CIDR,139.178.128.0/18,PROXY -IP-CIDR,144.178.0.0/19,PROXY -IP-CIDR,144.178.36.0/22,PROXY -IP-CIDR,144.178.48.0/20,PROXY -IP-CIDR,192.35.50.0/24,PROXY -IP-CIDR,198.183.17.0/24,PROXY -IP-CIDR,205.180.175.0/24,PROXY - -# > Apple News -DOMAIN-SUFFIX,Proxy.news,PROXY - -# > Apple CDN -PROCESS-NAME,storedownloadd,DIRECT -USER-AGENT,com.apple.appstored*,DIRECT -DOMAIN,aod.itunes.apple.com,DIRECT -DOMAIN,api.smoot.apple.cn,DIRECT -DOMAIN,appldnld.apple.com,DIRECT -DOMAIN,apptrailers.itunes.apple.com,DIRECT -DOMAIN,gs-loc-cn.apple.com,DIRECT -DOMAIN,iosapps.itunes.apple.com,DIRECT -DOMAIN,music.apple.com,DIRECT -DOMAIN,mvod.itunes.apple.com,DIRECT -DOMAIN,osxapps.itunes.apple.com,DIRECT -DOMAIN,supportdownload.apple.com,DIRECT -DOMAIN,swcdn.apple.com,DIRECT -DOMAIN,updates-http.cdn-apple.com,DIRECT -DOMAIN-SUFFIX,ls.apple.com,DIRECT -DOMAIN-SUFFIX,mzstatic.com,DIRECT - - - - IP-CIDR,10.0.0.0/8,DIRECT IP-CIDR,100.64.0.0/10,DIRECT IP-CIDR,127.0.0.0/8,DIRECT diff --git a/Surfboard/Rule.conf b/Surfboard/Rule.conf index a05723e..011d120 100644 --- a/Surfboard/Rule.conf +++ b/Surfboard/Rule.conf @@ -10385,6 +10385,51 @@ IP-CIDR,208.43.0.0/16,Proxy +# > Apple API +DOMAIN-SUFFIX,aaplimg.com,Proxy +DOMAIN-SUFFIX,Proxy.co,Proxy +DOMAIN-SUFFIX,Proxy.com,Proxy +DOMAIN-SUFFIX,Proxy-cloudkit.com,Proxy +DOMAIN-SUFFIX,appsto.re,Proxy +DOMAIN-SUFFIX,cdn-apple.com,Proxy +DOMAIN-SUFFIX,icloud.com,Proxy +DOMAIN-SUFFIX,icloud-content.com,Proxy +DOMAIN-SUFFIX,itunes.com,Proxy +DOMAIN-SUFFIX,me.com,Proxy +IP-CIDR,17.0.0.0/8,Proxy +IP-CIDR,63.92.224.0/19,Proxy +IP-CIDR,65.199.22.0/23,Proxy +IP-CIDR,139.178.128.0/18,Proxy +IP-CIDR,144.178.0.0/19,Proxy +IP-CIDR,144.178.36.0/22,Proxy +IP-CIDR,144.178.48.0/20,Proxy +IP-CIDR,192.35.50.0/24,Proxy +IP-CIDR,198.183.17.0/24,Proxy +IP-CIDR,205.180.175.0/24,Proxy + +# > Apple News +DOMAIN-SUFFIX,Proxy.news,Proxy + +# > Apple CDN +# PROCESS-NAME,storedownloadd,DIRECT +# USER-AGENT,com.apple.appstored*,DIRECT +DOMAIN,aod.itunes.apple.com,DIRECT +DOMAIN,api.smoot.apple.cn,DIRECT +DOMAIN,appldnld.apple.com,DIRECT +DOMAIN,apptrailers.itunes.apple.com,DIRECT +DOMAIN,gs-loc-cn.apple.com,DIRECT +DOMAIN,iosapps.itunes.apple.com,DIRECT +DOMAIN,music.apple.com,DIRECT +DOMAIN,mvod.itunes.apple.com,DIRECT +DOMAIN,osxapps.itunes.apple.com,DIRECT +DOMAIN,supportdownload.apple.com,DIRECT +DOMAIN,swcdn.apple.com,DIRECT +DOMAIN,updates-http.cdn-apple.com,DIRECT +DOMAIN-SUFFIX,ls.apple.com,DIRECT +DOMAIN-SUFFIX,mzstatic.com,DIRECT + + + # > Beplay DOMAIN-KEYWORD,beplay,DIRECT @@ -17278,52 +17323,6 @@ DOMAIN-SUFFIX,cn,DIRECT -# > Apple API -DOMAIN-SUFFIX,aaplimg.com,Proxy -DOMAIN-SUFFIX,Proxy.co,Proxy -DOMAIN-SUFFIX,Proxy.com,Proxy -DOMAIN-SUFFIX,Proxy-cloudkit.com,Proxy -DOMAIN-SUFFIX,appsto.re,Proxy -DOMAIN-SUFFIX,cdn-apple.com,Proxy -DOMAIN-SUFFIX,icloud.com,Proxy -DOMAIN-SUFFIX,icloud-content.com,Proxy -DOMAIN-SUFFIX,itunes.com,Proxy -DOMAIN-SUFFIX,me.com,Proxy -IP-CIDR,17.0.0.0/8,Proxy -IP-CIDR,63.92.224.0/19,Proxy -IP-CIDR,65.199.22.0/23,Proxy -IP-CIDR,139.178.128.0/18,Proxy -IP-CIDR,144.178.0.0/19,Proxy -IP-CIDR,144.178.36.0/22,Proxy -IP-CIDR,144.178.48.0/20,Proxy -IP-CIDR,192.35.50.0/24,Proxy -IP-CIDR,198.183.17.0/24,Proxy -IP-CIDR,205.180.175.0/24,Proxy - -# > Apple News -DOMAIN-SUFFIX,Proxy.news,Proxy - -# > Apple CDN -# PROCESS-NAME,storedownloadd,DIRECT -# USER-AGENT,com.apple.appstored*,DIRECT -DOMAIN,aod.itunes.apple.com,DIRECT -DOMAIN,api.smoot.apple.cn,DIRECT -DOMAIN,appldnld.apple.com,DIRECT -DOMAIN,apptrailers.itunes.apple.com,DIRECT -DOMAIN,gs-loc-cn.apple.com,DIRECT -DOMAIN,iosapps.itunes.apple.com,DIRECT -DOMAIN,music.apple.com,DIRECT -DOMAIN,mvod.itunes.apple.com,DIRECT -DOMAIN,osxapps.itunes.apple.com,DIRECT -DOMAIN,supportdownload.apple.com,DIRECT -DOMAIN,swcdn.apple.com,DIRECT -DOMAIN,updates-http.cdn-apple.com,DIRECT -DOMAIN-SUFFIX,ls.apple.com,DIRECT -DOMAIN-SUFFIX,mzstatic.com,DIRECT - - - - IP-CIDR,10.0.0.0/8,DIRECT IP-CIDR,100.64.0.0/10,DIRECT IP-CIDR,127.0.0.0/8,DIRECT diff --git a/Surge/Surge 2/Rule.conf b/Surge/Surge 2/Rule.conf index dd74833..aed8d52 100644 --- a/Surge/Surge 2/Rule.conf +++ b/Surge/Surge 2/Rule.conf @@ -10433,6 +10433,54 @@ IP-CIDR,208.43.0.0/16,Proxy +# > Apple API +DOMAIN-SUFFIX,aaplimg.com,Apple +DOMAIN-SUFFIX,apple.co,Apple +DOMAIN-SUFFIX,apple.com,Apple +DOMAIN-SUFFIX,apple-cloudkit.com,Apple +DOMAIN-SUFFIX,appsto.re,Apple +DOMAIN-SUFFIX,cdn-apple.com,Apple +DOMAIN-SUFFIX,icloud.com,Apple +DOMAIN-SUFFIX,icloud-content.com,Apple +DOMAIN-SUFFIX,itunes.com,Apple +DOMAIN-SUFFIX,me.com,Apple +IP-CIDR,17.0.0.0/8,Apple +IP-CIDR,63.92.224.0/19,Apple +IP-CIDR,65.199.22.0/23,Apple +IP-CIDR,139.178.128.0/18,Apple +IP-CIDR,144.178.0.0/19,Apple +IP-CIDR,144.178.36.0/22,Apple +IP-CIDR,144.178.48.0/20,Apple +IP-CIDR,192.35.50.0/24,Apple +IP-CIDR,198.183.17.0/24,Apple +IP-CIDR,205.180.175.0/24,Apple + +# > Apple News +DOMAIN-SUFFIX,apple.news,Apple + +# > Apple Maps +PROCESS-NAME,com.apple.geod,Apple + +# > Apple CDN +PROCESS-NAME,storedownloadd,DIRECT +USER-AGENT,com.apple.appstored*,DIRECT +DOMAIN,aod.itunes.apple.com,DIRECT +DOMAIN,api.smoot.apple.cn,DIRECT +DOMAIN,appldnld.apple.com,DIRECT +DOMAIN,apptrailers.itunes.apple.com,DIRECT +DOMAIN,gs-loc-cn.apple.com,DIRECT +DOMAIN,iosapps.itunes.apple.com,DIRECT +DOMAIN,music.apple.com,DIRECT +DOMAIN,mvod.itunes.apple.com,DIRECT +DOMAIN,osxapps.itunes.apple.com,DIRECT +DOMAIN,supportdownload.apple.com,DIRECT +DOMAIN,swcdn.apple.com,DIRECT +DOMAIN,updates-http.cdn-apple.com,DIRECT +DOMAIN-SUFFIX,ls.apple.com,DIRECT +DOMAIN-SUFFIX,mzstatic.com,DIRECT + + + # > Beplay DOMAIN-KEYWORD,beplay,Domestic @@ -10450,8 +10498,8 @@ DOMAIN-SUFFIX,alphassl.com,Domestic DOMAIN-SUFFIX,edu.cn,Domestic # > RRYS -DOMAIN-SUFFIX,p4pfile.com,DIRECT -DOMAIN-SUFFIX,zmzfile.com,DIRECT +DOMAIN-SUFFIX,p4pfile.com,Domestic +DOMAIN-SUFFIX,zmzfile.com,Domestic # > Sony PSX USER-AGENT,RemotePlay*,Domestic @@ -17326,54 +17374,6 @@ DOMAIN-SUFFIX,cn,Domestic -# > Apple API -DOMAIN-SUFFIX,aaplimg.com,Apple -DOMAIN-SUFFIX,apple.co,Apple -DOMAIN-SUFFIX,apple.com,Apple -DOMAIN-SUFFIX,apple-cloudkit.com,Apple -DOMAIN-SUFFIX,appsto.re,Apple -DOMAIN-SUFFIX,cdn-apple.com,Apple -DOMAIN-SUFFIX,icloud.com,Apple -DOMAIN-SUFFIX,icloud-content.com,Apple -DOMAIN-SUFFIX,itunes.com,Apple -DOMAIN-SUFFIX,me.com,Apple -IP-CIDR,17.0.0.0/8,Apple -IP-CIDR,63.92.224.0/19,Apple -IP-CIDR,65.199.22.0/23,Apple -IP-CIDR,139.178.128.0/18,Apple -IP-CIDR,144.178.0.0/19,Apple -IP-CIDR,144.178.36.0/22,Apple -IP-CIDR,144.178.48.0/20,Apple -IP-CIDR,192.35.50.0/24,Apple -IP-CIDR,198.183.17.0/24,Apple -IP-CIDR,205.180.175.0/24,Apple - -# > Apple News -DOMAIN-SUFFIX,apple.news,Apple - -# > Apple Maps -PROCESS-NAME,com.apple.geod,Apple - -# > Apple CDN -PROCESS-NAME,storedownloadd,DIRECT -USER-AGENT,com.apple.appstored*,DIRECT -DOMAIN,aod.itunes.apple.com,DIRECT -DOMAIN,api.smoot.apple.cn,DIRECT -DOMAIN,appldnld.apple.com,DIRECT -DOMAIN,apptrailers.itunes.apple.com,DIRECT -DOMAIN,gs-loc-cn.apple.com,DIRECT -DOMAIN,iosapps.itunes.apple.com,DIRECT -DOMAIN,music.apple.com,DIRECT -DOMAIN,mvod.itunes.apple.com,DIRECT -DOMAIN,osxapps.itunes.apple.com,DIRECT -DOMAIN,supportdownload.apple.com,DIRECT -DOMAIN,swcdn.apple.com,DIRECT -DOMAIN,updates-http.cdn-apple.com,DIRECT -DOMAIN-SUFFIX,ls.apple.com,DIRECT -DOMAIN-SUFFIX,mzstatic.com,DIRECT - - - IP-CIDR,10.0.0.0/8,DIRECT IP-CIDR,100.64.0.0/10,DIRECT @@ -17382,4 +17382,4 @@ IP-CIDR,172.16.0.0/12,DIRECT IP-CIDR,192.168.0.0/16,DIRECT GEOIP,CN,Domestic -FINAL,Others,dns-failed +FINAL,Others,dns-failed \ No newline at end of file diff --git a/Surge/Surge 3/Rule.conf b/Surge/Surge 3/Rule.conf index d8d57e2..d9c27a5 100644 --- a/Surge/Surge 3/Rule.conf +++ b/Surge/Surge 3/Rule.conf @@ -51,9 +51,11 @@ RULE-SET,https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Pr RULE-SET,https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Microsoft.list,Microsoft RULE-SET,https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Proxy.list,Proxy + +RULE-SET,https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Apple.list,Apple + RULE-SET,https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Domestic.list,Domestic RULE-SET,https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Domestic%20IPs.list,Domestic -RULE-SET,https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Apple.list,Apple RULE-SET,LAN,DIRECT GEOIP,CN,Domestic