Page MenuHomeFreeBSD

pf: fix state export in the face of NAT64
Needs ReviewPublic

Authored by kp on Wed, Nov 27, 4:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 3, 9:29 PM
Unknown Object (File)
Fri, Nov 29, 7:48 PM

Details

Reviewers
None
Group Reviewers
pfsense
network
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 60821
Build 57705: arc lint + arc unit