Page MenuHomeFreeBSD

pf: add post-NAT src/dst address/port to pf_pdesc
ClosedPublic

Authored by kp on Nov 27 2024, 4:41 PM.
Tags
None
Referenced Files
F171057651: D47784.id147043.diff
Tue, Sep 8, 11:05 AM
F171046199: D47784.diff
Tue, Sep 8, 9:26 AM
Unknown Object (File)
Fri, Sep 4, 8:56 PM
Unknown Object (File)
Fri, Sep 4, 1:07 AM
Unknown Object (File)
Thu, Sep 3, 10:10 PM
Unknown Object (File)
Thu, Sep 3, 12:58 PM
Unknown Object (File)
Thu, Sep 3, 10:51 AM
Unknown Object (File)
Thu, Sep 3, 5:25 AM

Details

Summary

stuff nsaddr/ndaddr/nsport/ndport (addrs/ports after NAT, used a lot while
walking the ruleset and up until state is fully set up) into pf_pdesc instead
of passing around those 4 seperately all the time, also shrinks the argument
count for a few functions that have/partialy had an insane count of arguments.
kinda preparational since we'll need them elsewhere too, soon
ok ryan jsing

Obtained from: OpenBSD, henning <henning@openbsd.org>, ccf63ac6cb
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable