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)
Thu, Aug 13, 9:49 AM
Unknown Object (File)
Sat, Aug 8, 3:54 PM
Unknown Object (File)
Sat, Aug 8, 10:43 AM
Unknown Object (File)
Thu, Aug 6, 10:05 PM
Unknown Object (File)
Thu, Aug 6, 10:05 PM
Unknown Object (File)
Thu, Aug 6, 10:05 PM
Unknown Object (File)
Sat, Aug 1, 4:55 AM
Unknown Object (File)
Fri, Jul 31, 5:15 AM

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