You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this error:
Traceback (most recent call last):
File "./teste.py", line 40, in
match.dport = "1234"
File "/usr/lib64/python2.7/site-packages/iptc/init.py", line 360, in setattr
self.parse(name.replace("_", "-"), value)
File "/usr/lib64/python2.7/site-packages/iptc/init.py", line 305, in parse
(self._module.name, parameter))
AttributeError: udp: invalid parameter dport
My software:
Kernel: 3.4.2-1.fc16.x86_64 SMP Thu Jun 14 20:17:26 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
iptables: v1.4.12
python-iptables: from github
Sergio Cioban Filho
Especialista em redes e segurança de sistemas - PUCPR
Linux Professional Institute Certified - Level 2
Novell Certified Linux Administrator
D-Link Adavanced Certification - Switch
Activity
ldx commentedon Sep 20, 2012
See #13 for a proposed patch. It doesn't work yet, however - core structures in iptables have changed in version 1.4.
ldx commentedon Jan 25, 2013
Please take a look at HEAD - python-iptables should now work with the new iptables API.
cioban commentedon Jan 25, 2013
Ok, thanks...
Sergio Cioban Filho
Especialista em redes e segurança de sistemas - PUCPR
Linux Professional Institute Certified - Level 2
Novell Certified Linux Administrator
D-Link Adavanced Certification - Switch
Tecnólogo em Gestão de TI
Consultoria e projetos em soluções OpenSource
| linux :: network :: virtualization :: clustering :: development
| cioban@gmail.com - http://cioban.cc
| +55 48 9989-8733
| twitter: @cioban
On Fri, Jan 25, 2013 at 3:44 PM, ldx notifications@github.com wrote: