Date: Tue, 13 Apr 2021 10:55:09 +0000 From: bugzilla-noreply@freebsd.org To: pf@FreeBSD.org Subject: [Bug 254577] [PATCH] pf: Implement the NAT source port selection of MAP-E Customer Edge Message-ID: <bug-254577-16861-MvGDxUFnEZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-254577-16861@https.bugs.freebsd.org/bugzilla/> References: <bug-254577-16861@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254577 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D2aa21096c7349390f22aa5d06b373a575= baed1b4 commit 2aa21096c7349390f22aa5d06b373a575baed1b4 Author: Kurosawa Takahiro <takahiro.kurosawa@gmail.com> AuthorDate: 2021-04-13 08:50:00 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2021-04-13 08:53:18 +0000 pf: Implement the NAT source port selection of MAP-E Customer Edge 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. PR: 254577 Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D29468 lib/libpfctl/libpfctl.c | 24 ++++++++++ lib/libpfctl/libpfctl.h | 1 + sbin/pfctl/parse.y | 57 ++++++++++++++++++++++- sbin/pfctl/pfctl_parser.c | 3 ++ share/man/man5/pf.conf.5 | 24 +++++++++- sys/net/pfvar.h | 1 + sys/netpfil/pf/pf.h | 6 +++ sys/netpfil/pf/pf_ioctl.c | 40 ++++++++++++++++ sys/netpfil/pf/pf_lb.c | 65 ++++++++++++++++++++++---- tests/sys/netpfil/pf/Makefile | 1 + tests/sys/netpfil/pf/map_e.sh (new) | 91 +++++++++++++++++++++++++++++++++= ++++ 11 files changed, 303 insertions(+), 10 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254577-16861-MvGDxUFnEZ>