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
F156497923: D51799.id.diff
Thu, May 14, 3:40 AM
Unknown Object (File)
Mon, May 11, 9:53 AM
Unknown Object (File)
Sat, May 2, 3:37 AM
Unknown Object (File)
Sat, May 2, 3:27 AM
Unknown Object (File)
Thu, Apr 23, 1:21 PM
Unknown Object (File)
Mon, Apr 20, 4:48 AM
Unknown Object (File)
Thu, Apr 16, 4:35 AM
Unknown Object (File)
Thu, Apr 16, 4:25 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