Page MenuHomeFreeBSD

pf: fix dummynet + route-to
ClosedPublic

Authored by kp on Mar 15 2024, 2:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 28, 9:50 PM
Unknown Object (File)
Tue, Oct 22, 5:49 AM
Unknown Object (File)
Tue, Oct 22, 5:49 AM
Unknown Object (File)
Tue, Oct 22, 5:43 AM
Unknown Object (File)
Mon, Oct 14, 9:47 PM
Unknown Object (File)
Oct 2 2024, 5:54 AM
Unknown Object (File)
Sep 24 2024, 3:54 AM
Unknown Object (File)
Sep 8 2024, 12:08 PM

Details

Reviewers
None
Group Reviewers
network
pfsense
Commits
rGc6f111635790: pf: fix dummynet + route-to
Summary

Ensure that we pick the correct dummynet pipe (i.e. forward vs. reverse
direction) when applying route-to.

We mark the processing as outbound so that dummynet will re-inject in
the correct phase of processing after it's done with the packet, but
that will cause us to pick the wrong pipe number. Reverse them so that
the incorrect decision ends up picking the correct pipe.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56616
Build 53504: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 19 2024, 3:31 PM
This revision was automatically updated to reflect the committed changes.