Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LAZY_RULES: Adjust the priority order of China domains to fix #144 #197

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions LAZY_RULES/Clash_Premium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -469,13 +469,6 @@ rule-providers:
path: ./ruleset/Apple-direct.yaml
interval: 3600

cn:
type: http
behavior: classical
url: "https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Clash/Basic/CN.yaml"
path: ./ruleset/CN.yaml
interval: 3600

ad-keyword:
type: http
behavior: classical
Expand All @@ -497,6 +490,13 @@ rule-providers:
path: ./ruleset/Telegram.yaml
interval: 3600

cn:
type: http
behavior: classical
url: "https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Clash/Basic/CN.yaml"
path: ./ruleset/CN.yaml
interval: 3600

lan:
type: http
behavior: classical
Expand Down
268 changes: 134 additions & 134 deletions LAZY_RULES/Quantumult.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Hackl0us Rules, filter, https://raw.githubusercontent.com/Hackl0us/Surge-Rule-Sn
## 您可以在此处插入自定义规则

# Apple
HOST,safebrowsing.urlsec.qq.com,DIRECT
HOST,safebrowsing.urlsec.qq.com,DIRECT
HOST,safebrowsing.googleapis.com,DIRECT
## 如果您并不信任以上服务提供商或防止其下载消耗过多带宽资源,可以进入 Safari 设置,关闭 Fraudulent Website Warning 功能,并使用 REJECT 策略。
HOST,developer.apple.com,Proxy
Expand Down Expand Up @@ -53,139 +53,6 @@ HOST-SUFFIX,apple-cloudkit.com,DIRECT,resolve-on-proxy
HOST-SUFFIX,apple-mapkit.com,DIRECT,resolve-on-proxy
#HOST,e.crashlytics.com,REJECT ##注释此选项有助于大多数App开发者分析崩溃信息;如果您拒绝一切崩溃数据统计、搜集,请取消 # 注释。

# 国内网站
HOST-SUFFIX,cn,DIRECT
HOST-KEYWORD,-cn,DIRECT

USER-AGENT,MicroMessenger Client,DIRECT
USER-AGENT,WeChat*,DIRECT

