Re: [**EXTERNAL**] RE: New Version Notification for draft-mudric-6man-lcs-01.txt

"Mudric, Dusan" <dmudric@ciena.com> Thu, 22 October 2020 15:39 UTC

Return-Path: <prvs=156459a4f3=dmudric@ciena.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1673C3A0C04 for <ipv6@ietfa.amsl.com>; Thu, 22 Oct 2020 08:39:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ciena.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09xXKJNJ-MpH for <ipv6@ietfa.amsl.com>; Thu, 22 Oct 2020 08:39:16 -0700 (PDT)
Received: from mx0a-00103a01.pphosted.com (mx0b-00103a01.pphosted.com [67.231.152.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 21D823A0BF3 for <ipv6@ietf.org>; Thu, 22 Oct 2020 08:39:15 -0700 (PDT)
Received: from pps.filterd (m0002317.ppops.net [127.0.0.1]) by mx0b-00103a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09MFQjCG017207; Thu, 22 Oct 2020 11:38:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ciena.com; h=from : to : subject : date : message-id : content-type : content-id : content-transfer-encoding : mime-version; s=06252019; bh=6yImD9aHEknlEgOJcZS0rC/RYqYgaUvxpVDYzZOohcw=; b=UukTN69ng+1IoPPhViALBnfD8Xmol6eW3ooQmHjCGjyPvozK9p2dpOrsqUS3PJbjxwg0 no3EiPceaB69Gj4RM0rSxC2s/90/eEeYGgO/lqcawE1WBe7LdSCNtCvbPDTCEQ0RJXBE r0G5yF+dyo/gd49kPVx9RJe299tn1ERzJ11bxWRcvftG0Oq0KULNFkQb3cG4QSueOX/C 50ojdx6b/vR+9ykrHwQXav7IkA/u/WHu8XBW4zy/81F+3Z26pQcQu1gmhAqlbXA1/V0K RcR2FJkRE0aOvxnRsvG9qragOrzTU9fncOPMgilMmTw765W8/16XkHnAr/MLwN2nAbX1 gw==
Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2045.outbound.protection.outlook.com [104.47.66.45]) by mx0b-00103a01.pphosted.com with ESMTP id 34bc2f893e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Oct 2020 11:38:33 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZqXs4Gs9UyPN7Laq3Lvj39xAeUKGoXw8fIqpiHXu7r1Rtt9aK4PrcWmH1mvIKN8Sf/WnymT3hTBaHShsz5sJ9rc0LkGJpFOptge4BpOls4Zgeb6ITG79p/1UVg6ZKPAMffPOlpiBsauTJbptdoPDHX5ZTR+oD/EjFuCggHgPJufUQoJqM1vEMBP3c0DYPlIUvusgYXiPnN3oAO0QSayhhvaYUXSggPShqjfPyXYNMOeky+oYXBoc5ireIczWL+136Elj70lzk7smo1iXsh/bzFa5hl4wdmnyjT8ERbWnwG3PkBGkWmblQwx0KqsoaG+SKMeEomo+eXj0kZl8YG4llA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6yImD9aHEknlEgOJcZS0rC/RYqYgaUvxpVDYzZOohcw=; b=O0hSJizCVnp8vgdvQjD5vebs1qo/YJVKD0h6fMf++MrRBj8GWq1La8ksidYBMf/X4QQxyjftt4R7c2Bq6KwJF+QLake0um1hZK5wtZkafnrO0OasJr0Ktn/1KmiKs1+ZbUz+MFQrATi94MONrjBeJx1jjGxRaSJRSjiZPyabwBOKaAI7TmlwXtGJD0f6WpNKnz/n7B5V1Vy8W8AA/ITQbjj3Ww+Du6qwDXb/Rsl+6O9fZmNs34SUYNqs4GurMiqztw3DN0SG+cFTcZSKudvBbMiq69daxOAhrcpew72H457CLqqWuvVmOmHf0FB92cRpdhq248Iv2BA0kAUkzDe1aw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ciena.com; dmarc=pass action=none header.from=ciena.com; dkim=pass header.d=ciena.com; arc=none
Received: from DM6PR04MB6459.namprd04.prod.outlook.com (2603:10b6:5:1e9::15) by DM6PR04MB3947.namprd04.prod.outlook.com (2603:10b6:5:ae::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.27; Thu, 22 Oct 2020 15:38:30 +0000
Received: from DM6PR04MB6459.namprd04.prod.outlook.com ([fe80::a563:ad77:bfef:7f2]) by DM6PR04MB6459.namprd04.prod.outlook.com ([fe80::a563:ad77:bfef:7f2%5]) with mapi id 15.20.3499.018; Thu, 22 Oct 2020 15:38:30 +0000
From: "Mudric, Dusan" <dmudric@ciena.com>
To: Vasilenko Eduard <vasilenko.eduard@huawei.com>, Alexandre Petrescu <alexandre.petrescu@cea.fr>, "ipv6@ietf.org" <ipv6@ietf.org>, "alexandre.petrescu@gmail.com" <alexandre.petrescu@gmail.com>, Mark Smith <markzzzsmith@gmail.com>
Subject: Re: [**EXTERNAL**] RE: New Version Notification for draft-mudric-6man-lcs-01.txt
Thread-Topic: [**EXTERNAL**] RE: New Version Notification for draft-mudric-6man-lcs-01.txt
Thread-Index: AQHWqIlkmgZ9vAmt3EOZL9A3R9xA6g==
Date: Thu, 22 Oct 2020 15:38:30 +0000
Message-ID: <C261AC0B-445F-4E22-A529-A8D971620053@ciena.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.41.20091302
authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=ciena.com;
x-originating-ip: [165.225.209.73]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 25ead89d-a6eb-494f-c591-08d876a08721
x-ms-traffictypediagnostic: DM6PR04MB3947:
x-microsoft-antispam-prvs: <DM6PR04MB39472AE4EBCD3B95FF663FE1B51D0@DM6PR04MB3947.namprd04.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: S4ccK/eVbICvpds7zne6KXmADH1SQTDudNHClitdMlNuHWrYq9/fF1HaapXxLftCt+I2yVJqQiFEGw4jMHl20PXY1JQMVyq+++mJkqBZjlFHtihNjJUJTnmWMzaHB2ICgjLKnIe/vzBogKpBuINY3o7qDB12MQ1v2A83/gcnAQAdf4K5KT31vb/BIYIOi+wtzNH9uZw9gN5RyaRy8pGDG/xwXKYr7EUm9Bh20LE5fLGKjHkQ1Sx+2CU0IDEmeXargxy2d7HoP9SGqiUjI2cfqJz+SxjctyA2rM54WY1BGPsLAyfUobv/KMu0Djco1p2mcR1g/RoVqTrkXf6nxXonfWZ03WZ5MNb7gwkW0hBFsH2AWTpAJ3ExxEIzFY6BMSP2aP9O4vBrTZMDTxekXa29bQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR04MB6459.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(346002)(39860400002)(136003)(376002)(396003)(91956017)(15650500001)(33656002)(186003)(66574015)(316002)(8676002)(53546011)(36756003)(86362001)(66946007)(6506007)(66556008)(55236004)(66476007)(966005)(83380400001)(76116006)(26005)(71200400001)(6512007)(2906002)(66446008)(6486002)(5660300002)(478600001)(2616005)(110136005)(64756008)(83730400002)(4001150100001)(8936002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: slM+aGacJXQwPbE5DKXX9M3U/PnnheB5WbBQNAkmdXax9Q7yTRJt46wNK06pdQThE/1dHm3bwwcSbhKAgh+Uasv34Q1Lz0l38oAH53mkpH3BSWPDoz9QL383rbFgojgMKfWYK/HnhW9WnR6Fl2o5wclqxLDMM3+KBjmDXv1uf8sIOrIgCNoRy5GtaVmJaYab3MdT02t31MrtmZHTQhljRcLr5ytiVgKd4vjceFXB3LMZ4fFiuFRfDc67VM1oDJpzguSf7XkXKLtOXVnOJGRDspJeUynu04jaI85ZLwC2uzhAR75bWWOFKYbF3F+7tsDkV1WbgkjkvcVw57AKKzdkrtEYLDE78FzDC/VsyryruQ6w1dIiqvEg/YPFOd2UX4Mw6RUApyogZZc00YUtr3zJztcQpR6XF1xqllbV3H/7+uZUTtHQNgAOqogBXpQsXcN0ELpTA90MMn37mQoJZrOAdkR74CuXZGFHcdQGyHNKvL0+ZOq/ZE+xBkIvkO8NKLwFHwNwvW9sv8KMuTclnZmkwSaSMrrxUZbxeyup6kmWCPd1GHgG53TlsVBf8OCReDWZ5JgcBbw2cCslr5zbr+5uNYd9zSfda9HLnBrMNzk7PRfWca58LFD5/+R3gwl8J2AY8g/1/LFrLt6lm9e10c801A==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <663368C89BCF584FBCB213384D3630A2@namprd04.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ciena.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR04MB6459.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 25ead89d-a6eb-494f-c591-08d876a08721
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2020 15:38:30.5414 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 457a2b01-0019-42ba-a449-45f99e96b60a
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: yW5zZnhWlmyi6JJrIQHtY0GYlsHtoEMm+OZsLvsvDQMTeTGZdAmxwlCL0uTdhVBrSb7kzgHk2UslLR+JCZGnsw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB3947
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.737 definitions=2020-10-22_11:2020-10-20, 2020-10-22 signatures=0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/N-91DdnnR3RC8IKsJogWF2qeVXw>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Oct 2020 15:39:19 -0000

Hi Eduard,

Thanks a lot for helping with the solution and providing insightful analysis. Please check proposed details for address resolution algorithm below.

Please see inliend comments.

Regards,
Dusan

>On 2020-10-20, 12:44 PM, "Vasilenko Eduard" <vasilenko.eduard@huawei.com> wrote:
>
>Hi Dusan,
>You have the big progress. It easy to read now and you have the solution (before you had just the problem).
>Unfortunately, it does not work yet.
>Let’s imagine that you have the capability to ask server GUA about server LLA. It is not the solution by itself. Not yet.
>You are proposing "special NS", but you are not talking when it should happen.
>
>Read carefully the beginning of section 7 RFC 6724. Sequence of mechanisms is counter-intuitive (historical). It looks like you assume the reverse order.
>1st: host should choose next hop! - probably routing
>2nd: host should choose source address (using next hop from previous step, fed into the SASA algorithm)
>3rd (optional): host could choose destination address (if DNS supply more than one)

[Dusan] RFC 6724 section 7 should be updated based on RFC 8028 section 3.3.
" Rule 5.5 of RFC 6724 states that the source address used to send to a
   given destination address should, if possible, be chosen from a
   prefix known to be advertised by the next-hop router for that
   destination."

When the source address is selected, the host can use the address prefix to find which router advertised that prefix. Host then knows over which link the prefix advertisement was received. This means SASA Rule 5.5 is indirectly selecting the first hop router and the link connecting to that router.

With this in mind:
1st: Host should choose destination address, if multiple GUA and ULA are provided
2nd: Host should choose source address
3rd: Host should choose next hop, and outgoing interface, based on the source address prefix
4th: If a destination is on-link, the host should resolve destination GUA into destination LL

If a socket API is used to obtain SASA address, for a given GUA destination, LL address resolution might be used. A result might be LL destination address on the local link. Media applications can use that address for the further communication.

>You could ask to break the default order of algorithms: section 7 RFC 6724 does discuss such possibility (bypass next hop selection, choose source address first with next hop not defined yet)
[Dusan] Agree. That is the approach above. A next hop router preference is mapped to the prefix preference, which is mapped to the selected source address. One the source address is selected, the host knows which next hop router to use, based on the source router prefix. Another approach is to use a destination host GUA to select the source address and, based on the source address prefix, the first hop router and the outgoing interface. For LL address resolution, the outgoing interface selection is important, since the host needs to know on which link to send packets to on-link destinations.

>After SASA host has no any other choice except to activate next: "Conceptual Model of a Host" (section 5 RFC 4861), especially "5.2.  Conceptual Sending Algorithm".
[Dusan] For efficiency reason, after LL address resolution, the sender should create a neighbor cache entry for LL destination.
1st: Sender creates a neighbor cache entry for GUA. 
2nd: Sender sends NS with L bit set
3rd: Sender receives NA with link-layer and LL addresses
4th: Sender updates GUA cache entry with the link-layer address
5th: Sender creates a neighbor cache entry for destination LL address and sets the destination link-layer address of the destination host
6th: Sender closes the socket listening on GUA and opens a socket listening on LL
7th: Sender transmits a packet to link-layer address of the destination host, using destination host LL address as IPv6 packet destination address
8th: Application sending to GUA should obtain the SASA address (which is now LL address) for the further negotiations (e.g. SIP needs to negotiate media addresses). This also implies an application should be given an option to request LL vs. GUA communication, when opening a socket to GUA destination. Socket API should have this option and use it to initiate LL address resolution.

This process does not directly impact existing SASA address selection. It is an addition to further obtain (and select) LL address for SASA selected GUA.

>Where in this chain of events host should ask your "special NS" for GUA to LLA resolution? Why it should do it?
[Dusan] It is not "special NS". It is well defined MAC address resolution that can also return LL address. LL address is needed to communicate on the local link without opening a socket port for GUA.

>You've proposed the mechanism that is deeply related to ND (NS message), - it should be activated from ND too. ND messages are shielded from host by "Conceptual Model of a Host" (section 5 RFC 4861). It is not a good idea to invoke NS directly from host TCP/IP stack (or any library).
>Hence, You need to propose the change for "Conceptual Model of a Host" to expose the new "address translation capability". I see here analogy to the NAT hidden inside ND. Well, not for data plane, just for control plane.
[Dusan] Agree. What do you think about steps 1-4 and then 1-8 above?

>There is additional big problem: host would know at the time of 1st ND contact (Conceptual Model) only Destination GUA returned in DNS and could know Source GUA returned from SASA (does not make sense to ask SASA for this information at this stage - no any value).
[Dusan] I think it does. See steps 1-4 above and other notes explaining how SASA is used to find the outgoing interface on which on-link destination is.

>The information about GUA-LLA relationships is deep inside ND. Hence, application should ask ND twice: 1st time for address translation, 2nd time for the real packet dispatch. SASA make sense between 1st and 2nd ND contact (when we would know LLA).

>Defining this "special NS" message you have chosen a very difficult path. Because this message is at the end of decision chain (and even below it), but you need the information at the beginning >("destanation"). Preferably, even before routing table would be consulted.
[Dusan] I think it should work. Steps 1-4 find the outgoing interface. The order of standard address resolution is not changed. Step 5-7 are added to use destination LL.

>A lot of changes everywhere to activate your "special NS".
>Because, in essence: whole IP stack should be processed twice for the 1st packet of every session. 1st pass is for network address translation.
[Dusan] The sequence in IP stack does not change. Only steps 5-7 are added.

>Is anything possible to do on DNS/Active directory? I am not expert on DNS.
[Dusan] It will be tricky. 
1st: DNS has to learn LL addresses from hosts.
2nd: These LL addresses need to be mapped to GUA on the link.
3rd: When FQDN resolution is done, GUA with the link LL should be returned

>Would DNS accept LLA? Could DNS check that particular host is from proper subnet (this LLA is applicable for it)?
[Dusan] LLs can be added to DNS but they would need to be learned as a pair {GUA, LL}, once GUA is created. Some hosts use only SLAAC addresses, which means they would need to register {SLAAC GUA, LL} for each address prefix.

>Your solution is local for company anyway. Tweaking just DNS server looks much easy for me.
>SASA would choose LLA scope automatically (with current algorithm).

Eduard
> -----Original Message-----
> From: Mudric, Dusan [mailto:dmudric@ciena.com]
> Sent: 20 октября 2020 г. 18:00
> To: Alexandre Petrescu <alexandre.petrescu@cea.fr>; ipv6@ietf.org; Vasilenko
> Eduard <vasilenko.eduard@huawei.com>; alexandre.petrescu@gmail.com;
> Mark Smith <markzzzsmith@gmail.com>
> Subject: Re: New Version Notification for draft-mudric-6man-lcs-01.txt
> 
> Hi Eduard and Mark,
> 
> We updated the draft. Hopefully we addressed your comment. Please review.
> 
> Regards,
> Dusan.
> 
> On 2020-10-20, 10:39 AM, "internet-drafts@ietf.org" <internet-
> drafts@ietf.org> wrote:
> 
> 
> A new version of I-D, draft-mudric-6man-lcs-01.txt has been successfully
> submitted by Dusan Mudric and posted to the IETF repository.
> 
> Name:		draft-mudric-6man-lcs
> Revision:	01
> Title:		Least-Common Scope Communications
> Document date:	2020-10-20
> Group:		Individual Submission
> Pages:		9
> URL:            https://urldefense.com/v3/__https://www.ietf.org/archive/id/draft-
> mudric-6man-lcs-
> 01.txt__;!!OSsGDw!b5LZ_6HLnYwjZvgdUgd8OraszRauBz0RcSPvcBkTxYdp6n2p1p
> Xa2GTMkE8N$
> Status:
> https://urldefense.com/v3/__https://datatracker.ietf.org/doc/draft-mudric-
> 6man-
> lcs/__;!!OSsGDw!b5LZ_6HLnYwjZvgdUgd8OraszRauBz0RcSPvcBkTxYdp6n2p1pXa
> 2C7pHDI3$
> Htmlized:
> https://urldefense.com/v3/__https://datatracker.ietf.org/doc/html/draft-
> mudric-6man-
> lcs__;!!OSsGDw!b5LZ_6HLnYwjZvgdUgd8OraszRauBz0RcSPvcBkTxYdp6n2p1pXa
> 2C6yRTdb$
> Htmlized:       https://urldefense.com/v3/__https://tools.ietf.org/html/draft-
> mudric-6man-lcs-
> 01__;!!OSsGDw!b5LZ_6HLnYwjZvgdUgd8OraszRauBz0RcSPvcBkTxYdp6n2p1pXa
> 2Mv7XAZ2$
> Diff:
> https://urldefense.com/v3/__https://www.ietf.org/rfcdiff?url2=draft-mudric-
> 6man-lcs-
> 01__;!!OSsGDw!b5LZ_6HLnYwjZvgdUgd8OraszRauBz0RcSPvcBkTxYdp6n2p1pXa
> 2MTLGOH_$
> 
> Abstract:
>    This draft formulates a security problem statement.  The problem
>    arises when a Host uses its Global Unicast Address (GUA) to
>    communicate with another Host situated on the same link.
> 
>    To address this problem, we suggest to select and use addresses of a
>    least scope that are common.
> 
> 
> 
> 
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
> 
> The IETF Secretariat
> 
>