Re: IPtables and C programming??
"Greg Leclercq" <[email protected]> Thu, 6 Apr 2006 17:12:50 +0200
| Newsgroups | gmane.comp.security.linux |
|---|---|
| Message-ID | <[email protected]> |
On 3 Apr 2006 20:17:05 -0000, [email protected] <[email protected]> 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 ]::.