From: Pablo Neira Ayuso <pablo@netfilter.org>
To: "Roberto García" <rodanber@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] iptables: extensions: libxt_TEE: Add translation to nft
Date: Mon, 28 Mar 2016 12:31:58 +0200 [thread overview]
Message-ID: <20160328103158.GA4200@salvia> (raw)
In-Reply-To: <1458733372-2543-1-git-send-email-rodanber@gmail.com>
Hi Roberto,
On Wed, Mar 23, 2016 at 12:42:52PM +0100, Roberto García wrote:
> Add translation for TEE target to nft.
I have applied this with minor glitches, thanks, comment below.
> However, there is a problem with the output when using
> ip6tables-translate. I couldn't find a fix for that.
Just pushed a patch to fix this problem, thanks.
> Examples:
>
> $ iptables-translate -t mangle -A PREROUTING -j TEE --gateway 192.168.0.2 --oif
> eth0
>
> nft add rule ip mangle PREROUTING counter dup to 192.168.0.2 oif eth0
We should use device instead of 'oif' for this translation.
BTW, I have also resolved trailing whitespace errors when applying
this patch, please enable some trailing whitespace highlighter in your
editor.
--
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:[~2016-03-28 10:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-23 11:42 [PATCH] iptables: extensions: libxt_TEE: Add translation to nft Roberto García
2016-03-28 10:31 ` Pablo Neira Ayuso [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=20160328103158.GA4200@salvia \
--to=pablo@netfilter.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=rodanber@gmail.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 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).