Page MenuHomeFreeBSD

[pfil loop prevention experiment 3/5] pf: Remove default_actions from pf_test()
Needs ReviewPublic

Authored by vegeta_tuxpowered.net on Aug 7 2025, 4:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 5, 3:17 PM
Unknown Object (File)
Sun, Apr 5, 9:24 AM
Unknown Object (File)
Sat, Apr 4, 6:35 PM
Unknown Object (File)
Fri, Apr 3, 8:25 PM
Unknown Object (File)
Wed, Apr 1, 4:30 AM
Unknown Object (File)
Thu, Mar 19, 3:25 PM
Unknown Object (File)
Tue, Mar 17, 4:52 PM
Unknown Object (File)
Mar 11 2026, 3:42 PM

Details

Reviewers
kp
Summary

Default_actions are passed to pf_tests to keep dummynet information when using route_to. But this causes other actions to be forwarded too, which causes those actions to be applied again. Dummynet pipe actions should not be passed between pre-routing and post-routing at all, instead each stage should have its own sending of packets to dummynet.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped