[pipt] howto request for iptables module
Status: Beta
Brought to you by:
mithro
From: <com...@gm...> - 2007-08-06 08:14:38
|
Hi, I was looking for the usage of python-iptables module but i couldnt find an= y=20 example. Tyring with ipython and importing the iptables i checked the metho= ds=20 and the source file but couldnt visualise how i will add or insert a new ru= le=20 to the iptables ruleset. Is there any document or example that i can check = or=20 may you please just simply show me a simple example that is inserting a rul= e? I will use this module only for inserting a new rule, now. But in the futur= e i=20 may need to work on the iptables ruleset, read it and get dublicated rules= =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. =2D-=20 O=C4=9Fuz Yar=C4=B1mtepe http://www.yarimtepe.com/en |