From 1165a76586969ec14b1cfe966dee793ad835f4b5 Mon Sep 17 00:00:00 2001 From: patterniha <71074308+patterniha@users.noreply.github.com> Date: Sat, 15 Feb 2025 21:56:22 +0330 Subject: [PATCH] Update serverless_with_mitm_for_iran.jsonc block ads again --- Serverless-for-iran/serverless_with_mitm_for_iran.jsonc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Serverless-for-iran/serverless_with_mitm_for_iran.jsonc b/Serverless-for-iran/serverless_with_mitm_for_iran.jsonc index 576703f..098265d 100644 --- a/Serverless-for-iran/serverless_with_mitm_for_iran.jsonc +++ b/Serverless-for-iran/serverless_with_mitm_for_iran.jsonc @@ -65,7 +65,8 @@ "regexp:^external.*\\.xx\\.fbcdn\\.net$": "external-fallback.xx.fbcdn.net", "regexp:^z-m-scontent.*\\.xx\\.fbcdn\\.net$": "z-m-scontent-fallback.xx.fbcdn.net", "regexp:^z-m-static.*\\.xx\\.fbcdn\\.net$": "z-m-static-fallback.xx.fbcdn.net", - "regexp:^z-m-external.*\\.xx\\.fbcdn\\.net$": "z-m-external-fallback.xx.fbcdn.net" + "regexp:^z-m-external.*\\.xx\\.fbcdn\\.net$": "z-m-external-fallback.xx.fbcdn.net", + "geosite:category-ads-all": ["10.10.34.36", "2001:4188:2:600:10:10:34:36"] }, "servers": [ "h2c://208.67.222.222/dns-query", @@ -315,6 +316,9 @@ {"outboundTag": "tls-repack-dns", "inboundTag": ["dns-query"] }, + {"outboundTag": "block", + "domain": ["geosite:category-ads-all"] + }, {"outboundTag": "block", "ip": ["10.10.34.0/24", "2001:4188:2:600:10:10:34:36", "2001:4188:2:600:10:10:34:35"] },