From 6653b1818cb3ca4b3bb656ec4563205491d9d2ae Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Wed, 3 Nov 2021 19:29:07 +0800 Subject: [PATCH] Chore: replace PROCESS-NAME rules with rule-set --- README.md | 100 +++++++----------------------------------------------- 1 file changed, 12 insertions(+), 88 deletions(-) diff --git a/README.md b/README.md index 53c29e0..29f5560 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,9 @@ - **中国大陆 IPv4 地址列表 cncidr.txt**: - [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/cncidr.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/cncidr.txt) - [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt) +- **需要直连的常见软件列表 applications.txt**: + - [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/applications.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/applications.txt) + - [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt) ### 使用方式 @@ -162,6 +165,13 @@ rule-providers: url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt" path: ./ruleset/lancidr.yaml interval: 86400 + + applications: + type: http + behavior: classical + url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt" + path: ./ruleset/applications.yaml + interval: 86400 ``` #### 白名单模式 Rules 配置方式(推荐) @@ -173,50 +183,7 @@ rule-providers: ```yaml rules: - - PROCESS-NAME,v2ray,DIRECT - - PROCESS-NAME,xray,DIRECT - - PROCESS-NAME,naive,DIRECT - - PROCESS-NAME,trojan,DIRECT - - PROCESS-NAME,trojan-go,DIRECT - - PROCESS-NAME,ss-local,DIRECT - - PROCESS-NAME,privoxy,DIRECT - - PROCESS-NAME,leaf,DIRECT - - PROCESS-NAME,v2ray.exe,DIRECT - - PROCESS-NAME,xray.exe,DIRECT - - PROCESS-NAME,naive.exe,DIRECT - - PROCESS-NAME,trojan.exe,DIRECT - - PROCESS-NAME,trojan-go.exe,DIRECT - - PROCESS-NAME,ss-local.exe,DIRECT - - PROCESS-NAME,privoxy.exe,DIRECT - - PROCESS-NAME,leaf.exe,DIRECT - - PROCESS-NAME,Surge,DIRECT - - PROCESS-NAME,Surge 2,DIRECT - - PROCESS-NAME,Surge 3,DIRECT - - PROCESS-NAME,Surge 4,DIRECT - - PROCESS-NAME,Surge%202,DIRECT - - PROCESS-NAME,Surge%203,DIRECT - - PROCESS-NAME,Surge%204,DIRECT - - PROCESS-NAME,Thunder,DIRECT - - PROCESS-NAME,DownloadService,DIRECT - - PROCESS-NAME,qBittorrent,DIRECT - - PROCESS-NAME,Transmission,DIRECT - - PROCESS-NAME,fdm,DIRECT - - PROCESS-NAME,aria2c,DIRECT - - PROCESS-NAME,Folx,DIRECT - - PROCESS-NAME,NetTransport,DIRECT - - PROCESS-NAME,uTorrent,DIRECT - - PROCESS-NAME,WebTorrent,DIRECT - - PROCESS-NAME,aria2c.exe,DIRECT - - PROCESS-NAME,BitComet.exe,DIRECT - - PROCESS-NAME,fdm.exe,DIRECT - - PROCESS-NAME,NetTransport.exe,DIRECT - - PROCESS-NAME,qbittorrent.exe,DIRECT - - PROCESS-NAME,Thunder.exe,DIRECT - - PROCESS-NAME,ThunderVIP.exe,DIRECT - - PROCESS-NAME,transmission-daemon.exe,DIRECT - - PROCESS-NAME,transmission-qt.exe,DIRECT - - PROCESS-NAME,uTorrent.exe,DIRECT - - PROCESS-NAME,WebTorrent.exe,DIRECT + - RULE-SET,applications,DIRECT - DOMAIN,clash.razord.top,DIRECT - DOMAIN,yacd.haishan.me,DIRECT - RULE-SET,private,DIRECT @@ -241,50 +208,7 @@ rules: ```yaml rules: - - PROCESS-NAME,v2ray,DIRECT - - PROCESS-NAME,xray,DIRECT - - PROCESS-NAME,naive,DIRECT - - PROCESS-NAME,trojan,DIRECT - - PROCESS-NAME,trojan-go,DIRECT - - PROCESS-NAME,ss-local,DIRECT - - PROCESS-NAME,privoxy,DIRECT - - PROCESS-NAME,leaf,DIRECT - - PROCESS-NAME,v2ray.exe,DIRECT - - PROCESS-NAME,xray.exe,DIRECT - - PROCESS-NAME,naive.exe,DIRECT - - PROCESS-NAME,trojan.exe,DIRECT - - PROCESS-NAME,trojan-go.exe,DIRECT - - PROCESS-NAME,ss-local.exe,DIRECT - - PROCESS-NAME,privoxy.exe,DIRECT - - PROCESS-NAME,leaf.exe,DIRECT - - PROCESS-NAME,Surge,DIRECT - - PROCESS-NAME,Surge 2,DIRECT - - PROCESS-NAME,Surge 3,DIRECT - - PROCESS-NAME,Surge 4,DIRECT - - PROCESS-NAME,Surge%202,DIRECT - - PROCESS-NAME,Surge%203,DIRECT - - PROCESS-NAME,Surge%204,DIRECT - - PROCESS-NAME,Thunder,DIRECT - - PROCESS-NAME,DownloadService,DIRECT - - PROCESS-NAME,qBittorrent,DIRECT - - PROCESS-NAME,Transmission,DIRECT - - PROCESS-NAME,fdm,DIRECT - - PROCESS-NAME,aria2c,DIRECT - - PROCESS-NAME,Folx,DIRECT - - PROCESS-NAME,NetTransport,DIRECT - - PROCESS-NAME,uTorrent,DIRECT - - PROCESS-NAME,WebTorrent,DIRECT - - PROCESS-NAME,aria2c.exe,DIRECT - - PROCESS-NAME,BitComet.exe,DIRECT - - PROCESS-NAME,fdm.exe,DIRECT - - PROCESS-NAME,NetTransport.exe,DIRECT - - PROCESS-NAME,qbittorrent.exe,DIRECT - - PROCESS-NAME,Thunder.exe,DIRECT - - PROCESS-NAME,ThunderVIP.exe,DIRECT - - PROCESS-NAME,transmission-daemon.exe,DIRECT - - PROCESS-NAME,transmission-qt.exe,DIRECT - - PROCESS-NAME,uTorrent.exe,DIRECT - - PROCESS-NAME,WebTorrent.exe,DIRECT + - RULE-SET,applications,DIRECT - DOMAIN,clash.razord.top,DIRECT - DOMAIN,yacd.haishan.me,DIRECT - RULE-SET,private,DIRECT