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, Sep 18, 8:49 PM
Unknown Object (File)
Wed, Sep 17, 6:11 PM
Unknown Object (File)
Sat, Sep 13, 5:37 AM
Unknown Object (File)
Fri, Sep 12, 2:20 PM
Unknown Object (File)
Fri, Sep 12, 6:17 AM
Unknown Object (File)
Sat, Sep 6, 11:50 AM
Unknown Object (File)
Tue, Aug 26, 9:53 AM
Unknown Object (File)
Aug 20 2025, 8:11 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