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

luci-app-upnp: Fix rpc handler for nftables #5839

Closed
wants to merge 1 commit into from

Conversation

kode54
Copy link

@kode54 kode54 commented Jun 13, 2022

Rewrite great portions of the rpcd handler script to utilize the
newer nftables implementation for firewall4-using versions. This
is required because miniupnpd-nftables creates tables that are
incompatible with iptables-nft. There may be some race conditions
with deleting the lease entries, since it opens the file to
locate the line number to delete. There could be a better way to
do this.

Signed-off-by: Christopher Snowhill kode54@gmail.com

Rewrite great portions of the rpcd handler script to utilize the
newer nftables implementation for firewall4-using versions. This
is required because miniupnpd-nftables creates tables that are
incompatible with iptables-nft. There may be some race conditions
with deleting the lease entries, since it opens the file to
locate the line number to delete. There could be a better way to
do this.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
@hnyman
Copy link
Contributor

hnyman commented Jun 15, 2022

I wonder if we would need separate luci-app-upnp-iptables and luci-app-upnp-nftables, as miniupnpd has both variants (and there are die-hard fw3 users)

Any thoughts, @jow- ?

@jow-
Copy link
Contributor

jow- commented Oct 13, 2022

Superseded by 82eec98

@jow- jow- closed this Oct 13, 2022
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

Successfully merging this pull request may close these issues.

3 participants