h2y / Shadowrocket-ADBlock-Rules

提供多款 Shadowrocket 规则,带广告过滤功能。用于 iOS 未越狱设备选择性地自动翻墙。
https://github.com/h2y/Shadowrocket-ADBlock-Rules/blob/master/readme.md
Other
15.66k stars 2.32k forks source link

黑名单规则会导致 Line 不能收发消息 #268

Open lwb9428000 opened 4 years ago

lwb9428000 commented 4 years ago

这个问题之前在 issues #113 有人提到,今天我试了一下发现,使用“黑名单+去广告”或“黑名单”规则都会导致 Line 不能接收和发送消息(却能正常打开 Line 的贴图商店、主题商店)。使用“白名单+去广告”规则就一切正常。麻烦大神抽空排查排查问题呗。 https://github.com/h2y/Shadowrocket-ADBlock-Rules/issues/113#issue-343866487

cadixu commented 4 years ago

Line主要用的TCP Stream都是IP格式的,除非知道Line使用的IP網段是多少,否則很難用黑名單的方式加入 初步Trace出來大概是125.209.x.x的IP,可以加入"IP-CIDR,125.209.0.0/16,PROXY" (125.209.0.1 ~ 125.209.255.254都走Proxy)暫解 但是如果Line有了或換了其他IP Range或是這段IP Range有其他APP使用就有可能一樣會走Proxy

cadixu commented 4 years ago

昨天看到有一位收集的規則有將IP列出來,可以參考看看 https://raw.githubusercontent.com/lhie1/Rules/master/Shadowrocket/Complete.conf

> LINE

IP-CIDR,103.2.28.0/22,PROXY,no-resolve IP-CIDR,119.235.224.0/21,PROXY,no-resolve IP-CIDR,119.235.232.0/23,PROXY,no-resolve IP-CIDR,119.235.235.0/24,PROXY,no-resolve IP-CIDR,119.235.236.0/23,PROXY,no-resolve IP-CIDR,125.6.146.0/24,PROXY,no-resolve IP-CIDR,125.6.149.0/24,PROXY,no-resolve IP-CIDR,125.6.190.0/24,PROXY,no-resolve IP-CIDR,125.209.208.0/20,PROXY,no-resolve IP-CIDR,203.104.103.0/24,PROXY,no-resolve IP-CIDR,203.104.128.0/20,PROXY,no-resolve IP-CIDR,203.174.66.64/26,PROXY,no-resolve IP-CIDR,203.174.77.0/24,PROXY,no-resolve