Page MenuHomeFreeBSD

pf: fix state export in the face of NAT64
ClosedPublic

Authored by kp on Nov 27 2024, 4:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 2:19 PM
Unknown Object (File)
Tue, Dec 17, 2:03 PM
Unknown Object (File)
Wed, Dec 11, 4:30 PM
Unknown Object (File)
Dec 3 2024, 9:29 PM
Unknown Object (File)
Nov 29 2024, 7:48 PM

Details

Summary

Now that we can NAT64 we can have states where the wire and stack address
families (and protocol) are different. Update the state export code to account
for this.

We keep exporting address family and protocol outside of the key, for backwards
compatibility. This'll return misleading information to userspace in the NAT64
case, but it's assumed that userspace will either understand NAT64 (and thus
look for them in the correct place), or not configure it.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

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

Event Timeline

kp requested review of this revision.Nov 27 2024, 4:41 PM
This revision was not accepted when it landed; it landed in state Needs Review.Tue, Dec 17, 10:09 AM
This revision was automatically updated to reflect the committed changes.