Re: [tcpm] IETF 114 TCPM WG - NG TCPM Yang Model

Gyan Mishra <hayabusagsm@gmail.com> Sun, 07 August 2022 23:32 UTC

Return-Path: <hayabusagsm@gmail.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72F2FC14F741 for <tcpm@ietfa.amsl.com>; Sun, 7 Aug 2022 16:32:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level:
X-Spam-Status: No, score=-2.094 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uq1N78zv3XPx for <tcpm@ietfa.amsl.com>; Sun, 7 Aug 2022 16:32:11 -0700 (PDT)
Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1ADE7C14F73E for <tcpm@ietf.org>; Sun, 7 Aug 2022 16:32:11 -0700 (PDT)
Received: by mail-pj1-x1032.google.com with SMTP id b4so7305875pji.4 for <tcpm@ietf.org>; Sun, 07 Aug 2022 16:32:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=I4gYg3tjPiTYjriWzSer7YwIfxegHDV6kMJzzEyGiAY=; b=npjk8IjMPMaCrzkgAqFqYRDeyUIaOob6oMr4TSk6sLGpSpzRd5ugIVEJLIiYWyVKmK b994kf6epnRV8jNLxQvC4dAXC/kROdeewDiEHHpgGAsjzP/Fc5VlixaBH6ZpFyLjFVUV McUf/GfdwctyP1epEoE2H8nOeH2f234oq7cxke7yY7qvSgXEiSwUVP20zkVj2HA45lwG F4FllJkIYD6RbA8iQBwiNYkizkc9p6hCo1pCWSam1I8DotczOWvHZXNFQwqbzgktRSzm UGxf0edGrTdqN6wQ0fVv2G9dFqZ241dGTlC97TZzh8GfGXS9IyMd3Jmd7RMBuYX0CCqP dY/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=I4gYg3tjPiTYjriWzSer7YwIfxegHDV6kMJzzEyGiAY=; b=j9Gss4pSAzFTz2+03mFgzii98DmVcfL6ABiSAB4/O56pvDwZ8XgBnvU7Y86OqfSDSM dyo3evIIdEmSzFgOmOItbaZz0yFugQ+oUEdTQsivmX2O0rtQ1sKaK/kHZkHHEHdI4S28 ugjdOi3dwxb49s0SjZm2/ax4U8bhM4p+20sEYariXHXdW3ZAodlHBtbt1Cl7KRpLQHv7 d1UiXqmMGcGcGjh5eE/4YdTRSQEviICMazzmNGPnwHfhr/Bdvvw0p7kB2iw0M8t90JZ8 v7iGO9Ov2LkwVsxCFvSRhG9glKn+1pTcOcc4ifk9ztTkCMLGrHeUp4S627UlrTplpAuh X81A==
X-Gm-Message-State: ACgBeo0qEH2wELUbWQRDv3LptUc2bAf9oR2YzVDAOeVlpDbAgcB71K0i +9D4rmuhH1ZxLCacFwzSYXPaihEnG8Q4wJkrYoqgcc6q
X-Google-Smtp-Source: AA6agR5ZwLa3OCGDqWoJ1zkWFk/ThCGBaVQVYhzl25kSimpFtV+SZzxy9lBn1g3BiGVB+BtjRrHiOD4ArLOHvuPnS7g=
X-Received: by 2002:a17:902:f70a:b0:170:c5e7:874c with SMTP id h10-20020a170902f70a00b00170c5e7874cmr447598plo.109.1659915130331; Sun, 07 Aug 2022 16:32:10 -0700 (PDT)
MIME-Version: 1.0
References: <CAJhXr9-zcJg99ML3MSNMTvRFiT_BLzJihQucAdX8MZGDZ84dWw@mail.gmail.com> <CABNhwV1wz2Uhx+DWjabzVz8GAhQD78NFKhq2az=E7dhnxTC-Ww@mail.gmail.com> <A8851A57-748D-4504-97B6-677807EE0DB6@lurchi.franken.de> <EF72E595-0B1E-4AD9-BDFE-603B9B200F0D@strayalpha.com> <CABNhwV1OZawGXbH4d9RGx0KWKoiKLdZnNPq1gOcSfMQeie3q4Q@mail.gmail.com> <0D8E1E5A-5CD1-4302-8FE9-21EFF9847199@strayalpha.com>
In-Reply-To: <0D8E1E5A-5CD1-4302-8FE9-21EFF9847199@strayalpha.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Sun, 07 Aug 2022 19:31:58 -0400
Message-ID: <CABNhwV363kikY+9Brvwn3pF=5Hh0VCQHyYqPxSNFzS3q-3H2Gw@mail.gmail.com>
To: "touch@strayalpha.com" <touch@strayalpha.com>
Cc: Jeffrey Haas <jhaas@pfrc.org>, Michael Tuexen <michael.tuexen@lurchi.franken.de>, Robert Raszuk <robert@raszuk.net>, Susan Hares <shares@ndzh.com>, "Van De Velde, Gunter (Nokia - BE/Antwerp)" <gunter.van_de_velde@nokia.com>, tcpm IETF list <tcpm@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b3667705e5af1be4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/rmWR9pNPSEQH6n5cyLnzQjUtKng>
Subject: Re: [tcpm] IETF 114 TCPM WG - NG TCPM Yang Model
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Aug 2022 23:32:15 -0000

