diff --git a/generated/parser.yaml b/generated/parser.yaml index f6ced55..9744852 100644 --- a/generated/parser.yaml +++ b/generated/parser.yaml @@ -1,5 +1,5 @@ # 针对部分网站显示IP归属地的分流规则 -# anti-ip-attribution parser.yaml v0.3.0 2f46cd7101a50189bcc97ce9f80907e0908c49d8 +# anti-ip-attribution parser.yaml v0.3.0 857758b353afcfe17941542e3a6b2a21bd28c0c4 # https://github.com/lwd-temp/anti-ip-attribution # 适用于Clash for Windows的配置文件预处理功能,详见https://docs.cfw.lbyczf.com/contents/parser.html parsers: @@ -30,10 +30,13 @@ parsers: - IP-CIDR,112.64.218.119/32,REJECT - IP-CIDR,112.65.200.117/32,REJECT - "DOMAIN-SUFFIX,biliapi.net,IP\u5F52\u5C5E\u5730" - - "DOMAIN,api.bilibili.tv,IP\u5F52\u5C5E\u5730" - "DOMAIN-SUFFIX,biliapi.com,IP\u5F52\u5C5E\u5730" - "DOMAIN-SUFFIX,bilibili.com,IP\u5F52\u5C5E\u5730" - - IP-CIDR,203.107.1.0/24,REJECT + - "IP-CIDR,203.107.1.0/24,IP\u5F52\u5C5E\u5730" + - DOMAIN-SUFFIX,bilivideo.com,DIRECT + - DOMAIN-SUFFIX,akamaized.net,DIRECT + - DOMAIN-SUFFIX,hdslb.com,DIRECT + - DOMAIN-SUFFIX,szbdyd.com,DIRECT - "DOMAIN-SUFFIX,weibo.cn,IP\u5F52\u5C5E\u5730" - "DOMAIN-SUFFIX,weibo.com,IP\u5F52\u5C5E\u5730" - "DOMAIN-SUFFIX,weibocdn.com,IP\u5F52\u5C5E\u5730" diff --git a/generated/quantumultx-domesticsocial.list b/generated/quantumultx-domesticsocial.list index 8994071..caee1ff 100644 --- a/generated/quantumultx-domesticsocial.list +++ b/generated/quantumultx-domesticsocial.list @@ -1,5 +1,5 @@ # 针对部分网站显示IP归属地的分流规则 -# anti-ip-attribution quantumultx-domesticsocial.list v0.3.0 2f46cd7101a50189bcc97ce9f80907e0908c49d8 +# anti-ip-attribution quantumultx-domesticsocial.list v0.3.0 857758b353afcfe17941542e3a6b2a21bd28c0c4 # https://github.com/lwd-temp/anti-ip-attribution # QuantumultX分流规则,策略组名称为DomesticSocial DOMAIN,httpdns.bilivideo.com,REJECT @@ -20,10 +20,13 @@ IP-CIDR,116.63.10.31/32,REJECT IP-CIDR,112.64.218.119/32,REJECT IP-CIDR,112.65.200.117/32,REJECT DOMAIN-SUFFIX,biliapi.net,DomesticSocial -DOMAIN,api.bilibili.tv,DomesticSocial DOMAIN-SUFFIX,biliapi.com,DomesticSocial DOMAIN-SUFFIX,bilibili.com,DomesticSocial -IP-CIDR,203.107.1.0/24,REJECT +IP-CIDR,203.107.1.0/24,DomesticSocial +DOMAIN-SUFFIX,bilivideo.com,DIRECT +DOMAIN-SUFFIX,akamaized.net,DIRECT +DOMAIN-SUFFIX,hdslb.com,DIRECT +DOMAIN-SUFFIX,szbdyd.com,DIRECT DOMAIN-SUFFIX,weibo.cn,DomesticSocial DOMAIN-SUFFIX,weibo.com,DomesticSocial DOMAIN-SUFFIX,weibocdn.com,DomesticSocial diff --git a/generated/quantumultx.list b/generated/quantumultx.list index a72562b..11d2382 100644 --- a/generated/quantumultx.list +++ b/generated/quantumultx.list @@ -1,5 +1,5 @@ # 针对部分网站显示IP归属地的分流规则 -# anti-ip-attribution quantumultx.list v0.3.0 2f46cd7101a50189bcc97ce9f80907e0908c49d8 +# anti-ip-attribution quantumultx.list v0.3.0 857758b353afcfe17941542e3a6b2a21bd28c0c4 # https://github.com/lwd-temp/anti-ip-attribution # QuantumultX分流规则 DOMAIN,httpdns.bilivideo.com,REJECT @@ -20,10 +20,13 @@ IP-CIDR,116.63.10.31/32,REJECT IP-CIDR,112.64.218.119/32,REJECT IP-CIDR,112.65.200.117/32,REJECT DOMAIN-SUFFIX,biliapi.net,IP -DOMAIN,api.bilibili.tv,IP DOMAIN-SUFFIX,biliapi.com,IP DOMAIN-SUFFIX,bilibili.com,IP -IP-CIDR,203.107.1.0/24,REJECT +IP-CIDR,203.107.1.0/24,IP +DOMAIN-SUFFIX,bilivideo.com,DIRECT +DOMAIN-SUFFIX,akamaized.net,DIRECT +DOMAIN-SUFFIX,hdslb.com,DIRECT +DOMAIN-SUFFIX,szbdyd.com,DIRECT DOMAIN-SUFFIX,weibo.cn,IP DOMAIN-SUFFIX,weibo.com,IP DOMAIN-SUFFIX,weibocdn.com,IP diff --git a/generated/rule-provider-direct.yaml b/generated/rule-provider-direct.yaml index ac2fd6c..9d0c4c2 100644 --- a/generated/rule-provider-direct.yaml +++ b/generated/rule-provider-direct.yaml @@ -1,8 +1,12 @@ # 针对部分网站显示IP归属地的分流规则 -# anti-ip-attribution rule-provider-direct.yaml v0.3.0 2f46cd7101a50189bcc97ce9f80907e0908c49d8 +# anti-ip-attribution rule-provider-direct.yaml v0.3.0 857758b353afcfe17941542e3a6b2a21bd28c0c4 # https://github.com/lwd-temp/anti-ip-attribution # 适用于Clash的Rule Provider功能,详见https://lancellc.gitbook.io/clash/clash-config-file/rule-provider payload: +- DOMAIN-SUFFIX,bilivideo.com,DIRECT +- DOMAIN-SUFFIX,akamaized.net,DIRECT +- DOMAIN-SUFFIX,hdslb.com,DIRECT +- DOMAIN-SUFFIX,szbdyd.com,DIRECT - DOMAIN-SUFFIX,zijieapi.com,DIRECT - DOMAIN-SUFFIX,ecombdapi.com,DIRECT - DOMAIN-SUFFIX,hls3-akm.douyucdn.cn,DIRECT diff --git a/generated/rule-provider-proxy.yaml b/generated/rule-provider-proxy.yaml index bb49013..736e504 100644 --- a/generated/rule-provider-proxy.yaml +++ b/generated/rule-provider-proxy.yaml @@ -1,12 +1,12 @@ # 针对部分网站显示IP归属地的分流规则 -# anti-ip-attribution rule-provider-proxy.yaml v0.3.0 2f46cd7101a50189bcc97ce9f80907e0908c49d8 +# anti-ip-attribution rule-provider-proxy.yaml v0.3.0 857758b353afcfe17941542e3a6b2a21bd28c0c4 # https://github.com/lwd-temp/anti-ip-attribution # 适用于Clash的Rule Provider功能,详见https://lancellc.gitbook.io/clash/clash-config-file/rule-provider payload: - DOMAIN-SUFFIX,biliapi.net -- DOMAIN,api.bilibili.tv - DOMAIN-SUFFIX,biliapi.com - DOMAIN-SUFFIX,bilibili.com +- IP-CIDR,203.107.1.0/24,no-resolve - DOMAIN-SUFFIX,weibo.cn - DOMAIN-SUFFIX,weibo.com - DOMAIN-SUFFIX,weibocdn.com diff --git a/generated/rule-provider-reject.yaml b/generated/rule-provider-reject.yaml index f9450ce..6f5fa5a 100644 --- a/generated/rule-provider-reject.yaml +++ b/generated/rule-provider-reject.yaml @@ -1,5 +1,5 @@ # 针对部分网站显示IP归属地的分流规则 -# anti-ip-attribution rule-provider-reject.yaml v0.3.0 2f46cd7101a50189bcc97ce9f80907e0908c49d8 +# anti-ip-attribution rule-provider-reject.yaml v0.3.0 857758b353afcfe17941542e3a6b2a21bd28c0c4 # https://github.com/lwd-temp/anti-ip-attribution # 适用于Clash的Rule Provider功能,详见https://lancellc.gitbook.io/clash/clash-config-file/rule-provider payload: @@ -20,7 +20,6 @@ payload: - IP-CIDR,116.63.10.31/32,REJECT,no-resolve - IP-CIDR,112.64.218.119/32,REJECT,no-resolve - IP-CIDR,112.65.200.117/32,REJECT,no-resolve -- IP-CIDR,203.107.1.0/24,REJECT,no-resolve - IP-CIDR,118.89.204.198/23,REJECT,no-resolve - IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/40,REJECT,no-resolve - IP-CIDR,119.29.29.98/32,REJECT,no-resolve diff --git a/generated/rule-provider.yaml b/generated/rule-provider.yaml index faf77a6..475bdda 100644 --- a/generated/rule-provider.yaml +++ b/generated/rule-provider.yaml @@ -1,5 +1,5 @@ # 针对部分网站显示IP归属地的分流规则 -# anti-ip-attribution rule-provider.yaml v0.3.0 2f46cd7101a50189bcc97ce9f80907e0908c49d8 +# anti-ip-attribution rule-provider.yaml v0.3.0 857758b353afcfe17941542e3a6b2a21bd28c0c4 # https://github.com/lwd-temp/anti-ip-attribution # 适用于Clash的Rule Provider功能,详见https://lancellc.gitbook.io/clash/clash-config-file/rule-provider payload: @@ -21,10 +21,13 @@ payload: - IP-CIDR,112.64.218.119/32,REJECT,no-resolve - IP-CIDR,112.65.200.117/32,REJECT,no-resolve - DOMAIN-SUFFIX,biliapi.net -- DOMAIN,api.bilibili.tv - DOMAIN-SUFFIX,biliapi.com - DOMAIN-SUFFIX,bilibili.com -- IP-CIDR,203.107.1.0/24,REJECT,no-resolve +- IP-CIDR,203.107.1.0/24,no-resolve +- DOMAIN-SUFFIX,bilivideo.com,DIRECT +- DOMAIN-SUFFIX,akamaized.net,DIRECT +- DOMAIN-SUFFIX,hdslb.com,DIRECT +- DOMAIN-SUFFIX,szbdyd.com,DIRECT - DOMAIN-SUFFIX,weibo.cn - DOMAIN-SUFFIX,weibo.com - DOMAIN-SUFFIX,weibocdn.com diff --git a/generated/rule-set-direct.list b/generated/rule-set-direct.list index 7dfa2f3..26c6c28 100644 --- a/generated/rule-set-direct.list +++ b/generated/rule-set-direct.list @@ -1,7 +1,11 @@ # 针对部分网站显示IP归属地的分流规则 -# anti-ip-attribution rule-set-direct.list v0.3.0 2f46cd7101a50189bcc97ce9f80907e0908c49d8 +# anti-ip-attribution rule-set-direct.list v0.3.0 857758b353afcfe17941542e3a6b2a21bd28c0c4 # https://github.com/lwd-temp/anti-ip-attribution # 适用于Clash RULE-SET +DOMAIN-SUFFIX,bilivideo.com +DOMAIN-SUFFIX,akamaized.net +DOMAIN-SUFFIX,hdslb.com +DOMAIN-SUFFIX,szbdyd.com DOMAIN-SUFFIX,zijieapi.com DOMAIN-SUFFIX,ecombdapi.com DOMAIN-SUFFIX,hls3-akm.douyucdn.cn diff --git a/generated/rule-set-proxy.list b/generated/rule-set-proxy.list index f191158..fb612f7 100644 --- a/generated/rule-set-proxy.list +++ b/generated/rule-set-proxy.list @@ -1,11 +1,11 @@ # 针对部分网站显示IP归属地的分流规则 -# anti-ip-attribution rule-set-proxy.list v0.3.0 2f46cd7101a50189bcc97ce9f80907e0908c49d8 +# anti-ip-attribution rule-set-proxy.list v0.3.0 857758b353afcfe17941542e3a6b2a21bd28c0c4 # https://github.com/lwd-temp/anti-ip-attribution # 适用于Clash RULE-SET DOMAIN-SUFFIX,biliapi.net -DOMAIN,api.bilibili.tv DOMAIN-SUFFIX,biliapi.com DOMAIN-SUFFIX,bilibili.com +IP-CIDR,203.107.1.0/24,no-resolve DOMAIN-SUFFIX,weibo.cn DOMAIN-SUFFIX,weibo.com DOMAIN-SUFFIX,weibocdn.com diff --git a/generated/rule-set-reject.list b/generated/rule-set-reject.list index 17735e0..8a25553 100644 --- a/generated/rule-set-reject.list +++ b/generated/rule-set-reject.list @@ -1,5 +1,5 @@ # 针对部分网站显示IP归属地的分流规则 -# anti-ip-attribution rule-set-reject.list v0.3.0 2f46cd7101a50189bcc97ce9f80907e0908c49d8 +# anti-ip-attribution rule-set-reject.list v0.3.0 857758b353afcfe17941542e3a6b2a21bd28c0c4 # https://github.com/lwd-temp/anti-ip-attribution # 适用于Clash RULE-SET DOMAIN,httpdns.bilivideo.com @@ -19,7 +19,6 @@ IP-CIDR,114.116.215.110/32,no-resolve IP-CIDR,116.63.10.31/32,no-resolve IP-CIDR,112.64.218.119/32,no-resolve IP-CIDR,112.65.200.117/32,no-resolve -IP-CIDR,203.107.1.0/24,no-resolve IP-CIDR,118.89.204.198/23,no-resolve IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/40,no-resolve IP-CIDR,119.29.29.98/32,no-resolve \ No newline at end of file diff --git a/generated/surge.list b/generated/surge.list index 4eee0a7..b0c012f 100644 --- a/generated/surge.list +++ b/generated/surge.list @@ -1,5 +1,5 @@ # 针对部分网站显示IP归属地的分流规则 -# anti-ip-attribution surge.list v0.3.0 2f46cd7101a50189bcc97ce9f80907e0908c49d8 +# anti-ip-attribution surge.list v0.3.0 857758b353afcfe17941542e3a6b2a21bd28c0c4 # https://github.com/lwd-temp/anti-ip-attribution # Surge分流规则 DOMAIN,httpdns.bilivideo.com,REJECT @@ -20,10 +20,13 @@ IP-CIDR,116.63.10.31/32,REJECT IP-CIDR,112.64.218.119/32,REJECT IP-CIDR,112.65.200.117/32,REJECT DOMAIN-SUFFIX,biliapi.net -DOMAIN,api.bilibili.tv DOMAIN-SUFFIX,biliapi.com DOMAIN-SUFFIX,bilibili.com -IP-CIDR,203.107.1.0/24,REJECT +IP-CIDR,203.107.1.0/24 +DOMAIN-SUFFIX,bilivideo.com,DIRECT +DOMAIN-SUFFIX,akamaized.net,DIRECT +DOMAIN-SUFFIX,hdslb.com,DIRECT +DOMAIN-SUFFIX,szbdyd.com,DIRECT DOMAIN-SUFFIX,weibo.cn DOMAIN-SUFFIX,weibo.com DOMAIN-SUFFIX,weibocdn.com diff --git a/rules.yaml b/rules.yaml index 510c19d..9b1fb0b 100644 --- a/rules.yaml +++ b/rules.yaml @@ -39,21 +39,27 @@ config: - IP-CIDR,112.64.218.119/32,REJECT - IP-CIDR,112.65.200.117/32,REJECT - DOMAIN-SUFFIX,biliapi.net # 哔哩哔哩API域名 - # - DOMAIN,api.bilibili.com # 哔哩哔哩国内网页版API域名 # 网友提供哔哩哔哩IP定位接口 - - DOMAIN,api.bilibili.tv # 哔哩哔哩海外版? - # - DOMAIN,app.bilibili.com # 哔哩哔哩App的API域名 + # - DOMAIN,api.bilibili.tv # 哔哩哔哩海外版?(使用性存疑) - DOMAIN-SUFFIX,biliapi.com # 哔哩哔哩App的API域名 + - DOMAIN-SUFFIX,bilibili.com # 哔哩哔哩全站域名,不包括内容CDN + - IP-CIDR,203.107.1.0/24 #不需要REJECT,会影响其他HTTPDNS,仅代理即可 + # issue/49,CDN内容直连 + - DOMAIN-SUFFIX,bilivideo.com,DIRECT # 直播 + - DOMAIN-SUFFIX,akamaized.net,DIRECT # akamai视频CDN + - DOMAIN-SUFFIX,hdslb.com,DIRECT # 静态内容 + - DOMAIN-SUFFIX,szbdyd.com,DIRECT # PCDN(P2P) + # - DOMAIN,api.bilibili.com # 哔哩哔哩国内网页版API域名 # 网友提供哔哩哔哩IP定位接口 + # - DOMAIN,app.bilibili.com # 哔哩哔哩App的API域名 # - DOMAIN,api.live.bilibili.com # 哔哩哔哩直播API域名 # - DOMAIN,api.vc.bilibili.com # 哔哩哔哩视频API域名,Copilot提供 # - DOMAIN,passport.bilibili.com # 哔哩哔哩账号登录API域名 # - DOMAIN,live-trace.bilibili.com # 哔哩哔哩跟踪?API域名 # - DOMAIN,message.bilibili.com # 哔哩哔哩消息API域名 # - DOMAIN,cm.bilibili.com # 哔哩哔哩统计API域名 - - DOMAIN-SUFFIX,bilibili.com # 哔哩哔哩全站域名,不包括内容CDN # - DOMAIN-SUFFIX,im9.com # - DOMAIN-SUFFIX,acg.tv # - DOMAIN-SUFFIX,biligame.com - - IP-CIDR,203.107.1.0/24,REJECT + # ======= 微博 ======= # # 微博 # issue#5 报告发表和评论操作会暴露IP,建议不要使用手机客户端,无法确定是否存在其他IP或域名,已扩充到DOMAIN-SUFFIX