Re: [spring] L4 Checksum and draft-ietf-6man-segment-routing-header

"Stefano Previdi (sprevidi)" <sprevidi@cisco.com> Mon, 16 May 2016 08:58 UTC

Return-Path: <sprevidi@cisco.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 A816612B034; Mon, 16 May 2016 01:58:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.947
X-Spam-Level:
X-Spam-Status: No, score=-15.947 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426, 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
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 k1sUMEe8H1sq; Mon, 16 May 2016 01:58:55 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9411612B030; Mon, 16 May 2016 01:58:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1602; q=dns/txt; s=iport; t=1463389135; x=1464598735; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=40wcBYMThDSXPHRV7cx/KiFPbKhVoH1M6+kEwzTN6Hs=; b=Mw76t6mk0UqdobDxS3PfVMbAwwMkc09GqtA/FIhp8K+eNVdOJbhSHcDJ kHEycNo2NwsCHUfA1RPhZYYhWGbXRCHM135dQHugi+R4VshgJiP2LLwOf Gn56C+T5lvJarDcxbYMjjqBHlGZR5ObkaqR3XK0QXe2mm/X1hgjuOVWLF Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BDAgAoizlX/4wNJK1egzeBUwa5YAENgXaGEQIcgQE4FAEBAQEBAQFlJ4RCAQEBAwEjEUUFCwIBCBgCAiYCAgIwFRABAQQBDQWIJwisTJBRAQEBAQEBAQEBAQEBAQEBAQEBAQEBHIEBhSSBdoJXhD+DACuCLgEEkzCEdwGOHQqBX40whi2JEwEeAQFCg2xuhwd/AQEB
X-IronPort-AV: E=Sophos;i="5.24,626,1454976000"; d="scan'208";a="273907936"
Received: from alln-core-7.cisco.com ([173.36.13.140]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 May 2016 08:58:54 +0000
Received: from XCH-RTP-006.cisco.com (xch-rtp-006.cisco.com [64.101.220.146]) by alln-core-7.cisco.com (8.14.5/8.14.5) with ESMTP id u4G8ws9l013287 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 16 May 2016 08:58:54 GMT
Received: from xch-rtp-010.cisco.com (64.101.220.150) by XCH-RTP-006.cisco.com (64.101.220.146) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Mon, 16 May 2016 04:58:53 -0400
Received: from xch-rtp-010.cisco.com ([64.101.220.150]) by XCH-RTP-010.cisco.com ([64.101.220.150]) with mapi id 15.00.1104.009; Mon, 16 May 2016 04:58:53 -0400
From: "Stefano Previdi (sprevidi)" <sprevidi@cisco.com>
To: Ole Trøan <otroan@employees.org>, Tal Mizrahi <talmi@marvell.com>
Subject: Re: [spring] L4 Checksum and draft-ietf-6man-segment-routing-header
Thread-Topic: [spring] L4 Checksum and draft-ietf-6man-segment-routing-header
Thread-Index: AdGuiiq1HeAHjjuQREGOx9vVjNXiwQAa+DiAAB8pfIA=
Date: Mon, 16 May 2016 08:58:53 +0000
Message-ID: <ECB16B90-392C-4C98-B3EA-86050AE2BEBA@cisco.com>
References: <eaf5cad817624c7a8758758aa058399b@IL-EXCH02.marvell.com> <AD825FC8-E5AB-437D-992B-F5900B67EFA7@employees.org>
In-Reply-To: <AD825FC8-E5AB-437D-992B-F5900B67EFA7@employees.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.61.197.212]
Content-Type: text/plain; charset="utf-8"
Content-ID: <561024D8A5193A43A30ED01F989D02B1@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipv6/e3vmi81OFj9eY4YhmEojfW44iAg>
Cc: "spring@ietf.org" <spring@ietf.org>, 6man WG <ipv6@ietf.org>, "draft-ietf-6man-segment-routing-header@tools.ietf.org" <draft-ietf-6man-segment-routing-header@tools.ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 16 May 2016 08:58:57 -0000

> On May 15, 2016, at 8:06 PM, otroan@employees.org wrote:
> 
> Tal,
> 
>> [Apologies if this issue has been discussed before.]
>> 
>> According to draft-ietf-6man-segment-routing-header, an ‘SR Segment Endpoint Node’ updates the Destination IP address.
>> Therefore, it must also update the Layer 4 Checksum, right?
>> 
>> I wonder if there is an upper bound on the size of the SRH. Otherwise, the L4 Checksum may be located in a pretty deep location.
>> Speaking from a chip vendor’s perspective this may be a problem.
> 
> From RFC2460, RH0:
> 
> 
>      o  If the IPv6 packet contains a Routing header, the Destination
>         Address used in the pseudo-header is that of the final
>         destination.  At the originating node, that address will be in
>         the last element of the Routing header; at the recipient(s),
>         that address will be in the Destination Address field of the
>         IPv6 header.
> 
> I would expect SR would work the same.


exactly.

Moreover, draft-ietf-6man-segment-routing-header assumes encapsulation so clearly there’s no L4 involved here.

s.


> 
> Cheers,
> Ole
>