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)
Mon, Jun 22, 12:25 AM
Unknown Object (File)
Fri, Jun 19, 6:22 AM
Unknown Object (File)
Wed, Jun 17, 4:13 PM
Unknown Object (File)
Tue, Jun 16, 2:56 PM
Unknown Object (File)
Thu, Jun 4, 4:20 PM
Unknown Object (File)
Sat, May 30, 7:24 PM
Unknown Object (File)
May 14 2026, 2:52 PM
Unknown Object (File)
May 14 2026, 3:40 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