Page MenuHomeFreeBSD

ipfw: improve matching on IPv4 fragments
ClosedPublic

Authored by glebius on Aug 10 2020, 9:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 3, 12:03 PM
Unknown Object (File)
Mon, Nov 3, 12:03 PM
Unknown Object (File)
Mon, Nov 3, 12:02 PM
Unknown Object (File)
Mon, Nov 3, 3:42 AM
Unknown Object (File)
Sat, Nov 1, 7:08 PM
Unknown Object (File)
Fri, Oct 31, 11:47 PM
Unknown Object (File)
Sat, Oct 25, 5:07 PM
Unknown Object (File)
Sat, Oct 25, 5:07 PM

Details

Summary

Currently ipfw(8) allows to match on a packet being not a first fragment.
This prevents even such a simple rule as to block all fragmented packets.

This backward compatible enhancement allows to match explicitly on
IP_MF, IP_DF, even on IP_RF and on non-zero offset.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable