Re: [pipt] howto request for iptables module
Status: Beta
Brought to you by:
mithro
From: Tim A. <mi...@mi...> - 2007-08-06 08:19:41
|
On Mon, 2007-08-06 at 11:14 +0300, O=C4=9Fuz Yar=C4=B1mtepe wrote: > Hi, >=20 > I was looking for the usage of python-iptables module but i couldnt fin= d any=20 > example. Tyring with ipython and importing the iptables i checked the m= ethods=20 > and the source file but couldnt visualise how i will add or insert a ne= w rule=20 > to the iptables ruleset. Is there any document or example that i can ch= eck or=20 > 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. > I will use this module only for inserting a new rule, now. But in the f= uture i=20 > may need to work on the iptables ruleset, read it and get dublicated ru= les=20 > and clear them out. So do you suggest me to use this module, because in= the=20 > 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. Tim Ansell |