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)
Tue, May 19, 10:18 AM
Unknown Object (File)
Mon, May 18, 6:35 PM
Unknown Object (File)
Sun, May 10, 5:56 AM
Unknown Object (File)
Mon, Apr 27, 4:45 PM
Unknown Object (File)
Apr 20 2026, 2:50 AM
Unknown Object (File)
Apr 10 2026, 12:21 AM
Unknown Object (File)
Apr 7 2026, 3:13 PM
Unknown Object (File)
Apr 4 2026, 3:06 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 Passed
Unit
No Test Coverage
Build Status
Buildable 32898
Build 30298: arc lint + arc unit