HOST-SUFFIX,126.com,DIRECT
HOST-SUFFIX,126.net,DIRECT
HOST-SUFFIX,127.net,DIRECT
HOST-SUFFIX,163.com,DIRECT
HOST-SUFFIX,360buyimg.com,DIRECT
HOST-SUFFIX,36kr.com,DIRECT
HOST-SUFFIX,acfun.tv,DIRECT
HOST-SUFFIX,air-matters.com,DIRECT
HOST-SUFFIX,aixifan.com,DIRECT
HOST-KEYWORD,alicdn,DIRECT
HOST-KEYWORD,alipay,DIRECT
HOST-KEYWORD,taobao,DIRECT
HOST-SUFFIX,amap.com,DIRECT
HOST-SUFFIX,autonavi.com,DIRECT
HOST-KEYWORD,baidu,DIRECT
HOST-SUFFIX,bdimg.com,DIRECT
HOST-SUFFIX,bdstatic.com,DIRECT
HOST-SUFFIX,bilibili.com,DIRECT
HOST-SUFFIX,bilivideo.com,DIRECT
HOST-SUFFIX,caiyunapp.com,DIRECT
HOST-SUFFIX,clouddn.com,DIRECT
HOST-SUFFIX,cnbeta.com,DIRECT
HOST-SUFFIX,cnbetacdn.com,DIRECT
HOST-SUFFIX,cootekservice.com,DIRECT
HOST-SUFFIX,csdn.net,DIRECT
HOST-SUFFIX,ctrip.com,DIRECT
HOST-SUFFIX,dgtle.com,DIRECT
HOST-SUFFIX,dianping.com,DIRECT
HOST-SUFFIX,douban.com,DIRECT
HOST-SUFFIX,doubanio.com,DIRECT
HOST-SUFFIX,duokan.com,DIRECT
HOST-SUFFIX,easou.com,DIRECT
HOST-SUFFIX,ele.me,DIRECT
HOST-SUFFIX,feng.com,DIRECT
HOST-SUFFIX,fir.im,DIRECT
HOST-SUFFIX,frdic.com,DIRECT
HOST-SUFFIX,g-cores.com,DIRECT
HOST-SUFFIX,godic.net,DIRECT
HOST-SUFFIX,gtimg.com,DIRECT
HOST,cdn.hockeyapp.net,DIRECT
HOST-SUFFIX,hongxiu.com,DIRECT
HOST-SUFFIX,hxcdn.net,DIRECT
HOST-SUFFIX,iciba.com,DIRECT
HOST-SUFFIX,ifeng.com,DIRECT
HOST-SUFFIX,ifengimg.com,DIRECT
HOST-SUFFIX,ipip.net,DIRECT
HOST-SUFFIX,iqiyi.com,DIRECT
HOST-SUFFIX,jd.com,DIRECT
HOST-SUFFIX,jianshu.com,DIRECT
HOST-SUFFIX,knewone.com,DIRECT
HOST-SUFFIX,le.com,DIRECT
HOST-SUFFIX,lecloud.com,DIRECT
HOST-SUFFIX,lemicp.com,DIRECT
HOST-SUFFIX,licdn.com,DIRECT
HOST-SUFFIX,luoo.net,DIRECT
HOST-SUFFIX,meituan.com,DIRECT
HOST-SUFFIX,meituan.net,DIRECT
HOST-SUFFIX,mi.com,DIRECT
HOST-SUFFIX,miaopai.com,DIRECT
HOST-SUFFIX,microsoft.com,DIRECT
HOST-SUFFIX,microsoftonline.com,DIRECT
HOST-SUFFIX,miui.com,DIRECT
HOST-SUFFIX,miwifi.com,DIRECT
HOST-SUFFIX,mob.com,DIRECT
HOST-SUFFIX,netease.com,DIRECT
HOST-SUFFIX,office.com,DIRECT
HOST-KEYWORD,officecdn,DIRECT
HOST-SUFFIX,office365.com,DIRECT
HOST-SUFFIX,oschina.net,DIRECT
HOST-SUFFIX,ppsimg.com,DIRECT
HOST-SUFFIX,pstatp.com,DIRECT
HOST-SUFFIX,qcloud.com,DIRECT
HOST-SUFFIX,qdaily.com,DIRECT
HOST-SUFFIX,qdmm.com,DIRECT
HOST-SUFFIX,qhimg.com,DIRECT
HOST-SUFFIX,qhres.com,DIRECT
HOST-SUFFIX,qidian.com,DIRECT
HOST-SUFFIX,qihucdn.com,DIRECT
HOST-SUFFIX,qiniu.com,DIRECT
HOST-SUFFIX,qiniucdn.com,DIRECT
HOST-SUFFIX,qiyipic.com,DIRECT
HOST-SUFFIX,qq.com,DIRECT
HOST-SUFFIX,qqurl.com,DIRECT
HOST-SUFFIX,rarbg.to,DIRECT
HOST-SUFFIX,ruguoapp.com,DIRECT
HOST-SUFFIX,segmentfault.com,DIRECT
HOST-SUFFIX,sinaapp.com,DIRECT
HOST-SUFFIX,smzdm.com,DIRECT
HOST-SUFFIX,snapdrop.net,DIRECT
HOST-SUFFIX,sogou.com,DIRECT
HOST-SUFFIX,sogoucdn.com,DIRECT
HOST-SUFFIX,sohu.com,DIRECT
HOST-SUFFIX,soku.com,DIRECT
HOST-SUFFIX,speedtest.net,DIRECT
HOST-SUFFIX,sspai.com,DIRECT
HOST-SUFFIX,suning.com,DIRECT
HOST-SUFFIX,taobao.com,DIRECT
HOST-SUFFIX,tencent.com,DIRECT
HOST-SUFFIX,tenpay.com,DIRECT
HOST-SUFFIX,tianyancha.com,DIRECT
HOST-SUFFIX,tmall.com,DIRECT
HOST-SUFFIX,tudou.com,DIRECT
HOST-SUFFIX,umetrip.com,DIRECT
HOST-SUFFIX,upaiyun.com,DIRECT
HOST-SUFFIX,upyun.com,DIRECT
HOST-SUFFIX,veryzhun.com,DIRECT
HOST-SUFFIX,weather.com,DIRECT
HOST-SUFFIX,weibo.com,DIRECT
HOST-SUFFIX,xiami.com,DIRECT
HOST-SUFFIX,xiami.net,DIRECT
HOST-SUFFIX,xiaomicp.com,DIRECT
HOST-SUFFIX,ximalaya.com,DIRECT
HOST-SUFFIX,xmcdn.com,DIRECT
HOST-SUFFIX,xunlei.com,DIRECT
HOST-SUFFIX,yhd.com,DIRECT
HOST-SUFFIX,yihaodianimg.com,DIRECT
HOST-SUFFIX,yinxiang.com,DIRECT
HOST-SUFFIX,ykimg.com,DIRECT
HOST-SUFFIX,youdao.com,DIRECT
HOST-SUFFIX,youku.com,DIRECT
HOST-SUFFIX,zealer.com,DIRECT
HOST-SUFFIX,zhihu.com,DIRECT
HOST-SUFFIX,zhimg.com,DIRECT
HOST-SUFFIX,zimuzu.tv,DIRECT
HOST-SUFFIX,zoho.com,DIRECT

