chiark / gitweb /
dhcp-network: ignore IP packets with More Fragments (MF) flag set
authorMichal Sekletar <msekleta@redhat.com>
Mon, 7 Jul 2014 12:15:41 +0000 (14:15 +0200)
committerMichal Sekletar <msekleta@redhat.com>
Mon, 7 Jul 2014 13:32:12 +0000 (15:32 +0200)
We already ignore IP fragments, because we expect that Fragment
offset (FO) field is not set. However first fragment in a fragmented IP
flow will have all zeroes in FO field. We should ignore such packet as
well, thus we need to look at MF flag in the IP header. Checking MF flag
will filter out all except last packet in fragmented flows. Last one
will be ruled out by next check for value of FO.


No differences found