Re: [PATCH] iptables: extensions: libxt_TEE: Add translation to nft

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux