Re: [PATCH] iptables: extensions: libxt_MARK: Add translation for revision 1 to nft

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

 



On 21 June 2016 at 22:08,  <rodanber@xxxxxxxxx> wrote:
> From: Roberto García <rodanber@xxxxxxxxx>
>
> Add translation for revision 1 of the MARK target to nft.
>
> Examples:
>
>   # iptables-translate -t mangle -A PREROUTING -j MARK --set-mark 0x64
>   nft add rule ip mangle PREROUTING counter meta mark set 0x64
>
>   # iptables-translate -t mangle -A PREROUTING -j MARK --and-mark 0x64
>   nft add rule ip mangle PREROUTING counter meta mark set mark and 0x64
>
>   # iptables-translate -t mangle -A PREROUTING -j MARK --or-mark 0x64
>   nft add rule ip mangle PREROUTING counter meta mark set mark or 0x64
>
> Signed-off-by: Roberto García <rodanber@xxxxxxxxx>
> ---
>  extensions/libxt_MARK.c | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>

Seems good to me.

Acked-by: Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx>

-- 
Arturo Borrero González
--
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