[tcpm] Re: I-D Action: draft-ietf-tcpm-tcp-ghost-acks-06.txt
Michael Tuexen <michael.tuexen@lurchi.franken.de> Thu, 02 July 2026 17:00 UTC
Return-Path: <michael.tuexen@lurchi.franken.de>
X-Original-To: tcpm@mail2.ietf.org
Delivered-To: tcpm@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 64F4310CC5FF3 for <tcpm@mail2.ietf.org>; Thu, 2 Jul 2026 10:00:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1783011642; bh=lMTv4ohDhmG5uWa1tUSXLvztI151gSr63NngxiE5Mss=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=NaIgWpTu7xqrDYmVH7rNLH3KoevBdfWaYmcuqxxhhmCwRt+OPk4qp+skaXXewqwXA X2mFNzsbBlMuSkDPOIp0IWNnnWBLpOqznPRuTVIjAzQurDVKfITM3bt32h0RvUXmVB QAquIiaZisTVBow8cp4puGcD/r6/5LLfuIw0XaDo=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.097
X-Spam-Level:
X-Spam-Status: No, score=-1.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RDNS_NONE=0.793, T_SPF_PERMERROR=0.01] autolearn=no autolearn_force=no
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id brGvnfA1JqlN for <tcpm@mail2.ietf.org>; Thu, 2 Jul 2026 10:00:41 -0700 (PDT)
Received: from drew.franken.de (unknown [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 9760910CC5C69 for <tcpm@ietf.org>; Thu, 2 Jul 2026 09:58:08 -0700 (PDT)
Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1101:be00:8cba:e969:6b1:12fa]) (Authenticated sender: lurchi) by drew.franken.de (Postfix) with ESMTPSA id 244D2721E2817; Thu, 2 Jul 2026 18:57:56 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\))
From: Michael Tuexen <michael.tuexen@lurchi.franken.de>
In-Reply-To: <ec20440d-2a81-4424-8f10-4bd066e27030@cispa.de>
Date: Thu, 02 Jul 2026 18:57:54 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <E3AC7000-9DDC-4BCA-8600-40824FE0137A@lurchi.franken.de>
References: <178117962003.265229.294235247641884940@dt-datatracker-56f887f959-hdgj4> <CAAK044STmO4eeEBZ4q9aYD+PsMxQP0HWVuFnUovr44P-VinP8Q@mail.gmail.com> <73F38D66-ACFE-4D4A-B3A4-8D98D1D4D9E2@lurchi.franken.de> <CAAK044Rs66WScHMF2z8C8fbr1Xf9SvCgHLwc3xWyJXKdMFgS+Q@mail.gmail.com> <B2930D44-006B-47C2-9794-142D4F5C6589@lurchi.franken.de> <ec20440d-2a81-4424-8f10-4bd066e27030@cispa.de>
To: "yepeng.pan" <yepeng.pan@cispa.de>
X-Mailer: Apple Mail (2.3864.600.51.1.1)
Message-ID-Hash: XYMCYAJEAIKF2WFOX56TGLW5SPP2KMF3
X-Message-ID-Hash: XYMCYAJEAIKF2WFOX56TGLW5SPP2KMF3
X-MailFrom: michael.tuexen@lurchi.franken.de
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tcpm.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: tcpm@ietf.org, Christian Rossow <rossow@cispa.de>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [tcpm] Re: I-D Action: draft-ietf-tcpm-tcp-ghost-acks-06.txt
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/cXHipXXCKkQQZaYAXGTK0nS0ODM>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Owner: <mailto:tcpm-owner@ietf.org>
List-Post: <mailto:tcpm@ietf.org>
List-Subscribe: <mailto:tcpm-join@ietf.org>
List-Unsubscribe: <mailto:tcpm-leave@ietf.org>
> On 2. Jul 2026, at 17:44, yepeng.pan <yepeng.pan@cispa.de> wrote: > > Hi All, > > I just read the current 07 draft once more. > It feels the current section 3 could be merged into section 2 and would also provide better transition; > For example: > > > 2. Ghost ACKs: > ... > As a concrete example, consider a newly established TCP connection without data transferred during the handshake. There is SND.UNA == SND.NXT == ISS + 1.In this case, any segments with SEG.ACK < SND.UNA acknowledges bytes that the endpoint has never sent, but they are still considered acceptable since they satisfy the above SEG.ACK validation condition. > Ghost ACKs thus ease blind payload injection attacks, particularly for newly established TCP connections and potentially spoofed TCP connections. > > and then section 3 can be removed. OK. Please go ahead and resubmit a new revision with that change. Best regards Michael > > > > Best regards > Yepeng Pan > > On 7/2/2026 12:04 PM, Michael Tuexen wrote: >>> On 2. Jul 2026, at 03:46, Yoshifumi Nishida <nsd.ietf@gmail.com> wrote: >>> >>> Hi Michael, >>> >>> Thanks for the reply. I put my comments in lines. >>> >>> On Mon, Jun 29, 2026 at 11:29 AM Michael Tuexen <michael.tuexen@lurchi.franken.de> wrote: >>> >>> >>>> 2: Section 4.1 >>>> TCP stacks that implement this mitigation SHOULD add the additional boolean >>>> state variable NO_ISS_CHECK for each established connection. This variable >>>> SHOULD be initialized to false. At the beginning of the SEG.ACK validation, >>>> it SHOULD be checked if the ISS is still needed: >>>> >>>> Should we use MUST instead of SHOULD if we don't have other choice? >>>> >>> The code was using a mixture of SHOULD and MUST. I think needs to be >>> consistent. I suggested SHOULD, since, for example, the FreeBSD implementation >>> does not use a boolean variable, but a flag on the TCPCB. I guess this is >>> covered by a SHOULD, but not by a MUST. >>> >>> OK. If there are other ways, I'm fine with SHOULD. >>> > Also, I'm wondering if we need the last sentence with RFC2119 word. >>> >>>> Something like the following might be enough? >>>> >>>> This variable SHOULD be initialized to false in order to check if ISS check is needed >>>> >>> There are two things here: >>> 1. How NO_ISS_CHECK is initialized. This happens when the endpoint is created. >>> 2. At the beginning of the SEG.ACK validation it should be check if the ISS based check >>> is needed. This happens every time an incoming TCP segment is processed. >>> So I think keeping the two things in separate sentences is a good thing. They happen >>> at different times. Therefore, both should use RFC 2119 terminology. >>> I agree, the wording of the last sentence can be improved. What about: >>> >>> At the beginning of the <tt>SEG.ACK</tt> validation, it <bcp14>SHOULD</bcp14> >>> be determined if the <tt>ISS</tt>-based check is still needed:</t> >>> >>> Yes, works for me. >>> >>> >>>> 4: Section 4.2 >>>> A local variable ACK.MIN SHOULD be computed, which is used to validate the SEG.ACK. >>>> >>>> SHOULD -> MUST? if there is no other choice >>>> >>> See above. Here, you could avoid using the local variable, but compute its value >>> whenever needed. Covered by a SHOULD, but not by a MUST. >>> >>> OK. >>> >>> >>>> 5: Section 4.2 >>>> An implementation has to deal with tcpEStatsAppHCThruOctetsAcked overflows. >>>> >>>> This may look a bit ambiguous guidance. How about something like this? >>>> >>>> An implementation MAY handle tcpEStatsAppHCThruOctetsAcked overflow. >>>> >>> What about SHOULD? As far as I know, Linux does not handle it... >>> >>> SHOULD is also fine for me. >>> >> Great. All your comments have been addressed in revision 07. >> >> Best regards >> Michael >> >>> -- >>> Yoshi >>> _______________________________________________ >>> tcpm mailing list -- tcpm@ietf.org >>> To unsubscribe send an email to tcpm-leave@ietf.org >>> >>
- [tcpm] I-D Action: draft-ietf-tcpm-tcp-ghost-acks… internet-drafts
- [tcpm] Re: I-D Action: draft-ietf-tcpm-tcp-ghost-… Yoshifumi Nishida
- [tcpm] Re: I-D Action: draft-ietf-tcpm-tcp-ghost-… Yoshifumi Nishida
- [tcpm] Re: I-D Action: draft-ietf-tcpm-tcp-ghost-… Michael Tuexen
- [tcpm] Re: I-D Action: draft-ietf-tcpm-tcp-ghost-… Yoshifumi Nishida
- [tcpm] Re: I-D Action: draft-ietf-tcpm-tcp-ghost-… Michael Tuexen
- [tcpm] Re: I-D Action: draft-ietf-tcpm-tcp-ghost-… yepeng.pan
- [tcpm] Re: I-D Action: draft-ietf-tcpm-tcp-ghost-… Michael Tuexen