Closed mashirozx closed 1 month ago
cc @wwqgtxx
The format of IP class routing rules has always been type, content, proxy, additional parameters (optional)
. Are you sure your example is correct?
The format of IP class routing rules has always been
type, content, proxy, additional parameters (optional)
. Are you sure your example is correct?
I don't know the history of this, but the rule set I've used for years is in this format, and it works well for a long time:
https://github.com/ACL4SSR/ACL4SSR/blob/master/Clash/Providers/LocalAreaNetwork.yaml#L14-L25
The rule-provider and rules
are not the same thing
Well, it seems to be pretty much the same thing, incompatible with the old:
The rule-provider and rules
are not the same thing.
Do not use the content of the rule-provider for rules
.
The format of IP class routing rules has always been type, content, proxy, additional parameters (optional)
.
Verify steps
Operating System
MacOS, Windows, Android
System Version
general issue
Mihomo Version
https://github.com/MetaCubeX/mihomo/commit/38fd37108b22b0e937cae7743c562a2147c65cca
Configuration File
Description
Users used to configure as:
But with the changes in https://github.com/MetaCubeX/mihomo/commit/38fd37108b22b0e937cae7743c562a2147c65cca, such a config style will no longer work with the build of the alpha branch.
I personally understand that
- IP-CIDR,192.168.0.0/16,direct,no-resolve
is a better format, but there are still a lot of existing rule sets configured in this style, i.e., the famous ACL4SSR.I think with such a breaking change, we should throw a more conspicuous error message, instead of
error: proxy no-resolve not found
, and what's more, it's better to provide compatibility for the old style.Logs
No response