Re: IPtables and C programming??

mimanium@xxxxxxxxxxx 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 <glynn@xxxxxxxxxxxxxxxxxx>