Re: [spring] I-D Action: draft-ietf-spring-srv6-network-programming-06.txt

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Sat, 14 December 2019 09:34 UTC

Return-Path: <pcamaril@cisco.com>
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 1FBE6120115 for <spring@ietfa.amsl.com>; Sat, 14 Dec 2019 01:34:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 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_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=ON8UNYQe; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=J8F6kBFF
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 PmvrvB0blH8D for <spring@ietfa.amsl.com>; Sat, 14 Dec 2019 01:34:30 -0800 (PST)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4A40012006B for <spring@ietf.org>; Sat, 14 Dec 2019 01:34:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8626; q=dns/txt; s=iport; t=1576316070; x=1577525670; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=St9OjYEISyuVF03rRtQ8FxPf9KRbysP4JvL2IsFXSEQ=; b=ON8UNYQeBDEiZ9luVxLG9S8T2I4E2lmtmcEMTzyJWKYam18gh1Be9Q3Z CoUSfSSdkr013zUzILlTYIKcrjRsOTs2GIs6HtkWov3bcQ2Tz7SB/BI1h e2gUe3Yr8jD0WaTswXiqTqPA+Qv6vAjK5P2WIoEekGx1kWWe8btu7ucJl Q=;
IronPort-PHdr: =?us-ascii?q?9a23=3AOOU7jBZVZ4wiRfimVQhr48n/LSx94ef9IxIV55?= =?us-ascii?q?w7irlHbqWk+dH4MVfC4el20gabRp3VvvRDjeee87vtX2AN+96giDgDa9QNMn?= =?us-ascii?q?1NksAKh0olCc+BB1f8KavyZCU/Fd5DUHdu/mqwNg5eH8OtL1A=3D?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0D2CADiq/Rd/4wNJK1fBhwBAQEBAQc?= =?us-ascii?q?BAREBBAQBAYF+gUtQBWxYIAQLKgqDeYNGA4sNToFsJYlcjiqCUgNUCQEBAQw?= =?us-ascii?q?BARgNCAIBAYN7RQIXgXgkOBMCAw0BAQQBAQECAQUEbYU3DIVeAQEBAQIBAQE?= =?us-ascii?q?QEREMAQEsDAsEAgEIEQMBAgECAiYCAgIfBgsVCAgCBAESCRmDAAGCRgMOIAE?= =?us-ascii?q?DC6ExAoE4iGF1gTKCfgEBBYE1AQMCDkFAgkkNC4IXCYEOKIwYGoFBP4ERJww?= =?us-ascii?q?Ugkw+ghs+CwEBAQEBARiBOQ6DEDKCLI1JgmmeB0MKgjSHKIlZBliEJRuCQ3S?= =?us-ascii?q?HApAPjkyBRocJghmCfIxjAgQCBAUCDgEBBYFpIoFYcBUaISoBgkEJRxEUjRK?= =?us-ascii?q?Dc4UUhT90AQGBJox7AYEPAQE?=
X-IronPort-AV: E=Sophos;i="5.69,313,1571702400"; d="scan'208";a="390419136"
Received: from alln-core-7.cisco.com ([173.36.13.140]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 14 Dec 2019 09:34:28 +0000
Received: from XCH-ALN-005.cisco.com (xch-aln-005.cisco.com [173.36.7.15]) by alln-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id xBE9YSXq006836 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Sat, 14 Dec 2019 09:34:28 GMT
Received: from xhs-aln-003.cisco.com (173.37.135.120) by XCH-ALN-005.cisco.com (173.36.7.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sat, 14 Dec 2019 03:34:28 -0600
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sat, 14 Dec 2019 03:34:27 -0600
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sat, 14 Dec 2019 04:34:27 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HKdB+5gDQkMhvvjPLhXlu2XMGvWZ5c8rJwYT/Qye05F38BGWewJY5skeES85Uaw2SV9ThkAAwAtY3/O3I+oM2bWlWSiIKWkSBtntSam9OySsaJQyKLHHj7dhS57RGhX4evEcgJsdZVNqQP+2sjb8x6l4rY1mmgi86wGKhuM3F3hHMxu5l9koiHSleAFJnWj7RIAAQA1dBdjUU1kX8hbOtykQuk3tIoCzKgl0rzH5dcerRgLxrwswAcenRDtwgp+4GmYuAJX8MVTqcFGMTr22dk5f7H6wkGtWsODjBSg7arutkeimgmTtvBOpBczIILcjZDX6NC8mCOh6KnzjMJD+dQ==
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=St9OjYEISyuVF03rRtQ8FxPf9KRbysP4JvL2IsFXSEQ=; b=kFL5guqFD14Prxb5buWtnyFkVqzNhQWj75Zil4g9Icbe/TJlaUSBbFpNBSETleGFoNiFTZO3YKLDl9B7A75xJr6GImgV3Q55udWomX1BCirPY6O4g7WenITeDZUosVRsUAszu5AuHTBIg6rK0Hz22EDlHPfvWS/2CIUHxvDqSSvcFmWszzxX4BtIGM8yeIUKF+Sw0Dp+qOxknaMAdvpQzYP7ZIPqeivZFA+lVwC+Xr8CbtboHu8XoWOrToQlHRXvESZ/pLXS8KqHyS6SNQlBOO3hF/nzgdWKOng2CU63nwkBaD+hj2U8iZlDA9iLTnx8lyjwHLQOICoWy2AmmtKYKA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=St9OjYEISyuVF03rRtQ8FxPf9KRbysP4JvL2IsFXSEQ=; b=J8F6kBFFo+zXEKdjjqAaF/fn2lyPJr+wgPJ2UGXm7D0hPks3WKPtuJpW7imQK4MhE39AIxdt27TXSAGYx76QHb6dk8Dd6OJz0qW3ycAtoOqsIU7t6BlON7lh0XOFuKAzLff1+StmxZcTAmjmbBmF6nqZy49i7HatR88t/e+Bzdw=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (10.169.234.8) by MWHPR11MB1807.namprd11.prod.outlook.com (10.175.55.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.18; Sat, 14 Dec 2019 09:34:26 +0000
Received: from MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::b04b:c9bb:2378:7a8d]) by MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::b04b:c9bb:2378:7a8d%11]) with mapi id 15.20.2538.017; Sat, 14 Dec 2019 09:34:25 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, "spring@ietf.org" <spring@ietf.org>
Thread-Topic: [spring] I-D Action: draft-ietf-spring-srv6-network-programming-06.txt
Thread-Index: AQHVsFzuMqEE0m+BQku/EkspZFszBae1fbKAgAP1rwA=
Date: Sat, 14 Dec 2019 09:34:25 +0000
Message-ID: <3A12D735-7899-4679-8FC8-DF8875D40A62@cisco.com>
References: <157609408568.11496.11799785813274132900@ietfa.amsl.com> <4c762fc5-8a61-e182-a9cc-d45b0f586ccc@gmail.com>
In-Reply-To: <4c762fc5-8a61-e182-a9cc-d45b0f586ccc@gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.20.0.191208
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pcamaril@cisco.com;
x-originating-ip: [88.27.141.80]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 1bd333c8-d457-408b-5c07-08d78078cf52
x-ms-traffictypediagnostic: MWHPR11MB1807:
x-microsoft-antispam-prvs: <MWHPR11MB18072F5AB40E18C230252CB9C9570@MWHPR11MB1807.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 025100C802
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(396003)(376002)(366004)(39860400002)(189003)(51914003)(199004)(13464003)(316002)(33656002)(6486002)(5660300002)(53546011)(86362001)(6506007)(71200400001)(966005)(110136005)(26005)(66476007)(4001150100001)(8676002)(6512007)(66446008)(64756008)(8936002)(36756003)(76116006)(91956017)(186003)(81166006)(81156014)(66574012)(2906002)(2616005)(66946007)(478600001)(66556008); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1807; H:MWHPR11MB1374.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: gw/TZXfPYuHMAgBgh0wfv6nXGoonBjw8C2a4jq9jUhAF5eSXmRII6kjniEELqwf3r6P1GSQ6O1h59gvOouRQxrTjxgOnAAB3Z4k5L/igAUU137Hp4aakNwwl3DPJElsF8Wc6Qi4Kwee1TrPHsBQxE8zlLyEABsKEPhMO8H7J83J1hAtMlfzT3DkmH175hkelo3fptQF++gFMNh5fXnnYfxKgmmoFTuA6F1TYqizLJ2SkXF+7BjFvMQbuJq2GYXkQDzW82O4db6rvZnH4NvybYS40ge5kB1pmhuNClDz0D+akbifJlVQFevtO6DYYmcAvGlOlIyMJOJUFc1IrH0ZjWGJG15kzKudqk4VMY66ZkDulQJSxfLnhc8mv/Vfl43tbA0K3f+tzsXsJlp7jPO1k/os7rINhqJ+9XD5DbTus0RNtoDHszMUrqxN9VF+yKG95gtR9aVJ3H1zA+TX9mC9j88k9/fsOZneVYPvKhm8E58dvIoIDAJ1Wsb1EoM+8HbSgMw5m5/5Xfrcnbc/OiPgweHmwB1Wz8H+XURzdLHZgF3cIsJsV3Y2R+tbbxzrlS77e
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <E3E58EEAA98F774E9F36565541D09440@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 1bd333c8-d457-408b-5c07-08d78078cf52
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Dec 2019 09:34:25.6587 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 8LAW/7vftNKwMDTvvxNBY+2o4PeKLL7TZK/qov/4UdWCGMHp79KLCnZQIWDLxdm+AJIMYV0Yb7PfSjsM/Ywr7w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1807
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.15, xch-aln-005.cisco.com
X-Outbound-Node: alln-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/l3FLNH6jVTvGF-3RgSW5qJ5ZglE>
Subject: Re: [spring] I-D Action: draft-ietf-spring-srv6-network-programming-06.txt
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, 14 Dec 2019 09:34:33 -0000

