diff --git a/Quantumult/Outbound.conf b/Quantumult/Outbound.conf index 1a503e0..2389481 100644 --- a/Quantumult/Outbound.conf +++ b/Quantumult/Outbound.conf @@ -199,8 +199,8 @@ static=StreamingSE, direct, proxy, img-url=https://raw.githubusercontent.com/Koo # 当有强制策略时,远程资源的过滤器中的策略将被忽略,并使用强制策略。 # -# Block OTA Update 屏蔽 iOS 系统更新 -https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/Block/SoftwareUpdate.sgmodule, tag=⛔️Block OTA Update, force-policy=reject, update-interval=172800, opt-parser=true, enabled=false +# Block OTA update for iOS +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/Block/SoftwareUpdate.sgmodule, tag=⛔️Block OTA Update(iOS), force-policy=reject, update-interval=172800, opt-parser=true, enabled=false # Unbreak 后续规则修正 https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Unbreak.list, tag=🔂Unbreak, force-policy=direct, update-interval=172800, opt-parser=true, enabled=true @@ -250,6 +250,9 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Chi # General https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf, tag=🔀General, update-interval=172800, enabled=true +# Block OTA update for iPadOS, Requires "⛔️Block OTA Update(iOS)" filter +https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/Block/SoftwareUpdate.sgmodule, tag=⛔️Block OTA Update(iPadOS), update-interval=172800, opt-parser=true, enabled=false + # Block Advertising https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf, tag=🛡Block Advertising, update-interval=172800, enabled=true diff --git a/Surge/Module/Block/SoftwareUpdate.sgmodule b/Surge/Module/Block/SoftwareUpdate.sgmodule index c803270..b604080 100644 --- a/Surge/Module/Block/SoftwareUpdate.sgmodule +++ b/Surge/Module/Block/SoftwareUpdate.sgmodule @@ -1,9 +1,13 @@ -#!name=Block iOS Software Update -#!desc=屏蔽 iOS 系统更新 +#!name=Block OTA update for iOS and iPadOS +#!desc=屏蔽 iOS/iPadOS 系统更新,无 iPad 设备可在「主机名」添加「-mesu.apple.com」 #!system=ios [Rule] -DOMAIN,mesu.apple.com,REJECT DOMAIN,gdmf.apple.com,REJECT -DOMAIN,updates-http.cdn-apple.com,REJECT -DOMAIN,xp.apple.com,REJECT \ No newline at end of file + +[URL Rewrite] +# iPadOS +^https:\/\/mesu\.apple\.com\/assets\/com_apple_MobileAsset_SoftwareUpdate\/com_apple_MobileAsset_SoftwareUpdate\.xml - reject + +[MITM] +hostname = %APPEND% mesu.apple.com \ No newline at end of file