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)
Sat, Nov 16, 8:57 AM
Unknown Object (File)
Thu, Nov 14, 6:38 PM
Unknown Object (File)
Wed, Nov 6, 7:45 PM
Unknown Object (File)
Wed, Nov 6, 7:31 PM
Unknown Object (File)
Wed, Nov 6, 5:47 PM
Unknown Object (File)
Mon, Oct 28, 9:50 PM
Unknown Object (File)
Oct 22 2024, 5:49 AM
Unknown Object (File)
Oct 22 2024, 5:49 AM

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 Not Applicable
Unit
Tests Not Applicable

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.