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,



Relevant Pages

  • Re: setting up nat
    ... If you are going to that depth why not just do iptables. ... It seems that shorewall is just a wrapper of iptables. ... you need to know something about networking to use it to its full ... you need not learn the semantics of iptables. ...
    (Fedora)
  • Re: PeerBlock For Linux?
    ... Windows called Peer Block ... Is there an equivalent for Linux? ... iptables, or your favorite wrapper for it. ...
    (comp.os.linux.misc)