Feat: add classical rule-set applications (#52)

pull/73/head
Zhuo FENG 2021-11-03 18:51:23 +08:00 committed by GitHub
parent 0b70fd69a0
commit e220a0c625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 55 additions and 46 deletions

45
applications.txt Normal file
View File

@ -0,0 +1,45 @@
payload:
- PROCESS-NAME,v2ray
- PROCESS-NAME,xray
- PROCESS-NAME,naive
- PROCESS-NAME,trojan
- PROCESS-NAME,trojan-go
- PROCESS-NAME,ss-local
- PROCESS-NAME,privoxy
- PROCESS-NAME,leaf
- PROCESS-NAME,v2ray.exe
- PROCESS-NAME,xray.exe
- PROCESS-NAME,naive.exe
- PROCESS-NAME,trojan.exe
- PROCESS-NAME,trojan-go.exe
- PROCESS-NAME,ss-local.exe
- PROCESS-NAME,privoxy.exe
- PROCESS-NAME,leaf.exe
- PROCESS-NAME,Surge
- PROCESS-NAME,Surge 2
- PROCESS-NAME,Surge 3
- PROCESS-NAME,Surge 4
- PROCESS-NAME,Surge%202
- PROCESS-NAME,Surge%203
- PROCESS-NAME,Surge%204
- PROCESS-NAME,Thunder
- PROCESS-NAME,DownloadService
- PROCESS-NAME,qBittorrent
- PROCESS-NAME,Transmission
- PROCESS-NAME,fdm
- PROCESS-NAME,aria2c
- PROCESS-NAME,Folx
- PROCESS-NAME,NetTransport
- PROCESS-NAME,uTorrent
- PROCESS-NAME,WebTorrent
- PROCESS-NAME,aria2c.exe
- PROCESS-NAME,BitComet.exe
- PROCESS-NAME,fdm.exe
- PROCESS-NAME,NetTransport.exe
- PROCESS-NAME,qbittorrent.exe
- PROCESS-NAME,Thunder.exe
- PROCESS-NAME,ThunderVIP.exe
- PROCESS-NAME,transmission-daemon.exe
- PROCESS-NAME,transmission-qt.exe
- PROCESS-NAME,uTorrent.exe
- PROCESS-NAME,WebTorrent.exe

View File

@ -39,8 +39,8 @@ dns:
tun: tun:
enable: true enable: true
stack: system stack: system
macOS-auto-route: true auto-route: true
macOS-auto-detect-interface: true auto-detect-interface: true
dns-hijack: dns-hijack:
- 114.114.114.114 - 114.114.114.114
- 180.76.76.76 - 180.76.76.76
@ -133,51 +133,15 @@ rule-providers:
path: ./ruleset/lancidr.yaml path: ./ruleset/lancidr.yaml
interval: 36000 interval: 36000
applications:
type: http
behavior: classical
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt"
path: ./ruleset/applications.yaml
interval: 36000
rules: rules:
- PROCESS-NAME,v2ray,DIRECT - RULE-SET,applications,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
- DOMAIN,clash.razord.top,DIRECT - DOMAIN,clash.razord.top,DIRECT
- DOMAIN,yacd.haishan.me,DIRECT - DOMAIN,yacd.haishan.me,DIRECT
- RULE-SET,private,DIRECT - RULE-SET,private,DIRECT