Re: IPtables and C programming??

Cody Tubbs <[email protected]> Wed, 05 Apr 2006 10:31:19 -0700
Newsgroups gmane.comp.security.linux
Message-ID <1144258279.15781.24.camel@mbox>
Are you meaning the raw kernel/proc iptables data, or code that uses the
`iptables' user-space app as a wrapper?  If it's a simple wrapper you
can uses a variety of the unistd.h's exec functions, ie: execve(2).


-Cody Tubbs
Sr. Security Engineer / Systems Analyst


On Mon, 2006-04-03 at 20:17 +0000, [email protected] wrote:
> Hi!
> 
> I jut wonder if it is possible to write a C programme that can acces IPtables and use them for firewalling? 
> If so, How?
> 
> ragards,