Re: [PATCH v2 net-next 1/3] ip: discard IPv4 datagrams with overlapping segments.

2018-08-02 Thread Stephen Hemminger
On Thu, 2 Aug 2018 23:34:37 + Peter Oskolkov wrote: > This behavior is required in IPv6, and there is little need > to tolerate overlapping fragments in IPv4. This change > simplifies the code and eliminates potential DDoS attack vectors. > > Tested: ran ip_defrag selftest (not yet availabl

[PATCH v2 net-next 1/3] ip: discard IPv4 datagrams with overlapping segments.

2018-08-02 Thread Peter Oskolkov
This behavior is required in IPv6, and there is little need to tolerate overlapping fragments in IPv4. This change simplifies the code and eliminates potential DDoS attack vectors. Tested: ran ip_defrag selftest (not yet available uptream). Suggested-by: David S. Miller Signed-off-by: Peter Osko