Skip to contentSkip to conversation

nf_queue question

DISCUSSION Bahamin Takhtaei 2 participants 3 messages Jul 26, 2007

lore
Share & tools
lore
#0 lore raw

Hi everyone!
I install libnfnetlink_0.0.16 and libnetfilter_queue-0.0.12 and upgrade my kernel to linux-2.6.17.13. Then I run libnetfilter_queue-0.0.12/utils/nfqnl_test , but encounter with this message:
nfnl_talk: sendmsg(netlink) Connection refused
error during nfq_unbind_pf()

#lsmod
ip_queue
xt_NFQUEUE
iptables_filter
iptables

Please tell me how I can handle this error?

Thank you in advanced,
Bahamin

#1 lore raw
Quoted 8 lines · Bahamin Takhtaei

Hi everyone!
I install libnfnetlink_0.0.16 and libnetfilter_queue-0.0.12 and upgrade my kernel to
linux-2.6.17.13. Then I run libnetfilter_queue-0.0.12/utils/nfqnl_test , but encounter with
this message:
nfnl_talk: sendmsg(netlink) Connection refused
error during nfq_unbind_pf()

To run nfqueue applications, it requires root rights. If you are running nfqnl_test as root, can you give the exact line output that produces this error ?

Thanks,
Sebastien.

#2 lore raw
Quoted 7 lines · Sebastien Tricaud

To run nfqueue applications, it requires root rights. If you are running nfqnl_test as root, can you give the exact line output that produces this error ?

For line output I mean strace line output.