ipfw: Have NAT steal the TH_RES1 bit, instead of the TH_AE bit
authorRichard Scheffenegger <rscheff@FreeBSD.org>
Wed, 9 Nov 2022 09:54:34 +0000 (10:54 +0100)
committerRichard Scheffenegger <rscheff@FreeBSD.org>
Wed, 9 Nov 2022 10:19:19 +0000 (11:19 +0100)
commit0b00b801493aa1d4996b0891ea58fbef343f85df
tree71529972ef010923d4e66366993400667cd29570
parent0b1adc42a15caea0cffbc962ca6f9e3e7b576834
ipfw: Have NAT steal the TH_RES1 bit, instead of the TH_AE bit

The NAT module use of the tcphdr.th_x2 field now collides with the
use of this TCP header flag as AccECN (AE) bit. Use the topmost
bit instead to allow negotiation of AccECN across a NAT device.

Event: IETF 115 Hackathon
Reviewed By: #transport, tuexen
MFC after: 3 days
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D37300
sys/netinet/libalias/alias_ftp.c
sys/netinet/libalias/alias_irc.c
sys/netinet/libalias/alias_proxy.c
sys/netinet/libalias/alias_skinny.c
sys/netinet/libalias/alias_smedia.c
sys/netinet/tcp.h
sys/netpfil/ipfw/ip_fw_nat.c