From: KOVACS Krisztian <hidden@sch.bme.hu>
To: Philip Craig <philipc@snapgear.com>
Cc: netfilter-devel@vger.kernel.org, KOVACS Krisztian <hidden@sch.bme.hu>
Subject: Re: TPROXY target returns NF_ACCEPT
Date: Wed, 17 Jun 2009 11:20:35 +0200 [thread overview]
Message-ID: <20090617092035.GB26580@sch.bme.hu> (raw)
In-Reply-To: <4A376156.60106@snapgear.com>
Hi,
On k, jún 16, 2009 at 07:09:42 +1000, Philip Craig wrote:
> The TPROXY target returns NF_ACCEPT rather than XT_CONTINUE.
> Is there a reason for this, or is it left over from when
> there was a tproxy table? I can place the tproxy rules last
> if needed, but this behaviour was unexpected.
It has more to do with the REDIRECT-like functionality of the target.
TPROXY 'redirection' is tricky, since it does not actually touch the skb
but the packet ends up in a local socket with a different address/port.
> Also, does tproxy handle related ICMP packets too?
The 'socket' match matches for related ICMP, so if you use TPROXY in
conjuction with that, then yes, it does handle related ICMP.
--
KOVACS Krisztian
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2009-06-17 9:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-16 9:09 TPROXY target returns NF_ACCEPT Philip Craig
2009-06-17 9:20 ` KOVACS Krisztian [this message]
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=20090617092035.GB26580@sch.bme.hu \
--to=hidden@sch.bme.hu \
--cc=netfilter-devel@vger.kernel.org \
--cc=philipc@snapgear.com \
/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.