Re: [nftables PATCH 2/2] reject: add ICMP code field parameter for indicating the type of error

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

 



On Wed, Jun 11, 2014 at 06:51:03PM +0200, Alvaro Neira Ayuso wrote:
> This patch allows to indicate the code field in case that we
> use reject. Before, we have sent always network unreachable error
> like code fiend and now we can determine the code field that
> we want to use. Example:
> 
> nft add rule filter input tcp dport 22 reject with host-unreach
> or
> nft add rule filter input udp dport 22 reject with host-unreach
> 
> In this case, we are going to use the code field host unreachable.
> 
> The default code field still is network unreachable and we can use
> also the rules without the with like that:
> 
> nft add rule filter input udp dport 22 reject

Also 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