Commit Graph

10 Commits

Author SHA1 Message Date
gVisor bot
8e273d504e fix: sub-rule condition don't work 2023-01-27 12:38:15 +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
081f3f3e32 test: cleanup the test code 2022-11-30 08:58:53 +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
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
7e4d679da6 refactor: clear linkname,reduce cycle dependencies,transport init geosite function 2022-06-10 13:38:19 +08:00
gVisor bot
d072d06e49 chore: 调整目录与包名一致 2022-06-04 03:25:33 +08:00