Skip to content

Commit

Permalink
自动生成配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 19, 2024
1 parent 0bde691 commit 448cc1a
Show file tree
Hide file tree
Showing 41 changed files with 975 additions and 11 deletions.
2 changes: 1 addition & 1 deletion generated/parser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution parser.yaml v0.3.1 65b6194f86182a7237b805a6587b9f437f78c5b6
# anti-ip-attribution parser.yaml v0.3.1 0bde691ae1d3f0aade1bf91b395fab909c863fce
# https://github.com/lwd-temp/anti-ip-attribution
# 适用于Clash for Windows的配置文件预处理功能,详见https://docs.cfw.lbyczf.com/contents/parser.html
parsers:
Expand Down
2 changes: 1 addition & 1 deletion generated/quantumultx-domesticsocial.list
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution quantumultx-domesticsocial.list v0.3.1 65b6194f86182a7237b805a6587b9f437f78c5b6
# anti-ip-attribution quantumultx-domesticsocial.list v0.3.1 0bde691ae1d3f0aade1bf91b395fab909c863fce
# https://github.com/lwd-temp/anti-ip-attribution
# QuantumultX分流规则,策略组名称为DomesticSocial
DOMAIN,httpdns.bilivideo.com,REJECT
Expand Down
2 changes: 1 addition & 1 deletion generated/quantumultx.list
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution quantumultx.list v0.3.1 65b6194f86182a7237b805a6587b9f437f78c5b6
# anti-ip-attribution quantumultx.list v0.3.1 0bde691ae1d3f0aade1bf91b395fab909c863fce
# https://github.com/lwd-temp/anti-ip-attribution
# QuantumultX分流规则
DOMAIN,httpdns.bilivideo.com,REJECT
Expand Down
2 changes: 1 addition & 1 deletion generated/rule-provider-direct.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rule-provider-direct.yaml v0.3.1 65b6194f86182a7237b805a6587b9f437f78c5b6
# anti-ip-attribution rule-provider-direct.yaml v0.3.1 0bde691ae1d3f0aade1bf91b395fab909c863fce
# https://github.com/lwd-temp/anti-ip-attribution
# 适用于Clash的Rule Provider功能,详见https://lancellc.gitbook.io/clash/clash-config-file/rule-provider
payload:
Expand Down
2 changes: 1 addition & 1 deletion generated/rule-provider-proxy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rule-provider-proxy.yaml v0.3.1 65b6194f86182a7237b805a6587b9f437f78c5b6
# anti-ip-attribution rule-provider-proxy.yaml v0.3.1 0bde691ae1d3f0aade1bf91b395fab909c863fce
# https://github.com/lwd-temp/anti-ip-attribution
# 适用于Clash的Rule Provider功能,详见https://lancellc.gitbook.io/clash/clash-config-file/rule-provider
payload:
Expand Down
2 changes: 1 addition & 1 deletion generated/rule-provider-reject.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rule-provider-reject.yaml v0.3.1 65b6194f86182a7237b805a6587b9f437f78c5b6
# anti-ip-attribution rule-provider-reject.yaml v0.3.1 0bde691ae1d3f0aade1bf91b395fab909c863fce
# https://github.com/lwd-temp/anti-ip-attribution
# 适用于Clash的Rule Provider功能,详见https://lancellc.gitbook.io/clash/clash-config-file/rule-provider
payload:
Expand Down
2 changes: 1 addition & 1 deletion generated/rule-provider.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rule-provider.yaml v0.3.1 65b6194f86182a7237b805a6587b9f437f78c5b6
# anti-ip-attribution rule-provider.yaml v0.3.1 0bde691ae1d3f0aade1bf91b395fab909c863fce
# https://github.com/lwd-temp/anti-ip-attribution
# 适用于Clash的Rule Provider功能,详见https://lancellc.gitbook.io/clash/clash-config-file/rule-provider
payload:
Expand Down
2 changes: 1 addition & 1 deletion generated/rule-set-direct.list
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rule-set-direct.list v0.3.1 65b6194f86182a7237b805a6587b9f437f78c5b6
# anti-ip-attribution rule-set-direct.list v0.3.1 0bde691ae1d3f0aade1bf91b395fab909c863fce
# https://github.com/lwd-temp/anti-ip-attribution
# 适用于Clash RULE-SET
DOMAIN-SUFFIX,bilivideo.com
Expand Down
2 changes: 1 addition & 1 deletion generated/rule-set-proxy.list
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rule-set-proxy.list v0.3.1 65b6194f86182a7237b805a6587b9f437f78c5b6
# anti-ip-attribution rule-set-proxy.list v0.3.1 0bde691ae1d3f0aade1bf91b395fab909c863fce
# https://github.com/lwd-temp/anti-ip-attribution
# 适用于Clash RULE-SET
DOMAIN-SUFFIX,biliapi.net
Expand Down
2 changes: 1 addition & 1 deletion generated/rule-set-reject.list
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rule-set-reject.list v0.3.1 65b6194f86182a7237b805a6587b9f437f78c5b6
# anti-ip-attribution rule-set-reject.list v0.3.1 0bde691ae1d3f0aade1bf91b395fab909c863fce
# https://github.com/lwd-temp/anti-ip-attribution
# 适用于Clash RULE-SET
DOMAIN,httpdns.bilivideo.com
Expand Down
2 changes: 1 addition & 1 deletion generated/surge.list
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution surge.list v0.3.1 65b6194f86182a7237b805a6587b9f437f78c5b6
# anti-ip-attribution surge.list v0.3.1 0bde691ae1d3f0aade1bf91b395fab909c863fce
# https://github.com/lwd-temp/anti-ip-attribution
# Surge分流规则
DOMAIN,httpdns.bilivideo.com,REJECT
Expand Down
23 changes: 23 additions & 0 deletions rules/Lofter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rules.yaml
# https://github.com/lwd-temp/anti-ip-attribution
# 此文件用于记录用于生成其他配置文件的规则,任何更改仅需在此修改。
# Actions会自动生成其他配置文件。
# 由于技术限制,只能实现精确到域名的分流规则,无法精确到路径。
# 配置规范举例:
# DOMAIN,example.com
# DOMAIN-SUFFIX,example.com,REJECT
# 注意"DOMAIN"大写,不用"HOST",除"REJECT"外不要添加规则。
config:
name: "anti-ip-attribution" # 项目名
version: "v0.3.1" # 版本号
url: "https://github.com/lwd-temp/anti-ip-attribution" # 项目地址
description: "针对部分网站显示IP归属地的分流规则" # 项目描述
rules: # 规则列表

