Comments (4)
If the test suite does not complain then you're probably fine. Is it only xtables_pending_matches(), or xtables_pending_targets() too missing from libxtables?
from python-iptables.
Both xtables_pending_matches and xtables_pending_targets are missing from the object file
The test suite returns three failures:
====================================================================== ERROR: test_target_parameters (iptc.test.test_targets.TestTarget) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/python-iptables/iptc/test/test_targets.py", line 45, in test_target_parameters t.nfmask = "0xdeadbeef" File "/root/python-iptables/iptc/ip4tc.py", line 358, in __setattr__ self.parse(name.replace("_", "-"), value) File "/root/python-iptables/iptc/ip4tc.py", line 277, in parse self._parse(argv, inv, entry) File "/root/python-iptables/iptc/ip4tc.py", line 596, in _parse ct.cast(self._ptrptr, ct.POINTER(ct.c_void_p))) File "/root/python-iptables/iptc/xtables.py", line 737, in new ret = fn(*args) File "/root/python-iptables/iptc/xtables.py", line 987, in parse_target self._parse(t, argv, invert, flags, fw, ptr) File "/root/python-iptables/iptc/xtables.py", line 939, in _parse raise ValueError("invalid value %s" % (argv[1])) ValueError: invalid value 0xdeadbeef ====================================================================== ERROR: test_insert (iptc.test.test_targets.TestXTClusteripTarget) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/python-iptables/iptc/test/test_targets.py", line 104, in test_insert self.target.hashmode = "sourceip" File "/root/python-iptables/iptc/ip4tc.py", line 358, in __setattr__ self.parse(name.replace("_", "-"), value) File "/root/python-iptables/iptc/ip4tc.py", line 277, in parse self._parse(argv, inv, entry) File "/root/python-iptables/iptc/ip4tc.py", line 596, in _parse ct.cast(self._ptrptr, ct.POINTER(ct.c_void_p))) File "/root/python-iptables/iptc/xtables.py", line 737, in new ret = fn(*args) File "/root/python-iptables/iptc/xtables.py", line 987, in parse_target self._parse(t, argv, invert, flags, fw, ptr) File "/root/python-iptables/iptc/xtables.py", line 939, in _parse raise ValueError("invalid value %s" % (argv[1])) ValueError: invalid value sourceip ====================================================================== ERROR: test_mode (iptc.test.test_targets.TestXTClusteripTarget) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/python-iptables/iptc/test/test_targets.py", line 88, in test_mode self.target.hashmode = hashmode File "/root/python-iptables/iptc/ip4tc.py", line 358, in __setattr__ self.parse(name.replace("_", "-"), value) File "/root/python-iptables/iptc/ip4tc.py", line 277, in parse self._parse(argv, inv, entry) File "/root/python-iptables/iptc/ip4tc.py", line 596, in _parse ct.cast(self._ptrptr, ct.POINTER(ct.c_void_p))) File "/root/python-iptables/iptc/xtables.py", line 737, in new ret = fn(*args) File "/root/python-iptables/iptc/xtables.py", line 987, in parse_target self._parse(t, argv, invert, flags, fw, ptr) File "/root/python-iptables/iptc/xtables.py", line 939, in _parse raise ValueError("invalid value %s" % (argv[1])) ValueError: invalid value sourceip ----------------------------------------------------------------------
from python-iptables.
These should be okay - you just have an old revision of these two extensions, not accepting certain values or lacking features.
from python-iptables.
Awesome, thanks for clearing that up! :) I'll close this out, thanks for the help.
from python-iptables.
Related Issues (20)
- Double free on _Buffer destruction HOT 4
- Segmentation fault when create hashlimit match HOT 3
- iptables and iptables-legacy with Docker containers HOT 2
- Rules added via iptc - not found in iptables o/p HOT 5
- iptc has problem when working with syslog module.
- iptc.errors.XTablesError: can't find target response on iptc.easy.dump_table('filter', ipv6=False) and others
- Can't find target JOOL_SIIT when iptables for both ipv4 and ipv6 are used HOT 1
- A question please, not an issue
- cannot use protocol "all"
- Empty rule list returned on Rocky8 HOT 3
- ldconfig packaged in glibc-2.28 has a different out out than ldconfig in glibc-2.17
- Can I use python-iptables on Python 3.6? HOT 1
- Match_set invalid value b'ipset_name' HOT 8
- How to set match LOCAL HOT 4
- --random parameter not working with SNAT HOT 5
- is nftable not supported?
- can't dump rules
- Is it possible to create '! --dports' rule?
- iptc/ip4tc.py:261: SyntaxWarning: invalid escape sequence '\s'
- Segfault on None or 'None' for dport extension
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-iptables.