From 8b7ea1e9e2c9f16e222f68bc6b4c226d13792c76 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Sun, 6 Feb 2022 16:48:37 +0800 Subject: [PATCH] feat: update Apple rules --- Clash/RuleSet/Extra/Apple/Apple.yaml | 2 ++ Clash/RuleSet/Extra/Apple/SoftwareUpdate.yaml | 4 ++-- Quantumult/Outbound.conf | 2 ++ Surge/Outbound.conf | 2 ++ Surge/Ruleset/Extra/Apple/Apple.list | 2 ++ Surge/Ruleset/Extra/Apple/SoftwareUpdate.list | 4 ++-- Surge/Ruleset/Extra/Apple/iCloud.list | 8 +++++++- 7 files changed, 19 insertions(+), 5 deletions(-) diff --git a/Clash/RuleSet/Extra/Apple/Apple.yaml b/Clash/RuleSet/Extra/Apple/Apple.yaml index 2225533..311c02c 100644 --- a/Clash/RuleSet/Extra/Apple/Apple.yaml +++ b/Clash/RuleSet/Extra/Apple/Apple.yaml @@ -5,7 +5,9 @@ payload: - DOMAIN-SUFFIX,apple.com - DOMAIN-SUFFIX,apple.com.cn - DOMAIN-SUFFIX,apple-cloudkit.com + - DOMAIN-SUFFIX,apple-livephotoskit.com - DOMAIN-SUFFIX,appstore.com + - DOMAIN-SUFFIX,apzones.com - DOMAIN-SUFFIX,cdn-apple.com - DOMAIN-SUFFIX,icloud.com - DOMAIN-SUFFIX,icloud.com.cn diff --git a/Clash/RuleSet/Extra/Apple/SoftwareUpdate.yaml b/Clash/RuleSet/Extra/Apple/SoftwareUpdate.yaml index b4617ac..1354baa 100644 --- a/Clash/RuleSet/Extra/Apple/SoftwareUpdate.yaml +++ b/Clash/RuleSet/Extra/Apple/SoftwareUpdate.yaml @@ -15,10 +15,10 @@ payload: # > macOS Recovery - DOMAIN,oscdn.apple.com - DOMAIN,osrecovery.apple.com - # > iOS and iPadOS updates + # > iOS, iPadOS, and watchOS updates - DOMAIN,appldnld.apple.com - DOMAIN,ns.itunes.apple.com - # > iOS, iPadOS, tvOS, and macOS updates + # > iOS, iPadOS, tvOS, watchOS, and macOS updates - DOMAIN,gg.apple.com - DOMAIN,gdmf.apple.com - DOMAIN,mesu.apple.com diff --git a/Quantumult/Outbound.conf b/Quantumult/Outbound.conf index 19c66d2..d252e45 100644 --- a/Quantumult/Outbound.conf +++ b/Quantumult/Outbound.conf @@ -92,6 +92,7 @@ server=/aaplimg.com/119.29.29.29 server=/apple.com/119.29.29.29 server=/apple.com.cn/119.29.29.29 server=/apple-cloudkit.com/119.29.29.29 +server=/apple-livephotoskit.com/119.29.29.29 server=/apple-mapkit.com/119.29.29.29 server=/cdn-apple.com/119.29.29.29 server=/icloud.com/119.29.29.29 @@ -100,6 +101,7 @@ server=/mzstatic.com/119.29.29.29 server=/*.aaplimg.com/119.29.29.29 server=/*.apple.com/119.29.29.29 server=/*.apple-cloudkit.com/119.29.29.29 +server=/*.apple-livephotoskit.com/119.29.29.29 server=/*.apple-mapkit.com/119.29.29.29 server=/*.cdn-apple.com/119.29.29.29 server=/*.icloud.com/119.29.29.29 diff --git a/Surge/Outbound.conf b/Surge/Outbound.conf index fcbcc1e..65b2bd7 100644 --- a/Surge/Outbound.conf +++ b/Surge/Outbound.conf @@ -175,6 +175,7 @@ aaplimg.com = server:119.29.29.29 apple.com = server:119.29.29.29 apple.com.cn = server:119.29.29.29 apple-cloudkit.com = server:119.29.29.29 +apple-livephotoskit.com = server:119.29.29.29 apple-mapkit.com = server:119.29.29.29 cdn-apple.com = server:119.29.29.29 icloud.com = server:119.29.29.29 @@ -183,6 +184,7 @@ mzstatic.com = server:119.29.29.29 *.aaplimg.com = server:119.29.29.29 *.apple.com = server:119.29.29.29 *.apple-cloudkit.com = server:119.29.29.29 +*.apple-livephotoskit.com = server:119.29.29.29 *.apple-mapkit.com = server:119.29.29.29 *.cdn-apple.com = server:119.29.29.29 *.icloud.com = server:119.29.29.29 diff --git a/Surge/Ruleset/Extra/Apple/Apple.list b/Surge/Ruleset/Extra/Apple/Apple.list index 36ca9f8..09e200f 100644 --- a/Surge/Ruleset/Extra/Apple/Apple.list +++ b/Surge/Ruleset/Extra/Apple/Apple.list @@ -4,8 +4,10 @@ DOMAIN-SUFFIX,apple.co DOMAIN-SUFFIX,apple.com DOMAIN-SUFFIX,apple.com.cn DOMAIN-SUFFIX,apple-cloudkit.com +DOMAIN-SUFFIX,apple-livephotoskit.com DOMAIN-SUFFIX,apple-mapkit.com DOMAIN-SUFFIX,appstore.com +DOMAIN-SUFFIX,apzones.com DOMAIN-SUFFIX,cdn-apple.com DOMAIN-SUFFIX,icloud.com DOMAIN-SUFFIX,icloud.com.cn diff --git a/Surge/Ruleset/Extra/Apple/SoftwareUpdate.list b/Surge/Ruleset/Extra/Apple/SoftwareUpdate.list index 709c7b8..01c280b 100644 --- a/Surge/Ruleset/Extra/Apple/SoftwareUpdate.list +++ b/Surge/Ruleset/Extra/Apple/SoftwareUpdate.list @@ -14,10 +14,10 @@ DOMAIN,swscan.apple.com # > macOS Recovery DOMAIN,oscdn.apple.com DOMAIN,osrecovery.apple.com -# > iOS and iPadOS updates +# > iOS, iPadOS, and watchOS updates DOMAIN,appldnld.apple.com DOMAIN,ns.itunes.apple.com -# > iOS, iPadOS, tvOS, and macOS updates +# > iOS, iPadOS, tvOS, watchOS, and macOS updates DOMAIN,gg.apple.com DOMAIN,gdmf.apple.com // Software update catalog DOMAIN,mesu.apple.com // Hosts software update catalogs diff --git a/Surge/Ruleset/Extra/Apple/iCloud.list b/Surge/Ruleset/Extra/Apple/iCloud.list index 8297c79..2b8d68b 100644 --- a/Surge/Ruleset/Extra/Apple/iCloud.list +++ b/Surge/Ruleset/Extra/Apple/iCloud.list @@ -1,6 +1,12 @@ # iCloud DOMAIN-SUFFIX,apple-cloudkit.com +DOMAIN-SUFFIX,apple-livephotoskit.com +DOMAIN-SUFFIX,apzones.com +DOMAIN-SUFFIX,cdn-apple.com +DOMAIN-SUFFIX,gc.apple.com +DOMAIN-SUFFIX,icloud.apple.com DOMAIN-SUFFIX,icloud.com DOMAIN-SUFFIX,icloud.com.cn DOMAIN-SUFFIX,icloud-content.com -DOMAIN,www-cdn.icloud.com.akadns.net \ No newline at end of file +DOMAIN-SUFFIX,iwork.apple.com +DOMAIN-KEYWORD,icloud.com.akadns.net \ No newline at end of file