Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 让 SUB-RULE 支持 MATCH #1787

Open
3 tasks done
Hubedge opened this issue Jan 11, 2025 · 1 comment
Open
3 tasks done

[Feature] 让 SUB-RULE 支持 MATCH #1787

Hubedge opened this issue Jan 11, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Hubedge
Copy link

Hubedge commented Jan 11, 2025

验证步骤

  • 我已经阅读了 文档,确认了该功能没有实现
  • 我已在 Issue Tracker 中寻找过我要提出的功能请求,并且没有找到
  • 我是中文用户,而非其他语言用户

描述

增加对以下语法之一的支持,即无条件按some-sub-rule进一步匹配。之所以不把some-sub-rule的内容直接贴到rules末尾,是因为还有其他多处使用some-sub-rule

rules:
  - SUB-RULE,(MATCH),some-sub-rule
  - SUB-RULE,(MATCH,),some-sub-rule

目前的临时解决方案是

rules:
  - SUB-RULE,(DST-PORT,0-65535),some-sub-rule
@Hubedge Hubedge added the enhancement New feature or request label Jan 11, 2025
@cresky-github
Copy link

此功能,无必要。
MATCH,就穷尽所有已知之后的终极规则。
子规则,就是没有穷尽,逻辑上错误。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants