Re: [PATCH v2] extensions: libxt_pkttype: Add translation to nft

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

 



On Fri, Dec 25, 2015 at 08:37:33PM +0530, Shivani Bhardwaj wrote:
> Add translation for packet type to nftables.
> 
> Examples:
> 
> $ sudo iptables-translate -A INPUT -m pkttype --pkt-type broadcast -j DROP
> nft add rule ip filter INPUT pkttype broadcast counter drop
> 
> $ sudo iptables-translate -A INPUT -m pkttype ! --pkt-type unicast -j DROP
> nft add rule ip filter INPUT pkttype != unicast counter drop

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