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

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

 



On Thu, Dec 24, 2015 at 11:00:58PM +0530, Shivani Bhardwaj wrote:
> Add translation for Authentication Header to nftables.
> 
> Examples:
> 
> $ sudo iptables-translate -A INPUT -p 51 -m ah --ahspi 500 -j DROP
> nft add rule ip filter INPUT ah spi 500 counter drop
> 
> $ sudo iptables-translate -A INPUT -p 51 -m ah --ahspi 500:600 -j DROP
> nft add rule ip filter INPUT ah spi 500-600 counter drop
> 
> $ sudo iptables-translate -A INPUT -p 51 -m ah ! --ahspi 50 -j DROP
> nft add rule ip filter INPUT ah spi != 50 counter drop

Applied, thanks.
--
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