History

ip: discard IPv4 datagrams with overlapping segments.

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).

Peter Oskolkov committed 8 years ago

Commit 7969e5c1 parent cfb40993 files · +21 −56Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/snmp.h+1−0
@@ -56,6 +56,7 @@ enum · 55 unmodified lines
5656 IPSTATS_MIB_ECT1PKTS, /* InECT1Pkts */
5757 IPSTATS_MIB_ECT0PKTS, /* InECT0Pkts */
5858 IPSTATS_MIB_CEPKTS, /* InCEPkts */
59+ IPSTATS_MIB_REASM_OVERLAPS, /* ReasmOverlaps */
5960 __IPSTATS_MIB_MAX
6061 };
6162