diff --git a/README.md b/README.md index 09a1f036..c54d9372 100644 --- a/README.md +++ b/README.md @@ -400,6 +400,7 @@ rules: ```ini RULE-SET,https://ruleset.skk.moe/List/non_ip/ai.conf,[Replace with your policy] +RULE-SET,https://ruleset.skk.moe/List/non_ip/apple_intelligence.conf,[Replace with your policy] ``` **Clash Meta** @@ -413,9 +414,17 @@ rule-providers: interval: 43200 url: https://ruleset.skk.moe/Clash/non_ip/ai.txt path: ./sukkaw_ruleset/ai_non_ip.txt + apple_intelligence_non_ip: + type: http + behavior: classical + format: text + interval: 43200 + url: https://ruleset.skk.moe/Clash/non_ip/apple_intelligence.txt + path: ./sukkaw_ruleset/apple_intelligence_non_ip.txt rules: - RULE-SET,ai_non_ip,[Replace with your policy] + - RULE-SET,apple_intelligence_non_ip,[Replace with your policy] ``` #### Telegram diff --git a/Source/non_ip/ai.conf b/Source/non_ip/ai.conf index 2fc131b0..73a7ae80 100644 --- a/Source/non_ip/ai.conf +++ b/Source/non_ip/ai.conf @@ -16,14 +16,12 @@ DOMAIN-KEYWORD,openai # DOMAIN,openaicomproductionae4b.blob.core.windows.net # DOMAIN,production-openaicom-storage.azureedge.net -# >> Apple Relay -# Sadly, even though Oblivious HTTP Relay is an open standard, supposed to enhance privacy. Apple uses a loophole -# to get user real request country and IP address from third-party CDN providers (like Cloudflare or Fastly) to -# blocks country from accessing Apple Inteligence services. -DOMAIN,apple-relay.fastly-edge.com -DOMAIN,apple-relay.cloudflare.com -DOMAIN,apple-relay.apple.com -DOMAIN,cp4.cloudflare.com +# >> Apple Intelligence +# has been moved to a dedicated file: /non_ip/apple_inteligence.conf +# DOMAIN gspe1-ssl.ls.apple.com (which is part of com.apple.geod) is crucial for unlocking +# Apple Intelligence. However, this domain (along side com.apple.geod) also affects other +# Apple services like Map, Compass, Weather, etc. Therefore, we can't really include everything +# in this general "ai.conf" here. # >> Perplexity DOMAIN-SUFFIX,perplexity.ai diff --git a/Source/non_ip/apple_intelligence.conf b/Source/non_ip/apple_intelligence.conf new file mode 100644 index 00000000..d3dd5003 --- /dev/null +++ b/Source/non_ip/apple_intelligence.conf @@ -0,0 +1,16 @@ + +# $ meta_title Sukka's Ruleset - Apple Intelligence +# $ meta_description This file contains domains of OpenAI, Claude. + +# >> Apple Relay +# Sadly, even though Oblivious HTTP Relay is an open standard, supposed to enhance privacy. Apple uses a loophole +# to get user real request country and IP address from third-party CDN providers (like Cloudflare or Fastly) to +# blocks country from accessing Apple Intelligence services. +DOMAIN,apple-relay.fastly-edge.com +DOMAIN,apple-relay.cloudflare.com +DOMAIN,apple-relay.apple.com +DOMAIN,cp4.cloudflare.com + +# >> com.apple.geod +DOMAIN,gspe1-ssl.ls.apple.com +# TODO: find other domains that com.apple.geod is trying to connect to.