瀏覽代碼

Creating a dedicated `apple_intelligence.conf`

SukkaW 4 月之前
父節點
當前提交
08892b3a88
共有 3 個文件被更改,包括 31 次插入8 次删除
  1. 9 0
      README.md
  2. 6 8
      Source/non_ip/ai.conf
  3. 16 0
      Source/non_ip/apple_intelligence.conf

+ 9 - 0
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

+ 6 - 8
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

+ 16 - 0
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.