-
Notifications
You must be signed in to change notification settings - Fork 380
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
Consider adding support for choosing which nftables table(s) to insert rules into #1732
Comments
Similarly, it would be helpful to have proto UDP and the port range be configurable. In the case where no base chain is set, it seems everything will need to touch xt_RTPENGINE before popping back to the remainder of the chains and rules.
This |
That will probably have to wait until the kernel module itself is migrated to nftables as I don't think it's possible to link xtables modules into the |
If we're not using a separate base chain, create the target rule with the UDP filter in place, same as the "immediate" rule in the case with a base chain. Reported in #1732 Change-Id: I0e67a88f5f51e21ba9537c87e2955f910dd6ec2c
If we're not using a separate base chain, create the target rule with the UDP filter in place, same as the "immediate" rule in the case with a base chain. Reported in #1732 Change-Id: I0e67a88f5f51e21ba9537c87e2955f910dd6ec2c
If we're not using a separate base chain, create the target rule with the UDP filter in place, same as the "immediate" rule in the case with a base chain. Reported in #1732 Change-Id: I0e67a88f5f51e21ba9537c87e2955f910dd6ec2c
Hello,
I'm glad to see nft support was recently added to rtpengine. This is a minor feature request to add configuration which allows choosing which tables the rules will be injected into. nft is a bit non-intuitive when multiple tables of type filter are using the same hook, and explicitly setting this could simplify things and prevent unintended behaviours.
Currently rtpe would create rules similar to the following:
It would be great if this behaviour depended on a configuration setting such as:
So that if one chose to use
--nftables-tables=inet
, the following configuration would be created instead:Note that these nft snippets are used for demonstration purposes and are not actually produced by the rtpengine process. Thanks!
The text was updated successfully, but these errors were encountered: