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)
Tue, Feb 18, 4:52 AM
Unknown Object (File)
Tue, Feb 18, 3:35 AM
Unknown Object (File)
Sun, Feb 16, 2:09 AM
Unknown Object (File)
Thu, Feb 6, 3:49 PM
Unknown Object (File)
Mon, Jan 27, 5:26 AM
Unknown Object (File)
Mon, Jan 27, 5:24 AM
Unknown Object (File)
Sun, Jan 26, 6:07 PM
Unknown Object (File)
Sun, Jan 26, 8:03 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.