Hi,
Could you send your code I'd like to run it on my platform.
I will send the code directly to your email, it is basically this file:
libnetfilter_queue-0.0.13/utils/nfqnl_test.c
With printf commented out, and the while loop changed from:
while ((rv = recv(fd, buf, sizeof(buf), 0)) && rv >= 0)
To:
while ( ((rv = recv(fd, buf, sizeof(buf), 0)) && rv >= 0) ||
(errno==105) )
Looking back to it I don't know why I added this check but it used to
break the loop after few hundreds of packets.
In fact, I've done some bench on NuFW and found a similar result. Here's
the article (in french) with some graphs :
http://nufw.org/Tests-de-performance-intensifs-sur.html
Unfortunately I don't know french :(
Best regards,
Rayed