Page MenuHomeFreeBSD

pf: fold pf_test_fragment() into pf_test_rule()
ClosedPublic

Authored by kp on Sep 19 2024, 8:24 PM.
Tags
None
Referenced Files
F139581041: D46705.diff
Sat, Dec 13, 6:58 PM
Unknown Object (File)
Thu, Nov 27, 3:25 AM
Unknown Object (File)
Wed, Nov 26, 1:02 AM
Unknown Object (File)
Nov 13 2025, 4:30 AM
Unknown Object (File)
Nov 11 2025, 10:20 AM
Unknown Object (File)
Nov 1 2025, 3:22 AM
Unknown Object (File)
Nov 1 2025, 1:45 AM
Unknown Object (File)
Oct 30 2025, 1:49 AM

Details

Summary

Reduces code and fixes a bunch of bugs with fragment handling not being in sync
with the rest of the ruleset.

Much feedback from mpf, bluhm & markus
Thanks to Tony Sarendal for help with testing

ok bluhm; various previous versions ok henning, claudio, mpf, markus

Note that while this changes the order of src addr/src port/dst addr/dst port
skips this doesn't actually affect the kernel/userspace ABI. The kernel always
recalculates skip steps.

Obtained from: OpenBSD, mcbride <mcbride@openbsd.org>, 04c69899a7
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59535
Build 56422: arc lint + arc unit