Re: [nft] nftables: Fixing Bug 1219 - handle rt0 and rt2 properly

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

 



On Tue, Feb 27, 2018 at 07:25:14AM +0100, Ahmed Abdelsalam wrote:
> Type 0 and 2 of the IPv6 Routing extension header are not handled
> properly by exthdr_init_raw() in src/exthdr.c
> 
> In order to fix the bug, we extended the "enum nft_exthdr_op" to
> differentiate between rt, rt0, and rt2.
> 
> This patch should fix the bug. We tested the patch against the
> same configuration reported in the bug and the output is as
> shown below.
> 
> table ip6 filter {
> 	chain input {
> 		type filter hook input priority 0; policy accept;
> 		rt0 addr[1] a::2
> 	}
> }

Applied, thanks Ahmed.

Would you also update tests/py to cover this? 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