Re: IPtables and C programming??

Glynn Clements <[email protected]> Wed, 5 Apr 2006 08:10:26 +0100
Newsgroups gmane.comp.security.linux
Message-ID <[email protected]>
[email protected] wrote:

> I jut wonder if it is possible to write a C programme that can acces
> IPtables and use them for firewalling? 

Like the "iptables" program does?

> If so, How?

Look at the source code for "iptables" or net/ipv4/netfilter in the
kernel. I'm not aware of any formal documentation for the API.

-- 
Glynn Clements <[email protected]>