[multipathtcp] Reasons DSS checksum including covered data

Nigel Williams <njwilliams@swin.edu.au> Thu, 19 July 2012 10:12 UTC

Return-Path: <njwilliams@swin.edu.au>
X-Original-To: multipathtcp@ietfa.amsl.com
Delivered-To: multipathtcp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90F8021F87BD for <multipathtcp@ietfa.amsl.com>; Thu, 19 Jul 2012 03:12:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level:
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HxD-9fhwfhSR for <multipathtcp@ietfa.amsl.com>; Thu, 19 Jul 2012 03:12:48 -0700 (PDT)
Received: from gpo3.cc.swin.edu.au (gpo3.cc.swin.edu.au [136.186.1.32]) by ietfa.amsl.com (Postfix) with ESMTP id 79BE321F8769 for <multipathtcp@ietf.org>; Thu, 19 Jul 2012 03:12:47 -0700 (PDT)
Received: from [136.186.229.154] (nwilliams-laptop.caia.swin.edu.au [136.186.229.154]) by gpo3.cc.swin.edu.au (8.14.3/8.14.3) with ESMTP id q6JADcnW024475 for <multipathtcp@ietf.org>; Thu, 19 Jul 2012 20:13:39 +1000
Message-ID: <5007DDC3.1000003@swin.edu.au>
Date: Thu, 19 Jul 2012 20:13:23 +1000
From: Nigel Williams <njwilliams@swin.edu.au>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: multipathtcp <multipathtcp@ietf.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: [multipathtcp] Reasons DSS checksum including covered data
X-BeenThere: multipathtcp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multi-path extensions for TCP <multipathtcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/multipathtcp>
List-Post: <mailto:multipathtcp@ietf.org>
List-Help: <mailto:multipathtcp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2012 10:12:49 -0000

Hi all,

Since this is my first post, a quick introduction. My name is Nigel 
Williams and I'm currently working at Swinburne University on our newTCP 
project [1]. As part of this project I am working on an implementation 
of MPTCP for FreeBSD.

After looking through the draft [2] section on Data Sequence Mapping 
(3.3.1), it still isn't clear to me as to why a checksum needs to be 
calculated over the DSS psuedo header plus the data for that mapping. I 
understand why the pseudo header might require a checksum, just not why 
the data covered by the mapping needs it (given that the TCP checksum 
covers the payload in each transmitted packet).

A similar question was raised in a previous thread as part of a 
different discussion [3], but going through the replies I wasn't able to 
find an exact answer:

 >> [GH] I was under the impression that the checksum applies to the packet
 >> only. In my opinion this would make things much simpler. Is there a
 >> specific reason to apply the checksum to the entire bulk rather than
 >> solely the packet? Things would get much simpler if the checksum were
 >> packet-specific.

 >If the DSS-mapping covers multiple packets, the checksum in the 
DSS-option is
 >on the whole payload of these packets plus the pseudo-header.

I might be missing something here, so if anyone has some further detail 
that would be great.

regards,
nigel

[1] caia.swin.edu.au/newtcp
[2] draft-ietf-mptcp-multiaddressed-09
[3] http://www.ietf.org/mail-archive/web/multipathtcp/current/msg01483.html