git: DragonFly_RELEASE_6_0 ipfw3nat: ICMP packets NAT using icmp id
Aaron LI
aly at crater.dragonflybsd.org
Fri Jul 2 21:29:56 PDT 2021
commit 255b3fce3a4f8e7ac50ee2553d3c47a1695982c7
Author: Bill Yuan <bycn82 at dragonflybsd.org>
Date: Mon Jun 21 23:04:33 2021 +0800
ipfw3nat: ICMP packets NAT using icmp id
TCP/UDP are using tuple(srcip,srcport,dstip, dstport),
while ICMP is using tuple(srcip, icmp_id, dstip, icmp_id)
icmp_id after NAT is generated using srcip & dstip
Summary of changes:
sys/net/ipfw3_nat/ip_fw3_nat.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/255b3fce3a4f8e7ac50ee2553d3c47a1695982c7
--
DragonFly BSD source repository
More information about the Commits
mailing list