Skip to contentSkip to conversation

correct way to terminate nfct_catch

DISCUSSION Anatoli Bobylev 1 participant 1 message Sep 14, 2011

lore
Share & tools
lore
#0 lore raw

I have a multihreaded application using netfilter_conntrack and one thread is blocked in nfct_catch. Signal handling is done in another (main) thread. What is the correct way to terminate nfct_catch? I tried sending SIGINT to the blocked thread using pthread_kill expecting that it would be interrupted with EINTR but that did not happen. The same approach works with NFQUEUE in the recv cycle. Any suggestions? Thank you.

Anatoli Bobylev