Re: [tcpm] Paul Wouters's Discuss on draft-ietf-tcpm-yang-tcp-07: (with DISCUSS and COMMENT)
Martin Duke <martin.h.duke@gmail.com> Fri, 09 September 2022 22:37 UTC
Return-Path: <martin.h.duke@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 12D07C1524B1; Fri, 9 Sep 2022 15:37:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.106
X-Spam-Level:
X-Spam-Status: No, score=-7.106 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_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable 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 vw4DawLjOpUO; Fri, 9 Sep 2022 15:37:01 -0700 (PDT)
Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (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 8B5D2C1522BD; Fri, 9 Sep 2022 15:37:01 -0700 (PDT)
Received: by mail-qt1-x82d.google.com with SMTP id a3so865437qto.10; Fri, 09 Sep 2022 15:37:01 -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:subject:date; bh=vEKbjBC4XpRVAXqcEfi8QWy35wdoAiTmSJENtE8EIWM=; b=I9ok2LqiBdbJEcQdR+S23Lrrryc/x6BBsk734jchkFe1L+0mcF9WcbKEZGG2FiKRQM XA8YU46YbrQxJhLYIiiQR2aJqojKU50KXGSmPRuQ465zkM1B5WU0Mg86sjMRMH4kUkDL CUIlpz0eNIbpxtcrJcSKiGr4rDNDB2xSui3+RGGTRTfSsk30A0fNmS66rgzKkaHtRht1 bPerMHFWPo3V6WkqFqY2a9xGVV+XGJIdVSNcxgS2WrtJ9iXhB+MBz8H1NqdvHHkMfmQW heb2jTFL3zKcks39qluks/d9pXUDRUoku/iUE6pOT+JeTq77nw7QbgUDZL4n0xLZ/8KG pfrA==
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:subject:date; bh=vEKbjBC4XpRVAXqcEfi8QWy35wdoAiTmSJENtE8EIWM=; b=gTBQtjigSJxCU5/tBRoHcRgN+fvIdh3saJcTIdEbeHEqikIcqkjNgfSP1Qfi8ew+DV ZKGKr14nY/zXaAZxpInhmjNKVRrmx50TQ3AYHhKEopPRGJVK/v+A7sAGWJ0A8L/fAhzs FC2dpxV7g3r/fRqf9XC0KfWkIBqVgV5DTepQayGBXEkOEGO4b+nxQUKU3yGioBWXxbV/ Dkgu7e3jSIxSx97jcLMxnqke9FlmkAEBCnHoTHbnJRSIhZoX46YMANG5AwDqQQKYG06Y RTBb4s0WzPPnZRbfp5pApAXKP8UILswU9AtedfPlwSGNsuluguGxZHr+n8w6ga+6RQuD TLTw==
X-Gm-Message-State: ACgBeo0D58LNMZ68OsKmGdpq6q2/dituWUBIpcHUs9LhVcSKNylAydFi k4tFLKhVoKS3qrx3+2HN3xr5sj0cwLxKIMZi+cXe8dlY
X-Google-Smtp-Source: AA6agR66CzrFOTBeeRXTCPR8/ElGkjJYOxNj3R1Y1f4K8kisEPS7XRyu0nwr+oyLVejzsjPWZDyDIx0in/offpCP3bU=
X-Received: by 2002:ac8:7f53:0:b0:343:652:ce62 with SMTP id g19-20020ac87f53000000b003430652ce62mr14010838qtk.514.1662763020193; Fri, 09 Sep 2022 15:37:00 -0700 (PDT)
MIME-Version: 1.0
References: <c0a91ebed96d430a80e371feb014eed9@hs-esslingen.de> <98F0454F-05B5-4288-BAF2-3D5B9313F7BE@aiven.io>
In-Reply-To: <98F0454F-05B5-4288-BAF2-3D5B9313F7BE@aiven.io>
From: Martin Duke <martin.h.duke@gmail.com>
Date: Fri, 09 Sep 2022 15:36:47 -0700
Message-ID: <CAM4esxS-cV5FOF-r1HpORZTxTAJO8_b_WKH6gopFO7_YKXDMkQ@mail.gmail.com>
To: Paul Wouters <paul.wouters=40aiven.io@dmarc.ietf.org>
Cc: "Scharf, Michael" <Michael.Scharf@hs-esslingen.de>, draft-ietf-tcpm-yang-tcp@ietf.org, "tcpm@ietf.org Extensions" <tcpm@ietf.org>, The IESG <iesg@ietf.org>, tcpm-chairs <tcpm-chairs@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002a124905e8462f23"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/jU0WrlO6VNTLKaZmGyKiGzuc5rw>
Subject: Re: [tcpm] Paul Wouters's Discuss on draft-ietf-tcpm-yang-tcp-07: (with DISCUSS and COMMENT)
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: Fri, 09 Sep 2022 22:37:06 -0000
Reminder to clear! On Mon, Sep 5, 2022 at 12:53 PM Paul Wouters <paul.wouters= 40aiven.io@dmarc.ietf.org> wrote: > Thanks for the feedback. It addresses my discuss points. Thanks for > providing the information. I will clear my discuss shortly > > Sent using a virtual keyboard on a phone > > > On Sep 5, 2022, at 04:52, Scharf, Michael < > Michael.Scharf@hs-esslingen.de> wrote: > > > > Hi Paul, > > > > Sorry, apparently I have not received an e-mail regarding this DISCUSS. > > > > I have copied the text from datatracker and replied inline. > > > > The complete diff for version -08 can be found at: > https://www.ietf.org/rfcdiff?url2=draft-ietf-tcpm-yang-tcp-08 > > > >> Discuss (2022-06-28 for -07) > >> [ballot text incomplete as cloudflare triggers a weird refusal if I > include a certain sentence, see Cloudflare Ray ID: 722aa6477e01a1db] > >> > >> Thanks for the -07 changes in response to the various area reviews! > >> > >> I still have two small discuss questions left which might be caused by > a limited > >> understanding of the underlying yang model inclusions. > >> > >> > >> 1. For an application willing to accept both IPv4 and > >> IPv6 datagrams, the value of this object must be > >> ''h (a zero-length octet-string), with the value > >> of the corresponding 'type' object being > >> unknown (0). > >> > >> 2. For an application willing to accept only IPv4 or > >> IPv6 datagrams, the value of this object must be > >> '0.0.0.0' or '::' respectively, with > >> 'type' representing the appropriate address type. > >> > >> #D1 > >> > >> To me, it seems very counter-intuitive that '' means (0.0.0.0 or ::). > For > >> LISTEN, I find it concerning because it means that '' as a default > means to > >> listen to any IP, rather than the more secure default of '' meaning > 'none'. > > > > This syntax is identical to the TCP MIB. We have not created this > definition on our own. At least to me it is not obvious why this specific > detail of the TCP MIB would be broken. Also, I don't understand why "none" > would be required at all in this context (see below). > > > >> Is it possible to have some kind of "None" default? (or is that > achieved by > >> omission of this option? > > > > As far as I understand, this entry is about the list "tcp-listeners". > > > > By definition, a TCP endpoint in state "listen" is willing to accept > (some) TCP connections. This is the connection acceptor, i.e., typically > the server side of an application. An application that is not willing to > accept any connections (e.g., a client) is not in "listen" state and > therefore not included in this list "tcp-listeners". > > > > As this list "tcp-listener" only includes endpoints that indeed listen > on at least one IP address, I am not aware of a case in which a value > "none" would be used. > > > > In -08, we have slightly changed this description to address some other > comments and to avoid "MIB speak", but we have not added a way to encode > "none". > > > > Please get back to us if we should have missed something. > > > >> #D2 > >> > >> Is it intended that this cannot be specified using names > > > > Again, I assume that this refers to the list "tcp-listeners". > > > > This is a read-only list, i.e., a TCP listener will never be created by > configuring the YANG model. Instead, an application will use the usual ways > to create a TCP endpoint (e.g., the socket API, which may understand names > depending on the used socket calls). > > > > Once a TCP listener exists, the TCP stack must know the port number > internally, and it internally operates using the port number. So, the port > number can always be listed. > > > > It may be possible to list names for port numbers if the mapping is > known, but it is not exactly clear if all TCP stacks are able to do so. > > > > The TCP MIB just uses the port number in the corresponding list. As a > result, in version -08 we just kept this as in the TCP MIB. > > > > If there is really a strong reason to model more than the TCP MIB, > please let us know. > > > >> Comment (2022-06-28 for -07) > >> #C1 > >> > >> It is unclear to me if '0.0.0.0' denotes the type inet:ip-address or > >> the type string with text value "0.0.0.0". I also worry that if this is > >> represented in C with a struct with union, that than it is unclear what > >> a zero'ed out struct is set to? The string or the v4 ANY or the v6 ANY ? > >> (I personally like enums to start from value 1 for that reason) > >> > >> #C2 > >> > >> How is this option set when fully disabled (eg not listening on > anything, only > >> willing to make an outgoing TCP connection). Is it by being omitted? > > > > Yes. A connection initiator (i.e., a client making only outgoing > connections) is not a tcp listener and thus just omitted. See also the > previous comments. > > > >> NITS: > >> > >> listner -> listener > >> > >> for TCP connection that -> for a TCP connection that > > > > Thanks, this has been fixed in -08. > > > > Michael > > _______________________________________________ > tcpm mailing list > tcpm@ietf.org > https://www.ietf.org/mailman/listinfo/tcpm >
- Re: [tcpm] Paul Wouters's Discuss on draft-ietf-t… Scharf, Michael
- Re: [tcpm] Paul Wouters's Discuss on draft-ietf-t… Paul Wouters
- Re: [tcpm] Paul Wouters's Discuss on draft-ietf-t… Martin Duke
- Re: [tcpm] Paul Wouters's Discuss on draft-ietf-t… Paul Wouters