[Bug 254577] [PATCH] pf: Implement the NAT source port selection of MAP-E Customer Edge

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 26 10:27:28 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254577

            Bug ID: 254577
           Summary: [PATCH] pf: Implement the NAT source port selection of
                    MAP-E Customer Edge
           Product: Base System
           Version: 12.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: takahiro.kurosawa at gmail.com

Created attachment 223606
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223606&action=edit
Implementation of MAP-E NAT port number selection

MAP-E (RFC 7597) requires special care for selecting source ports
in NAT operation on the Customer Edge because a part of bits of the port
numbers are used by the Border Relay to distinguish another side of the
IPv4-over-IPv6 tunnel.
The attached patch introduces the "map-e-portset" port specification
for nat rules in pf.conf and corresponding kernel-side port number selection.
The patch is made against 12-STABLE but can be applied for -current so far.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list