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
Unknown Object (File)
Thu, Feb 27, 7:31 PM
Unknown Object (File)
Feb 16 2025, 3:10 AM
Unknown Object (File)
Feb 16 2025, 3:09 AM
Unknown Object (File)
Feb 5 2025, 10:50 AM
Unknown Object (File)
Feb 4 2025, 9:15 PM
Unknown Object (File)
Jan 27 2025, 7:36 PM
Unknown Object (File)
Jan 25 2025, 2:25 PM
Unknown Object (File)
Jan 14 2025, 1:37 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 60818
Build 57702: arc lint + arc unit