Re: [pipt] howto request for iptables module
Status: Beta
Brought to you by:
mithro
From: <com...@gm...> - 2007-08-06 08:39:26
|
On Monday 06 August 2007 11:19:36 you wrote: > On Mon, 2007-08-06 at 11:14 +0300, O=C4=9Fuz Yar=C4=B1mtepe wrote: > > Hi, > > > > I was looking for the usage of python-iptables module but i couldnt find > > any example. Tyring with ipython and importing the iptables i checked t= he > > methods and the source file but couldnt visualise how i will add or > > insert a new rule to the iptables ruleset. Is there any document or > > example that i can check or may you please just simply show me a simple > > example that is inserting a rule? > > You can currently only read out the rules. Even then I doubt it works as > it has suffered a couple of years of bitrot. ok > > > I will use this module only for inserting a new rule, now. But in the > > future i may need to work on the iptables ruleset, read it and get > > dublicated rules and clear them out. So do you suggest me to use this > > module, because in the email list i read the project is on hold. > > I just don't have time to work on this project anymore. Feel free to > work on it however. I dont know now but i will remember this. Thanx. > > Tim Ansell =2D-=20 O=C4=9Fuz Yar=C4=B1mtepe http://www.yarimtepe.com/en |