Brian,

Many thanks for having another look to the draft. Please see inline [PC].

Thank you,
Pablo.

-----Original Message-----
From: spring <spring-bounces@ietf.org> on behalf of Brian E Carpenter <brian.e.carpenter@gmail.com>
Date: Wednesday, 11 December 2019 at 23:06
To: "spring@ietf.org" <spring@ietf.org>
Subject: Re: [spring] I-D Action: draft-ietf-spring-srv6-network-programming-06.txt

    So, I've tried to look at this with fresh eyes, and thanks for the
    various updates and clarifications.
    
    (I'm still not on the SPRING list so please leave me in CC.)
    
    I remain a bit puzzled. First, a quote from the SRH specification
    (draft-ietf-6man-segment-routing-header-26):
    
    > 4.2.  Transit Node
    > 
    >    As specified in [RFC8200], the only node allowed to inspect the
    >    Routing Extension Header (and therefore the SRH), is the node
    >    corresponding to the DA of the packet.  Any other transit node MUST
    >    NOT inspect the underneath routing header and MUST forward the packet
    >    toward the DA according to its IPv6 routing table.
    
    Next, a quote from the current draft:
    
    >    SRH[n]: A shorter representation of Segment List[n], as defined in
    >    [I-D.ietf-6man-segment-routing-header].
    > 
    >    When a packet is intercepted on a wire, it is possible that SRH[SL]
    >    is different from the DA.
    
    Huh? That would be extremely unusual in the normal interpretation
    of a routing header, where is RH[SL] is by definition the next
    destination where the RH will be processed. Any other node is a transit
    node, and I don't see anything in draft-ietf-6man-segment-routing-header-26
    that allows for anything else. So it seems to me that the quoted statement
    needs an explanation of why it isn't a violation of
    draft-ietf-6man-segment-routing-header-26, not to mention why it's useful.

PC: This occurs when we use the reduced SRH as described in: https://tools.ietf.org/html/draft-ietf-6man-segment-routing-header-26#section-4.1.1
If you think this sentence does not reflect that, I can edit it for the next revision of the draft. 
    
    That leads us back to:
    
    > 4.16.1.  PSP: Penultimate Segment Pop of the SRH
    > 
    >    The SRH processing of the End, End.X and End.T behaviors are
    >    modified: after the instruction "S14.  Update IPv6 DA with Segment
    >    List[Segments Left]" is executed, the following instructions must be
    >    executed as well:
    > 
    >  S14.1.   If (Segments Left == 0) {
    >  S14.2.      Update the Next Header field in the preceding header to the
    >                 Next Header value of the SRH
    >  S14.3.      Decrease the IPv6 header Payload Length by the Hdr Ext Len
    >                 value of the SRH
    >  S14.4.      Remove the SRH from the IPv6 extension header chain
    >  S14.5.   }
    
    This is clearly a breach of RFC8200, but it can never be reached if DA == SRH[SL]. 
PC: PSP executes at the segment that is the Destination Address. 
    
    The operation "4.16.2.  USP: Ultimate Segment Pop of the SRH" seems like
    a pointless variant on "4.16.3.  USD: Ultimate Segment Decapsulation", 
    since the packet has reached its destination anyway and will presumably
    be decapsulated anyway. 

PC: This has already been discussed in the past in the SPRING mailer. https://mailarchive.ietf.org/arch/msg/spring/Q3MYlGDQs5MO-dOFOZJUx2hHni4
    
    Regards
       Brian Carpenter
    
    On 12-Dec-19 08:54, internet-drafts@ietf.org wrote:
    > 
    > A New Internet-Draft is available from the on-line Internet-Drafts directories.
    > This draft is a work item of the Source Packet Routing in Networking WG of the IETF.
    > 
    >         Title           : SRv6 Network Programming
    >         Authors         : Clarence Filsfils
    >                           Pablo Camarillo Garvia
    >                           John Leddy
    >                           Daniel Voyer
    >                           Satoru Matsushima
    >                           Zhenbin Li
    > 	Filename        : draft-ietf-spring-srv6-network-programming-06.txt
    > 	Pages           : 39
    > 	Date            : 2019-12-11
    > 
    > Abstract:
    >    The SRv6 Network Programming framework enables a network operator or
    >    an application to specify a packet packet processing program by
    >    encoding a sequence of instructions in the IPv6 packet header.
    > 
    >    Each instruction is implemented on one or several nodes in the
    >    network and identified by an SRv6 Segment Identifier in the packet.
    > 
    >    This document defines the SRv6 Network Programming concept and
    >    specifies the base set of SRv6 behaviors that enables the creation of
    >    interoperable overlays with underlay optimization (Service Level
    >    Agreements).
    > 
    > 
    > The IETF datatracker status page for this draft is:
    > https://datatracker.ietf.org/doc/draft-ietf-spring-srv6-network-programming/
    > 
    > There are also htmlized versions available at:
    > https://tools.ietf.org/html/draft-ietf-spring-srv6-network-programming-06
    > https://datatracker.ietf.org/doc/html/draft-ietf-spring-srv6-network-programming-06
    > 
    > A diff from the previous version is available at:
    > https://www.ietf.org/rfcdiff?url2=draft-ietf-spring-srv6-network-programming-06
    > 
    > 
    > 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.
    > 
    > Internet-Drafts are also available by anonymous FTP at:
    > ftp://ftp.ietf.org/internet-drafts/
    > 
    > _______________________________________________
    > I-D-Announce mailing list
    > I-D-Announce@ietf.org
    > https://www.ietf.org/mailman/listinfo/i-d-announce
    > Internet-Draft directories: http://www.ietf.org/shadow.html
    > or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
    > 
    
    _______________________________________________
    spring mailing list
    spring@ietf.org
    https://www.ietf.org/mailman/listinfo/spring