Commit Graph
23 Commits
Author SHA1 Message Date
ECHSFXY fd2112ecbe feat: add built-in proxy PASS-RULE (#2873)
when a PASS-RULE is hit in a sub-rule, the sub-rule will not be skipped; instead, the currently hit rule branch will be skipped, and the matching of rules will continue in the sub-rule.
2026-06-04 21:23:39 +08:00
wwqgtxx 94c8d60f72 chore: simplified logic rule parsing 2026-01-08 23:42:01 +08:00
wwqgtxx b18a33552c chore: remove unused pointer in rules implements 2026-01-06 09:29:09 +08:00
wwqgtxx 300eb8b12a chore: rebuild rule parsing code 2025-07-14 10:35:33 +08:00
wwqgtxx 2b84dd3618 fix: regex in logic rules
https://github.com/MetaCubeX/mihomo/issues/2150
2025-07-07 16:16:16 +08:00
wwqgtxx ae7967f662 chore: the resolve and findProcess behaviors of Logic and SubRules follow the order and needs of the internal rules 2025-06-10 20:11:50 +08:00
wwqgtxx 5a9ad0ed3c chore: code cleanup 2024-12-19 09:29:17 +08:00
wwqgtxx beefe37260 chore: logic rules dynamic obtain parameters 2024-08-06 17:17:48 +08:00
wwqgtxx a9ecc627e6 fix: subrule can't recursion correctly (#1339) 2024-06-22 13:18:23 +08:00
wwqgtxx 09be5cbc99 feat: tun support auto-redirect, route-address-set and route-exclude-address-set 2024-06-17 22:04:51 +08:00
Cesaryuan 7e3e38d054 fix: SUB-RULE with PROCESS-NAME rule payload not working (#953) 2024-01-06 22:29:30 +08:00
H1JK b05cf14b98 chore: Replace stack collection with list 2023-11-20 23:48:30 +08:00
wwqgtxx 17c9d507be chore: hello mihomo 2023-11-03 21:58:21 +08:00
Skyxim 6decaef050 fix: sub-rule condition don't work 2023-01-27 12:38:15 +08:00
wwqgtxx 3b96d54369 chore: cleanup rules/logic code 2022-12-05 23:51:38 +08:00
Skyxim 4f75201a98 feat: add linsters 2022-12-04 13:37:14 +08:00
wwqgtxx 1d9e320087 test: cleanup the test code 2022-11-30 08:58:53 +08:00
wwqgtxx b2d7149a95 chore: support IN-PORT rule 2022-11-11 23:36:06 +08:00
wwqgtxx 6dadc2357a chore: remove AddrType on Metadata 2022-11-11 09:19:50 +08:00
Skyxim 4597ed49cf fix: adjust sub_rule to logic package, and fix not rule failed 2022-09-11 16:19:42 +08:00
adlyq 9b89ff9f2d 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
Skyxim 130a3a261d refactor: clear linkname,reduce cycle dependencies,transport init geosite function 2022-06-10 13:38:19 +08:00
MetaCubeX cb517cb529 chore: 调整目录与包名一致 2022-06-04 03:25:33 +08:00