Re: [PATCH] extensions: libxt_cpu: Add translation to nft

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

 



On Wed, Dec 23, 2015 at 10:11:58PM +0530, Shivani Bhardwaj wrote:
> Add translation for module cpu to nftables.
> 
> Examples:
> 
> $ sudo iptables-translate -A INPUT -p tcp --dport 80 -m cpu --cpu 0 -j ACCEPT
> nft add rule ip filter INPUT tcp dport 80 cpu 0 counter accept
> 
> $ sudo iptables-translate -A INPUT -p tcp --dport 80 -m cpu ! --cpu 1 -j ACCEPT
> nft add rule ip filter INPUT tcp dport 80 cpu != 1 counter accept

Also applied, thanks Shivani.
--
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