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
F172369968: D51799.id.diff
Fri, Sep 18, 12:40 AM
Unknown Object (File)
Wed, Sep 16, 3:46 AM
Unknown Object (File)
Wed, Sep 16, 1:45 AM
Unknown Object (File)
Wed, Sep 16, 12:53 AM
Unknown Object (File)
Tue, Sep 8, 1:03 PM
Unknown Object (File)
Tue, Sep 8, 12:36 PM
Unknown Object (File)
Wed, Sep 2, 9:01 AM
Unknown Object (File)
Fri, Aug 28, 12:22 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