From: "Calvin" Subject: add/remove rules using libiptc Date: Fri, 16 May 2003 21:32:38 +1000 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <002e01c31b9e$db21bd30$d211fea9@toowoomba> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002B_01C31BF2.ACAC8990" Return-path: To: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_002B_01C31BF2.ACAC8990 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I am looking for a way to adding and deleting rules from iptables using = module. I reaad the Rusty Hacking netfilter HOWTO and got a little bit = idea. However there are something i can't understand. I the guide, it mentions = about the libiptc. Is it I can use the lib in the netfilter module for = adding and deleting rules from the iptables at any time using the = iptc_insert_entry(), iptc_append_entry(), iptc_delete_entry(), etc? = However I can't find an example of using these, i get really confused = about the struct using in there. Could anyone pls give me a guide to = start? I can't find the libiptc.h in my linux Redhat 8, why? I have iptables = complied as a module when I complie my kernel before. ------=_NextPart_000_002B_01C31BF2.ACAC8990 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
I am looking for a way to adding and = deleting rules=20 from iptables using module. I reaad the Rusty Hacking netfilter HOWTO = and got a=20 little bit idea.
 
However there are something i can't = understand. I=20 the guide, it mentions about the libiptc. Is it I can use the lib in the = netfilter module for adding and deleting rules from the iptables at any = time=20 using the iptc_insert_entry(), iptc_append_entry(), iptc_delete_entry(), = etc?=20 However I can't find an example of  using these, i get really = confused=20 about the struct using in there. Could anyone pls give me a guide to=20 start?
 
I can't find the libiptc.h in my = linux Redhat=20 8, why? I have iptables complied as a module when I complie my kernel=20 before.
 
 
 
 
------=_NextPart_000_002B_01C31BF2.ACAC8990--