From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Andreas Schultz <aschultz@tpip.net>
Cc: netfilter@vger.kernel.org
Subject: Re: tproxy with nftables
Date: Thu, 8 Jan 2015 11:56:25 +0100 [thread overview]
Message-ID: <20150108105625.GA3735@salvia> (raw)
In-Reply-To: <1981739983.1515764.1420466742999.JavaMail.zimbra@tpip.net>
On Mon, Jan 05, 2015 at 02:05:43PM +0000, Andreas Schultz wrote:
> Hi,
>
> Is it possible to use tproxy with nftables?
No native tproxy support yet and noone is scheduled to work on that
anytime soon, sorry.
> It seem that nft has no support for the tproxy table. It might
> be possible to use a mix of nft and xtable-compat to get tproxy
> to work on nft.
I posted a patch time ago to:
http://patchwork.ozlabs.org/patch/255896/
the main problem was that getopt() gets confused when this is used
from the command-line (so it works fine with nft -f). The internal
state of getopt() needs to be reset before calling libxtables to parse
the options.
> But I would like to use a map to lookup a match and then use tproxy
> as action. I there a way to get this working?
I would need to know more on your use-case to be sure that the patch
above will help you to achieve this, otherwise wait for the native
tproxy support :-(.
next prev parent reply other threads:[~2015-01-08 10:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-05 14:05 tproxy with nftables Andreas Schultz
2015-01-08 10:56 ` Pablo Neira Ayuso [this message]
[not found] ` <828282731.1591613.1421072715905.JavaMail.zimbra@tpip.net>
2015-01-12 14:25 ` Andreas Schultz
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=20150108105625.GA3735@salvia \
--to=pablo@netfilter.org \
--cc=aschultz@tpip.net \
--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 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.