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

Mirror-port filter doesn't work with mask #349

Open
mnenashev opened this issue Nov 25, 2024 · 3 comments
Open

Mirror-port filter doesn't work with mask #349

mnenashev opened this issue Nov 25, 2024 · 3 comments

Comments

@mnenashev
Copy link

I've tested filter feature for mirror port in OVS v3.4.0.
It seems that filter with mask doesn't work.

Examples:
ovs-vsctl -- set mirror mirror-01 filter='"ip,nw_src=10.0.0.1"' <--- works fine

ovs-vsctl -- set mirror mirror-01 filter='"ip,nw_src=10.0.0.0/24"' <--- does'n work (no traffic on mirror-port)

@mkp-rh
Copy link

mkp-rh commented Nov 25, 2024

Currently when parsing filters, OVS rejects wildcarding on fields. However, that was unintentional. I've made a note to fix this.

@chaudron
Copy link

chaudron commented Nov 25, 2024 via email

@igsilya
Copy link
Member

igsilya commented Nov 27, 2024

It seems that filter with mask doesn't work.

Examples:
ovs-vsctl -- set mirror mirror-01 filter='"ip,nw_src=10.0.0.0/24"' <--- does'n work (no traffic on mirror-port)

FWIW, you should have a message saying wildcards are not allowed here in the log. It is not communicated back to the ovs-vsctl process, but the error is logged.

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

4 participants