libipq
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.
Now my question: is this a good place for any questions regarding
libipq ? 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?
Thanks,
Simon
Hi,
Quoted 7 lines · Simon
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.
Quoted 3 lines
Now my question: is this a good place for any questions regarding
libipq ?
Yes
Quoted 3 lines
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,
Signature · 2 lines
Eric Leblond <[email protected]> INL
Hi Eric,
thanks for the quick reply! I was misled by "libipq" and I found
all I need to get started, already downloaded the 2 libs (main one and _queue) and I'm trying to compile right now (well... i'm still compiling deps though).
I got lots of things to try now and hopefully I'll be back later
with good questions.
Thanks,
Simon
Quoted 34 lines · Eric Leblond
Hi,
Quoted 7 lines · Simon
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.Quoted 3 lines
Now my question: is this a good place for any questions regarding
libipq ?Yes
Quoted 3 lines
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_queueorip_queuelack 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.cBR,
--
Eric Leblond <[email protected]>
INL