luci icon indicating copy to clipboard operation
luci copied to clipboard

luci-app-upnp: Fix rpc handler for nftables

Open kode54 opened this issue 2 years ago • 1 comments

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 [email protected]

kode54 avatar Jun 13 '22 12:06 kode54

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- ?

hnyman avatar Jun 15 '22 09:06 hnyman

Superseded by 82eec98944714c2b61f6e54291bc8f22983bb122

jow- avatar Oct 13 '22 11:10 jow-