Replies below

On Sat, Aug 6, 2022 at 11:25 AM touch@strayalpha.com <touch@strayalpha.com>
wrote:

> Replies below...
> —
> Dr. Joe Touch, temporal epistemologist
> www.strayalpha.com
>
> On Jul 29, 2022, at 8:14 AM, Gyan Mishra <hayabusagsm@gmail.com> wrote:
>
> Hi Joe
>
> Responses in-line
>
> On Tue, Jul 26, 2022 at 10:13 PM touch@strayalpha.com <
> touch@strayalpha.com> wrote:
>
>> Notes below.
>>
>> > On Jul 26, 2022, at 6:19 PM, Michael Tuexen <
>> michael.tuexen@lurchi.franken.de> wrote:
>> >
>>
> ...
>
> > • All TCP flags and respective states.
>> > Do you mean the TCP flags SYN, FIN, PSH, ... Does a YANG module all to
>> describe
>> > packets sent and received?
>>
>> I can’t see how this can model the TCP flags; all it should be modeling
>> is the states of the connection. The model is for TCP, not TCP packets.
>
>
>     Gyan> Agreed that we want to model the TCP states not the packets.
>
>
> Then you need to consider only the parameters passed via socket options
> that control those flags, not the flags themselves.
>

    Gyan> Understood.  Yes so what we ar looking for is the state of the
socket connection and and control flags for each state of the socket
connection.

I don’t know if there is a common framework for them, though, esp. given
> the IETF (incorrectly) abandoned the idea of the abstract user interface as
> part of a protocol definition, at least for decades.
>

    Gyan> I don’t know either.  Would the common framework be based on the
 TCP FSM and socket connection states and related flags?

>
> > • All TCP parameters that would be accessible with a local OS kernel
>> hook.
>> > Doesn't that mean the complete set of state variable the kernel has and
>> isn't that implementation dependent?
>> > • All windowing parameters including window scaling as well as any
>> windowing related optimizations.
>> > You mean the receiver window including the window scaling.
>> > • All TCP options and optimizations set such as Selective ACK.
>> > I guess you mean the set of TCP extensions which have been negotiated.
>> > • All TCP slow start congestion control parameters CWIN etc.
>> > There are a multiple Congestion Controls, even ones not being specified
>> by the IETF.
>> > So this might get very hard to do. Or do you require a specific CC when
>> using TCP for BGP?
>>
>> This is where things get confusing to me; it seems that there is either a
>> model for TCP or a model for TCP implementations. The two should not be
>> confused with each other
>
>
>     Gyan> Yes I think specific CC-Congestion Control when using TCP for
> BGP.  As there are many implementations variations I think we want a model
> for TCP that covers most all implementations
>
>
> BGP is an application (to TCP); there is no one CC alg used in TCP just
> because it supports BGP.
>
> Esp. given BGP runs not only on hardware routers but also on regular
> computers.
>

   Gyan> Understood and agreed there is no CC specific to BGP

>
> So if this is all aimed at helping BGP figure out when TCP isn’t making
> progress,
>

Gyan> Yes that is the goal

it seems like an impossibly large task (too many CC algs).
>

Gyan> If we can hone in on the popular CC Alg used today by routers and
computers would be a start.

Are there particular parameters you think would be beneficial for BGP to
> know about TCP and can they be abstracted away from specific
> implementations?
>

Gyan> The main parameters are the TCP socket connection state and related
header flags, TCP Congestion control algorithms common ones used by routers
and computers, and looking at the TCP parameters list, timestamps, CC,
Quick start, User timeout, ECN.

https://www.iana.org/assignments/tcp-parameters/tcp-parameters.xhtml

Many Thanks!


> Joe
>
-- 

<http://www.verizon.com/>

*Gyan Mishra*

*Network Solutions A**rchitect *

*Email gyan.s.mishra@verizon.com <gyan.s.mishra@verizon.com>*



*M 301 502-1347*