python-iptables
python-iptables copied to clipboard
Python bindings for iptables
Running python 3.12, python-iptables v1.01, iptables v1.8.4 (legacy) on ubuntu 20.04 Since update from py 3.11 to 3.12, passing a rule_d to add_rule in iptc.easy.add_rule() with `rule_d['tcp'] = {'dport': None}...
I encountered a SyntaxWarning when running Python 3.12 along with the iptc package. The warning message points to the file ip4tc.py, specifically at line 261: ``` /cclear/py/.venv/lib/python3.12/site-packages/iptc/ip4tc.py:261: SyntaxWarning: invalid escape...
hi, ldx, may i ask why there is a raw socket port 255 open after instantiate the iptc.Table like: `filter = iptc.Table('filter')` `netstat -anp` shows: `raw 0 0 0.0.0.0:255 0.0.0.0:*...
Fixes #345
If iptables version 1.8.11-2 is installed and python 3.12 or python 3.13 is used in Ubuntu or Arch Linux and and the `python-iptables` module of pip version 1.0.1. is installed,...
`libxtwrapper.so` is built as if it is a C extension Python module. It certainly is a C extension, but it's not a Python module (one cannot simply `import` it). Because...