Re: [tsvwg] OCS option in draft-ietf-tsvwg-udp-options-07

Raffaele Zullo <raffaele@erg.abdn.ac.uk> Sat, 09 March 2019 19:57 UTC

Return-Path: <raffaele@erg.abdn.ac.uk>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 23D21130E1C for <tsvwg@ietfa.amsl.com>; Sat, 9 Mar 2019 11:57:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
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 zgkp-CpX_vDw for <tsvwg@ietfa.amsl.com>; Sat, 9 Mar 2019 11:57:03 -0800 (PST)
Received: from pegasus.erg.abdn.ac.uk (pegasus.erg.abdn.ac.uk [137.50.19.135]) by ietfa.amsl.com (Postfix) with ESMTP id C18B1130DC2 for <tsvwg@ietf.org>; Sat, 9 Mar 2019 11:57:02 -0800 (PST)
Received: from erg.abdn.ac.uk (at-www-1.erg.abdn.ac.uk [IPv6:2001:630:42:150::5]) by pegasus.erg.abdn.ac.uk (Postfix) with ESMTPSA id F2A991B000FD; Sat, 9 Mar 2019 19:56:56 +0000 (GMT)
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Date: Sat, 09 Mar 2019 19:56:56 +0000
From: Raffaele Zullo <raffaele@erg.abdn.ac.uk>
To: Joe Touch <touch@strayalpha.com>
Cc: "C. M. Heard" <heard@pobox.com>, Gorry Fairhurst <gorry@erg.abdn.ac.uk>, tsvwg <tsvwg@ietf.org>
In-Reply-To: <B1D19ABC-428B-42D8-AE97-BF3B967B1140@strayalpha.com>
References: <CACL_3VFg-EWCYHZ4+kYV30vjNzPs90ysAu5SCdLNb+9OPxE+3g@mail.gmail.com> <B1D19ABC-428B-42D8-AE97-BF3B967B1140@strayalpha.com>
Message-ID: <f95fb11b44f5d628ba85ede7d9feccf7@erg.abdn.ac.uk>
X-Sender: raffaele@erg.abdn.ac.uk
User-Agent: Roundcube Webmail/1.2.3
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/vHUbO8Y-CkxEotmQYpvRq5oPiSg>
Subject: Re: [tsvwg] OCS option in draft-ietf-tsvwg-udp-options-07
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Mar 2019 19:57:05 -0000

Hi,

On 2019-03-09 19:28, Joe Touch wrote:
> 5. the LITE only case
> 
> The whole point of LITE is that some of the IP payload isn’t 
> checksummed.
> 
>> Given that we're supposed to veryify such receivers can accept
>> LITE (w/o FRAG) and hold soft state, maybe this is acceptable?
> 
> 
> We don’t have a requirement that such receivers can accept LITE before
> we start using it, so soft state won’t help here.
> 
>> we can send
>> LITE (w/o FRAG) using UDP checksum of zero, and the additional
>> option encoding the actual checksum for the UDP data.
>> 
>> This additional checksum could simply be the existing defined
>> ACS option.
> 
> ACS uses a CRC, not IP checksum. That’s a LOT more work in software,
> so this isn’t a viable alternative.
> 
> IMO, we leave this one alone. The whole point of LITE is to do less
> work - if that means the LITE data corrupts the entire packet, then so
> be it. Then LITE basically fails.
> 
> ------

The case of LITE or more generally when checksum should not cover the 
full Options area
could be partially solved with a CCO of 4 bytes
(the original CCO proposal had a variable length for further 
flexibility).

the first 2 bytes contains the checksum of UDP Options you want to 
cover,
the other 2 bytes contains the additional compensation value for the 
uncovered bytes, for the traversal only.

The receiver can still validate the covered Options without the effort 
of summing the unnecessary Option bytes (e.g. LITE DATA),
and without risking to drop a packet for an error on the uncovered 
bytes.

Anyway the sender will still need to sum the uncovered bytes.

Thank you,
Raffaele Zullo