* [nfqueue] nfqueue in virtualized environment (ie. on a VPS)
@ 2011-12-08 20:09 U.Mutlu
2011-12-09 11:04 ` U.Mutlu
0 siblings, 1 reply; 2+ messages in thread
From: U.Mutlu @ 2011-12-08 20:09 UTC (permalink / raw)
To: netfilter
I need to use, in a virtual environment (VPS), an app
that makes use of libnetfilter_queue (ie. the NFQUEUE target of iptables).
Running the same app on the host machine works fine,
but I need it to run also on VPSes.
Is nfqueue supposed to work in such virtual environments?
(IMO since iptables works fine on a VPS, then I think nfqueue should do too, isn't it?)
I wonder why it's not working on my setup.
Could someone please give me some hints & tips for diagnosing and solving this problem?
It would be much helpful if someone who has it working simply confirm that it works.
My environment: debian wheezy using openvz kernel from the debian repo:
# uname -a
Linux s7 2.6.32-5-openvz-amd64 #1 SMP Fri Sep 9 21:03:29 UTC 2011 x86_64 GNU/Linux
# iptables --version
iptables v1.4.12
Libs installed:
# dpkg -l | grep nfnet
libnfnetlink-dev 1.0.0-1 Development files for libnfnetlink0
libnfnetlink0 1.0.0-1 Netfilter netlink library
# dpkg -l | grep queue
libnetfilter-queue-dev 0.0.17-1 Development files for libnetfilter-queue1
libnetfilter-queue1 0.0.17-1 Netfilter netlink-queue library
NFQUEUE definition in iptables script:
iptables -A INPUT -p all -j NFQUEUE --queue-num 4712
App output:
opening library handle
binding nfnetlink_queue as nf_queue handler for AF_INET
error during nfq_bind_pf()
Thx
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [nfqueue] nfqueue in virtualized environment (ie. on a VPS)
2011-12-08 20:09 [nfqueue] nfqueue in virtualized environment (ie. on a VPS) U.Mutlu
@ 2011-12-09 11:04 ` U.Mutlu
0 siblings, 0 replies; 2+ messages in thread
From: U.Mutlu @ 2011-12-09 11:04 UTC (permalink / raw)
To: netfilter
For the interested ones: here are similar postings regarding the same issue:
http://forum.openvz.org/index.php?t=msg&goto=40984&
and a bugreport here:
http://bugzilla.openvz.org/show_bug.cgi?id=1677
U.Mutlu wrote, On 12/08/2011 09:09 PM:
> I need to use, in a virtual environment (VPS), an app
> that makes use of libnetfilter_queue (ie. the NFQUEUE target of iptables).
> Running the same app on the host machine works fine,
> but I need it to run also on VPSes.
>
> Is nfqueue supposed to work in such virtual environments?
> (IMO since iptables works fine on a VPS, then I think nfqueue should do too, isn't it?)
>
> I wonder why it's not working on my setup.
> Could someone please give me some hints & tips for diagnosing and solving this problem?
> It would be much helpful if someone who has it working simply confirm that it works.
>
> My environment: debian wheezy using openvz kernel from the debian repo:
> # uname -a
> Linux s7 2.6.32-5-openvz-amd64 #1 SMP Fri Sep 9 21:03:29 UTC 2011 x86_64 GNU/Linux
>
> # iptables --version
> iptables v1.4.12
>
> Libs installed:
> # dpkg -l | grep nfnet
> libnfnetlink-dev 1.0.0-1 Development files for libnfnetlink0
> libnfnetlink0 1.0.0-1 Netfilter netlink library
> # dpkg -l | grep queue
> libnetfilter-queue-dev 0.0.17-1 Development files for libnetfilter-queue1
> libnetfilter-queue1 0.0.17-1 Netfilter netlink-queue library
>
> NFQUEUE definition in iptables script:
> iptables -A INPUT -p all -j NFQUEUE --queue-num 4712
>
> App output:
> opening library handle
> binding nfnetlink_queue as nf_queue handler for AF_INET
> error during nfq_bind_pf()
>
>
> Thx
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-09 11:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-08 20:09 [nfqueue] nfqueue in virtualized environment (ie. on a VPS) U.Mutlu
2011-12-09 11:04 ` U.Mutlu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).