Re: [pipt] Status of python-iptables
Status: Beta
Brought to you by:
mithro
From: Alexander R. <al...@em...> - 2005-11-10 12:25:28
|
Hi > python-iptables is currently on hold because of major changes which are > happening in the userspace to kernel interface. Once these have > stabilised I will get back to writing it. Can you give some references to those problems (if handy, I just dont have time till the late weekend to get back to that topic)? > c = iptc.Chain(t, "PREROUTING") <--- Getting the first rule > r = c.first() > print r > print r.counters <--- The counters for the first rule Oh. Ok. Thx > Please note that the current version only compile with the very old > version of iptables (1.2.5). So is unlikely to work with anything else. This is not an option. As this is python and object oriented I will write a wrapper class using temporarily iptables commands, which will be replaced with pipt when it is ready :) Thanks for your help anyway! Regards, Alexander |