# ======= Lofter ======= #

- DOMAIN-SUFFIX,lofter.com
- DOMAIN,yaolu.yuedu.163.com
- DOMAIN-SUFFIX,lf127.net,DIRECT

33 changes: 33 additions & 0 deletions rules/MIUI.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rules.yaml
# https://github.com/lwd-temp/anti-ip-attribution
# 此文件用于记录用于生成其他配置文件的规则,任何更改仅需在此修改。
# Actions会自动生成其他配置文件。
# 由于技术限制,只能实现精确到域名的分流规则,无法精确到路径。
# 配置规范举例:
# DOMAIN,example.com
# DOMAIN-SUFFIX,example.com,REJECT
# 注意"DOMAIN"大写,不用"HOST",除"REJECT"外不要添加规则。
config:
name: "anti-ip-attribution" # 项目名
version: "v0.3.1" # 版本号
url: "https://github.com/lwd-temp/anti-ip-attribution" # 项目地址
description: "针对部分网站显示IP归属地的分流规则" # 项目描述
rules: # 规则列表

# ======= MIUI ======= #

# 应用包管理组件API
# - DOMAIN,api.installer.xiaomi.com,REJECT
# miui-tracking
# - DOMAIN,tracking.miui.com,REJECT
# - DOMAIN,tracking.intl.miui.com,REJECT
# - DOMAIN,tracking.rus.miui.com,REJECT
# - DOMAIN,tracking.india.miui.com,REJECT
# 病毒扫描
# - DOMAIN-SUFFIX,sec.miui.com,REJECT
# - DOMAIN-SUFFIX,sec.intl.miui.com,REJECT
# - DOMAIN,api.sec.miui.com,REJECT
# - DOMAIN,staging.sec.miui.com,REJECT
# - DOMAIN,a0.app.xiaomi.com,REJECT

26 changes: 26 additions & 0 deletions rules/NGA.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rules.yaml
# https://github.com/lwd-temp/anti-ip-attribution
# 此文件用于记录用于生成其他配置文件的规则,任何更改仅需在此修改。
# Actions会自动生成其他配置文件。
# 由于技术限制,只能实现精确到域名的分流规则,无法精确到路径。
# 配置规范举例:
# DOMAIN,example.com
# DOMAIN-SUFFIX,example.com,REJECT
# 注意"DOMAIN"大写,不用"HOST",除"REJECT"外不要添加规则。
config:
name: "anti-ip-attribution" # 项目名
version: "v0.3.1" # 版本号
url: "https://github.com/lwd-temp/anti-ip-attribution" # 项目地址
description: "针对部分网站显示IP归属地的分流规则" # 项目描述
rules: # 规则列表