# 常见广告域名屏蔽
HOST-KEYWORD,admarvel,REJECT
HOST-KEYWORD,admaster,REJECT
Expand Down Expand Up @@ -514,6 +381,139 @@ IP-CIDR6,2001:67c:4e8::/48,Proxy,no-resolve
IP-CIDR6,2001:b28:f23d::/48,Proxy,no-resolve
IP-CIDR6,2001:b28:f23f::/48,Proxy,no-resolve

# 国内网站
HOST-SUFFIX,cn,DIRECT
HOST-KEYWORD,-cn,DIRECT

USER-AGENT,MicroMessenger Client,DIRECT
USER-AGENT,WeChat*,DIRECT

HOST-SUFFIX,126.com,DIRECT
HOST-SUFFIX,126.net,DIRECT
HOST-SUFFIX,127.net,DIRECT
HOST-SUFFIX,163.com,DIRECT
HOST-SUFFIX,360buyimg.com,DIRECT
HOST-SUFFIX,36kr.com,DIRECT
HOST-SUFFIX,acfun.tv,DIRECT
HOST-SUFFIX,air-matters.com,DIRECT
HOST-SUFFIX,aixifan.com,DIRECT
HOST-KEYWORD,alicdn,DIRECT
HOST-KEYWORD,alipay,DIRECT
HOST-KEYWORD,taobao,DIRECT
HOST-SUFFIX,amap.com,DIRECT
HOST-SUFFIX,autonavi.com,DIRECT
HOST-KEYWORD,baidu,DIRECT
HOST-SUFFIX,bdimg.com,DIRECT
HOST-SUFFIX,bdstatic.com,DIRECT
HOST-SUFFIX,bilibili.com,DIRECT
HOST-SUFFIX,bilivideo.com,DIRECT
HOST-SUFFIX,caiyunapp.com,DIRECT
HOST-SUFFIX,clouddn.com,DIRECT
HOST-SUFFIX,cnbeta.com,DIRECT
HOST-SUFFIX,cnbetacdn.com,DIRECT
HOST-SUFFIX,cootekservice.com,DIRECT
HOST-SUFFIX,csdn.net,DIRECT
HOST-SUFFIX,ctrip.com,DIRECT
HOST-SUFFIX,dgtle.com,DIRECT
HOST-SUFFIX,dianping.com,DIRECT
HOST-SUFFIX,douban.com,DIRECT
HOST-SUFFIX,doubanio.com,DIRECT
HOST-SUFFIX,duokan.com,DIRECT
HOST-SUFFIX,easou.com,DIRECT
HOST-SUFFIX,ele.me,DIRECT
HOST-SUFFIX,feng.com,DIRECT
HOST-SUFFIX,fir.im,DIRECT
HOST-SUFFIX,frdic.com,DIRECT
HOST-SUFFIX,g-cores.com,DIRECT
HOST-SUFFIX,godic.net,DIRECT
HOST-SUFFIX,gtimg.com,DIRECT
HOST,cdn.hockeyapp.net,DIRECT
HOST-SUFFIX,hongxiu.com,DIRECT
HOST-SUFFIX,hxcdn.net,DIRECT
HOST-SUFFIX,iciba.com,DIRECT
HOST-SUFFIX,ifeng.com,DIRECT
HOST-SUFFIX,ifengimg.com,DIRECT
HOST-SUFFIX,ipip.net,DIRECT
HOST-SUFFIX,iqiyi.com,DIRECT
HOST-SUFFIX,jd.com,DIRECT
HOST-SUFFIX,jianshu.com,DIRECT
HOST-SUFFIX,knewone.com,DIRECT
HOST-SUFFIX,le.com,DIRECT
HOST-SUFFIX,lecloud.com,DIRECT
HOST-SUFFIX,lemicp.com,DIRECT
HOST-SUFFIX,licdn.com,DIRECT
HOST-SUFFIX,luoo.net,DIRECT
HOST-SUFFIX,meituan.com,DIRECT
HOST-SUFFIX,meituan.net,DIRECT
HOST-SUFFIX,mi.com,DIRECT
HOST-SUFFIX,miaopai.com,DIRECT
HOST-SUFFIX,microsoft.com,DIRECT
HOST-SUFFIX,microsoftonline.com,DIRECT
HOST-SUFFIX,miui.com,DIRECT
HOST-SUFFIX,miwifi.com,DIRECT
HOST-SUFFIX,mob.com,DIRECT
HOST-SUFFIX,netease.com,DIRECT
HOST-SUFFIX,office.com,DIRECT
HOST-KEYWORD,officecdn,DIRECT
HOST-SUFFIX,office365.com,DIRECT
HOST-SUFFIX,oschina.net,DIRECT
HOST-SUFFIX,ppsimg.com,DIRECT
HOST-SUFFIX,pstatp.com,DIRECT
HOST-SUFFIX,qcloud.com,DIRECT
HOST-SUFFIX,qdaily.com,DIRECT
HOST-SUFFIX,qdmm.com,DIRECT
HOST-SUFFIX,qhimg.com,DIRECT
HOST-SUFFIX,qhres.com,DIRECT
HOST-SUFFIX,qidian.com,DIRECT
HOST-SUFFIX,qihucdn.com,DIRECT
HOST-SUFFIX,qiniu.com,DIRECT
HOST-SUFFIX,qiniucdn.com,DIRECT
HOST-SUFFIX,qiyipic.com,DIRECT
HOST-SUFFIX,qq.com,DIRECT
HOST-SUFFIX,qqurl.com,DIRECT
HOST-SUFFIX,rarbg.to,DIRECT
HOST-SUFFIX,ruguoapp.com,DIRECT
HOST-SUFFIX,segmentfault.com,DIRECT
HOST-SUFFIX,sinaapp.com,DIRECT
HOST-SUFFIX,smzdm.com,DIRECT
HOST-SUFFIX,snapdrop.net,DIRECT
HOST-SUFFIX,sogou.com,DIRECT
HOST-SUFFIX,sogoucdn.com,DIRECT
HOST-SUFFIX,sohu.com,DIRECT
HOST-SUFFIX,soku.com,DIRECT
HOST-SUFFIX,speedtest.net,DIRECT
HOST-SUFFIX,sspai.com,DIRECT
HOST-SUFFIX,suning.com,DIRECT
HOST-SUFFIX,taobao.com,DIRECT
HOST-SUFFIX,tencent.com,DIRECT
HOST-SUFFIX,tenpay.com,DIRECT
HOST-SUFFIX,tianyancha.com,DIRECT
HOST-SUFFIX,tmall.com,DIRECT
HOST-SUFFIX,tudou.com,DIRECT
HOST-SUFFIX,umetrip.com,DIRECT
HOST-SUFFIX,upaiyun.com,DIRECT
HOST-SUFFIX,upyun.com,DIRECT
HOST-SUFFIX,veryzhun.com,DIRECT
HOST-SUFFIX,weather.com,DIRECT
HOST-SUFFIX,weibo.com,DIRECT
HOST-SUFFIX,xiami.com,DIRECT
HOST-SUFFIX,xiami.net,DIRECT
HOST-SUFFIX,xiaomicp.com,DIRECT
HOST-SUFFIX,ximalaya.com,DIRECT
HOST-SUFFIX,xmcdn.com,DIRECT
HOST-SUFFIX,xunlei.com,DIRECT
HOST-SUFFIX,yhd.com,DIRECT
HOST-SUFFIX,yihaodianimg.com,DIRECT
HOST-SUFFIX,yinxiang.com,DIRECT
HOST-SUFFIX,ykimg.com,DIRECT
HOST-SUFFIX,youdao.com,DIRECT
HOST-SUFFIX,youku.com,DIRECT
HOST-SUFFIX,zealer.com,DIRECT
HOST-SUFFIX,zhihu.com,DIRECT
HOST-SUFFIX,zhimg.com,DIRECT
HOST-SUFFIX,zimuzu.tv,DIRECT
HOST-SUFFIX,zoho.com,DIRECT

