All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: robert <rbscott@cadvium.net>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: ipq and nf_queue compatibility
Date: Wed, 11 Oct 2006 07:59:04 +0200	[thread overview]
Message-ID: <452C8828.6000005@trash.net> (raw)
In-Reply-To: <A204A2FA-BD7D-410F-B6AB-EB61B894DB28@cadvium.net>

robert wrote:
> Hello,
> 
> I am porting a program that uses IPQ to NF_QUEUE, and the port went 
> very smoothly, but I noticed that if I run the nfqueue version once, 
> the ipq version stops working.  The NF_QUEUE version always works,  but
> the other one simple stops functioning.  Is there a known 
> incompatibility between the two?  Or perhaps is there some global  state
> that I need to cleanup inside of the NFQUEUE version before I  execute
> the IPQ version.  The kernel has both IPQ and NFQUEUE support.
> 
> This happens regardless of whether or not I call the function 
> nfq_unbind_pf on exit.  Not really sure what that function does, but  it
> was inside of nfqnl_test.c, so I tried it out.

ip_queue only registeres itself when the module is loaded,
nfnetlink_queue registeres when NFQNL_CFG_CMD_PF_BIND is
received. So once ip_queue has been unregistered it never
registeres again and doesn't receive any packets anymore.

  reply	other threads:[~2006-10-11  5:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-11  2:20 ipq and nf_queue compatibility robert
2006-10-11  5:59 ` Patrick McHardy [this message]
2006-10-11 18:56   ` robert
2006-10-12  0:59     ` Patrick McHardy

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=452C8828.6000005@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=rbscott@cadvium.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.