Re: [spring] PSP and a logical application of RFC8200

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Mon, 02 March 2020 20:03 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 64FC53A10A1; Mon, 2 Mar 2020 12:03:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.6
X-Spam-Level:
X-Spam-Status: No, score=-9.6 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, SPF_PASS=-0.001, URIBL_BLOCKED=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=NuWwaZ2h; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=ME3ES3J0
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 GwCog05ZNeLv; Mon, 2 Mar 2020 12:03:18 -0800 (PST)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6D1173A108A; Mon, 2 Mar 2020 12:03:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4874; q=dns/txt; s=iport; t=1583179398; x=1584388998; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=w3XSZIvuV6EwGlIUIlIEMXEVzxTc6tXeWknQOGv5w5g=; b=NuWwaZ2hC7wmiS5RJVmv6xPYv8LV+j+sin2u+p9HN4b37YJ5okYdRUmB tZzvK9ePjx+m8evpmZHuAMcJKX0QOcWUqStDZJtyFJ+np2baBCfVDxxpl FBGAEMywzIk+p5z89hs03wBgjBXz8nv/CZIOryVNOLp0MZoCU65dLP1yo Y=;
IronPort-PHdr: 9a23:NkMFrxdR59xLgVIMc4yBeEtolGMj4e+mNxMJ6pchl7NFe7ii+JKnJkHE+PFxlwGQD57D5adCjOzb++D7VGoM7IzJkUhKcYcEFnpnwd4TgxRmBceEDUPhK/u/dyczGc1YVVtN9HCgOk8TE8H7NBXf
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DuAgAHZl1e/4cNJK1lGwEBAQEBAQEFAQEBEQEBAwMBAQGBe4FUUAVsWCAECyoKhAqDRgOKZ06BbCWJY44yglIDVAkBAQEMAQEYCwoCBAEBhEACF4F0JDgTAgMNAQEFAQEBAgEFBG2FVgyFYwEBAQEDAQEQEREMAQEsDAsEAgEIEQMBAgECAiYCAgIfBgsVCAgCBAESIoMEAYJKAy4BAwuhJQKBOYhidYEygn8BAQWFCw0LggwDBoEOKowlGoFBP4E4DBSCTT6BBIEXSQEBAoEqOYMRMoIsjXAHgm6edkQKgjySMIQ2HIJJiB+QSY5yiyqQIAIEAgQFAg4BAQWBaSKBWHAVOyoBgkFQGA2OHRiDW4UUhUF0AoEnjQeBMwExXwEB
X-IronPort-AV: E=Sophos;i="5.70,508,1574121600"; d="scan'208";a="464272477"
Received: from alln-core-2.cisco.com ([173.36.13.135]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 02 Mar 2020 20:02:57 +0000
Received: from XCH-RCD-004.cisco.com (xch-rcd-004.cisco.com [173.37.102.14]) by alln-core-2.cisco.com (8.15.2/8.15.2) with ESMTPS id 022K2uXo015887 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 2 Mar 2020 20:02:56 GMT
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by XCH-RCD-004.cisco.com (173.37.102.14) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 2 Mar 2020 14:02:56 -0600
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 2 Mar 2020 15:02:55 -0500
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 2 Mar 2020 15:02:55 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=maQ5/fwhtFUZJllLQDPnt3lWJ2ah8Fd3+KJZD/fCcDtttYBG2BvsDOv7uIMscI3tO2VMY+MvlQZIqo2pgJMu79KzQex0p8cWwAcwhK9gUVrVKyJMf7l0aSWbGgcDmZB6i/DM6xKsW5zaB26/m8WR3VJ4bvXpFPnfr2/5WpMs4IFxzXjmy2H3uQg3ZU8AMO4/mgLkaedFYpV+Y0/26oVJYlaII2QIZsVrSwYKQhk3kO+HUa//K2XpT5jsn9dL24Uex9H9q5ixr2STh6lIlTm6i8g2aE0tjtStsn/4Ox3RDLJ8t+JUga40IOlT+7SDdNqH852habV5OFWTOeWtZsn4pQ==
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=w3XSZIvuV6EwGlIUIlIEMXEVzxTc6tXeWknQOGv5w5g=; b=ms0x3RyDQd3a+KCnXy6ApwCUS5LqWpMjNyKfbmCZ/RMIlDvs96asqqk/Mae/sKkOZD/fznbUmQkASN9nF4S0nMKTl3I5X6Su4FaYANy8goF0VXzO0EH5l2EwJeh2D4FHtenNrmMgTz57+c4TpYC8NjIWELDox+QUIFWKpU+ChUE1HCCalVX9jmNph5SRn4rX2Hb7l/Y1NeB+VxgpwyG8lNSbo52u8qc67BU2kHGC4/Y+VWKDngAXARB6pWqRVJk2zIZ2D+y+JoVgrM+xvFKy3oYeTj/GorZlzIeysFIkpFtPpd1EUdQzIVBXRsMb3os5ti+iWsxB9BeqMw21s+wcmQ==
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=w3XSZIvuV6EwGlIUIlIEMXEVzxTc6tXeWknQOGv5w5g=; b=ME3ES3J0E6k1h/M/tkHffiluT1qTFbHSU/mLPoBNLw+NvZsvvbEMy4P76hR4J5cJ2mEozWt86GF7B2+Md/67eQAaGH18MuOiSonQge26b5HiuIC7ePIA0OBC6GD9Ln4N8NKyIFT39gqwmGyxzWE4h3xz2Utb8pO+qguNwg/7ILE=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (2603:10b6:300:24::8) by MWHPR11MB1823.namprd11.prod.outlook.com (2603:10b6:300:10e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.18; Mon, 2 Mar 2020 20:02:54 +0000
Received: from MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::e481:a191:e31:f948]) by MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::e481:a191:e31:f948%12]) with mapi id 15.20.2772.019; Mon, 2 Mar 2020 20:02:54 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, "Darren Dukes (ddukes)" <ddukes=40cisco.com@dmarc.ietf.org>, 6man WG <ipv6@ietf.org>, SPRING WG List <spring@ietf.org>
Thread-Topic: PSP and a logical application of RFC8200
Thread-Index: AQHV8KJBHQV7i2M+30qDa3hDw/FBnKg1sb8AgAAY3YA=
Date: Mon, 02 Mar 2020 20:02:54 +0000
Message-ID: <FD806998-8218-4C70-B383-332C5F934A73@cisco.com>
References: <39544C17-1AD0-412E-A8BD-E17376537FCF@cisco.com> <bf9d68e6-cbae-2b19-11e0-1e452f0bf654@gmail.com>
In-Reply-To: <bf9d68e6-cbae-2b19-11e0-1e452f0bf654@gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.22.0.200209
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pcamaril@cisco.com;
x-originating-ip: [83.33.48.150]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: eb2b0814-231b-4d46-b4ad-08d7bee4b212
x-ms-traffictypediagnostic: MWHPR11MB1823:
x-microsoft-antispam-prvs: <MWHPR11MB18234B37703B537654F69620C9E70@MWHPR11MB1823.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 033054F29A
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(396003)(136003)(366004)(39860400002)(199004)(189003)(186003)(66946007)(2906002)(2616005)(76116006)(91956017)(6486002)(6506007)(36756003)(53546011)(86362001)(316002)(81166006)(8936002)(966005)(6512007)(478600001)(81156014)(66476007)(64756008)(66446008)(5660300002)(66556008)(26005)(33656002)(110136005)(8676002)(71200400001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1823; H:MWHPR11MB1374.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: A1oIf7PXiRDC5WLB2p5293eIdDRxN0MQ3bfTfrLJL1Tb7ZzMhSLRHHzbCi/jFFT0Gv8Mw9u9q6zdM5yJ7Ac4n2kqy5J786FvzYmX6BkctwSxPHGoDPYr1EmzGwvRJx1jrSBaSycIqbjPFIOH2tcaDKSbqBdbayLRS75i1rr6qGFcYyCGFIQsWnfbqEWvOonN03k3ykuBbpw8FjochCJHPg/TGZ0Vb6z5aQ6BPnFozMgMgBcqPgMYyRxePqIeu1ZumimQ4vdNg5IuDBObRle2StKKS9bWa4jbCk+3MPR8nDGpErhBJRZRJR0urh0Wo7kT7I7JdK1UfVn7NHGB4aEG5GEPtEEMSdFx4na6+dQGEuTGG9zQPNHzPigyZo1ogylTjlXalSFNRbBCdp0fIZ8AC3ezMV2MOhWLiQsL9afVkegtW35r2ufNG2B78Pk1vQ5k6kekHnsHKhiMRIwwl9wBMA1S1DpvD4rVXfoPDUPGbhltkM9BjwZBZK40ExpK+tUGvYAlhEV6m51CaMiFEyLKWA==
x-ms-exchange-antispam-messagedata: QNYV+B2BdOCFNx/P/8AUR9Ko6qC4YT6JG4U+giiVCr1SolmA37I2YXgTnCjQtTnqTS5k23T5/dviitlLaXxnTMZDDrIUaHW/SB7YoQfwaLpa9puFbBEb6BtZbiXQCfC6kZAbtNDzPCR91K3nyua1mg==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <A960445992038940B8017F2C1428EFB8@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: eb2b0814-231b-4d46-b4ad-08d7bee4b212
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2020 20:02:54.5136 (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: 7T9CNqx00e42usn6BCeUMceFtnySmXnGMNER8LeoydJ4loiSE6hzIkkcu4DCZOAEQ8YRzA3fR91ZRXLE9VzMAQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1823
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.14, xch-rcd-004.cisco.com
X-Outbound-Node: alln-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/aA0OHnU4hq2lA3gUuKP_wmq55WQ>
Subject: Re: [spring] PSP and a logical application of RFC8200
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: Mon, 02 Mar 2020 20:03:28 -0000

Brian,

The PSP pseudocode is presented as a modification to the End pseudocode starting at line S14 of such.
Please go through the PSP pseudocode in conjunction with the End pseudocode (Section 4.1). 
You will see that the ingress state of the packet is (Segments Left == 1 and Destination Address == the PSP node's address).

Many thanks,
Pablo.

-----Original Message-----
From: ipv6 <ipv6-bounces@ietf.org> on behalf of Brian E Carpenter <brian.e.carpenter@gmail.com>
Date: Monday, 2 March 2020 at 20:34
To: "Darren Dukes (ddukes)" <ddukes=40cisco.com@dmarc.ietf.org>, 6man WG <ipv6@ietf.org>, SPRING WG List <spring@ietf.org>
Subject: Re: PSP and a logical application of RFC8200

    Darren,
    
    Regardless of whether you accept Fernando's comment about the intention of RFC 8200, there is also the fact that the description of the PSP flavor cheats by considering the packet to have
     (Segments Left == 0 and Destination Address == the PSP node's address).
    In fact that is *never* the state of the packet on the wire, which is either
     (Segments Left == 1 and Destination Address == the PSP node's address)
    or
     (Segments Left == 0 and Destination Address == the final node's address)
    
    OK, maybe it's not cheating, maybe it's only a side effect of the pseudocode, but the fact is that the test "S14.1.   If (Segments Left == 0) {" in section 4.16.1 is very confusing because it's applied to a packet that is half way through processing of the routing header (Segments Left has been updated, but Destination Address has not been updated). This makes it very unclear how the spec is claiming to interpret RFC 8200.
    
    Regards
       Brian Carpenter
    
    On 03-Mar-20 03:52, Darren Dukes (ddukes) wrote:
    > What follows has been made clear on the list for a while, 
    > I am re-stating it.
    > 
    > The draft-ietf-spring-srv6-network-programming PSP behavior 
    > strictly follows the letter of RFC 8200.
    >  
    >      RFC8200 section 4 says:
    >  
    >      Extension headers (except for the Hop-by-Hop Options header) are not
    >      *processed, inserted, or deleted* by any node along a packet's delivery
    >      path, until the packet reaches *the node* (or each of the set of nodes,
    >      in the case of multicast) *identified in the Destination Address field*
    >     * of the IPv6 header.*
    >   
    > 
    > The processing, insertion and deletion restrictions only apply 
    > “until the packet reaches the node identified in the Destination
    > Address field of the IPv6 header”.
    >  
    > At the penuptimate segment of the segment list, the endpoint IS
    > “the node identified in the Destination Address field of the IPv6
    > header” and hence the PSP operation programmed by the source SR 
    > node strictly follows the letter of RFC 8200.
    > 
    > 
    > Thanks,
    >   Darren
    > 
    > --------------------------------------------------------------------
    > IETF IPv6 working group mailing list
    > ipv6@ietf.org
    > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
    > --------------------------------------------------------------------
    > 
    
    --------------------------------------------------------------------
    IETF IPv6 working group mailing list
    ipv6@ietf.org
    Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
    --------------------------------------------------------------------