# LAN
HOST,injections.adguard.org,DIRECT
HOST,local.adguard.org,DIRECT
Expand Down
8 changes: 4 additions & 4 deletions LAZY_RULES/QuantumultX.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 基于官方 Quantumult 示例配置文件 v1.0.9 修改
#
#
# 以 ";" 或 "#" 或 "//" 开头的行为注释行。
#
# SS-URI scheme 请参考 https://shadowsocks.org/en/spec/SIP002-URI-Scheme.html
Expand Down Expand Up @@ -82,10 +82,10 @@ static=select-proxy-group, ss1, ss2
https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Quantumult/Basic/Apple-News.list, tag=Hackl0us, force-policy=proxy, enabled=false
https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Quantumult/Basic/Apple-proxy.list, tag=Hackl0us, force-policy=proxy, enabled=true
https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Quantumult/Basic/Apple-direct.list, tag=Hackl0us, enabled=true
https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Quantumult/Basic/CN.list, tag=Hackl0us, enabled=true
https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Quantumult/Basic/common-ad-keyword.list, tag=Hackl0us, enabled=true
https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Quantumult/Basic/foreign.list, tag=Hackl0us, force-policy=proxy, enabled=true
https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Quantumult/App/social/Telegram.list, tag=Hackl0us, force-policy=proxy, enabled=true
https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Quantumult/Basic/CN.list, tag=Hackl0us, enabled=true
https://cdn.jsdelivr.net/gh/Hackl0us/SS-Rule-Snippet@master/Rulesets/Quantumult/Basic/LAN.list, tag=Hackl0us, enabled=true

#
Expand Down Expand Up @@ -201,8 +201,8 @@ final, proxy
# 为安全起见,请妥善保管 CA 密码和 p12 证书,切勿泄露!
#
[mitm]
;passphrase =
;p12 =
;passphrase =
;p12 =
;skip_validating_cert = true
;force_sni_domain_name = false
;hostname = *.example.com, *.sample.com, non-existed-domain.com, *.non-connected-domain.com
Expand Down
Loading