libipq

Eric Leblond eric at inl.fr
Sat Jun 9 20:15:13 CEST 2007


Hi,

Le samedi 09 juin 2007 à 12:46 -0500, Simon a écrit :
> Hi there,
>   I've been working with iptables a long time but only as a newbie.
> Now I moved up the ladder to the rank of amateur and I made myself a
> companion program to iptables that helps manage it.
>   One more thing i whish to do is to examine packets one after the
> other (only certain types of packet, not all traffic) and I understand
> I should QUEUE packets and use libipq to read those packets.

You should not use the deprecated and almost dead ipq. Use
libnetfilter_queue.

> 
>   Now my question: is this a good place for any questions regarding
> libipq ?

Yes

>   And if it is, can you guys tell me in advance where I can
> find a more in-depth documentation that the simple man-page i could
> only find?

libnetfilter_queue or ip_queue lack documentation but you can look at
some code sample like the one I wrote for NuFW :
http://software.inl.fr/trac/trac.cgi/browser/mirror/edenwall/nufw/trunk/nufw/src/nufw/packetsrv.c

BR,
-- 
Eric Leblond <eric at inl.fr>
INL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : /pipermail/netfilter-devel/attachments/20070609/392df6d4/attachment.pgp


More information about the netfilter-devel mailing list