On Wed, Jun 01, 2016 at 12:06:59AM +0200, Laura Garcia Liebana wrote:
> Add translation of ipcomp to nftables.
> 
> First value of the parameter 'ipcompspi' will be translated to 'cpi'
> parameter in nftables. Parameter 'compres' is not supported in nftables.
> 
> Examples:
> 
> $ sudo iptables-translate -t filter -A INPUT -m ipcomp --ipcompspi 0x12 -j 
> ACCEPT
> nft add rule ip filter INPUT comp cpi 18 counter accept
> 
> $ sudo iptables-translate -t filter -A INPUT -m ipcomp ! --ipcompspi 0x12 -j 
> ACCEPT
> nft add rule ip filter INPUT comp cpi != 18 counter accept

Applied, thanks Laura.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to