HomeFreeBSD

pf: tag dummynet'd route-to packets with their real destination

Description

pf: tag dummynet'd route-to packets with their real destination

If we delay route-to/dup-to/reply-to through dummynet we are eventually
returned to pf_test(). At that point we no longer have the context for
the route-to destination. We'd just skip the pf_test() and continue
processing. This means that route-to did not work as expected.

Extend pf_mtag to carry the route-to destination so we can apply it when
we re-enter pf_test().

Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D35159

Details

Provenance
kpAuthored on May 10 2022, 7:23 AM
Differential Revision
D35159: pf: tag dummynet'd route-to packets with their real destination
Parents
rG37c452292132: pf: also apply dummynet to route-to/dup-to packets
Branches
Unknown
Tags
Unknown