# ======= NGA ======= #

# issue#19提供
# 个人主页ip。开代理以后发一个评论就会变代理ip
- DOMAIN,ngabbs.com
# issue#47提供
- DOMAIN,bbs.nga.cn
- DOMAIN,nga.178.com

25 changes: 25 additions & 0 deletions rules/QQ音乐.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rules.yaml
# https://github.com/lwd-temp/anti-ip-attribution
# 此文件用于记录用于生成其他配置文件的规则,任何更改仅需在此修改。
# Actions会自动生成其他配置文件。
# 由于技术限制,只能实现精确到域名的分流规则,无法精确到路径。
# 配置规范举例:
# DOMAIN,example.com
# DOMAIN-SUFFIX,example.com,REJECT
# 注意"DOMAIN"大写,不用"HOST",除"REJECT"外不要添加规则。
config:
name: "anti-ip-attribution" # 项目名
version: "v0.3.1" # 版本号
url: "https://github.com/lwd-temp/anti-ip-attribution" # 项目地址
description: "针对部分网站显示IP归属地的分流规则" # 项目描述
rules: # 规则列表

# ======= QQ音乐 ======= #

# 测试
- DOMAIN,y.qq.com,DIRECT # 图片资源,直连
- DOMAIN-SUFFIX,y.qq.com # u*.y.qq.com
# ======= 森空岛 ====== #
- DOMAIN,zonai.skland.com

29 changes: 29 additions & 0 deletions rules/Soul.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rules.yaml
# https://github.com/lwd-temp/anti-ip-attribution
# 此文件用于记录用于生成其他配置文件的规则,任何更改仅需在此修改。
# Actions会自动生成其他配置文件。
# 由于技术限制,只能实现精确到域名的分流规则,无法精确到路径。
# 配置规范举例:
# DOMAIN,example.com
# DOMAIN-SUFFIX,example.com,REJECT
# 注意"DOMAIN"大写,不用"HOST",除"REJECT"外不要添加规则。
config:
name: "anti-ip-attribution" # 项目名
version: "v0.3.1" # 版本号
url: "https://github.com/lwd-temp/anti-ip-attribution" # 项目地址
description: "针对部分网站显示IP归属地的分流规则" # 项目描述
rules: # 规则列表

# ======= Soul ======= #

# https://www.soulapp.cn/
# 目前采取了比较激进的策略
# 疑似图片资源,直连
- DOMAIN,china-img.soulapp.cn,DIRECT
- DOMAIN,img.soulapp.cn,DIRECT
# 其余可疑API域名
# - DOMAIN-SUFFIX,getui.com # 个推,专业的数据智能服务商-为垂直领域提供数据智能解决方案
- DOMAIN-SUFFIX,soulapp.cn
# - DOMAIN-SUFFIX,qchannel03.cn # 功能未知,但检测到对此的请求

22 changes: 22 additions & 0 deletions rules/TapTap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rules.yaml
# https://github.com/lwd-temp/anti-ip-attribution
# 此文件用于记录用于生成其他配置文件的规则,任何更改仅需在此修改。
# Actions会自动生成其他配置文件。
# 由于技术限制,只能实现精确到域名的分流规则,无法精确到路径。
# 配置规范举例:
# DOMAIN,example.com
# DOMAIN-SUFFIX,example.com,REJECT
# 注意"DOMAIN"大写,不用"HOST",除"REJECT"外不要添加规则。
config:
name: "anti-ip-attribution" # 项目名
version: "v0.3.1" # 版本号
url: "https://github.com/lwd-temp/anti-ip-attribution" # 项目地址
description: "针对部分网站显示IP归属地的分流规则" # 项目描述
rules: # 规则列表

# ======= TapTap ======= #

# issue#16提供
- DOMAIN,api.taptapdada.com

22 changes: 22 additions & 0 deletions rules/其乐论坛.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rules.yaml
# https://github.com/lwd-temp/anti-ip-attribution
# 此文件用于记录用于生成其他配置文件的规则,任何更改仅需在此修改。
# Actions会自动生成其他配置文件。
# 由于技术限制,只能实现精确到域名的分流规则,无法精确到路径。
# 配置规范举例:
# DOMAIN,example.com
# DOMAIN-SUFFIX,example.com,REJECT
# 注意"DOMAIN"大写,不用"HOST",除"REJECT"外不要添加规则。
config:
name: "anti-ip-attribution" # 项目名
version: "v0.3.1" # 版本号
url: "https://github.com/lwd-temp/anti-ip-attribution" # 项目地址
description: "针对部分网站显示IP归属地的分流规则" # 项目描述
rules: # 规则列表

