Re: [netconf] Pullback tcp-client-server also?

Mahesh Jethanandani <mjethanandani@gmail.com> Wed, 20 March 2024 01:27 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 93C08C151992 for <netconf@ietfa.amsl.com>; Tue, 19 Mar 2024 18:27:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level:
X-Spam-Status: No, score=-7.104 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 5Oke1FK8UuQ8 for <netconf@ietfa.amsl.com>; Tue, 19 Mar 2024 18:27:35 -0700 (PDT)
Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (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 B2ADBC15152E for <netconf@ietf.org>; Tue, 19 Mar 2024 18:27:35 -0700 (PDT)
Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-6e6bee809b8so5748096b3a.1 for <netconf@ietf.org>; Tue, 19 Mar 2024 18:27:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710898055; x=1711502855; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=xNYZVrNAOmjpRf2zu0cgF0LfO+3tdPOt4Xfd30qSiak=; b=Upw+WiDE1GcgsYWcdjKDPJDzywJvj7gAOJ2JEYXx3SnCvmQVxfRQTCw4rN8b6yIKLx djajREY1/reB/2fvtZ7A6mksnZavc0b7oYSmdF9arRTuiKbxqM3BmYKkRSjeSvg9oOTa 0Lv50Sca76NJF4P/TwPcACW4CucQ3wWPdb54SYNsadFfRyds2+PfhEe224xgyZn/zjiE PdMs3Ub3AxHAmB5jOYrYNMYFKWZSLKVfbsZihFKpasJ1ltn6n+At7bhvfR9CTRcXyLq3 lJbtZ199a8ya40aheV/YuB8xuWHtNJhAw0QpvntLM1kckPRRXNBweDL+qNicTPKXw/2S tvgw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710898055; x=1711502855; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xNYZVrNAOmjpRf2zu0cgF0LfO+3tdPOt4Xfd30qSiak=; b=GgHwuEtaV4OO0MjVvjQaiCd+LdlVUk6oJYSX5Xs1rG4S66sGpBt36lIiKUl6/3eeX/ Nb6a5Za56sC/dd+17yj7FyizEIAwedk7u1gOHmUzjaV0pkUhGjjolQbKyGlI3MRHNwci nsdK+dy7IWKAVwYKu81xtToFkPrkl/2RlXtZHHoUtXkZ8pGdQ/5YNvnJ/jwd8CA/PvJn dI3Qyof4By55QQS6jQH14SMbk8/rsFj2JoFGu12IsVpt6Xg2I6vuOLf5HcJ/k+J/lzO6 8RzJIJFpwVl3FlKYMyq9Sh+C43r8xwhJ9myJHaq+kBpbzD+S3Z20PEZK1nn3DlGZL+qT b/Gw==
X-Forwarded-Encrypted: i=1; AJvYcCUhcRUfeLx5jNBJlRkaMRnxlYC6rmyAMP77Y27kAOQ5G4cBCP/6PBdE4BKcjzngTKXD/PS0B3YDUbklIRqvnzyF
X-Gm-Message-State: AOJu0Yze4rAGHY0/de83Vq8SOnrfBLaVnQoPxPF7oIHNy8U8kXEZhTyt UzqTy3NDnIbPYZYB/YJk62ho6DyCzwe2gpAC7948JQAtbUovQIyV58klhpOVbQM=
X-Google-Smtp-Source: AGHT+IH3QA99MOM5Nzb+PTsx3hNojBgG2CoF5CDJAtk/4I50+p3t6UnIEn+8aIUj0bqM/Z1r4pWJog==
X-Received: by 2002:a05:6a00:17a4:b0:6e6:9ef1:7a7b with SMTP id s36-20020a056a0017a400b006e69ef17a7bmr804726pfg.6.1710898054884; Tue, 19 Mar 2024 18:27:34 -0700 (PDT)
Received: from smtpclient.apple (dhcp-8771.meeting.ietf.org. [31.133.135.113]) by smtp.gmail.com with ESMTPSA id b18-20020aa78712000000b006e6be006637sm10365205pfo.135.2024.03.19.18.27.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Mar 2024 18:27:33 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <A675AC8B-443A-4077-8F75-BF9B786C4EE8@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_ECA95830-CAE0-4AB8-A27B-78976CF0A90F"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\))
Date: Wed, 20 Mar 2024 11:27:29 +1000
In-Reply-To: <DU2PR02MB1016043201C524611C0E4385188332@DU2PR02MB10160.eurprd02.prod.outlook.com>
Cc: Kent Watsen <kent+ietf@watsen.net>, Netconf <netconf@ietf.org>
To: BOUCADAIR Mohamed IMT/OLN <mohamed.boucadair@orange.com>
References: <DU2PR02MB10160D45D1B097E0402C81F5D88332@DU2PR02MB10160.eurprd02.prod.outlook.com> <0100018e59548770-0e565cea-5193-4074-80f9-4f2430d18a9c-000000@email.amazonses.com> <DU2PR02MB1016043201C524611C0E4385188332@DU2PR02MB10160.eurprd02.prod.outlook.com>
X-Mailer: Apple Mail (2.3654.120.0.1.15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/qU2aNIAmw30PlsyV3YETcVfSdl8>
Subject: Re: [netconf] Pullback tcp-client-server also?
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Mar 2024 01:27:39 -0000

Hi Med,


> On Mar 20, 2024, at 11:04 AM, mohamed.boucadair@orange.com wrote:
> 
> Re-,
>  
> As Joe rightfully mentioned, running different instances is likely to happen at the device level. For that case, the leaf-list approach is just fine. 
>  
> Now, when the model is reused in upper layers (network or service models), that would not be sufficient. Think about a DHC service model which hides the internal of the service (whether this is dhcp or dhcpv6) but simply needs to expose where the dhc service is enabled: distinct ports are required for that case.

[mj] So a list of local-address and local-port?

Cheers.

>  
> Cheers,
> Med
>  
> De : Kent Watsen <kent+ietf@watsen.net <mailto:kent+ietf@watsen.net>> 
> Envoyé : mercredi 20 mars 2024 10:48
> À : BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com <mailto:mohamed.boucadair@orange.com>>
> Cc : Joe Clarke (jclarke) <jclarke@cisco.com <mailto:jclarke@cisco.com>>; Rob Wilton (rwilton) <rwilton@cisco.com <mailto:rwilton@cisco.com>>; netconf@ietf.org <mailto:netconf@ietf.org>
> Objet : Re: [netconf] Pullback tcp-client-server also?
>  
> Hi Med,
>  
> Do you mean a list of “local-address + local-port” tuples?
>  
> Can you post a concrete proposal?
>  
> K. 
>  
>  
> On Mar 20, 2024, at 10:36 AM, mohamed.boucadair@orange.com <mailto:mohamed.boucadair@orange.com> wrote:
> 
>  
> Re-,
>  
> This would address the first cases I mentioned, but not the third one.
>  
> At least some narrative text is needed to explain the intended use of distinct port per AF. A cleaner approach would to model this is as a list keyed per AF.
>  
> Cheers,
> Med
>  
> De : Kent Watsen <kent+ietf@watsen.net <mailto:kent+ietf@watsen.net>> 
> Envoyé : mercredi 20 mars 2024 10:29
> À : Joe Clarke (jclarke) <jclarke@cisco.com <mailto:jclarke@cisco.com>>
> Cc : BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com <mailto:mohamed.boucadair@orange.com>>; Rob Wilton (rwilton) <rwilton@cisco.com <mailto:rwilton@cisco.com>>; netconf@ietf.org <mailto:netconf@ietf.org>
> Objet : Re: [netconf] Pullback tcp-client-server also?
>  
> Thanks Med and Joe.  I had a sidebar with Rob and Mahesh, and we’re going to do this update in Auth48.  
>  
> Let us (the WG) agree on the exact change.  
>   1) change ‘leaf’ to ‘leaf-list’
>   2) tweak the ‘description’ to say that it’s a list
>   
> Anything else?  Do we need to disallow shadows?  (e.g., two wildcards)
>  
> K. 
>  
>  
> On Mar 20, 2024, at 9:02 AM, Joe Clarke (jclarke) <jclarke@cisco.com <mailto:jclarke@cisco.com>> wrote:
> 
>  
> I agree with Med.  Your description is an either/or, but one server might do something like:
>  
> tcp46      0      0 *.9100                 *.*                    LISTEN ç Listen on all v4 and v6 addresses
>  
> Or:
>  
> tcp4       0      0 127.0.0.1.25           *.*                    LISTEN çListen on just v4 on an explicit address
>  
> Or:
>  
> tcp6       0      0 ::1.25   *.*                              LISTEN ç Listen on just v6 on an explicit address
>  
> In the first case, I’d think you’d at least need a leaf-list to hold both 0.0.0.0 and ::.  In the second two cases, you’d want this service to have a leaf list for 127.0.0.1 and ::1.
>  
> Joe
>  
> From: netconf <netconf-bounces@ietf.org <mailto:netconf-bounces@ietf.org>> on behalf ofmohamed.boucadair@orange.com <mailto:mohamed.boucadair@orange.com><mohamed.boucadair@orange.com <mailto:mohamed.boucadair@orange.com>>
> Date: Tuesday, March 19, 2024 at 18:23
> To: Kent Watsen <kent+ietf@watsen.net <mailto:kent+ietf@watsen.net>>, Rob Wilton (rwilton) <rwilton@cisco.com <mailto:rwilton@cisco.com>>
> Cc: netconf@ietf.org <mailto:netconf@ietf.org> <netconf@ietf.org <mailto:netconf@ietf.org>>
> Subject: Re: [netconf] Pullback tcp-client-server also?
> 
> Hi Kent, all,
>  
> When I initially raised the issue for the UDP grouping, I had in mind any, IPv4/IPv6 explicit address bindings, and eventually listening on distinct port numbers per AF. Given this is a reusable model, these cases should be all covered.
>  
> Cheers,
> Med
>  
> De : netconf <netconf-bounces@ietf.org <mailto:netconf-bounces@ietf.org>> De la part deKent Watsen
> Envoyé : mercredi 20 mars 2024 06:54
> À : Rob Wilton <rwilton@cisco.com <mailto:rwilton@cisco.com>>
> Cc : netconf@ietf.org <mailto:netconf@ietf.org>
> Objet : [netconf] Pullback tcp-client-server also?
>  
> Rob, Netconf, 
>  
> Regarding support for “dual-stack”, do we need to convert from a “leaf” to a “leaf-list”?
>  
> Please note that the existing text says that a wildcard card may be used to bind to all addresses:
>  
> leaf local-address {
>       type inet:ip-address;
>       mandatory true;
>       description
>         "The local IP address to listen on for incoming
>          TCP client connections.  INADDR_ANY (0.0.0.0) or
>          INADDR6_ANY (0:0:0:0:0:0:0:0 a.k.a. ::) MUST be
>          used when the server is to listen on all IPv4 or
>          IPv6 address.";
>     }
>  
> Good enough?
>  
> Kent 
>  
> ____________________________________________________________________________________________________________
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>  
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> ____________________________________________________________________________________________________________
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>  
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> ____________________________________________________________________________________________________________
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> 
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> _______________________________________________
> netconf mailing list
> netconf@ietf.org <mailto:netconf@ietf.org>
> https://www.ietf.org/mailman/listinfo/netconf <https://www.ietf.org/mailman/listinfo/netconf>


Mahesh Jethanandani
mjethanandani@gmail.com