Re: IPtables and C programming??

On 3 Apr 2006 20:17:05 -0000, mimanium@xxxxxxxxxxx <mimanium@xxxxxxxxxxx> wrote:


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

Does libnetfilter_queue
[] fit
to your needs ?

It's the replacement to the deprecated libipq. To quote the
Netfilter's description :

"libnetfilter_queue is a userspace library providing an API to packets
that have been queued by the kernel packet filter. It is is part of a
system that deprecates the old ip_queue / libipq mechanism.

libnetfilter_queue has been previously known as libnfnetlink_queue. "

.::[ Greg ]::.