Re: IPtables and C programming??
- From: "Greg Leclercq" <ggregl@xxxxxxxxx>
- Date: Thu, 6 Apr 2006 17:12:50 +0200
On 3 Apr 2006 20:17:05 -0000, mimanium@xxxxxxxxxxx <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?
Does libnetfilter_queue
[http://www.netfilter.org/projects/libnetfilter_queue/index.html] 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. "
Cheers,
--
.::[ Greg ]::.
- References:
- IPtables and C programming??
- From: mimanium
- IPtables and C programming??
- Prev by Date: Re: R: IPtables and C programming??
- Next by Date: Re: R: IPtables and C programming??
- Previous by thread: Re: IPtables and C programming??
- Next by thread: Re: IPtables and C programming??
- Index(es):