Skip to contentSkip to conversation

How do I test a libnetfilter_queue program?

DISCUSSION Alessandro Vesely 1 participant 1 message Jan 13, 2010

lore
Share & tools
lore
#0 lore raw

Hi all!

I'm writing a program to block packets using libnetfilter_queue. How can I run specific tests, or a test suite to be run on "make check"?

I think I'll have to hack libnetfilter_queue.c so as to read/write to files rather than nfnetlink. Has someone already done something like that? Is there a better way to do the same?

TIA for any suggestion/caveat you'll post