LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   IPTABLES: Netfilter Queue handling : nf_create_queue() entering blocking mode. (https://www.linuxquestions.org/questions/linux-kernel-70/iptables-netfilter-queue-handling-nf_create_queue-entering-blocking-mode-4175548211/)

santhosh M 07-17-2015 01:39 AM

IPTABLES: Netfilter Queue handling : nf_create_queue() entering blocking mode.
 
Hi,
I have a IPTABLES rule and to handle the queued packets in the userspace i am using netfilter queue handle.
I am having a Queue lib handle that handles all v4 packets from kernal to userspace. when i call nfq_create_queue, it is going into blocking mode and my program never comes back!
please help me in this ASAP!

santhosh M 07-17-2015 01:51 AM

Quote:

Originally Posted by santhosh M (Post 5392599)
Hi,
I have a IPTABLES rule and to handle the queued packets in the userspace i am using netfilter queue handle.
I am having a Queue lib handle that handles all v4 packets from kernal to userspace. when i call nfq_create_queue(), it is going into blocking mode and my program never comes back!
please help me in this ASAP!

the backtrace is like this

in recvfrom () from /lib/x86_64-linux-gnu/libpthread.so.0
in nfnl_recv () from /usr/lib/libnfnetlink.so.0
in nfnl_catch () from /usr/lib/libnfnetlink.so.0


All times are GMT -5. The time now is 12:53 PM.