Re: [pipt] Status of python-iptables
Status: Beta
Brought to you by:
mithro
From: Tim A. <mi...@mi...> - 2005-11-10 12:09:26
|
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. With the current version you should be able to get the counters for each rule. c = iptc.Chain(t, "PREROUTING") <--- Getting the first rule r = c.first() print r print r.counters <--- The counters for the first rule 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. Mithro On Thu, 2005-11-10 at 09:09 +0100, Alexander Reelsen wrote: > Hi > > Just wanted to ask about any release plans of python-iptables (and future > plans at all, as there does not seem be too much action lately). I'd like > to test and help where possible. > > Judging by the test.py example script, there is currently no way of > getting counters of specific rules, or? > > This is what I am seeking for. I want to write an accounting tool in > python with RRD backend (there are just no products currently which do > what I need). > > > Regards, Alexander > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > python-iptables-list mailing list > pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-iptables-list |