mirror of
https://github.com/Loyalsoldier/clash-rules.git
synced 2024-12-05 02:32:06 +08:00
Chore: replace PROCESS-NAME rules with rule-set
This commit is contained in:
parent
a409fcb644
commit
6653b1818c
100
README.md
100
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
|
||||
|
Loading…
Reference in New Issue
Block a user