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)
Tue, Jul 21, 2:27 PM
Unknown Object (File)
Mon, Jul 20, 11:41 PM
Unknown Object (File)
Mon, Jul 20, 3:17 PM
Unknown Object (File)
Jun 22 2026, 12:25 AM
Unknown Object (File)
Jun 19 2026, 6:22 AM
Unknown Object (File)
Jun 17 2026, 4:13 PM
Unknown Object (File)
Jun 16 2026, 2:56 PM
Unknown Object (File)
Jun 4 2026, 4:20 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