Commit Graph

84 Commits

Author SHA1 Message Date
gVisor bot
fd9aca5f39 chore: using uint16 for ports in Metadata 2023-08-09 13:51:02 +08:00
gVisor bot
1908d02db0 feat: Add Meta-geoip V0 database support 2023-07-17 10:33:20 +08:00
gVisor bot
ce8cac3bea feat: Add sing-geoip database support 2023-07-14 22:28:24 +08:00
gVisor bot
903c77d806 chore: update to go1.21rc2, drop support for go1.19 2023-07-02 09:59:18 +08:00
gVisor bot
496759ba7e chore: function rename 2023-06-19 08:32:11 +08:00
gVisor bot
d558b31cf2 feat: optional provider path (#624) 2023-06-15 22:45:02 +08:00
gVisor bot
dadd626f91 [Feature] Proxy stores delay data of different URLs. And supports specifying different test URLs and expected statue by group (#588)
Co-authored-by: Larvan2 <78135608+Larvan2@users.noreply.github.com>
Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
2023-06-04 11:51:30 +08:00
gVisor bot
83f6d6f8f2 chore: add IN-USER and IN-NAME rules 2023-05-28 17:19:57 +08:00
gVisor bot
c813b0f027 fix: ruleProvider panic 2023-04-14 19:08:41 +08:00
gVisor bot
087383cb34 feat: ruleset support text format 2023-04-14 13:51:26 +08:00
gVisor bot
6cfe879a2d chore: rule-provider direct using IndexByte in bytes for find new line 2023-04-01 16:55:16 +08:00
gVisor bot
510aa73cbe chore: rule-provider now read yaml line-by-line 2023-04-01 14:11:09 +08:00
gVisor bot
6b5484841d chore: DomainSet now build from a DomainTrie 2023-04-01 12:15:03 +08:00
gVisor bot
96461ab557 feat: nameserver-policy support use rule-providers and reduce domain-set memory 2023-04-01 11:53:39 +08:00
gVisor bot
3c6c622c85 fix: socks5 serialize error #376 2023-02-18 17:18:58 +08:00
gVisor bot
8e273d504e fix: sub-rule condition don't work 2023-01-27 12:38:15 +08:00
gVisor bot
9d9d4565e3 feat: add override-destination for sniffer 2023-01-23 14:08:11 +08:00
gVisor bot
dd72be0ef1 chore: Correct the decision of enabling find process 2023-01-21 14:27:09 +08:00
gVisor bot
bc34532418 Fix: Remove EnableProcess from config.go and enable-process from config.yaml.
Fix: FindProcess is now enabled by default when the rule set contains process-name rules.
2023-01-20 16:29:08 +08:00
gVisor bot
ace55047ab chore: Refine process code 2023-01-14 16:16:59 +08:00
gVisor bot
c8f119493e fix: geoip mmdb/geodata init 2023-01-09 21:12:13 +08:00
gVisor bot
290a425c42 fix: Process rule is not work in classical rule-set 2023-01-04 21:18:07 +08:00
gVisor bot
1a4c0db682 chore: cleanup rules/logic code 2022-12-05 23:51:38 +08:00
gVisor bot
ae17141588 feat: add linsters 2022-12-04 13:37:14 +08:00
gVisor bot
b48387d9f4 chore: optimize DomainTrie for only one child 2022-11-30 19:42:05 +08:00
gVisor bot
537035ffa8 chore: decrease DomainTrie's memory use 2022-11-30 18:50:46 +08:00
gVisor bot
081f3f3e32 test: cleanup the test code 2022-11-30 08:58:53 +08:00
gVisor bot
add8f84da3 fix: geosite match 2022-11-21 10:33:42 +08:00
gVisor bot
722e8a6c27 Merge branch 'dev' of https://github.com/Dreamacro/clash into Alpha 2022-11-12 20:43:48 +08:00
gVisor bot
a6e05e040b chore: support IN-PORT rule 2022-11-11 23:36:06 +08:00
gVisor bot
d5d5dc2303 chore: remove AddrType on Metadata 2022-11-11 09:19:50 +08:00
gVisor bot
99a1561cd4 chore: trie.DomainTrie will not depend on zero value 2022-11-02 22:28:18 +08:00
gVisor bot
f57225e360 fix: adjust sub_rule to logic package, and fix not rule failed 2022-09-11 16:19:42 +08:00
gVisor bot
d6dc5ba19c feat: support sub-rule, eg.
rules:
  - SUB-RULE,(AND,((NETWORK,TCP),(DOMAIN-KEYWORD,google))),TEST2
  - SUB-RULE,(GEOIP,!CN),TEST1
  - MATCH,DIRECT

sub-rules:
  TEST2:
    - MATCH,Proxy
  TEST1:
    - RULE-SET,Local,DIRECT,no-resolve
    - GEOSITE,CN,Domestic
    - GEOIP,CN,Domestic
    - MATCH,Proxy
2022-09-06 17:30:35 +08:00
gVisor bot
6484ba4d44 chore: Skip initial "lan" rules that load geoip 2022-08-17 00:33:03 +08:00
gVisor bot
04910ba4a0 fix: remove extra and the actual original IDNA domain name is no longer stored, for reduce memory 2022-08-11 21:50:16 +08:00
gVisor bot
6b95daa9ee refactor: Unified provider loading resources 2022-07-11 21:30:34 +08:00
gVisor bot
eebac64086 fix: IDNA domain match 2022-06-18 18:13:54 +08:00
gVisor bot
5e61947d84 style: rule provider strategy 2022-06-18 17:53:40 +08:00
gVisor bot
fd40911fde fix: force update provider happen loopback 2022-06-18 16:05:09 +08:00
gVisor bot
271be43a9d refactor: finding process and uid should to find with match process or uid rule, reduce memory allocation 2022-06-14 22:52:56 +08:00
gVisor bot
7e4d679da6 refactor: clear linkname,reduce cycle dependencies,transport init geosite function 2022-06-10 13:38:19 +08:00
gVisor bot
58e44ed27c fix: make CodeQL happy Dreamacro 2022-06-09 17:59:17 +08:00
gVisor bot
e488342451 fix: upgrade to yaml v3 2022-06-09 17:59:17 +08:00
gVisor bot
2ea93b8398 Merge branch 'dev' into Alpha 2022-06-04 19:16:56 +08:00
gVisor bot
d072d06e49 chore: 调整目录与包名一致 2022-06-04 03:25:33 +08:00
gVisor bot
542325aae4 Style: code style 2021-06-10 14:05:56 +08:00
gVisor bot
1860de9362 Style: cleanup code 2021-03-24 01:00:21 +08:00
gVisor bot
e063713174 Chore: move find process name to a single part 2020-12-17 22:17:27 +08:00
gVisor bot
a18ad955e7 Fix: PROCESS-NAME on FreeBSD 11.x (#947) 2020-09-07 17:43:34 +08:00