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

issue with match_mark regex #1198

Open
robertc99 opened this issue Mar 19, 2024 · 1 comment
Open

issue with match_mark regex #1198

robertc99 opened this issue Mar 19, 2024 · 1 comment

Comments

@robertc99
Copy link
Contributor

I getting a warning out of the firewall module 8.0.0) on a rule created by podman
The warning is

Warning: Provider returned data that does not match the Type Schema for firewall[9031 netavark portfw masq mark]
Value type mismatch:
* match_mark: 0x2000/0x2000 (expects an undef value or a match for Pattern[/^(?:!\s)?[a-fA-F0-9x]+$/], got '0x2000/0x2000')

I believe rules causing the problem are
-A NETAVARK-HOSTPORT-MASQ -m comment --comment "netavark portfw masq mark" -m mark --mark 0x2000/0x2000 -j MASQUERADE
-A NETAVARK-HOSTPORT-SETMARK -j MARK --set-xmark 0x2000/0x2000

@robertc99
Copy link
Contributor Author

Ive got a 2 character fix. I'll do a PR when I get a chance

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

No branches or pull requests

2 participants