Re: [spring] SRv6 Network Programming - ICMP Source Address Selection

Ron Bonica <rbonica@juniper.net> Sat, 21 December 2019 19:59 UTC

Return-Path: <rbonica@juniper.net>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6224D12006D for <spring@ietfa.amsl.com>; Sat, 21 Dec 2019 11:59:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=skBuvRbt; dkim=pass (1024-bit key) header.d=juniper.net header.b=MGWJrE/6
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 4F5m-LWwooNk for <spring@ietfa.amsl.com>; Sat, 21 Dec 2019 11:59:36 -0800 (PST)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 CA3E612004F for <spring@ietf.org>; Sat, 21 Dec 2019 11:59:36 -0800 (PST)
Received: from pps.filterd (m0108160.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xBLJxZWn019245; Sat, 21 Dec 2019 11:59:35 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=Lg4wf1stV0ZxTEDEVA1TsldxkcJVlb6pnlWXxWv/KKg=; b=skBuvRbtl8gmlcZLhOyTXyfml82NU91cYsel8wWOfUG0/G1W6ShQt/zGiKf1remnpwEM bkkYol7U448bCzcqJMcUcFCIASbGOfKyrDXQMJ4/T9ftAkAkT1jOXbU5SajlxhhbCLFL Lt+PjX5HmygJOMUkzQ+3r0JpLhYgZNtWtiycN19Qg5iTsiNf9q7WYuM4oRJ6FaU6RU7L nJ5nu8S6yqgGsZ2io7FSMQ83Br6PwcRehe9LRQOWxPNf+n8c05sNv/feFcxnCjqt4yFQ 2t9oK7FouG0EGJ2QtrO+v8NE/AafWgbMBwNdED19Q+a6dP/r+7DlpShMrFx5HUCkVfec Xg==
Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2175.outbound.protection.outlook.com [104.47.59.175]) by mx0b-00273201.pphosted.com with ESMTP id 2x1j6q8cka-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 21 Dec 2019 11:59:35 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fHkTPUjTCAF8lI0BmZ0tvEn8l8B3hfoiHG7dN85hl5DrXJ1JgtIhudksdRm2UvRaqZ3w2R0W4OSW2CSmcJ0kPhFiPwZVW0Hzrs37oiNQM6mn8lq+BSRJo4K8MYtjpvlV4gKkxgYrJptQh91U8Gc3fS7NzgVrB/cXWpJQOEyYo46ecPXxfXsQv2wKuV+tfPnx57PFYf1aaXXovpt6iP8Y2sreOyKHPif3IyXFU3CcQMf5yfewrELbQodVsvfECgSdLrMOthZEyTgN2zYe2RU90LKQ/bnK8OwVT0RrMSIAom0jIYU4AYqOmgHUmq7kKAqFtPnthnjbQLBFW0XidAlPOg==
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=Lg4wf1stV0ZxTEDEVA1TsldxkcJVlb6pnlWXxWv/KKg=; b=d2bxPgOLqL/sWuwMBaQGePltUrMXO9ATuQoEN62iJ84kMIIxrluijSnp4pjSNWxpuH2BpkH9dszwuyGeFyTgiZ+WmPLTaKzoGt5VoEHQNCjdXRYRfReAqoAEWoXFc5VLZlTwVC4qyuQpfJCSZAjRSPq0j19ywDocp39PU4Kx9bmlHwwUR7IcRRJItRAINEHgb7xs9zkz8W199s0W+PR44XjW9HcpcG223z2ajFg8EVg04qkgt6AKNtcrMCLyImVxuC1eMgJYaxXguNYh4EADT9xHnDLTgx2W1kYzO3uyuT0MJF1cBqWV1IMigb0S11p5GZiWDw4q0xWuUOImrnmlIA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Lg4wf1stV0ZxTEDEVA1TsldxkcJVlb6pnlWXxWv/KKg=; b=MGWJrE/6uLSiCrlkSblJylv6kuu4G7WBdSF9FGz0lRjH2sZsQX0qatAM7G91Q0i/5gvAr7ZRzE6RW/HpvOA0+iDeGEAE5h0K6tKOsLUayTUZ8Ly2wSfKzBFm4DfrTfp9pNh546SfWBGqn/JPCOvy59YP/DPmkJtEy6FIImUCFKk=
Received: from BN7PR05MB5699.namprd05.prod.outlook.com (20.176.28.88) by BN7PR05MB5922.namprd05.prod.outlook.com (20.176.28.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.12; Sat, 21 Dec 2019 19:59:31 +0000
Received: from BN7PR05MB5699.namprd05.prod.outlook.com ([fe80::9461:cfa8:fab9:736c]) by BN7PR05MB5699.namprd05.prod.outlook.com ([fe80::9461:cfa8:fab9:736c%7]) with mapi id 15.20.2559.017; Sat, 21 Dec 2019 19:59:31 +0000
From: Ron Bonica <rbonica@juniper.net>
To: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
CC: "spring@ietf.org" <spring@ietf.org>
Thread-Topic: [spring] SRv6 Network Programming - ICMP Source Address Selection
Thread-Index: AQHVt1sjI5E9vezZDUu0pc5hCyLTq6fFADeQ
Content-Class:
Date: Sat, 21 Dec 2019 19:59:30 +0000
Message-ID: <BN7PR05MB5699B27F84C5E8051028D97AAE2C0@BN7PR05MB5699.namprd05.prod.outlook.com>
References: <B91AA98B-F605-4C6B-AFAF-C9FDEA703460@cisco.com>
In-Reply-To: <B91AA98B-F605-4C6B-AFAF-C9FDEA703460@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=True; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Owner=rbonica@juniper.net; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2019-12-21T19:59:25.3694961Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=Juniper Business Use Only; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Application=Microsoft Azure Information Protection; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=fdbab709-d5fe-4744-a398-6df8ce817717; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Extended_MSFT_Method=Automatic
dlp-product: dlpe-windows
dlp-version: 11.3.2.8
dlp-reaction: no-action
x-originating-ip: [108.28.233.91]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 4cdbd5cb-2054-4dd2-9eb4-08d786504b39
x-ms-traffictypediagnostic: BN7PR05MB5922:
x-microsoft-antispam-prvs: <BN7PR05MB59227967F5F351EE2ED19C00AE2C0@BN7PR05MB5922.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-forefront-prvs: 0258E7CCD4
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(39850400004)(366004)(376002)(136003)(346002)(199004)(189003)(478600001)(86362001)(76116006)(81156014)(33656002)(5660300002)(55016002)(9686003)(52536014)(66946007)(66556008)(7696005)(186003)(8676002)(8936002)(66446008)(64756008)(4326008)(2906002)(26005)(6916009)(66476007)(71200400001)(316002)(53546011)(6506007)(81166006); DIR:OUT; SFP:1102; SCL:1; SRVR:BN7PR05MB5922; H:BN7PR05MB5699.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ZL1rMsDB18qnEu4uweEXAXdxXg4p3OD0FsMlsS1orp9bOxAQCAVlAgdrE95u0zZwlV+1lJ0ZBvaGkKI8vw2sH1XNSrZpqH/QuQ6FlKeTsL6oltBHYSqz9P7NjQfSbpobldlXugF8lJ3L86oV3uN6ol/KfMO/pk7pUaB7d3wILC1ZKSssuZFvLLNe8VMBdUxOWQObJCf6Br1OGjUpcA+DUHrvqUQ4JQ9JC7IFG/XjQwE0/gQkl7SCML92N3J2yWfurksIg4GKWgiVKuOAUW5nx2L4tWiYaVs6gmMlCzc6uWv6iA5ZGNvwKhVmEoumLSDy7MtTHkVUjds+XsqgXDCB3Pq/F9pr4jOh2ULRC0n0QVqZ8ZEeagtYeF8FeaybSNs2rsmJ4b7ZziAMjqkj49phjIP8hRJWa6xEkQcZftBfaKWVrfe8S1t/CAdVh34+BNGW
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BN7PR05MB5699B27F84C5E8051028D97AAE2C0BN7PR05MB5699namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 4cdbd5cb-2054-4dd2-9eb4-08d786504b39
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Dec 2019 19:59:30.8800 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: fp+w9OqzkNSxwYHtUasPHhL6dZTBkO6+VEKR5fz01HTaiDCNt61MfuQsqjgkx/EDl4EQe6XwTVjT1PtEDtw94w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR05MB5922
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-12-21_06:2019-12-17,2019-12-21 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 malwarescore=0 suspectscore=0 phishscore=0 clxscore=1015 impostorscore=0 bulkscore=0 spamscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=999 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1912210176
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/pUOuWF6s3dKZmxpe0J7e7UW92zI>
Subject: Re: [spring] SRv6 Network Programming - ICMP Source Address Selection
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Dec 2019 19:59:39 -0000

Pablo,

Section 2.2 of RFC 4443 offers the following options:

"   (a) If the message is a response to a message sent to one of the
       node's unicast addresses, the Source Address of the reply MUST be
       that same address.

   (b) If the message is a response to a message sent to any other
       address, such as

       - a multicast group address,
       - an anycast address implemented by the node, or
       - a unicast address that does not belong to the node

      the Source Address of the ICMPv6 packet MUST be a unicast address
      belonging to the node. "

So, the question boils down to whether you consider a SID to be one of the node's unicast addresses. If so, the answer is a). If not, the answer is b).

So, which is it?

                                                    Happy Holidays,
                                                         Ron





Juniper Business Use Only
From: Pablo Camarillo (pcamaril) <pcamaril@cisco.com>
Sent: Friday, December 20, 2019 12:30 PM
To: Ron Bonica <rbonica@juniper.net>
Cc: spring@ietf.org
Subject: Re: [spring] SRv6 Network Programming - ICMP Source Address Selection

Ron,

I guess that draft-ietf-6man-segment-routing-header does not contain any explicit text about it because it is not needed.
Instead draft-ietf-6man-segment-routing-header contains a reference to RFC4443 that details in section 2.2 how to select it.

There is no text in draft-ietf-spring-srv6-network-programming that changes such behavior.

Happy Holidays,
Pablo.

From: spring <spring-bounces@ietf.org<mailto:spring-bounces@ietf.org>> on behalf of Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org<mailto:rbonica=40juniper.net@dmarc.ietf.org>>
Date: Thursday, 19 December 2019 at 14:59
To: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com<mailto:pcamaril@cisco.com>>, "spring@ietf.org<mailto:spring@ietf.org>" <spring@ietf.org<mailto:spring@ietf.org>>
Subject: Re: [spring] SRv6 Network Programming - ICMP Source Address Selection

Pablo,

Can you provide a specific reference into draft-ietf-6man-segment-routing-header? I can't find the answer to my question in there.

                                                                                         Ron





Juniper Business Use Only
From: Pablo Camarillo (pcamaril) <pcamaril@cisco.com<mailto:pcamaril@cisco.com>>
Sent: Thursday, December 19, 2019 6:47 AM
To: Ron Bonica <rbonica@juniper.net<mailto:rbonica@juniper.net>>; spring@ietf.org<mailto:spring@ietf.org>
Subject: Re: SRv6 Network Programming - ICMP Source Address Selection

Ron,

This is exactly the same as in the SRH.
There is no text in draft-ietf-spring-srv6-network-programming that changes this.

Cheers,
Pablo.

From: Ron Bonica <rbonica@juniper.net<mailto:rbonica@juniper.net>>
Date: Monday, 9 December 2019 at 23:48
To: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com<mailto:pcamaril@cisco.com>>, SPRING WG <spring@ietf.org<mailto:spring@ietf.org>>, 6man <6man@ietf.org<mailto:6man@ietf.org>>
Subject: RE: SRv6 Network Programming - ICMP Source Address Selection

Pablo,

Section 2.2 of RFC 4443 offers two options. If you think that a SID is a unicast address, the first option is applicable. If you think that a SID is not a unicast address, the second option is applicable.

Which did you choose?

                                                                         Ron



Juniper Business Use Only
From: Pablo Camarillo (pcamaril) <pcamaril@cisco.com<mailto:pcamaril@cisco.com>>
Sent: Monday, December 9, 2019 10:18 AM
To: Ron Bonica <rbonica@juniper.net<mailto:rbonica@juniper.net>>; SPRING WG <spring@ietf.org<mailto:spring@ietf.org>>; 6man <6man@ietf.org<mailto:6man@ietf.org>>
Subject: Re: SRv6 Network Programming - ICMP Source Address Selection

Ron,

As you pointed out in your email, RFC4443 Section 2.2 is very clear about how to select the source address.
draft-ietf-spring-srv6-network-programming does not change this.

Thanks,
Pablo.

From: ipv6 <ipv6-bounces@ietf.org<mailto:ipv6-bounces@ietf.org>> on behalf of Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org<mailto:rbonica=40juniper.net@dmarc.ietf.org>>
Date: Friday, 6 December 2019 at 17:40
To: SPRING WG <spring@ietf.org<mailto:spring@ietf.org>>, 6man <6man@ietf.org<mailto:6man@ietf.org>>
Subject: SRv6 Network Programming - ICMP Source Address Selection

Authors,

When an SRv6 node sends an ICMP message, how does it select the ICMP message's source address?

Section 2.2 of RFC 4443 offers two options. If you think that a SID is a unicast address, the first option is applicable. If you think that a SID is not a unicast address, the second option is applicable.

                                                                     Ron


Juniper Business Use Only