Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Johannes Gilger <gilger@umic.rwth-aachen.de>
To: netfilter@vger.kernel.org
Cc: gilger@umic.rwth-aachen.de
Subject: nfq_bind_pf(foo, PF_INET6) fails
Date: Wed, 17 Aug 2011 09:32:15 +0200	[thread overview]
Message-ID: <20110817073215.GA8741@optiplex> (raw)

Hi netfilter-list,

I'm trying to adapt a legacy IPv4 NFQUEUE handler to support IPv6 as
well. As far as I understood the documentation I have to do:

nfq_unbind_pf(handle, AF_INET6);
nfq_bind_pf(handle, AF_INET6);

Which returns -1 in both cases. Simply ignoring the return value for
bind_pf is no solution either. I don't know where else to look, as the
program works fine when using AF_INET instead of AF_INET6.

I'm using the 2.6.38-10-generic-tuxonice (Ubuntu 11.04), x86_64. Modules
nfnetlink, nfnetlink_queue, ip_queue, ip6_queue are loaded. Any pointers
would be greatly appreciated.

Regards,
Jojo

(Please CC me, I'm not subscribed to the list)

-- 
Dipl.-Inform. Johannes Gilger
Research Group IT-Security
UMIC Research Centre
RWTH Aachen University
Mies-van-der-Rohe-Straße 15
52074 Aachen

Office: 211
Phone: +49 241 80 20781
Fax:   +49 241 80 22731

http://itsec.rwth-aachen.de

             reply	other threads:[~2011-08-17  7:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17  7:32 Johannes Gilger [this message]
2011-08-17 13:45 ` nfq_bind_pf(foo, PF_INET6) fails Johannes Gilger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110817073215.GA8741@optiplex \
    --to=gilger@umic.rwth-aachen.de \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox