Re: [PATCH v2 nf] netfilter: don't track fragmented packets

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

 



On Fri, Mar 03, 2017 at 09:44:00PM +0100, Florian Westphal wrote:
> Andrey reports syzkaller splat caused by
> 
> NF_CT_ASSERT(!ip_is_fragment(ip_hdr(skb)));
> 
> in ipv4 nat.  But this assertion (and the comment) are wrong, this function
> does see fragments when IP_NODEFRAG setsockopt is used.
> 
> As conntrack doesn't track packets without complete l4 header, only the
> first fragment is tracked.
> 
> Because applying nat to first packet but not the rest makes no sense this
> also turns off tracking of all fragments.

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