Re: [spring] SRv6 Network Programming: ENH = 59

Ron Bonica <rbonica@juniper.net> Tue, 07 May 2019 17:04 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 6512F120153; Tue, 7 May 2019 10:04:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level:
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 aGHPYF4FAP2I; Tue, 7 May 2019 10:04:29 -0700 (PDT)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 996AB120131; Tue, 7 May 2019 10:04:29 -0700 (PDT)
Received: from pps.filterd (m0108158.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x47GiHdh003638; Tue, 7 May 2019 10:04:25 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=PPS1017; bh=SbEDkpjSr/8SEThdyIa/mdB30batCV/J0KL8YxCsrNg=; b=eYyWVzRlnphnR4kluGd6mqEIwu8Goan5/FsO/DicEVlimtBzEdXcaSb/kgnNYy3VFXmw 6/Orn+J3UzbXRE35gFanxKrzRcrRjD1/Zr1JDzSRcPOgkj8hfPHULPX0ZdaL8WkVfVM3 JRGK1wA7bFfh34VIFcydAl4dH/3oU7uOIBdcbyPxAxE0K6OpnhZ+qQ9rEKnHgXgSgz98 rcCHQUKKHi0Dt/3rIoEJAhbqExiu5SPY+CRA2XdivEQeysyxdX7dXlXZ6p/+QTuM+05X /MMyxsvl1SMJ2vCyY/fN2ET5VQo3mnwjisXPH2JSJPkBUyCJ8oo8mHCvOp80sj/2bXd+ +A==
Received: from nam05-by2-obe.outbound.protection.outlook.com (mail-by2nam05lp2056.outbound.protection.outlook.com [104.47.50.56]) by mx0a-00273201.pphosted.com with ESMTP id 2sb97h8htn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 07 May 2019 10:04:25 -0700
Received: from BYAPR05MB4245.namprd05.prod.outlook.com (20.176.252.26) by BYAPR05MB6053.namprd05.prod.outlook.com (20.178.54.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.12; Tue, 7 May 2019 17:04:23 +0000
Received: from BYAPR05MB4245.namprd05.prod.outlook.com ([fe80::e1e7:cf02:f236:ab29]) by BYAPR05MB4245.namprd05.prod.outlook.com ([fe80::e1e7:cf02:f236:ab29%7]) with mapi id 15.20.1878.019; Tue, 7 May 2019 17:04:23 +0000
From: Ron Bonica <rbonica@juniper.net>
To: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>, SPRING WG <spring@ietf.org>, 6man WG <ipv6@ietf.org>
Thread-Topic: SRv6 Network Programming: ENH = 59
Thread-Index: AdUDo1cr1ntuHPleQoe8AvXX2JxkXgAgU5gAADSHkFA=
Date: Tue, 07 May 2019 17:04:23 +0000
Message-ID: <BYAPR05MB4245AEA785C959D29E4ECE61AE310@BYAPR05MB4245.namprd05.prod.outlook.com>
References: <BYAPR05MB4245988C3A47C3665BD91172AE300@BYAPR05MB4245.namprd05.prod.outlook.com> <AA81898A-9E6C-4AD5-9629-4BA283378A79@cisco.com>
In-Reply-To: <AA81898A-9E6C-4AD5-9629-4BA283378A79@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.1.100.23
dlp-reaction: no-action
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-05-06T00:47:22.1556699Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=Juniper Internal; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Application=Microsoft Azure Information Protection; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Extended_MSFT_Method=Automatic; Sensitivity=Juniper Internal
x-originating-ip: [66.129.241.10]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a6348457-0f85-4549-c484-08d6d30e0dd3
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:BYAPR05MB6053;
x-ms-traffictypediagnostic: BYAPR05MB6053:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <BYAPR05MB6053A8BCB2CD7546681FD2DAAE310@BYAPR05MB6053.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6790;
x-forefront-prvs: 0030839EEE
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(39860400002)(346002)(136003)(376002)(366004)(199004)(189003)(13464003)(53936002)(7736002)(25786009)(68736007)(53546011)(256004)(6506007)(102836004)(7696005)(76176011)(2906002)(99286004)(478600001)(14454004)(305945005)(966005)(110136005)(6116002)(3846002)(26005)(5660300002)(486006)(6436002)(76116006)(73956011)(66574012)(229853002)(446003)(6246003)(33656002)(11346002)(74316002)(476003)(316002)(186003)(9686003)(55016002)(6306002)(52536014)(71190400001)(71200400001)(8936002)(81166006)(81156014)(8676002)(86362001)(66066001)(66476007)(66556008)(64756008)(66446008)(66946007); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB6053; H:BYAPR05MB4245.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-message-info: H6LVfGhZBnVYv3hr26na1wvbZB6vd1D+IO4TLCzbrB16b5IvGDI50RMT+D4Ck67b3rwlfD5PSz+VUTXD+1MW1idut2HsaTxHaSCdynVUXIi4k6SrNHp2Fcoo21MKDxKpe46ZID/lXei/RTsGDtOhjV313L+gRZ8BXztSAROk0Qbx4Jd4SH+3RND01BVuvl6I6BIDhSp5DHimr6EOhpq5+uac7fl8FXW3UgjsCvUPBI0FQHiW1lh9ZIp9zDah8GMf64b1WvtbRtE8SwA63PYYI6zHOJ3m7lX1OOUOhYvpGAmeLJ1p94bkvoSvM63KILmEaMwdHgxTvQyofxNlUi5n0g18+IR8RFU+4a9KSOS1X4PfBHNSapeKLKalIbd1vKFseDnHF6tQKbL17E7RyYi2v51DIvFn0GYAL6flwWWdNn0=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: a6348457-0f85-4549-c484-08d6d30e0dd3
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 May 2019 17:04:23.2899 (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-Transport-CrossTenantHeadersStamped: BYAPR05MB6053
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-07_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=934 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905070109
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/cNVvz1qzGfLFoQe4AcUfmjimtdA>
Subject: Re: [spring] SRv6 Network Programming: ENH = 59
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: Tue, 07 May 2019 17:04:33 -0000

Pablo,

I am not sure that your use of this field is in accordance with Section 4.7 of RFC 8200.

                                                                    Ron



Juniper Internal

> -----Original Message-----
> From: Pablo Camarillo (pcamaril) <pcamaril@cisco.com>
> Sent: Tuesday, May 7, 2019 3:09 AM
> To: Ron Bonica <rbonica@juniper.net>; SPRING WG <spring@ietf.org>; 6man
> WG <ipv6@ietf.org>
> Subject: Re: SRv6 Network Programming: ENH = 59
> 
> Hi Ron,
> 
> We use the next header value 59 to identify at the receiver that there is no
> other kind of Internet Protocol beneath to be processed.
> Note that we are *not* using 59 to identify the fact that it is an ethernet
> header (i.e. other non Internet-Protocols would also use the 59 to identify that
> no further IP header processing has to be performed). The SID identifies that
> an Ethernet header follows the IPv6 extension headers.
> 
> Thanks,
> Pablo.
> 
> -----Original Message-----
> From: ipv6 <ipv6-bounces@ietf.org> on behalf of Ron Bonica
> <rbonica=40juniper.net@dmarc.ietf.org>
> Date: Monday, 6 May 2019 at 02:48
> To: SPRING WG <spring@ietf.org>, 6man WG <ipv6@ietf.org>
> Subject: SRv6 Network Programming: ENH = 59
> 
>     Folks,
> 
>     According to Section 4.4 of draft-ietf-spring-srv6-network-programming-
> 00, when processing the End.DX2 SID, the Next Header must be equal to 59.
> Otherwise, the packet will be dropped.
> 
>     In the words of the draft, "We conveniently reuse the next-header value 59
> allocated to IPv6 No Next Header [RFC8200].  When the SID corresponds to
> function End.DX2 and the Next-Header value is 59, we know that an Ethernet
> frame is in the payload without any further header."
> 
>     According to Section 4.7 RFC 8200, " The value 59 in the Next Header field
> of an IPv6 header or any  extension header indicates that there is nothing
> following that header.  If the Payload Length field of the IPv6 header indicates
> the presence of octets past the end of a header whose Next Header field
> contains 59, those octets must be ignored and passed on unchanged if the
> packet is forwarded."
> 
>     Does the WG think that it is a good idea to reuse the Next Header value 59?
> Or would it be better to allocate a new Next Header value that represents
> Ethernet?
> 
>                                                               Ron
> 
> 
>     Juniper Internal
> 
>     --------------------------------------------------------------------
>     IETF IPv6 working group mailing list
>     ipv6@ietf.org
>     Administrative Requests:
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__www.ietf.org_mailman_listinfo_ipv6&d=DwIGaQ&c=HAkYuh63rsuhr6S
> cbfh0UjBXeMK-ndb3voDTXcWzoCI&r=Fch9FQ82sir-BoLx84hKuKwl-
> AWF2EfpHcAwrDThKP8&m=YOpkfRdJqwMPig1QVXflyp_jPXFxMtT_wCSFm0
> 9x7uQ&s=dwc4VotN_cH4V8ncfopG-fNWOmJVYzMQLduXjOLwIWM&e=
>     --------------------------------------------------------------------
> 
>