Page MenuHomeFreeBSD

pf: Remove support for 'scrub fragment crop|drop-ovl'
ClosedPublic

Authored by kp on Aug 23 2015, 2:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 7:18 PM
Unknown Object (File)
Fri, Apr 12, 7:18 PM
Unknown Object (File)
Jan 9 2024, 7:42 PM
Unknown Object (File)
Jan 9 2024, 7:42 PM
Unknown Object (File)
Jan 9 2024, 7:42 PM
Unknown Object (File)
Jan 9 2024, 7:42 PM
Unknown Object (File)
Jan 9 2024, 7:30 PM
Unknown Object (File)
Dec 20 2023, 1:17 AM
Subscribers

Details

Summary

The crop/drop-ovl fragment scrub modes are not very useful and likely to confuse
users into making poor choices.
It's also a fairly large amount of complex code, so just remove the support
altogether.

Users who have 'scrub fragment crop|drop-ovl' in their pf configuration will be
implicitly converted to 'scrub fragment reassemble'.

Diff Detail

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

Event Timeline

kp retitled this revision from to pf: Remove support for 'scrub fragment crop|drop-ovl'.
kp updated this object.
kp edited the test plan for this revision. (Show Details)
kp set the repository for this revision to rS FreeBSD src repository - subversion.

It looks good in general, though I do not like automatic conversion in such case.
Just put in the commit as part of release notes and people need to be fully aware of the change.
Whoever used these options i am certain had their reasons so they should be aware of the change.

sys/netpfil/pf/pf_norm.c
434 ↗(On Diff #8143)

Is this necessary to be removed?

935 ↗(On Diff #8143)

Wouldn't be better to rewrite this completely to merged drop and bad together?

gnn added a reviewer: gnn.
This revision is now accepted and ready to land.Aug 26 2015, 10:02 AM
kp edited edge metadata.
kp removed rS FreeBSD src repository - subversion as the repository for this revision.
This revision now requires review to proceed.Aug 27 2015, 8:10 PM
sys/netpfil/pf/pf_norm.c
434 ↗(On Diff #8143)

Yes, the fr_frags field no longer exists.

eri edited edge metadata.
This revision is now accepted and ready to land.Aug 27 2015, 8:29 PM
This revision was automatically updated to reflect the committed changes.