ldx / python-iptables

Python bindings for iptables

Home Page:http://ldx.github.com/python-iptables/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is nftable not supported?

Yorklandian opened this issue · comments

My iptables has the following version iptables v1.8.7 (nf_tables)
After running code in the example, no changes can be observed via "iptables -t XXX -nvL".
Instead ,rules are added to iptable-legacy which can be seen via "iptables-legacy -t XXX -nvL".
Does this mean I can NOT AT ALL modify iptables with nf_tables backend with this package?

According to ldx response in #319 indeed, python-iptables works only with iptables-legacy.
As nf_tables is now widely included by default in recents linux version, it would be great to have a python-iptables nf_tables compatible.