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

Joe Touch <touch@strayalpha.com> Sat, 09 March 2019 20:52 UTC

Return-Path: <touch@strayalpha.com>
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 87DA9127598 for <tsvwg@ietfa.amsl.com>; Sat, 9 Mar 2019 12:52:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.219
X-Spam-Level:
X-Spam-Status: No, score=-1.219 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.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 lTKhuXsVXVcG for <tsvwg@ietfa.amsl.com>; Sat, 9 Mar 2019 12:52:28 -0800 (PST)
Received: from server217-3.web-hosting.com (server217-3.web-hosting.com [198.54.115.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 983D812797A for <tsvwg@ietf.org>; Sat, 9 Mar 2019 12:52:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To: From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=sofqgP+BM6MF3jRxiEDdkKJrD8wMGQx6k6ruUPDh3O0=; b=qMi5nhufBsFBeJ7MGzJN2x/QN u5U2ELreTLERtZ+94HUBrOIQy8D7Z1tuaXrfnukVl6cLebc9vk9NKFrddtZYJu9nB9opfc11yM1u0 jZZBmWPYi880eIsLs5TFmGkY+/wgIcVr64oNsfKw50Xcz5t4hrL6thwcFCxoMnfRNJ91A6ksBgBHC dGCrjQhoCFNp7Dk1ugS7mD+Kh/J4ZPQQ7xwZ0UN90PYT5plkM0NucJ6iZjFv3Ail45TJPBtjniuYC Gq7qph7Hwaa4DAqy/vVQjeDB48EsGowafqDPmC7oxS/MkVBzMqK4rMTY8Av6GsjFHxfgU6sG+uW1E cImvJpuiw==;
Received: from cpe-172-250-240-132.socal.res.rr.com ([172.250.240.132]:52083 helo=[192.168.1.77]) by server217.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from <touch@strayalpha.com>) id 1h2ixG-000h8G-BT; Sat, 09 Mar 2019 15:52:27 -0500
Content-Type: multipart/alternative; boundary="Apple-Mail=_65CBBD81-6580-4DBD-B9E6-FADB5596474D"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Joe Touch <touch@strayalpha.com>
In-Reply-To: <f95fb11b44f5d628ba85ede7d9feccf7@erg.abdn.ac.uk>
Date: Sat, 09 Mar 2019 12:52:25 -0800
Cc: "C. M. Heard" <heard@pobox.com>, Gorry Fairhurst <gorry@erg.abdn.ac.uk>, tsvwg <tsvwg@ietf.org>
Message-Id: <136FF703-4DFE-4B32-A722-67122F28C894@strayalpha.com>
References: <CACL_3VFg-EWCYHZ4+kYV30vjNzPs90ysAu5SCdLNb+9OPxE+3g@mail.gmail.com> <B1D19ABC-428B-42D8-AE97-BF3B967B1140@strayalpha.com> <f95fb11b44f5d628ba85ede7d9feccf7@erg.abdn.ac.uk>
To: Raffaele Zullo <raffaele@erg.abdn.ac.uk>
X-Mailer: Apple Mail (2.3445.9.1)
X-OutGoing-Spam-Status: No, score=-0.5
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/VL5ABgwFBug_yIl2g8ukt9UKZ_U>
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 20:52:31 -0000


> On Mar 9, 2019, at 11:56 AM, Raffaele Zullo <raffaele@erg.abdn.ac.uk> wrote:
> 
> Hi,
> 
> On 2019-03-09 19:28, Joe Touch wrote:
>>> ...
>> 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.

Yes, but there are three points to LITE:

1. less work for the transmitter (which your proposal defeats)
2. less work for the receiver (which your proposal maintains)
3. deliver potentially corrupted data (one of the original points of UDP-lite - it wasn’t just about performance)

These errant middle boxes are also thus defeating #3.

So, IMO, in the presence of those sorts of things, basically LITE with our proposal doesn’t do most of what it was intended.

Again, for that reason, I’d still prefer leaving it alone.

Joe