OPNSense/src 4f962c3sys/netpfil/pf pf_norm.c

MFC r337969:

pf: Limit the maximum number of fragments per packet

Similar to the network stack issue fixed in r337782 pf did not limit the number
of fragments per packet, which could be exploited to generate high CPU loads
with a crafted series of packets.

Limit each packet to no more than 64 fragments. This should be sufficient on
typical networks to allow maximum-sized IP frames.

This addresses the issue for both IPv4 and IPv6.

Security:       CVE-2018-5391
Sponsored by:   Klara Systems
DeltaFile
+8-0sys/netpfil/pf/pf_norm.c
+8-01 files

UnifiedSplitRaw