netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Udo Schneider <Udo.Schneider@homeaddress.de>
To: netfilter@vger.kernel.org
Subject: conntrack/state with QUEUE target
Date: Fri, 27 Nov 2009 16:05:02 +0100	[thread overview]
Message-ID: <heoprj$dpr$1@ger.gmane.org> (raw)

All,

I'm a little confused whether the combination of conntrack/state with 
QUEUE targets is supported.

I have a usermode app which processes packets via libNFQ which works 
fine. Up to know we had a very simple setup like

-t mangle -A FORWARD -p tcp --dport 80 -j QUEUE
-t mangle -A FORWARD -p tcp --sport 80 -j QUEUE

This worked fine. Now however we have the requirement for more granular 
"stateful" Rules. I though it should be possible to combine 
state/conntrack with the QUEUE target ... but this doesn't seem to work.

-t mangle -A FORWARD -p tcp --dport 80 -m state --state NEW,ESTABLISHED 
-j QUEUE

However using this rule no (http) connection goes through.

Any pointers?

CU,

Udo


             reply	other threads:[~2009-11-27 15:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-27 15:05 Udo Schneider [this message]
2009-11-27 15:54 ` conntrack/state with QUEUE target Udo Schneider
  -- strict thread matches above, loose matches on Subject: below --
2009-11-28  9:49 Mart Frauenlob

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='heoprj$dpr$1@ger.gmane.org' \
    --to=udo.schneider@homeaddress.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;
as well as URLs for NNTP newsgroup(s).