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)
Wed, Nov 20, 2:24 AM
Unknown Object (File)
Wed, Nov 20, 12:41 AM
Unknown Object (File)
Tue, Nov 19, 6:14 PM
Unknown Object (File)
Sat, Nov 16, 5:27 PM
Unknown Object (File)
Oct 18 2024, 3:04 AM
Unknown Object (File)
Oct 18 2024, 2:40 AM
Unknown Object (File)
Oct 18 2024, 2:07 AM
Unknown Object (File)
Oct 3 2024, 1:49 AM

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