Replies: 1 comment
-
Ok, it should be the solution:
|
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
In default, I want block quic but there is some apps have problems on it, such as youtube music, it can't play some music when quic is blocked.
So I write these rules (minimized):
But, there is another problem: the music.exe can not have adblock.
Of course we can move adblock to top like this:
But what if there is some traffic from music.exe need to be direct?
Hola, here is the solution:
And there is a final question: how to block quic of direct traffic?
Of course we can have logic rules in it:
But we can find that we messed up these rules, its unreadable and have huge changes just because we want skip an exe from a rule. And we need music.exe still check all the rules.
So the rule should be like this:
There is no such keyword. But I found the
SUB-RULE
, it's likeswitch
statement in programing language:But it shows the error message:
Parse config error: rules[2] [SUB-RULE,(MATCH),allow-quic] error: [MATCH] format is error
.And we can have a workaround that match any process:
SUB-RULE,(PROCESS-NAME-REGEX,*),allow-quic
, but it may affect performance.So I duplicated rules 2 times and here is the final solution:
And my question is: how to achieve this and don't have such workarounds?
Beta Was this translation helpful? Give feedback.
All reactions