Re: IPtables and C programming??



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, mimanium@xxxxxxxxxxx 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,