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

meta filter: allow to match on multiple fields at once #316

Open
vlrpl opened this issue Dec 20, 2023 · 1 comment
Open

meta filter: allow to match on multiple fields at once #316

vlrpl opened this issue Dec 20, 2023 · 1 comment

Comments

@vlrpl
Copy link
Contributor

vlrpl commented Dec 20, 2023

The goal here is to have "&&" or "and" support only.

-m "sk_buff.dev.name == 'eth0' && sk_buff.mark == 0xf00"

@vlrpl
Copy link
Contributor Author

vlrpl commented Aug 8, 2024

this probably pairs better with something proposed by @atenart and may end up becoming a new feature request.
If the above results to be ok, we might want to consider having a more complex dsl (maybe with both and/or and parentheses) using something like pest + a simple AST + ...

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

No branches or pull requests

1 participant