# ======= 其乐论坛 ======= #

# issue#11 提供
- DOMAIN,keylol.com # 评论区

64 changes: 64 additions & 0 deletions rules/哔哩哔哩.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rules.yaml
# https://github.com/lwd-temp/anti-ip-attribution
# 此文件用于记录用于生成其他配置文件的规则,任何更改仅需在此修改。
# Actions会自动生成其他配置文件。
# 由于技术限制,只能实现精确到域名的分流规则,无法精确到路径。
# 配置规范举例:
# DOMAIN,example.com
# DOMAIN-SUFFIX,example.com,REJECT
# 注意"DOMAIN"大写,不用"HOST",除"REJECT"外不要添加规则。
config:
name: "anti-ip-attribution" # 项目名
version: "v0.3.1" # 版本号
url: "https://github.com/lwd-temp/anti-ip-attribution" # 项目地址
description: "针对部分网站显示IP归属地的分流规则" # 项目描述
rules: # 规则列表

# ======= 哔哩哔哩 ======= #

# 哔哩哔哩
# 阻止私有DNS
- DOMAIN,httpdns.bilivideo.com,REJECT # issues/51
# KEY_EXT_P2P_HTTPDNS_BILI_IP
- IP-CIDR,47.101.175.206/32,REJECT
- IP-CIDR,47.100.123.169/32,REJECT
- IP-CIDR,120.46.169.234/32,REJECT
- IP-CIDR,121.36.72.124/32,REJECT
# KEY_EXT_P2P_BILIDNS_CMCC_IP
- IP-CIDR,116.63.10.135/32,REJECT
- IP-CIDR,122.9.7.134/32,REJECT
- IP-CIDR,117.185.228.108/32,REJECT
- IP-CIDR,117.144.238.29/32,REJECT
# KEY_EXT_P2P_BILIDNS_CT_IP
- IP-CIDR,122.9.13.79/32,REJECT
- IP-CIDR,122.9.15.129/32,REJECT
- IP-CIDR,101.91.140.224/32,REJECT
- IP-CIDR,101.91.140.124/32,REJECT
# KEY_EXT_P2P_BILIDNS_CU_IP
- IP-CIDR,114.116.215.110/32,REJECT
- 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 # 哔哩哔哩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,im9.com
# - DOMAIN-SUFFIX,acg.tv
# - DOMAIN-SUFFIX,biligame.com

23 changes: 23 additions & 0 deletions rules/国家反诈中心.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rules.yaml
# https://github.com/lwd-temp/anti-ip-attribution
# 此文件用于记录用于生成其他配置文件的规则,任何更改仅需在此修改。
# Actions会自动生成其他配置文件。
# 由于技术限制,只能实现精确到域名的分流规则,无法精确到路径。
# 配置规范举例:
# DOMAIN,example.com
# DOMAIN-SUFFIX,example.com,REJECT
# 注意"DOMAIN"大写,不用"HOST",除"REJECT"外不要添加规则。
config:
name: "anti-ip-attribution" # 项目名
version: "v0.3.1" # 版本号
url: "https://github.com/lwd-temp/anti-ip-attribution" # 项目地址
description: "针对部分网站显示IP归属地的分流规则" # 项目描述
rules: # 规则列表

# ======= 国家反诈中心 ======= #

# 国家反诈中心App
# - DOMAIN-SUFFIX,gjfzpt.cn,REJECT # 国家反诈中心域名,全部阻断
# - IP-CIDR,219.143.187.136/32,REJECT # 用途未知

22 changes: 22 additions & 0 deletions rules/头条.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 针对部分网站显示IP归属地的分流规则
# anti-ip-attribution rules.yaml
# https://github.com/lwd-temp/anti-ip-attribution
# 此文件用于记录用于生成其他配置文件的规则,任何更改仅需在此修改。
# Actions会自动生成其他配置文件。
# 由于技术限制,只能实现精确到域名的分流规则,无法精确到路径。
# 配置规范举例:
# DOMAIN,example.com
# DOMAIN-SUFFIX,example.com,REJECT
# 注意"DOMAIN"大写,不用"HOST",除"REJECT"外不要添加规则。
config:
name: "anti-ip-attribution" # 项目名
version: "v0.3.1" # 版本号
url: "https://github.com/lwd-temp/anti-ip-attribution" # 项目地址
description: "针对部分网站显示IP归属地的分流规则" # 项目描述
rules: # 规则列表

# ======= 头条 ======= #

# 网友提供头条IP定位接口
- DOMAIN-SUFFIX,toutiaoapi.com

Loading

0 comments on commit 448cc1a

Please sign in to comment.